Beaglebone and Gentoo

Hi all,

Two weeks ago I got a Beaglebone board from the people at Beagleboard.org to create the documentation I always create with every device I get.

Like always i’d like to announce the guide for installing Gentoo in the Beaglebone. Have a look at: http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml . Feel free to send any corrections my way.

The Beaglebone is a bit different from the devices i got lately, as it lacks video out(well, there’s video out with an LCD connector but i lack an LCD screen), and its pretty simple apart from that. One of the big points of the Beaglebone is the price(89$) and the ability of creating addon boards for it, which are already famous amongst the Beagleboard people.

The specs of the Beaglebone are:
# ARMv7-A 500MHz(USB power)/720MHz(PSU power) TI AM3358/9 ARM Cortex-A8 processor
# 256MB DDR2 RAM
# SMSC LAN8710 Ethernet card
#
# 1x microSDHC slot
# 1x USB 2.0 Type-A port
# 1x mini-USB 2.0 OTG port
# 1x RJ45
#
# Reset and user-defined button

Yes, the processor runs at 500MHz when being powered using the mini-USB port, and 720MHz when using a power supply. More info about the specs in Beaglebone’s webpage.

For those curious as me, here’s the bootlog and the cpuinfo.

All the hardware provided by the Beaglebone works fine, except the USB port. But thats due to a bug in the USB driver used on the Beaglebone. The bug appears when you disconnect the first USB device you connect. Once that happens, the USB port won’t recognize any new USB device.

The workaround is to do:
echo F > /proc/driver/musb_hdrc.1

After that, the USB port will work again. This idea comes from the Angstrom people. In the guide i’ve documented an udev rule to workaround this issue, its from Angstrom as well.

I’d like to thank the people at Beagleboard.org for providing me a Beaglebone to document this. Next step is getting everything upstream :)

Have fun!

About these ads

9 Responses to “Beaglebone and Gentoo”

  1. Peter Korsgaard Says:

    I see references to RTL5150 here and RTL8150 in install.xml, but the AM335x AFAIK has Davinci-style 2xGB ethernet, and not USB based like beagle/panda.

  2. Adam King (@Zomnut) Says:

    In install.xml, you say

    The default config has everything except support for the USB-based onboard ethernet, so we enable it.

    Code Listing 3.7: Running menuconfig
    # make ARCH=arm CROSS_COMPILE=armv7a-unknown-linux-gnueabi- menuconfig

    but you do not mention what specific driver we are enabling. Could you please add in the driver listing?

  3. pinky Says:

    Is there a chance of hardware problem? It s detecting /dev/sda1 only when we give echo command

  4. pit Says:

    If I want to enable eth0 the interface starts, but nothing happens.
    (gentoo)

    /etc/init.d/net.eth0 restart
    * Bringing down interface eth0
    * Caching network module dependencies
    * Removing addresses
    * 192.168.2.15/24
    * Bringing up interface eth0
    * Caching network module dependencies
    * 192.168.2.15 … [ ok ]
    * Adding routes
    * default via 192.168.2.1 … [ ok ]

    eth0 Link encap:Ethernet HWaddr d4:94:a1:91:a3:87
    inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 …

    ifconfig recognizes the adapter, but no network connection is possible (destination host unreachable). Have you got an idea where is the issue and how I can solve it???? Thanks!

  5. pit Says:

    I could solve problem described above. I have desoldered the resistor 219 an everything is working…

  6. Beaglebone documentation updated « Armin76's Blog Says:

    [...] bug (by design the said) which made the USB port stop working after unplugging a device (check my post about the Beaglebone) is now [...]

  7. The new BeagleBone Black and Gentoo | Armin76's Blog Says:

    [...] This board is a new version of the original BeagleBone, known in the community as BeagleBone white, for which I wrote a post for it: http://armin762.wordpress.com/2012/01/01/beaglebone-and-gentoo/ [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: