redboot based boot loader for kernels?
M. Warner Losh
imp at bsdimp.com
Wed Feb 28 16:44:59 UTC 2007
In message: <45E5A73E.20503 at errno.com>
Sam Leffler <sam at errno.com> writes:
: John Hay wrote:
: > Hi,
: >
: > Does anyone have or is busy with an app that one can load in the
: > redboot flash, that will load the kernel from the active partition
: > of a compact flash? I know one can load the kernel in the redboot
: > flash, but that makes remote upgrading more difficult. The way I
: > have done with our wrap and soekris boards, is to create 2 slices
: > on the CF. When upgrading, you just format and install on the
: > non-active slice, change the active bit and reboot.
:
: A certain someone promised to add read/write support for the flash.
That would be me... My day job has been crazy and my new son isn't
yet sleeping through the night.
: When that happens another option is to write the new kernel to flash
: before rebooting. Otherwise we need a redboot image that grok's ufs or
: a secondary bootstrap that can be written to flash that knows how to
: boot from cf (I recall the latter might be in the obsd thecus work).
The at91 boot2 groks ufs and only needs a function that can read the
sectors from the underlying media to grok new media. Of course, it
inherited most of that from the i386 boot2.
Warner
More information about the freebsd-arm
mailing list