[U-Boot-Users] Running w/o flash

Andy Fleming afleming at gmail.com
Thu Mar 29 18:47:45 CEST 2007


On 3/28/07, Wolfgang Denk <wd at denx.de> wrote:
> Dear Dave,
>
> in message <C8F551D39A7C724E987CF8DD11D31783A76767 at svr3.sixnetio.com> you wrote:

> > The only problem configurations are the MPC8xxx configurations.
> > Many of them are based on MPC8540ADS.h and MPC8560ADS.h, which
> > define CFG_NO_FLASH when CFG_RAMBOOT is defined, but don't
> > disable CFG_CMD_FLASH. I would make those like MPC8641HPCN.h,
> > which does disable CFG_CMD_FLASH.
>
> This is definitely not a good idea. One pretty common usage patttern
> is to load anU-Boot image to RAM and use this to load and program the
> "real" image to flash, so flash command support should be kept.
>
> For me the question is why the boards define CFG_NO_FLASH  then.  You
> will have to check this with the board maintainers and the custodian.

Sadly, we no longer remember why it was set.  I wouldn't object to
someone removing the CFG_NO_FLASH definition if they could test it.

I might not even object that much if it broke RAM_BOOT.  Get a BDI and
program the flash, people!  ;)

I would even agree to test that change on one of our boards if you
remind me what I need to change to boot from RAM.  I've not booted
from RAM since we were bringing up the 8540!

Andy




More information about the U-Boot mailing list