Date: Mon, 18 Feb 2013 19:00:55 -0700 From: Ian Lepore <ian@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-arm@FreeBSD.org Subject: Re: RPi hangs in bootloader Message-ID: <1361239255.1164.61.camel@revolution.hippie.lan> In-Reply-To: <3C578B82-E8F9-4020-B52C-5F1091576E75@bsdimp.com> References: <51227033.3070304@thieprojects.ch> <A63BA7A1-50C7-4C17-A3F2-D7ADDBCA3001@freebsd.org> <1361235912.1164.55.camel@revolution.hippie.lan> <3C578B82-E8F9-4020-B52C-5F1091576E75@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2013-02-18 at 18:25 -0700, Warner Losh wrote: > On Feb 18, 2013, at 6:05 PM, Ian Lepore wrote: [...] > > The general thing I'm up to today is learning enough about ubldr to use > > it effectively, and ultimately to see if it can be used to load a > > (semi-)generic kernel plus a set of modules you configure in loader.rc. > > I've just managed to do that by hand, now to see if loader.rc will > > cooperate. > > Let us know how that works out. > > Warner It actually worked out pretty well. This is my rc file now: rpi# cat /boot/loader.rc fdt addr 0x100 load kernel load uftdi set autoboot_delay=8000 The tricky bits are... if you're going to use any load commands, "load kernel" has to be first, and the delay of 8000 compensates for the fact that the get_timer() routine in the rpi u-boot we're all using right now returns micros rather than millis. I think soon we'll be able to stop building kitchen-sink kernels for things like the *Plug computers and instead just let all the standard modules get built along with a fairly minimal kernel. Folks should be able to download an image and enable features they want to try with a few edits to loader.rc and a reboot. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361239255.1164.61.camel>