[U-Boot-Users] simple_strtoul overwrites bd_info field

llandre r&d2 at dave-tech.it
Wed Aug 30 10:52:38 CEST 2006


>> Did you check which address gets passed to simple_strtoul()?
> Yes and ...
>> Did you check the generated assembler code as I suggested?
> ... yes. This is how I found out what happens. See the two dumps here 
> http://www.dave-tech.it/download/misc/zefeer.
> Stuct bd_info starts at 0xD1EBFF3C.
I tried to move the e pointer from start_armboot to the top of the file 
(static char *e;) and everything works fine.


-- 
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it




More information about the U-Boot mailing list