View: 18033|Reply: 5

Gentoo Linux for OrangePi H3 boards

[Copy link]

10

threads

448

posts

5114

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5114
Published in 2015-10-25 04:27:15 | Show all floors |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

9908

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9908
Published in 2015-11-4 12:01:12 | Show all floors
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

5114

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5114
 Author| Published in 2015-11-9 23:07:16 | Show all floors
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

9908

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9908
Published in 2015-11-10 21:55:08 | Show all floors
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
Published in 2017-2-25 22:43:05 | Show all floors
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

2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-3-17 02:28:47 | Show all floors
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 need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list