Port-arm archive

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

Re: NSLU2 won't boot 5.0



On Sat, Feb 21, 2009 at 10:23 AM, Donald T Hayford 
<don%donhayford.com@localhost> wrote:
> Dude!  Welcome to the club.  I know now that at least three people have
> booted NetBSD on their Slug.  Not quite the NSLU2-Linux numbers, but we'll
> make up in quality what we lack in quantity.

I was one of maybe 10 or so booting NetBSD on the Dreamcast too. This
is kinda similar in feel.

> That's pretty straightforward.  Just fdisk/format the USB card and unzip the
> files in rel/evbarm/evbarm/sets.  Though I confess, I always have problems
> with the fdisk part.

Maybe not so straightforward:

partition> P
8 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  15954881        63     4.2BSD      0     0     0  # (Cyl.      0*-   7790*)
 c:  15954944         0     unused      0     0        # (Cyl.      0 -   7790*)
 e:  15954881        63     unused      0     0        # (Cyl.      0*-   7790*)
partition> W
Label disk [n]? y
disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!
(disklabel or kernel is out of date?)
Label not written

I'll have to figure that one out. I did write zeros to the front of
the disk using dd, so it should have started clean. It's an 8 gig sdhc
card in a USB card reader. Seems like it should work, it shows up
pretty generically:

umass0 at uhub1 port 2 configuration 1 interface 0
umass0: SDMMC M121 USB 2.0  SD/MMC READER, rev 2.00/2.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <USB 2.0, SD/MMC Reader,
\001\000\000\001> disk removable
sd0: fabricating a geometry
sd0: 7790 MB, 7790 cyl, 64 head, 32 sec, 512 bytes/sect x 15954944 sectors
sd0: fabricating a geometry

(this is using the disk2 USB port on the NSLU2 by the way)

> Part of the problem is that Redboot doesn't automatically try to tftp
> anything in, at least as far as I know.

So the next question is if you can reboot it from NetBSD. If so, I
could have a script that does the ping, the telnet with the break, and
maybe get expect to handle doing the tftp boot.

Anyways. More fun awaits. Thanks again.

Andy


Home | Main Index | Thread Index | Old Index