Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem building install kernel with ssh for NSLU2
I was trying to avoid two difficulties. The first was having to
physically modify the NSLU2 to add in the serial port. The second was
needing a second NetBSD system that you can use to write the USB-Flash
stick, since I was never able to figure out how to write to the disk
with a system other than NetBSD. If I had root on the flash disk, then
it is a relatively simple matter to compile the kernel so that it boots
up using the flash disk as root by changing a couple of lines in the
config file for NSLU2. Here's a diff for that:
--- NSLU2.orig 2008-02-13 22:28:59.000000000 -0500
+++ NSLU2 2008-02-13 22:28:19.000000000 -0500
@@ -142,7 +142,7 @@
#makeoptions DEBUG="-g" # compile full symbol table
options SYMTAB_SPACE=310000
-config netbsd root on ? type ?
+config netbsd root on sd0a type ffs
# The main bus device
mainbus0 at root
As long as the flash disk was setup to start sshd properly, then one
could telnet into RedBoot to load the kernel and get it going, then
switch to ssh to login to the NSLU2. But as I said, I could never write
the flash drive on another (Linux) system and get the NSLU2 to boot into
it. If you could point me in the right direction for that, I would
greatly appreciate it.
Hmm, though reading this over I wonder if
config netbsd root on 192.168.1.102:/client/root type nfs
might work as well. I know how to set up the NFS root.
Thanks, Don
Steve Woodford wrote:
Would it not be easier to avoid using crunchgen altogether, in favour
of root on USB-Flash stick?
Cheers, Steve
Home |
Main Index |
Thread Index |
Old Index