Archive for the ‘Devices’ Category

Beaglebone and Gentoo

January 1, 2012

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!

TrimSlice and Gentoo

September 4, 2011

Hi,

In this post i’ll speak about putting Gentoo on the trimslice.

Months ago the people from Trimslice.com kindly sent me a devkit for the purpose of documenting and supporting Gentoo on it. It took me a while because i’ve had a lot of stuff going on at work, and because Stephen Klimaszewski(steev) started documentating it, but since he doesn’t have time to finish it, i decided to do it myself.

Therefore i’d like to announce the guide for installing Gentoo on the Trimslice. Check it out at: http://dev.gentoo.org/~armin76/arm/trimslice/install.xml and feel free to send corrections to my way, either by mail or by putting a comment on this post.

Regarding the hardware provided by the pandaboard, here’s what i got:
-Audio(non HDMI): Works fine.
-Bluetooth: No bluetooth on the devkit.
-Wifi: No wifi on the devkit.
-SD slot: Works fine
-Ethernet: Works fine
-Video: Works fine

Let me remind you about the overlay for Tegra devices, which includes the video drivers and libraries for Tegra, based on the L4T released by Nvidia.

I’d like to thank the people at TrimSlice.com for their support and the hard work they’re doing with the open source community and dealing with Nvidia for us.

Also, probably you’ve heard about hardfloat graphics drivers for the TrimSlice or Tegra-based devices. They’re real, although Nvidia has said they’ll build them but won’t support them, it hasn’t been clear about the licensing. You can find them on the images of Meego and ArchLinux ARM for the Trimslice.

These hardfloat drivers can be integrated into an image, but the tarball can’t be published as of now. Thats why i can’t create ebuilds for them on Gentoo.

Have fun!

Pandaboard and Gentoo: Part Two (Running Gentoo!)

November 27, 2010

Hi,

This is the second post on Pandaboard and Gentoo, after the first one with the unpack and specifications. In this one i’ll speak about putting Gentoo on it.

First i’d like to announce the guide for installing Gentoo on the Pandaboard. Check it out at: http://dev.gentoo.org/~armin76/arm/pandaboard/install.xml and feel free to send corrections to my way, either by mail or by putting a comment on this post.

I’d like to thank my coworker Jordi Inglés for providing me an 8GB SDHC to use with the pandaboard.

Secondly here are my impressions about it. Installing Gentoo on it was easy as always, one of the first problems i encountered was that there was no information about what x-loader/uboot/kernel should everyone use, as the vanilla kernel.org doesn’t work yet(or thats what i’m being told).

After i found the correct/updated x-loader/uboot/kernel i was able to boot gentoo on it, using 1GB of RAM. After doing some heavy compiling, for example when building gcc, i encountered random segfaults and sigbuses. Of course, this wasn’t documented either(Ubuntu is not Linux). There’s a bug in the kernel for the pandaboard, which gives those issues when using more than 716MB of RAM, check this link.

Regarding the hardware provided by the pandaboard, here’s what i got:
-Audio(non HDMI): Works fine with an updated kernel
-Bluetooth: Needs external tools to be able to use it.
-Wifi: The pandaboard uses a TI WL1271, but the driver in the mainline kernel doesn’t support the pandaboard yet. For now you need to use an external driver and external tools(to load the firmware) which i haven’t been able to do yet.
-Video: Haven’t had time to test it, obviously needs an external driver for full acceleration.
-SD slot: Works fine
-Ethernet: Works fine

Regarding the buildtimes, i compared it with the other Cortex A9 hardware i have, which is the Nvidia Tegra2 devkit. I used an 8GB USB stick(with an ext2 filesystem) to do the “benchmarking”, using the same stage3 and portage snapshot on both boards. The results are the following
-glibc: 1h24m <- the tegra was 13 minutes faster
-gcc: 2h6m <- the tegra was 15 minutes faster
-binutils: 12m7s <- the tegra was 5 seconds slower
-portage: 1m10s <- the tegra was 8 seconds faster

Also i'd like to announce the pandaboard overlay, for all the stuff needed to use the hardware integrated in the pandaboard. Please keep in mind that for now i've only got bluetooth to work.

Have fun!

Nvidia Tegra2 and Gentoo: Part Two (Running Gentoo!)

April 3, 2010

Hi,

This is the second post on Nvidia Tegra2 and Gentoo, after the first one with the unpack and specifications. In this one i’ll speak about putting Gentoo on it, and results about it.

First i’d like to announce the guide for installing Gentoo on the Nvidia Tegra 250 Developer kit. Check it out at: http://dev.gentoo.org/~armin76/arm/tegra2/install.xml and feel free to send corrections to my way, either by mail or by putting a comment on this post.

Its been a week already since i’ve been testing the Nvidia Tegra 250 Developer kit, and i can say its pretty rock solid. The only issues i’ve had are USB issues(which i guess my 8G USB stick is to blame), and that the stable Xorg server(1.6.5) didn’t work. I tried the unstable Xorg and that one worked fine. I need to say that i’m not a video person. Mainly because i don’t have a spare monitor or KVM(i should get one…as this not the first time i’ve needed something like that. Are there cheap USB+VGA KVMs?), so if i have serial, that makes me happy enough.

Regarding the hardware integrated on the board, this is what i’ve got:
-Audio: Gets detected(check dmesg), but doesn’t work(driver not working/broken?)
-Wifi: Uses Atheros 6002, no driver available for Linux yet.
-Bluetooth: Uses CSR BC6, haven’t got it to work(not detected?)
-Video: Only fbdev works, no Xorg driver. Check Xorg.0.log for more info. VGA works fine, don’t have HDMI to test.
-SD/MMC slot: Both external/internal slot detects an SD card
-Ethernet: Works fine.

So, regarding Gentoo, it was really easy to boot Gentoo, the only difficult part is getting a kernel to boot :) Apart from that, its pretty much the standard way to put Gentoo on this kind of devices.

Let’s talk about the compile times, this is by far the most fast ARM device i’ve seen. Its obvious, with its 2x1GHz cores.

Here are the buildtimes, compare them with the buildtimes page:
gcc-4.3.4: Mon Mar 29 10:49:06 2010: 1 hour, 51 minutes, 49 seconds
binutils-2.19.1-r1: Sun Mar 28 19:10:15 2010: 9 minutes, 59 seconds
portage-2.1.7.17: Sun Mar 28 18:07:56 2010: 1 minute, 36 seconds
glibc-2.10.1-r1: Mon Mar 29 08:42:44 2010: 1 hour, 19 minutes, 32 seconds

Hope you appreciate this information :) Let me know if you have any question.


Follow

Get every new post delivered to your Inbox.