[U-Boot-Users] Compilation with gcc4 : Unknown values in msr

valerian NA valerian.cowmet at gmail.com
Fri Jun 20 16:03:45 CEST 2008


Hi all,

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)

Linker script :
http://superuploader.net/1b01c39a7a52380fa48d40d81f17ae97-u-boot-lds.html

But now when I try to boot I have this error message :
U-Boot 1.1.6-4

MPC8272 Reset Status: Check Stop, External Soft, External Hard

CLOCK:  CPU= 264 MHz, CPM= 198 MHz, BUS= 66 MHz, PCI= 33 MHz
CPU:    MPC8272 (HiP7 Rev 14, Mask 1.0 1K50M) at 264 MHz

BOARD:  type RMP100, rev.B, capabilities 802a, EPLD ver.1
I2C:    ready
DRAM:   64 MB
DSP:    600Mhz-64Mo
FLASH:  8 MB
Bus Fault @ 0x03fe9450, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 03bdfd78 Unknown values in msr
NIP: 03FE9450 XER: 20000000 LR: 03FE93F0 REGS: 03bdfd78 TRAP: 0200 DAR:
03FFF6D4
MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: 0001A06C 03BDFE68 FFFFFAFF 0BFDC9FC 00000000 00000000 F0010000
F0003F80
GPR08: F0002104 480000D8 480000D8 00000021 03BDFC50 FB7FFFFF 04003000
07FE0000
GPR16: FFFFFFFF FFFFFFFA FF7FFFFF EFFFEFB7 00003002 00000001 00000000
03FE3098
GPR24: 00000108 FFEDFFFF 0000FFFF 0000FFFF 03BDFF64 03BDFF0C 0400345C
00800000
Call backtrace:
machine check

So I think I have a trouble in the organisation of sections.
Maybe to see bugs, I made a objdump of 2 u-boot. One compiled with gcc3 and
another compiled with gcc4.

Dump gcc3
http://superuploader.net/9b6c29af92deddb0cbfffe467ae51a97-dump-gcc3-txt.html

Dump gcc4
http://superuploader.net/90568c2250a4e92e1f37bb14210678bb-dump-gcc4-txt.html

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.

Thanks again for your attention,
Val.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080620/077a8ace/attachment.htm 


More information about the U-Boot mailing list