Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: marvell relation support 20100413
Hi! Allen,
From: Allen Wong <allen%submoron.org@localhost>
Date: Fri, 20 Aug 2010 22:18:42 -0700
> -> From: KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost>
> -> Date: Wed, 09 Jun 2010 14:16:16 +0900 (JST)
> ->
> -> > Next, I want to be porting Kirkwood and Discovery Innovation with
> -> > several developers.
> ->
> -> I put newer patch and tar-file.
> ->
> -> ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/marvell/marvell-20100801.diff
> ->
> ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/marvell/marvell-20100801.tar.gz
> ->
> Unfortunately, my Sheevaplug can't boot the kernel (see u-boot messages
> below).
> I built this from the current source from Aug. 20 with the above patch applied
> and kernel files installed.
>
> What information can I provide to troubleshoot this further?
> ## Booting image at 02000000 ...
> Image Name: NetBSD/sheevaplug 5.99.38
> Created: 2010-08-20 4:27:22 UTC
> Image Type: ARM NetBSD Kernel Image (gzip compressed)
> Data Size: 1991758 Bytes = 1.9 MB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> ## Transferring control to NetBSD stage-2 loader (at address 00008000) ...
> software interrupt
> pc : [<00008008>] lr : [<0060022c>]
hmm... ^^^^^^^^
I don't understand... ;-<
you Sheevaplug happen software-interrupt-exception at 0x8008. netbsd's
entry point is 0x8000.
Can you try ?
# arm--netbsdelf-objdump -d your-SHEVAPLUG/netbsd
c0008000 <marvell_start>:
c0008000: ee104f10 mrc 15, 0, r4, cr0, cr0, {0}
c0008004: e3c4400f bic r4, r4, #15 ; 0xf
c0008008: e28f50c4 add r5, pc, #196 ; 0xc4
c000800c: e28f60c8 add r6, pc, #200 ; 0xc8
Do you try to boot my test kernel?
# I replaced cpufunc_asm_sheeva.S to FreeBSD's.
# I see message "/etc/rc.conf is " from /etc/rc. And, it hung up. ;-)
Thanks,
--
kiyohara
Home |
Main Index |
Thread Index |
Old Index