Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD arm bootup question
> u-boot>> go 0x50200000
> ## Starting application at 0x50200000 ...
> undefined instruction
> pc : [<0056b7b8>] lr : [<00f2c124>]
> sp : 00f0fb6c ip : ffffffff fp : 00f0fddd
> r10: 00f0fcdd r9 : 00000000 r8 : 00f0ffd0
> r7 : 00f0fc8c r6 : 00000001 r5 : 00f0fc90 r4 : 00200000
> r3 : c0325e18 r2 : 0056e5b8 r1 : 00000000 r0 : 00000000
> Flags: nzcv IRQs off FIQs off Mode SVC_32
> Resetting CPU ...
>
> software interrupt
> pc : [<00f101bc>] lr : [<00f101ec>]
> sp : 00f10000 iþ
>
> Does that mean my smdk6410_machdep.c and smdk641_start.S has problem or
> my interrupt code has problems? Would anyonne tell me how to debug?
Those messages come from U-Boot handler code, right? I guess you have
something wrong before NetBSD vector is installed in initarm(). Are you sure
the 1st instruction in start() is executed?
(And yes, I know those evbarm boot codes are terrible. :)
Masao
--
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635
Home |
Main Index |
Thread Index |
Old Index