Port-arm archive

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

Problems booting NSLU2 (slug)

I have just blown the dust off an old Netgear NSLU2, soldered on a serial port 
header and tried to boot NetBSD unsuccessfully.  

I cross built a kernel on an I386 using -m evbarm -a armeb using both current 
and NetBSD 6 sources and loaded the resulting netbsd.bin using tftp.

In both cases the kernel crashes early on with a diagnotic assertion:

(NetBSD current - source dated today)

RedBoot>  load -r -b 0x200000 netbsd.bin
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x0051cd3f, assumed entry at 0x00200000
RedBoot> go
panic: kernel diagnostic assertion "init_done" failed: file 
"/usr/src/sys/kern/subr_evcnt.c", line 136 evcnt_attach_static: evcnt non 
initialized: group=<ixp425> name=<irq 0>
Undefined instruction in kernel
Stopped in pid 0.1 (system) at  c03b9fe8:       ldrb    r15, [r15, r15, ror 

Not sure about the  'Undefined instruction in kernel' - does this imply that 
gcc is producing the wrong code?


Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk

Home | Main Index | Thread Index | Old Index