Subject: Linksys Wrt54GL
To: None <port-sbmips@netbsd.org>
From: Adam Hamsik <haaaad@gmail.com>
List: port-sbmips
Date: 10/22/2007 12:52:52
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
[Please CC replies to me I'm not subscribed to this list now]
I have started my work on NetBSD wrt54gl port.
I built new NeBSD current kernel with
buid.sh -U -a sbmips-el(wrt54gl CPU is little endian) tools
buid.sh -U -a sbmips-el(wrt54gl CPU is little endian) kernel=GENERIC
but when I try to boot this kernel on my linksys router I got this
error message
(I have added rs232 port to my router therefore I have serial console
output)
Device eth0: hwaddr 00-18-F8-68-25-23, ipaddr 192.168.1.1, mask
255.255.255.0
gateway not set, nameserver not set
Reading :: Failed.: Interrupted
CFE> boot 192.168.1.2:/netbsd
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:/netbsd Options:(null)
Loading: **Exception 8: EPC=803297D4, Cause=00000008 (TLBMissRd)
RA=8032AD40, VAddr=00000014
0 ($00) = 00000000 AT ($01) = 80340000
v0 ($02) = 803419F0 v1 ($03) = 80344E48
a0 ($04) = 00000000 a1 ($05) = 00000000
a2 ($06) = 00000000 a3 ($07) = 00000000
t0 ($08) = 00000000 t1 ($09) = 00000000
t2 ($10) = 00000001 t3 ($11) = 00000020
t4 ($12) = A0340000 t5 ($13) = 000000C0
t6 ($14) = 803A32B0 t7 ($15) = 00000000
s0 ($16) = 00000003 s1 ($17) = 00000000
s2 ($18) = 80345068 s3 ($19) = 8034500C
s4 ($20) = 8034527A s5 ($21) = 00040000
s6 ($22) = 00000014 s7 ($23) = 00000000
t8 ($24) = 01000000 t9 ($25) = 00000000
k0 ($26) = 8034D750 k1 ($27) = 803113AC
gp ($28) = 803418D0 sp ($29) = 803A31B8
fp ($30) = 20000000 ra ($31) = 8032AD40
I think that problem is that I haven't build correct kernel for this
platform CFE loader wants some header to add ?
I have version 1.1 of wrt54gl
system type : Broadcom BCM947XX
processor : 0
cpu model : BCM3302 V0.8
BogoMIPS : 199.47
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
unaligned_instructions : 4
dcache hits : 3761131517
dcache misses : 2186364338
icache hits : 2667580471
icache misses : 42172548
instructions : 0
Any suggestions ? How to proceed ?
Regards
Adam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHHIEFlIxPgX3Go0MRAvdgAKDzlTpxqWW5qM1ZXJEFjNe9LkH5xgCgt23d
HYvelmBcsSmDfNHqVY1OJWc=
=rs/g
-----END PGP SIGNATURE-----