
26 May
2005
26 May
'05
3:23 p.m.
Hello,
I used to compile U-Boot with ELDK, but I currently need to work with newer toolchain : - binutils-2.16 - gcc-3.4.3
The "__u_boot_cmd_start" symbol value, generated with this new toolchain, is wrong (U-Boot crashes when relocating the command table). There are two new sections between "__u_boot_cmd_start" and ".u_boot_cmd" address : - .data.rel.local - .data.rel
I don't know what these (new) sections are, but the problem can be solved in "u-boot.lds" : - __u_boot_cmd_start = .; .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + __u_boot_cmd_start = ADDR(.u_boot_cmd);
Best regards, Cedric VINCENT.