View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sun Sep 16, 2012 8:08 am Post subject: Gentoo on BeagleBone - kernel, pointers? |
|
|
I'll be tackling the Gentoo on BeagleBone installation soon:
http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml
Can anyone offer any pointers? The document says vanilla kernel.org doesn't support the BeagleBone as of 12/2011. Does anyone know if that has changed? |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Mon Sep 17, 2012 8:18 am Post subject: |
|
|
I used pre-built files for the boot partition and current-stage3-armv7a for the root partition and all is working perfectly. Portage wouldn't work with the current-stage3-armv7a_hardf stage BTW.
I'm still curious about alternate (portage?) kernels if anyone has info on that. |
|
Back to top |
|
|
wim-x Tux's lil' helper
Joined: 26 Nov 2004 Posts: 110 Location: Netherlands
|
Posted: Thu Sep 20, 2012 3:24 pm Post subject: |
|
|
Formatting the SD card
When using the provided sdcardsetup.sh script I found I was quickly running out of inodes on my 4Gb card. Follow the link to the Gentoo Handbook about creating filesystem will provide some background information about inodes on small disks.
Stages information
I also missed some explaining about or link to the difference between soft- and hardfloat stages, they are the only ones available. Hardfloat is faster but it limits cross compiling capabilities with non arm7a machines.
Obtaining/Building a kernel
I used the Arago kernel, but used the v3.2-staging branch and Beaglebone firmware as indicated by Bradford Embedded. This kernel solved the USB and powersupply issues I had with other kernels.
Follow the Gentoo Embedded Handbook, in particular how to cross compile the modules to the correct place.
Use the following line somewhere after the disk has been prepared and mounted:
make -j2 ARCH=arm CROSS_COMPILE=armv7a-unknown-linux-gnueabi- INSTALL_MOD_PATH="/mnt/beaglebonechroot" modules_install |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Fri Sep 21, 2012 6:20 am Post subject: |
|
|
Quote: | I also missed some explaining about or link to the difference between soft- and hardfloat stages, they are the only ones available. Hardfloat is faster but it limits cross compiling capabilities with non arm7a machines. |
Someone mentioned on the Beaglebone list that there is no real-world performance difference between them.
Quote: | I used the Arago kernel, but used the v3.2-staging branch and Beaglebone firmware as indicated by Bradford Embedded. This kernel solved the USB and powersupply issues I had with other kernels. |
Can you tell me more about the USB and powersupply issues you had? |
|
Back to top |
|
|
wim-x Tux's lil' helper
Joined: 26 Nov 2004 Posts: 110 Location: Netherlands
|
Posted: Fri Sep 21, 2012 12:22 pm Post subject: |
|
|
grant123 wrote: | wim-x wrote: | I also missed some explaining about or link to the difference between soft- and hardfloat stages, they are the only ones available. Hardfloat is faster but it limits cross compiling capabilities with non arm7a machines. |
Someone mentioned on the Beaglebone list that there is no real-world performance difference between them. |
Yeah, I also read a lot of different statements on the internet. It would be nice if the manual could give some trustworthy insight.
grant123 wrote: | wim-x wrote: | I used the Arago kernel, but used the v3.2-staging branch and Beaglebone firmware as indicated by Bradford Embedded. This kernel solved the USB and powersupply issues I had with other kernels. |
Can you tell me more about the USB and powersupply issues you had? |
Not really , and only because I can't remember. I tried like 3 different kernels (including the one in armin's manual), and the Arago kernel provided me with the best results (however, still no functioning board leds). |
|
Back to top |
|
|
armin76 Retired Dev
Joined: 24 Apr 2006 Posts: 174
|
Posted: Fri Oct 12, 2012 5:10 pm Post subject: |
|
|
Hi all,
I've just updated my guide. From what i've tested, vanilla kernel.org still does NOT support the beaglebone... |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
|
Back to top |
|
|
|