From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 08:40:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B08C9871 for ; Sun, 10 Mar 2013 08:40:34 +0000 (UTC) (envelope-from mats@exmandato.se) Received: from ext.mellstrand.net (ext.mellstrand.net [IPv6:2001:2040:4:2::51]) by mx1.freebsd.org (Postfix) with ESMTP id 1435C264 for ; Sun, 10 Mar 2013 08:40:33 +0000 (UTC) Received: by ext.mellstrand.net Sun, 10 Mar 2013 08:40:28 GMT Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 Subject: Re: RPi booting problem From: Mats Mellstrand In-Reply-To: Date: Sun, 10 Mar 2013 09:40:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0C96F8AF-4876-4FA2-8473-8A0A36422883@exmandato.se> References: To: Tim Kientzle Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 08:40:34 -0000 On 10 mar 2013, at 03:45, Tim Kientzle wrote: >=20 > On Mar 9, 2013, at 6:29 AM, Mats Mellstrand wrote: >=20 >> Hi >>=20 >> I have checked out the latest from head and built world and kernel = (conf/RPI-B) and finally created and image that I written to a flash. >> I have used freebsd-uboot-20130201.tar.gz=20 >>=20 >> When I try to boot, the uboot goes in to a cyclic restart... >>=20 >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >>=20 >> DRAM: 448 MiB >> WARNING: Caches not enabled >> MMC: bcm2835_sdhci: 0 >> Using default environment >>=20 >> In: serial >> Out: lcd >> Err: lcd >> bcm2835: USB power in ON >> Net: Net Initialization Skipped >> No ethernet found. >> Hit any key to stop autoboot: 0=20 >> reading uEnv.txt >> reading boot.scr >> 137 bytes read in 9023 ms (0 Bytes/s) >> Running bootscript from mmc0 ... >> ## Executing script at 00200000 >> reading ubldr >> 238023 bytes read in 60497 ms (2.9 KiB/s) >> ## Starting application at 0x02000054 ... >>=20 >>=20 >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >>=20 >> over and over =85. >=20 > Seems like your ubldr is broken. Yes, that was the problem. Thank's! Now, what compiler flags should I use to build the ubldr? I have rebuilt ubldr many times. >=20 > Try copying ubldr from another image somewhere and > see if that fixes it. >=20 > Here's a description of the RPi boot process for FreeBSD: >=20 > = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi/boot >=20 > The directory above that has a higher-level description of > how FreeBSD works on RaspberryPi: >=20 > = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi >=20 > Tim >=20 >=20 /mm