
2 Mar
2007
2 Mar
'07
4:24 p.m.
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.
Laurent Pinchart