can not mount SDHC card as root partition on RaspberryPI
MIHIRA Sanpei Yoshiro
sanpei at FreeBSD.org
Sun Sep 30 00:18:15 UTC 2012
Hi all,
I install 10-current into RaspberryPI. But I can not mount root partition.
- dont probe internal SDHC media as umass [NG]
- If I set options ROOTDEVNAME=\"ufs:/dev/da0s2a\" for external MicroSD,
however don't mount rootfs[NG].
- also I set kern.cam.boot_delay=15000, can't mount rootfs[NG]
I setup below steps. Please let me to know the differences between
successor and me.
1. image file
I created SDHC Image with below URL.
`FreeBSD/Pi setup Howto'
http://kernelnomicon.org/?p=164
2. kernel
And I built kernel with latest 10-current source tree and replace kernel.bin.
3. console output
U-Boot 2012.04.01-00489-gcd2dac2-dirty (Jul 07 2012 - 12:57:03)
DRAM: 128 MiB
WARNING: Caches not enabled
MMC: bcm2835_sdh: 0
Using default environment
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
reading uEnv.txt
17 bytes read
Importing environment from mmc ...
reading boot.scr
182 bytes read
Running bootscript from mmc0 ...
## Executing script at 00008000
reading kernel.bin
3105912 bytes read
## Starting application at 0x00100000 ...
initarm: console initialized
arg1 kmdp = 0xc0411180
boothowto = 0x00000000
dtbp = 0xc03d2a78
kernel image addresses:
kernbase = 0xc0000000
_etext (sdata) = 0xc0342d78
_edata = 0xc03f6478
__bss_start = 0xc03f6478
_end = 0xc041442c
loader passed (static) kenv:
no env, null ptr
processing avail regions:
00000000-08000000 -> 00000000-00100000 = 100000
004cc000-08000000 -> 004cc000-08000000 = 7b34000
fill in phys_avail:
region: 0x00000000 - 0x00100000 (0x00100000)
region: 0x004cc000 - 0x08000000 (0x07b34000)
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #1: Sat Sep 29 20:33:04 JST 2012
sanpei at cherry2.sanpei.org:/zdevel1/usr/obj/arm.arm/zdevel1/usr/src-10-20120928/sys/RPI-B arm
CPU: Sheeva 88SV581x rev 7 (Marvell core)
Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
WB enabled LABT branch prediction enabled
16KB/32B 4-way instruction cache
16KB/32B 4-way write-back-locking-C data cache
real memory = 134217728 (128 MB)
avail memory = 126554112 (120 MB)
random device not loaded; using insecure entropy
simplebus0: <Flattened device tree simple bus> mem 0xf2000000-0xf2ffffff on fdtbus0
intc0: <BCM2835 Interrupt Controller> mem 0xf200b200-0xf200b3ff on simplebus0
systimer0: <BCM2835 System Timer> mem 0xf2003000-0xf2003fff irq 8,9,10,11 on simplebus0
Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000
Timecounter "BCM2835 Timecouter" frequency 1000000 Hz quality 1000
mbox0: <BCM2835 VideoCore Mailbox> mem 0xf200b880-0xf200b8bf irq 1 on simplebus0
mbox0: [GIANT-LOCKED]
bcmwd0: <BCM2708/2835 Watchdog> mem 0xf210001c-0xf2100027 on simplebus0
uart0: <PrimeCell UART (PL011)> mem 0xf2201000-0xf2201fff irq 65 on simplebus0
uart0: console (115200,n,8,1)
dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0xf2980000-0xf299ffff irq 17 on simplebus0
usbus0 on dwcotg0
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <DWCOTG> at usbus0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
ugen0.2: <vendor 0x0424> at usbus0
uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0
uhub1: MTT enabled
uhub1: 3 ports with 2 removable, self powered
ugen0.3: <vendor 0x0424> at usbus0
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: 86:35:de:f8:f9:29
Loader variables:
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/acd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot>
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
More information about the freebsd-arm
mailing list