From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 23:40:46 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1157E1065672; Tue, 29 Mar 2011 23:40:46 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from omr6.networksolutionsemail.com (omr6.networksolutionsemail.com [205.178.146.56]) by mx1.freebsd.org (Postfix) with ESMTP id AB8DF8FC0A; Tue, 29 Mar 2011 23:40:45 +0000 (UTC) Received: from cm-omr1 (mail.networksolutionsemail.com [205.178.146.50]) by omr6.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p2TNej5d018126; Tue, 29 Mar 2011 19:40:45 -0400 X-Authenticated-IP: 120.151.213.137 Received: from [120.151.213.137] ([120.151.213.137:50277] helo=[192.168.25.1]) by cm-omr1 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id 58/71-06416-BFD629D4; Tue, 29 Mar 2011 19:40:45 -0400 From: John Nicholls To: Damjan Marion In-Reply-To: References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301439148.12515.49.camel@xeon.thinmesh.com> Content-Type: text/plain Date: Wed, 30 Mar 2011 09:40:26 +1000 Message-Id: <1301442026.13955.5.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 23:40:46 -0000 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