Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on Cubieboard2, part 3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Thu Nov 27, 2014 10:43 pm    Post subject: gentoo on Cubieboard2, part 3 Reply with quote

rebuild world.

This step will take many hours. But Cubieboard can run completely standalone if it is powered via a telephone charger or router.
Power consumption is very low. Two Watts or so.

login via ssh or putty
Code:
nohup emerge -ve --keep-going world &

exit

Thanks to nohup (no hung up) we can exit and shutdown everything but Cubieboard. To check emerge in progress, login and enter:
Code:
tail -f nohup.out

OPTIONAL set next boot to "aruntu":
Code:
mount /dev/mmcblk0p1 /mnt
cp /mnt/uEnv.cb2-aruntu /mnt/uEnv.cb2

OPTIONAL set next boot to "gentoo" when running "aruntu":
Code:
cp /uEnv.cb2-gentoo /uEnv.cb2

This emerge took nearly two days, slow, but much faster than on RaspBerry Pi :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Thu Nov 27, 2014 11:09 pm    Post subject: Reply with quote

Irre,

Rather than nohup, you may want to use screen.

Like most ARM boards, cross distcc is a boon.
Install crossdev on a more capable helper.
Build your cross tool chain.
Install distcc on the ARM and helpers

Ensure you have identical versions of gcc for ARM everywhere and then let the helpers do the heavy lifting.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Thu Nov 27, 2014 11:40 pm    Post subject: Reply with quote

Thanks for tips. For me there is no problem if compilations take some time. Compared to RaspBerry this little box is very fast..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum