QT2410 changes to load u-boot through JTAG

Werner Almesberger werner at openmoko.org
Tue Jun 5 04:49:28 CEST 2007


I wrote:
>>> 2) include/configs/qt2410.h needs CONFIG_LL_INIT_NAND_ONLY
>> 
>> why is that?
> 
> I haven't tracked it down to where it breaks, but it seems that
> the lowlevel init doesn't want to be done twice. Maybe we can
> change that. I'll have a look.

It was due to lowlevel_init.S calculating the address of SMRDATA
with the assumption that we're running from RAM. I've not changed
this to PC-relative.

> Hmm, thinking of it, CONFIG_LL_INIT_NAND_ONLY is probably okay.

With the change above, we don't need it anymore. In fact, we
could probably remove CONFIG_LL_INIT_NAND_ONLY entirely. Shall we
give this a try now, or wait for more quiet days ?

> Good, so we have a solution ;-) I'll make a patch after I've had
> my morning coffee.

Well, it took a little longer, but it's now in start.S. I noticed
that we have quite a bit of patch noise now (had me chasing ghosts
for a good while, too), so perhaps a global refresh wouldn't be so
bad.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina     werner at almesberger.net /
/_http://www.almesberger.net/____________________________________________/



More information about the openmoko-uboot mailing list