Port-arm archive

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

Re: Raspberry Pi



OK, having built a kernel, done a make release and stuffed the result on a 
(rather small) 512M SD card with the appropriate RPI boot files I managed to 
get NetBSD booted. Amazing and a huge thank you to the developers!!

However it fails to mount root complaining about a filecore boot I/O error.
A quick google provides a lot of questions, but few answers. Am I missing a 
step to write some magic in the early sectors?

SD card disklabel:

# /dev/rsd0d:
type: SCSI
disk: Storage Device  
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 492
total sectors: 1008640
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    876000    131141     4.2BSD     0    0     0  # (Cyl.     64*-    491*)
 b:       499   1008141       swap                   # (Cyl.    492*-    492*)
 c:    876499    131141     unused     0    0        # (Cyl.     64*-    492*)
 d:   1008640         0     unused     0    0        # (Cyl.      0 -    492*)
 e:    131072        63      MSDOS                   # (Cyl.      0*-     64*)

dmesg:

Loaded initial symtab at 0xc024456c, strtab at 0xc0269c08, # entries 9500
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.10 (RPI) #0: Fri Jul 27 08:20:14 BST 2012
        root%dev.anduin.org.uk@localhost:/usr/xobj/sys/arch/evbarm/compile/RPI
total memory = 192 MB
avail memory = 184 MB
cprng kernel: WARNING insufficient entropy at creation.
mainbus0 (root)
cpu0 at mainbus0: ARM1176JZ-S r0p7 (ARM11J core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: 16KB/32B 4-way Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C Data cache
vfp0 at cpu0: VFP11
obio0 at mainbus0
bcmicu0 at obio0
bcmtmr0 at obio0 intr 3: VC System Timer
bcmpm0 at obio0: Power management, Reset and Watchdog controller
plcom0 at obio0 intr 57
plcom0: txfifo disabled
plcom0: console
sdhc0 at obio0 intr 62: SDHC controller
sdhc0: interrupting on intr 62
sdhc0: SD Host Specification 3.0, rev.153
sdmmc0 at sdhc0 slot 0
ld0 at sdmmc0: <SD512>
ld0: 492 MB, 1000 cyl, 16 head, 63 sec, 512 bytes/sect x 1008640 sectors
ld0: 4-bit width, bus clock 25.000 MHz
cprng sysctl: WARNING insufficient entropy at creation.
boot device: <unknown>
root on ld0a dumps on ld0b
ld0c: error reading fsbn 6 (ld0 bn 6; cn 0 tn 0 sn 6)
ld0: filecore boot block I/O error
vfs_mountroot: can't open root device
cannot mount root, error = 6
root device (default ld0a): 
dump device (default ld0b): 
file system (default generic): 

Cheers,
Dave

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


Home | Main Index | Thread Index | Old Index