[U-Boot-Users] simple_strtoul overwrites bd_info field

Wolfgang Denk wd at denx.de
Tue Aug 29 18:04:06 CEST 2006


In message <44F460ED.2070006 at dave-tech.it> you wrote:
> I'm experiencing the following problem when building U-Boot with GCC 
> 4.0.0 provided by ELDK 4.0 ARM.

Which board is this?

> When start_armboot invokes simple_strtoul to fill the bi_enetaddr field, 
> the bi_dram[1].start field gets overwritten with a spurious value. Is it 
> actually a GCC-related problem? Any suggestions?

Check the assembler code (single step it under a debugger).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2.




More information about the U-Boot mailing list