Beagleboard stuff

John Nicholls john at thinlinx.com
Tue Mar 29 23:40:46 UTC 2011


On Wed, 2011-03-30 at 01:00 +0200, Damjan Marion wrote:
> On Mar 30, 2011, at 12:52 AM, John Nicholls wrote:
> 
> > On Tue, 2011-03-29 at 23:38 +0200, Damjan Marion wrote:
> >> Hi,
> > 
> > Hi Everyone,
> > 
> > Yohanes Nugroho is working on a FreeBSD Kernel for
> > the BeagleBoardXM 
> > 
> > To help speed up Kernel development I sent Yohanes a new version of
> > u-boot that uses the USB device to transfer the Kernel
> > 
> >>> I just had the time to test it, and I can load freebsd kernel.
> >> 
> >> Fantastic, that will save a bit of time, how many seconds does it take
> >> to load?
> > 
> > About 2 seconds. It saves a lot from about 150 seconds using serial
> > port.
> > 
> > If anybody wants a copy of the u-boot binary and the instructions to use
> > it just email me.
> > 
> > We can't use tftp from u-boot as there is no u-boot support on the
> > BeafleboardXM for the combo USB Host / Ethernet chip...
> 
> Huh, I just started writing utility to boot OMAP4 over USB, similar to usbboot tool from https://github.com/swetland/omap4boot but based on libusb, as usbboot uses native linux devfs calls.
> 
> Can you share your instructions for beagleboard? Might be also applicable to pandaboard.

I will email you the boot.bin and dfu-utils.tar.gz, you have to use this
version for it to work

If you expand the dfu-utils.tar.gz in ~/beagle, you should be able to
do:

sudo ~/beagle/dfu-util/src/dfu-util -v --alt 0 -D ~/beagle/uImage

  I added this to my env var's in u-boot:

set dfu 'run setneteth bootargs_base bootargs_nfs; bootm'

  Got a chance to try the DFU:

---------------------------------------
dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko
Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Opening DFU USB device... ID 0525:a4a7
Found Runtime: [0x0525:0xa4a7] devnum=30, cfg=0, intf=0, alt=0,
name="RAM"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Device returned transfer size 4096
bytes_per_hash=42610
Copying data from PC to DFU device
Starting download: [##################################################]
finished!
state(2) = dfuIDLE, status(0) = No error condition is present
Done!

> Thanks,
> 
> Damjan



More information about the freebsd-arm mailing list