Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2912|Reply: 5

Gentoo Linux for OrangePi H3 boards

[Copy link]

10

Threads

448

Posts

3048

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3048
Post time 2015-10-25 04:27:15 | Show all posts |Read mode
Gentoo Linux is now available, please visit this thread

  • configured
  • wired network enabled
  • ssh enabled
  • ntp installed and enabled
  • some additional programs installed (htop, mc (MidnightCommander), gentoolkit, tmux, btrfs-progs, ...)
  • user orangepi, password orangepi
  • root password orangepi


18

Threads

303

Posts

6149

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6149
Post time 2015-11-4 12:01:12 | Show all posts
Good job, loboris. Only Slackware Linux is missing now. I contacted OpenWRT developers their will release a firmware after Kernel 4.2 is out. The patches is ready as they told me.

10

Threads

448

Posts

3048

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3048
 Author| Post time 2015-11-9 23:07:16 | Show all posts
jacer replied at 2015-11-4 05:01
Good job, loboris. Only Slackware Linux is missing now. I contacted OpenWRT developers their will re ...

I don't expect kernel 4.x will be available for H3.
Slackware image is now available.

18

Threads

303

Posts

6149

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6149
Post time 2015-11-10 21:55:08 | Show all posts
loboris replied at 2015-11-9 23:07
I don't expect kernel 4.x will be available for H3.
Slackware image is now available.

Good job. Thanks for your contribution.

1

Threads

5

Posts

41

Credits

Novice

Rank: 1

Credits
41
Post time 2017-2-25 22:43:05 | Show all posts
Just an update on the topic with my problems and solutions for them.
Before booting check the boot partition of your SD card and replace script.bin and uImage with the proper one for you - in my case for OPi 2+. With the default one I didn't have ethernet.

(1)After you install it you HAVE to run fs_resize first! Otherwise your root partition if full and you can't install anything.
I wanted to install Gentoo on the NAND and I tried to use /usr/local/bin/install_to_emmc
The problems were missing parted(which contains partprobe) and missing dossfstools(which contains mkfs.vfat). After emerging parted and dosfstools I installed Gentoo on the NAND and I was able to boot from it.

Next - update all the packages and new problem - there was major update of portage and you have to upgrade portage first before you upgrade anything.
I did first emerge-webrsync
and then I had to upgrade portage with PYTHON_TARGETS='python3_4 python3_5 python3_6' emerge -1v portage. Actually to upgrade portage you have to remove python2_7 and pypy from PYTHON_TARGETS for portage.
Finally I was able to start upgrading everything with emerge v --update --deep --with-bdeps=y --newuse @world

I'll update this if I have any new findings

1

Threads

57

Posts

542

Credits

Senior member

Rank: 4

Credits
542
Post time 2017-3-17 02:28:47 | Show all posts
or just take a stage3 and install it with chroot add uboot and sunxi kernel boot from it build a vm on your pc or multiples pc's  put a distro on it and put crossdev on it build a cross enviroment that has the same gcc glibc and binutils install distcc on all devices and build a complete distro
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2017-6-28 22:13 GMT+8 , Processed in 0.033635 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list