
21 Oct
2014
21 Oct
'14
2:26 p.m.
Hi,
I cannot see any memory corruption. If I understand you correctly, the contents of address 0x00000000 should be overwritten here?
Depends on the address space layout. vexpress-a9 has flash mapped at 0x00000000. RAM starts at 0x60000000, and four bytes at 0x60000000 get corrupted.
Possibly it also depends on whenever the board calls get_ram_size() in the first place. For the vexpress the calls are in board-specific code (board/armltd/vexpress/vexpress_common.c).
cheers, Gerd