please choosego to mobile | Continue to access the PC version
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

0

threads

4

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2015-10-31 11:05:19 | Show all floors
Edited by ismu at 2015-10-31 11:15

Hi,
I have question, how I should update kernel and libs currently? I should use update_kernel.sh script or manualy copy, paste? I think, script for uImage and script.bin work fine, but for lib I'm not sure, because it creates second folder 3.4.39-01-lobo in modules. What with test kernel (mali driver), update_kernel.sh "contains" it?
Thanks in advance for help.

0

threads

5

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2015-10-31 12:54:09 | Show all floors
Hello

Iam having a issue with kswapd0 process
I been using Ubuntu Mate for weeks now . Every think is so far so good but when my Pi 2 uses too much RAM kswapd0 uses too much CPU approx 100 % for hours even after RAM usage goes back to normal.

I had added a command in crontab that runs every 5 min. to clear the cache memory .
I also added swap memory of 2 GB and tested swapiness from 60 to 1 but none of that value helped .
After all that kswapd0 still uses 100% for 7-8 hours . As every time cron runs I have approx 700 MB free RAM and normally it have 500 MB . Most RAM using software I am using is JDownloader and copying files from mounted NTFS drive to a network drive . But when all these runs at once I get 100-200 MB free RAM . As my swapiness is set to 1 I do not think kswapd0 should use that amount of CPU.

As it is a kernal process it can not be killed . So is there anyway to stop this.

10

threads

448

posts

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 Author| Published in 2015-10-31 16:58:41 | Show all floors
Edited by loboris at 2015-10-31 10:09
ismu replied at 2015-10-31 04:05
Hi,
I have question, how I should update kernel and libs currently? I should use update_kernel.sh sc ...

For kernel & script update use update_kernel.sh.
Newer kernels have version number included (3.4.39-01-lobo).
You can check with uname -a, and manualy delete the old directories from /lib/modules.
I'll add the version checking to update_kernel.sh soon, so that you'll be informed if newer version exists.

10

threads

448

posts

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 Author| Published in 2015-10-31 17:04:51 | Show all floors
BUGBEAR replied at 2015-10-31 05:54
Hello

Iam having a issue with kswapd0 process

This is known Ubuntu (Linux) problem even with newer kernels and it is not OPI related.
I don't know any better solution for now.
If you are using samba, you can try to tune some cache and memory settings ...

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-11-1 01:21:46 | Show all floors
Edited by Sitheek at 2015-11-1 05:51

Hi all !

I have been thinking about methods to get some acceleration on embeded systems like orangepi2 and I have found libhybris.

I found some tutorials and manuals and it seems that only few steps are needed to do that.

1. Get sources of working android for our device
2. Patch bionic library
3. Rebuild android with patched bionic
4. Copy android libraries to linux
5. Get current version of libhybris from github and compile it on orange pi2
6. Test android libraries

Tell me if that is correct?

I want to try this but where can I find sources of android which works fine on orange pi2?
Shall kernel in this android be compiled from leeche SDK which we use?
Published in 2015-11-1 06:46:42 | Show all floors
Edited by chaszim at 2015-11-1 06:47

Both Debian & Ubuntu have net install ISO (Debian has one for ARM processors branch). How would (or could) you go about getting them to start and install on the OPI?

10

threads

448

posts

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 Author| Published in 2015-11-1 08:04:05 | Show all floors
chaszim replied at 2015-10-31 23:46
Both Debian & Ubuntu have net install ISO (Debian has one for ARM processors branch). How would (or ...

All my Debian and Ubuntu images are based on debootstrap installation which produces practicaly the same rootfs as any net or other installation.
It is simple, fast, can be run on on any Ubuntu/Debian platform including OPI, so I dont see any necessity for anything else.


Published in 2015-11-1 09:37:25 | Show all floors
Edited by chaszim at 2015-11-1 10:15
loboris replied at 2015-11-1 08:04
All my Debian and Ubuntu images are based on debootstrap installation which produces practicaly th ...

I'm trying to get Kodi 15.2 to run, don't really care which distro it's on.
There's stuff like cups & gutenburg for the printer etc, that I don't think are really needed. I found the armhf Deb builds for Rasbian at http://mirrordirector.raspbian.org/raspbian/pool/main/k/kodi/ (and a few others) which is suppose to be the right to satisfy the dependancecy issues. I think what's going to stop it is the video excellerator stuff. I really don't know if I headed in the right direction or not. But my thought was If I entered like the net load I could cut most of the stuff I don't need out.

0

threads

5

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2015-11-1 12:37:17 from mobile | Show all floors
loboris replied at 2015-10-31 17:04
This is known Ubuntu (Linux) problem even with newer kernels and it is not OPI related.
I don't kn ...

Thanks for the reply
Any suggestion Which distro of linux should I use ? , to get rid of this problem.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-11-1 14:20:50 | Show all floors
@loboris:
Orange Pi Plus. Ubuntu_wily_mini.img no mods.
Installed. Run fs-resize. Run nmcli -a d WiFi connect.
Copy latest update_kernel.sh. Run update_kernel.sh.
InstallOctoPrint.

Run install_to_emmc (with and without btrfs). Error. Boot0_OPI.fex not found.
Do I have to start over and install to emmc before I run update_kernel.sh? (that worked last time but I was trying to get a more complete system on SD before I put on emmc this time...)
Orange Pi Plus
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list