Hi all,<br><br>I sent two days ago, a mail concerning a trouble to compile u-boot with gcc4.3.2. I solve this problem by moving a section and concatenate with another in the beginning (you can have a look to the u-boot.lds to see the way the sections are organised). This section is named ".rodata.str1.1" (I have just added one line in the script)<br>
<br>Linker script : <a href="http://superuploader.net/1b01c39a7a52380fa48d40d81f17ae97-u-boot-lds.html">http://superuploader.net/1b01c39a7a52380fa48d40d81f17ae97-u-boot-lds.html</a><br><br>But now when I try to boot I have this error message :<br>
U-Boot 1.1.6-4<br><br>MPC8272 Reset Status: Check Stop, External Soft, External Hard<br><br>CLOCK: CPU= 264 MHz, CPM= 198 MHz, BUS= 66 MHz, PCI= 33 MHz<br>CPU: MPC8272 (HiP7 Rev 14, Mask 1.0 1K50M) at 264 MHz<br><br>BOARD: type RMP100, rev.B, capabilities 802a, EPLD ver.1<br>
I2C: ready<br>DRAM: 64 MB<br>DSP: 600Mhz-64Mo<br>FLASH: 8 MB<br>Bus Fault @ 0x03fe9450, fixup 0x00000000<br>Machine check in kernel mode.<br>Caused by (from msr): regs 03bdfd78 Unknown values in msr<br>NIP: 03FE9450 XER: 20000000 LR: 03FE93F0 REGS: 03bdfd78 TRAP: 0200 DAR: 03FFF6D4<br>
MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00<br><br>GPR00: 0001A06C 03BDFE68 FFFFFAFF 0BFDC9FC 00000000 00000000 F0010000 F0003F80<br>GPR08: F0002104 480000D8 480000D8 00000021 03BDFC50 FB7FFFFF 04003000 07FE0000<br>GPR16: FFFFFFFF FFFFFFFA FF7FFFFF EFFFEFB7 00003002 00000001 00000000 03FE3098<br>
GPR24: 00000108 FFEDFFFF 0000FFFF 0000FFFF 03BDFF64 03BDFF0C 0400345C 00800000<br>Call backtrace:<br>machine check<br><br>So I think I have a trouble in the organisation of sections.<br>Maybe to see bugs, I made a objdump of 2 u-boot. One compiled with gcc3 and another compiled with gcc4.<br>
<br>Dump gcc3<br><a href="http://superuploader.net/9b6c29af92deddb0cbfffe467ae51a97-dump-gcc3-txt.html">http://superuploader.net/9b6c29af92deddb0cbfffe467ae51a97-dump-gcc3-txt.html</a><br><br>Dump gcc4<br><a href="http://superuploader.net/90568c2250a4e92e1f37bb14210678bb-dump-gcc4-txt.html">http://superuploader.net/90568c2250a4e92e1f37bb14210678bb-dump-gcc4-txt.html</a><br>
<br>I don't know where I have to look, someone can help me to see where I have to work ? And with what tools ? And any documentation which can help me.<br><br>Thanks again for your attention,<br>Val.<br><br><br>