
30 Aug
2006
30 Aug
'06
10:38 a.m.
As endp points to one field of the struct bd_info, it gets corrupted. So
Umm.. it should not. endp is the second art when calling simple_strtoul(), and "lib_arm/board.c" passes the address of a local variable here.
the problem is about the pointer "e" in function start_armboot that is passed to simple_strtoul. Any idea?
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.
--
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2@dave-tech.it