From owner-freebsd-arm@FreeBSD.ORG Wed Nov 1 03:27:18 2006 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0915C16A40F for ; Wed, 1 Nov 2006 03:27:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8CB443D49 for ; Wed, 1 Nov 2006 03:27:17 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kA13Pv07006523; Tue, 31 Oct 2006 20:25:57 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 31 Oct 2006 20:26:23 -0700 (MST) Message-Id: <20061031.202623.1649769601.imp@bsdimp.com> To: daimon@dev-random.org From: "M. Warner Losh" In-Reply-To: <20061101014328.GB37930@mail.secure.net> References: <20061101014328.GB37930@mail.secure.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 31 Oct 2006 20:25:58 -0700 (MST) Cc: arm@freebsd.org Subject: Re: root on SD 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: Wed, 01 Nov 2006 03:27:18 -0000 In message: <20061101014328.GB37930@mail.secure.net> David Sharp writes: : should using an SD card for root work, or is this still : work in progress? my board hangs after the at the : 'Trying to mount root' message. It works for me... : Found SD card 252968960 bytes : \ : Default: /kernel.gz.tramp : boot: : cmd is '' : KDB: debugger backends: ddb : KDB: current backend: ddb : Copyright (c) 1992-2006 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 7.0-CURRENT #4: Tue Oct 31 23:48:21 UTC 2006 : root@hush.wa.sharp.org:/usr/src/sys/arm/compile/DRCPS0 : CPU: ARM920T rev 0 (ARM9TDMI core) : DC enabled IC enabled WB enabled LABT : 16KB/32B 64-way Instruction cache : 16KB/32B 64-way write-back-locking-A Data cache : real memory = 67108864 (64 MB) : avail memory = 62189568 (59 MB) : atmelarm0: on motherboard : at91_st0: mem 0xdffffd00-0xdffffdff irq 1 on atmelarm0 : at91_st0: watchdog registered, timeout intervall max. 64 sec : at91_pio0: mem 0xdffff400-0xdffff5ff irq 1 on atmelarm0 : at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x738001f ODSR: 0 : at91_pio0: [FAST] : at91_pio1: mem 0xdffff600-0xdffff7ff irq 1 on atmelarm0 : at91_pio1: ABSR: 0xff338 OSR: 0 PSR:0x3fc00cc7 ODSR: 0 : at91_pio1: [FAST] : at91_pio2: mem 0xdffff800-0xdffff9ff irq 1 on atmelarm0 : at91_pio2: ABSR: 0 OSR: 0 PSR:0xc07f ODSR: 0 : at91_pio2: [FAST] : at91_pio3: mem 0xdffffa00-0xdffffbff irq 1 on atmelarm0 : at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 : at91_pio3: [FAST] : at91_pmc0: mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0 : at91_pmc0: Primary: 10000000 Hz PLLA: 180 MHz CPU: 180 MHz MCK: 60 MHz : at91_rtc0: mem 0xdffffe00-0xdffffeff irq 1 on atmelarm0 : at91_rtc0: [FAST] : at91_mci0: mem 0xdffb4000-0xdffb7fff irq 10 on atmelarm0 : mmc0: on at91_mci0 : ate0: mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0 : ate0: Cannot find my PHY. : device_attach: ate0 attach returned 6 : uart0: mem 0xdffff200-0xdffff3ff irq 1 on atmelarm0 : uart0: [FAST]uart0: console (115200,n,8,1) : uart1: mem 0xdffc0000-0xdffc3fff irq 6 on atmelarm0 : uart1: [FAST] : uart2: mem 0xdffc4000-0xdffc7fff irq 7 on atmelarm0 : uart2: [FAST] : uart3: mem 0xdffc8000-0xdffcbfff irq 8 on atmelarm0 : uart3: [FAST] : uart4: mem 0xdffcc000-0xdffcffff irq 9 on atmelarm0 : uart4: [FAST] : at91_ssc0: mem 0xdffd0000-0xdffd3fff irq 14 on atmelarm0 : at91_ssc1: mem 0xdffd4000-0xdffd7fff irq 15 on atmelarm0 : at91_ssc2: mem 0xdffd8000-0xdffdbfff irq 16 on atmelarm0 : at91_spi0: mem 0xdffe0000-0xdffe3fff irq 13 on atmelarm0 : spibus0: on at91_spi0 : Cannot get 100 Hz clock; using 128Hz : at91_st0: [FAST] : Timecounter "AT91RM9200 timer" frequency 32768 Hz quality 1000 : Timecounters tick every 7.812 msec : at91_mci0: Setting controller bus width to 1 : at91_mci0: Setting controller bus width to 1 : at91_mci0: Setting controller bus width to 1 : at91_mci0: Setting controller bus width to 1 : at91_mci0: Setting controller bus width to 1 : at91_mci0: Setting controller bus width to 1 : SD CARD: 252968960 bytes : at91_mci0: Setting controller bus width to 1 : mmcsd0: on mmc0 : mmc0: setting transfer rate to 30.000MHz : at91_mci0: Setting controller bus width to 1 : Trying to mount root from ufs:mmcsd0s1a What does your /etc/fstab look like? What happens if you have boot verbose set? I'll check to make sure I've merged everything from p4... Warner