Port-arm archive

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

NSLU2 won't boot 5.0



Hello all.

I recently got a NSLU2 that I want to use as a lightweight headless
machine to do some stuff.

I was hoping I could automate the boot process with it given that I
have a tftp server on my network (I do) and I could get into RedBoot
with telnet (I can). More here:

http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot

So I built an install kernel using the directions here:

http://mail-index.netbsd.org/port-arm/2008/01/26/0003.html

The build box is NetBSD 4.0.1 i386. The toolchain and kernel seem to
have been built fine. The tftp server is NetBSD 5.0_RC on Cobalt, and
file from it shows the NSLU2 kernel like this:

# file netbsd.bin
netbsd.bin: ELF 32-bit MSB executable, ARM, version 1, statically
linked, for NetBSD 5.0, not stripped

So I telnetted into RedBoot from a Windows machine, and tried to boot
the kernel, and I got this:

== Executing boot script in 1.620 seconds - enter ^C to abort
♥^C
RedBoot> ip_address -h 192.168.0.9
IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1
Default server: 192.168.0.9, DNS server IP: 0.0.0.0
RedBoot> load -r -b 0x200000 netbsd.bin
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x0081f153, assumed entry at 0x00200000
RedBoot> g
$T050f:00200000;0d:01ff2fec;#dc$T050f:00200000;0d:01ff2fec;#dc

And it just sits there forever.

I tried a non install kernel, built from the same build machine, and
it looks more like this:

== Executing boot script in 1.620 seconds - enter ^C to abort
♥^C
RedBoot> ip_address -h 192.168.0.9
IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1
Default server: 192.168.0.9, DNS server IP: 0.0.0.0
RedBoot> load -r -b 0x200000 netbsd.bin
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x0081f153, assumed entry at 0x00200000
RedBoot> g

And telnet eventually disconnects.

Any ideas about what I'm doing wrong? Does telnetting into RedBoot
actually work to load a NetBSD kernel? Maybe I really need the serial
port?

Thanks.

Andy



Home | Main Index | Thread Index | Old Index