From owner-freebsd-arm@FreeBSD.ORG Sat May 7 11:20:07 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 762611065670 for ; Sat, 7 May 2011 11:20:07 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id F21DA8FC0C for ; Sat, 7 May 2011 11:20:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1QIfYL-0000MO-LN for freebsd-arm@freebsd.org; Sat, 07 May 2011 12:20:05 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.75 (FreeBSD)) (envelope-from ) id 1QIfVW-000PYG-F9; Sat, 07 May 2011 12:17:10 +0100 To: Andrew Turner In-reply-to: <20110426035423.1b4b592c@fubar.geek.nz> References: <20110425163549.2bcc8551@fubar.geek.nz> <20110425170105.37c7d853@fubar.geek.nz> <20110426035423.1b4b592c@fubar.geek.nz> From: Mark Murray Date: Sat, 07 May 2011 12:17:10 +0100 Message-Id: Cc: freebsd-arm@freebsd.org Subject: Re: OMAP3 patch 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: Sat, 07 May 2011 11:20:07 -0000 Andrew Turner writes: > On Mon, 25 Apr 2011 12:44:05 +0100 > Mark Murray wrote: > > Most excellent! > > > > Do you have a recipe for building and installing this? > > > > I'm very familiar with building ind installing regular FBSD; > > less so with the BB build/install/boot process. > I've placed my build script at [1]. You need to change ${DIR} to point > to your patched source tree. It depends on the devel/u-boot port. > > After the script has built FreeBSD copy ${KERNEL_FILE}.boot to a FAT > formatted sd card as uImage. e.g.: > CP ${KERNEL_FILE}.boot /mnt/uImage > ${KERNEL_FILE}.boot is printed at the end of the build script. U-Boot > should load FreeBSD without any input from the user. > > The root file system is loaded off USB from /dev/da0s1. It is a > standard buildworld/installworld with TARGET=arm. Hi Did this. Didn't work: [graveyard] /usr/src 12:08 pm # cu -t -s 115200 -l /dev/cuaU0 Connected Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27) Beagle xM Rev A Reading boot sector Loading u-boot.bin from mmc U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46) OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MB NAND: 256 MiB *** Warning - bad CRC or NAND, using default environment In: serial Out: serial Err: serial Probing for expansion boards, if none are connected you'll see a harmless I2C error. No EEPROM on expansion board Beagle xM Rev A Die ID #7f4c00011ff00000015739eb0c00b026 Hit any key to stop autoboot: 0 mmc1 is available The user button is currently NOT pressed. reading boot.scr ** Unable to read "boot.scr" from mmc 1:1 ** reading user.scr ** Unable to read "user.scr" from mmc 1:1 ** reading uImage 3994161 bytes read Booting from mmc ... ## Booting kernel from Legacy Image at 80200000 ... Image Name: FreeBSD Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3994097 Bytes = 3.8 MB Load Address: 80200000 Entry Point: 802000e0 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... [Mark Murray - ... and there it hangs] M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160