board arrived ... works!

Hi,
my BeagleBoard Rev. B4 just arrived today. I went out to get the
neccessary null modem cable and resoldered a DB9-to-whatever cable to
work with the board.

I formatted an SD card using cfdisk with a boot and a rootfs partition
and put the binaries from
http://code.google.com/p/beagleboard/wiki/BeagleSourceCode on it.

After following the advice[0] to set proper kernel boot arguments

I could boot quite easily using:
OMAP3 beagleboard.org # mmcinit
OMAP3 beagleboard.org # fatload mmc 0:1 0x80000000 uimage
OMAP3 beagleboard.org # bootm

After that I got:

Freeing init memory:
132K
init started: BusyBox v1.9.0 (2008-02-26 15:40:22
IST)
starting pid 252, tty '':
'/etc/init.d/rcS'
                                                                               
    OMAP3EVM (v0.90) : System
initialization...
                                                                               
    Kernel release : Linux
2.6.22.1-omap1
    Kernel version : #2 Wed Mar 26 16:39:33 IST
2008
                                                                               
Mounting /proc :
[SUCCESS]
Mounting /sys :
[SUCCESS]
Mounting /dev :
[SUCCESS]
Mounting /dev/pts :
[SUCCESS]
Enabling hot-plug :
[SUCCESS]
Populating /dev :
[SUCCESS]
Mounting other filesystems :
[SUCCESS]
Starting syslogd : Jan 1 00:00:07 OMAP3EVM syslog.info
syslogd star0
[SUCCESS]

Starting telnetd : [SUCCESS]

uname confirms its an armv7:

[root@OMAP3EVM /]# uname
-a
Linux OMAP3EVM 2.6.22.1-omap1 #2 Wed Mar 26 16:39:33 IST 2008 armv7l
unknown

Ethernet through the USB client port worked out of the box. I set up
fixed IP addresses on both ends and then pings worked just fine.

The only thing I am a bit clueless atm is how to set up the mini USB
port to work in host mode. From USB host mode experiments with the Nokia
N770 I have a modified USB hub (wired power back into the 'host in'
port) and a female-to-female USB adapter. After booting with that stuff
connected /sys/devices/platform/musb_hdrc.0/mode says b_idle. As it
looks the kernel on the image I took is not using modules. So the usbnet
(client) driver is always active. I will try an OpenEmbedded-built image
(provides proper kernel modules) next and report if I had more luck with
that.

Thanks again to TI and the BeagleBoard group for this really fine piece
of hardware!

Regards
Robert

[0] - http://elinux.org/BeagleBoard#Dual_partition_card

An OE built kernel will switch between host and gadget automagically
depending on which cable you use. There also is no need for 'special'
hubs :slight_smile:

regards,

Koen

PS: the OTG cable from trisoft.de works great

We certainly need to get that kernel and rootfs updated. We need to
keep those in good working order, to make sure that people don't have
headaches getting a board up-and-running so you can see all is in
working order, but they are missing many features, such as the modules
for USB host on the OTG port. We need to at least get it up-to-date
with the u-boot and kernel we use in our production tests. However,
it looks like it served its main purpose.

For the serial adapter, you can buy one from: DB9-Male to IDC-10 Pin Serial Port Cable AT-EVEREX PCCables.com.

If you want, you could download the sources and update the .config
file to add the host support to the OTG port and use the cable you
have for the 770.

As you mentioned trying OpenEmbedded, that should serve you well.
Koen mentions you should get your Java stuff running on gcc 4.3. :wink:

Welcome to the Beagle Board community!

Hi.

koen schrieb:

An OE built kernel will switch between host and gadget automagically
depending on which cable you use.

Sounds great!

Looks I will have to wait a few other to test it though:

NOTE: Running task 476 of 1651 (ID: 466,
/home/rob/oe/org.openembedded.dev/packages/linux/linux-omap2_git.bb,
do_compile)

:slight_smile:

There also is no need for 'special'
hubs :slight_smile:

Well. For the n770 this modified hub was necessary to power the USB host
port in the tablet. For the beagleboard this hub powers the whole device. :slight_smile:

PS: the OTG cable from trisoft.de works great

Yeah, right. I should probably just use standard cables instead.

Regards
Robert

Hi.

koen schrieb:> An OE built kernel will switch between host and gadget automagically
> depending on which cable you use.

Sounds great!

Looks I will have to wait a few other to test it though:

NOTE: Running task 476 of 1651 (ID: 466,
/home/rob/oe/org.openembedded.dev/packages/linux/linux-omap2_git.bb,
do_compile)

:slight_smile:

You can try
http://amethyst.openembedded.net/~koen/beagleboard/uImage-2.6.25+2.6.26-rc8+r38+gitc32c81d59d2d8a66e63f82c9732db256d302068e-r38-beagleboard.bin
in the meantime :slight_smile:

regards,

Koen

PS: that uImage also has oprofile support

If you have links to peripherals known to work with Beagle, log onto http://del.icio.us and tag the link with “beagleboard”, “peripheral” (singular), and “verified”. Others will then be able to find the peripheral links using http://del.icio.us/tag/beagleboard+peripheral+verified. The peripherals I’ve specifically linked are at http://del.icio.us/jadon/beagleboard+peripheral+verified. Thanks!