From owner-freebsd-arm@FreeBSD.ORG Sun Sep 30 00:18:15 2012 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61A73106564A for ; Sun, 30 Sep 2012 00:18:15 +0000 (UTC) (envelope-from sanpei@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED3B8FC0A for ; Sun, 30 Sep 2012 00:18:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8U0IFov091770 for ; Sun, 30 Sep 2012 00:18:15 GMT (envelope-from sanpei@freefall.freebsd.org) Received: (from sanpei@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8U0IFls091769 for arm@FreeBSD.org; Sun, 30 Sep 2012 00:18:15 GMT (envelope-from sanpei) Date: Sun, 30 Sep 2012 00:18:15 GMT From: MIHIRA Sanpei Yoshiro Message-Id: <201209300018.q8U0IFls091769@freefall.freebsd.org> To: arm@FreeBSD.org Cc: Subject: can not mount SDHC card as root partition on RaspberryPI X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2012 00:18:15 -0000 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@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: mem 0xf2000000-0xf2ffffff on fdtbus0 intc0: mem 0xf200b200-0xf200b3ff on simplebus0 systimer0: 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: mem 0xf200b880-0xf200b8bf irq 1 on simplebus0 mbox0: [GIANT-LOCKED] bcmwd0: mem 0xf210001c-0xf2100027 on simplebus0 uart0: mem 0xf2201000-0xf2201fff irq 65 on simplebus0 uart0: console (115200,n,8,1) dwcotg0: 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: at usbus0 uhub0: on usbus0 uhub0: 1 port with 1 removable, self powered ugen0.2: at usbus0 uhub1: on usbus0 uhub1: MTT enabled uhub1: 3 ports with 2 removable, self powered ugen0.3: at usbus0 smsc0: on usbus0 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: 86:35:de:f8:f9:29 Loader variables: Manual root filesystem specification: : [options] Mount using filesystem 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) Abort manual input mountroot> --- MIHIRA, Sanpei Yoshiro Tokyo, Japan.