Re: boot from CF, lilo style?
<stefan.eletzhofer <at> eletztrick.de>
2003-09-01 16:18:02 GMT
On Sat, Aug 30, 2003 at 10:52:57AM -0400, Tom Walsh wrote:
> Hello,
>
> I've looked at a number of ARM bootloaders and none seem to fit what I
> would like a bootloader to do. I would like to know if there is some
> source that I can start with to build from? I've been considering
> ripping blob apart and using peices of it to build my own..
>
> My system (currently) is the WebPal, armv3, arm710, 1 Meg Flash. There
> is an IDE controller on the board (Cirrus FDC37C665) and I've added a
> custom board (mine) to the system where I have a Compact Flash attached
> to the IDE of the Webpal. The Webpal is merely a handy ARM system to do
> this on, the bootloader would be incorporated into an arm720 system
> later (probably a Sharp LH79520 based controller)
>
> I can currently load a cramfs (kernel + busybox), then pivot_root to the
> Compact Flash. The problem is that I need to write, and add, more code
> into my kernel sources and I don't have the room in the current cramfs
> to hold the larger kernel.
>
> Ideally, I would like the bootloader to come up, access the ext3
> filesystem of the Compact Flash, pull in the kernel image and boot it.
> I would rather that the kernel reside on the Compact Flash filesystem so
> that I can easily update it. The concept is to have field personell
> download a new kernel into the Compact Flash to upgrade it, or simply
> replace the CF itself (field people can be so dumb sometimes).
CVS blob can update a system using a CF card. There's IDE and CF support
in blob now. You can even use TFTP, if you have a NIC on your board.
(Continue reading)