[uClinux-dev] Upgrade to uClinux-dist-20070130
Erwin Authried
eauth at softsys.co.at
Fri Feb 16 07:38:45 EST 2007
Am Freitag, den 16.02.2007, 13:28 +0100 schrieb Wolf, Josef:
> Hello!
>
> I'm trying to upgrade from uClinux-dist-20051014 to
> uClinux-dist-20070130.
> For this, I had to change the toolchain to
> http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-200
> 61213.tar.gz
>
> To get a clean build, I had to make some changes (I have the patch
> attached, can somebody apply it to CVS?). This is what the patch
> does:
>
> - replace deprecated -mshort-load-bytes by -malignment-traps
> - remove -mno-fpu (not supported by new toolchain)
> - Fix broken macro in linux-2.4.x/arch/armnommu/kernel/armksyms.c
>
> With those changes, I get a clean build and the kernel (2.4.32, BTW)
> boots.
> But immediately after the boot, I get:
>
> VFS: Mounted root (cramfs filesystem) readonly.
> Freeing init memory: 44K
>
> Unhandled fault: alignment exception (93) at 0x00000001
> fault-common.c(97): start_code=0x40000380, start_stack=0xe92d43f0)
> Internal error: Oops: 0
> CPU: 0
> pc : [<8101a07c>] lr : [<8173ba40>] Not tainted
> sp : 8113bee8 ip : 8113bf14 fp : 8113bf10
> r10: 811482e8 r9 : 60000013 r8 : 00000001
> r7 : 8113d2cc r6 : 8173be7c r5 : 00000000 r4 : ef9f0000
> r3 : 00e3a020 r2 : 00000000 r1 : 000000b1 r0 : 8173be78
> Flags: nzCv IRQs off FIQs on Mode SVC_32 Segment user
> Control: 0
> Process swapper (pid: 0, stackpage=8113b000)
> Stack:
> 8113bec0:
> 8173ba40 8101a07c
> 8113bee0: 20000093 ffffffff 81737a80 00000000 00000009 8113bf54
> 811466c4 8114dc40
> 8113bf00: 811465a4 8113bf20 8113bf14 8173ba40 8101a04c 8113bf30
> 8113bf24 8173b330
> 8113bf20: 8173b7c8 8113bfc4 8113bf34 81014fc0 8173b308 00000200
> 8113bf9c 00000200
> 8113bf40: 81019bd4 60000013 ffffffff 8114dc40 810143b0 81634000
> 8113a000 a0000013
> 8113bf60: 8100a1a0 8113a000 8113caa0 8119a000 8113d2cc 8113c000
> 8113c000 8114dc40
> 8113bf80: 8113bfc4 60000013 8113bf9c 81019bd4 81019bd4 60000013
> ffffffff 810154a4
> 8113bfa0: 8113a000 811469a8 00000000 00000001 8113cb10 00000000
> 8113cb38 8113bfc8
> 8113bfc0: 8101557c 810199ec 8114f4ec 8116b9d4 00000000 81008560
> 8113cd70 00000000
> 8113bfe0: 8116f2a0 811469d8 00000000 8116f2a0 811469d4 814ddfb8
> 00000000 81514f08
> Backtrace:
> Function entered at [<8101a03c>] from [<8173ba40>]
> Function entered at [<8173b7b8>] from [<8173b330>]
> Function entered at [<8173b2f8>] from [<81014fc0>]
> Function entered at [<810199dc>] from [<8101557c>]
> Function entered at [<8111f858>] from [<00000000>]
> Code: e59f7094 e59fa094 (e5141004) e5913000 e3130003
> Kernel panic: Aiee, killing interrupt handler
>
> In interrupt handler - not syncing
>
> Any ideas what might be wrong here
you should take a look into System.map for the values of pc and the
addresses in the backtrace.
-Erwin
More information about the uClinux-dev
mailing list