Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: marvell relation support 20100413



Hello Kiyohara,

-> > ## 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
-> 

My objdump looks the same:

$ armeb--netbsdelf-objdump -d 
/usr/obj/sys/arch//evbarm/compile/SHEEVAPLUG/netbsd

/usr/obj/sys/arch/evbarm/compile/SHEEVAPLUG/netbsd:     file format
elf32-bigarm


Disassembly of section .text:

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
c0008010:       e1550006        cmp     r5, r6
c0008014:       0a000005        beq     c0008030 <marvell_start+0x30>


-> 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.  ;-)
-> 

Where do I get your test kernel?  I'd be happy to try it.  Thanks again!

Allen
-- 
Documentation is alot like sex.  When it's good, it's very, very good.  And
when it's bad, it's still better than nothing.
 7:20AM  up 131 days, 14:12, 1 user, load averages: 0.18, 0.16, 0.15

Attachment: pgpTtHmvOKSh0.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index