[U-Boot-Users] Extremely tiny footprint

Andrew Dyer amdyer at gmail.com
Fri Mar 2 17:00:05 CET 2007


On 3/2/07, Laurent Pinchart <laurent.pinchart at technotrade.biz> wrote:
> > > I would like to use U-Boot as a first-stage boot loader to program flash
> > > memory on the target board. The idea is to perform a two-steps procedure:
> >
> > That's not what U-Boot was designed for. You will run into problems.
> >
> > > To minimize time spent in step one, I need to make the first-stage boot
> > > loader as small as possible (hopefully less than 32kB). Has anyone ever
> > > stripped U-Boot that much ? Is there any documentation available ?
> >
> > Just use a real U-Boot. JTAG programming does not take so long. IMHO
> > you're wasting your time.
>
> JTAG programming using the BDI2000 takes about 1s/kB. That's around 4 minutes
> for the real bootloader.

how fast does the bdi2000 go when accessing ram?  If it's fast enough
you could setup the ram via the bdi-2000 by doing register writes, and
use the bdi2000 to load a version of u-boot into ram, run it and then
use the now resident u-boot to load a copy of itself of something else
into flash.

-- 
Hardware, n.:
        The parts of a computer system that can be kicked.




More information about the U-Boot mailing list