Date: Tue, 11 Feb 2014 02:07:33 +0100 From: Bernd Walter <ticso@cicely7.cicely.de> To: Ian Lepore <ian@freebsd.org> Cc: freebsd-arm <freebsd-arm@freebsd.org>, Bernd Walter <ticso@cicely7.cicely.de>, ticso@cicely.de Subject: Re: wandboard / imx6 / exynos4 / cortex-a9 "wrong-endian bug" fixed Message-ID: <20140211010733.GC94205@cicely7.cicely.de> In-Reply-To: <1392042832.1145.8.camel@revolution.hippie.lan> References: <1391371204.13026.43.camel@revolution.hippie.lan> <20140202230450.GA42331@cicely7.cicely.de> <20140210041313.GB89777@cicely7.cicely.de> <1392042832.1145.8.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 10, 2014 at 07:33:52AM -0700, Ian Lepore wrote: > On Mon, 2014-02-10 at 05:13 +0100, Bernd Walter wrote: > > On Mon, Feb 03, 2014 at 12:04:50AM +0100, Bernd Walter wrote: > [...] > > Second boot worked better, but booting hanged after devd. > > ... > > I have also seen this hang in devd during rc-script processing, a few > times recently. ^T always shows it to be in a nanslp wait. Never seen this again so far. > I've never used crochet or tried to use growfs, that may not be an > arm-related problem from the looks of it. Someone said he hadn't seen it on a recently updated Beaglebone, but not sure how recent the source code had been. I can't do Beaglebone tests myself, since I'm waiting for new boards. > I've never had getty/login hang in nanslp like that. When I'm running > with nfs root it tends to hang in rpccon state, and that's frequency and > annoying enough that I'm going to have to debug it soon (for all I know > that problem may be my old 8.4 nfs server). Interesting. I can't seen to get the second microSD-slot running. The controllers get attached, but mmc only to the onboard slot. The WiFi is SDIO, which I didn't compile into the kernel and I noticed there is a GPIO used to enable the chip. [209]cicely1# svn diff Index: wandboard-quad.dts =================================================================== --- wandboard-quad.dts (revision 261700) +++ wandboard-quad.dts (working copy) @@ -50,10 +50,10 @@ // gpio@020A4000 { status = "disabled"; }; // gpio@020A8000 { status = "disabled"; }; console:serial@02020000 { status = "okay"; }; - serial@021e8000 { status = "disabled"; }; - serial@021ec000 { status = "disabled"; }; - serial@021f0000 { status = "disabled"; }; - serial@021f4000 { status = "disabled"; }; + serial@021e8000 { status = "okay"; }; + serial@021ec000 { status = "okay"; }; + serial@021f0000 { status = "okay"; }; + serial@021f4000 { status = "okay"; }; usbphy@020c9000 { status = "okay"; }; usbphy@020ca000 { status = "okay"; }; }; @@ -67,9 +67,9 @@ usb@02184200 { status = "okay"; }; usb@02184400 { status = "disabled"; }; usb@02184600 { status = "disabled"; }; - usdhc@02190000 { status = "disabled"; }; - usdhc@02194000 { status = "okay"; }; - usdhc@02198000 { status = "okay"; }; + usdhc@02190000 { status = "okay"; }; // SD1 - external SD + usdhc@02194000 { status = "okay"; }; // SD2 - WIFI + usdhc@02198000 { status = "okay"; }; // SD3 - internal SD usdhc@0219c000 { status = "disabled"; }; root@wandboard:~ # dmesg | egrep 'mmc|sdhc' sdhci_imx0: <Freescale uSDHC controller> mem 0x2190000-0x2193fff irq 54 on simplebus2 sdhci_imx0-slot0: 200MHz HS 4bits 3.3V 3.0V PIO sdhci_imx0-slot0: ============== REGISTER DUMP ============== sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000001 sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx0-slot0: Present: 0xff888088 | Host ctl: 0x00000000 sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx0-slot0: Wake-up: 0x00000008 | Clock: 0x00000002 sdhci_imx0-slot0: Timeout: 0x00000080 | Int stat: 0x00000000 sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_imx0-slot0: Caps: 0x0377c800 | Max curr: 0x80000000 sdhci_imx0-slot0: =========================================== sdhci_imx1: <Freescale uSDHC controller> mem 0x2194000-0x2197fff irq 55 on simplebus2 sdhci_imx1-slot0: 200MHz HS 4bits 3.3V 3.0V PIO sdhci_imx1-slot0: ============== REGISTER DUMP ============== sdhci_imx1-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000001 sdhci_imx1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx1-slot0: Present: 0xff888088 | Host ctl: 0x00000000 sdhci_imx1-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx1-slot0: Wake-up: 0x00000008 | Clock: 0x00000002 sdhci_imx1-slot0: Timeout: 0x00000080 | Int stat: 0x00000000 sdhci_imx1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_imx1-slot0: Caps: 0x0377c800 | Max curr: 0x80000000 sdhci_imx1-slot0: =========================================== sdhci_imx2: <Freescale uSDHC controller> mem 0x2198000-0x219bfff irq 56 on simplebus2 sdhci_imx2-slot0: 200MHz HS 4bits 3.3V 3.0V PIO sdhci_imx2-slot0: ============== REGISTER DUMP ============== sdhci_imx2-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx2-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 sdhci_imx2-slot0: Argument: 0x00009a3b | Trn mode: 0x00000011 sdhci_imx2-slot0: Present: 0xff8d8088 | Host ctl: 0x00000002 sdhci_imx2-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx2-slot0: Wake-up: 0x00000000 | Clock: 0x00000002 sdhci_imx2-slot0: Timeout: 0x0000008b | Int stat: 0x00000000 sdhci_imx2-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx2-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_imx2-slot0: Caps: 0x0377c800 | Max curr: 0x80000011 sdhci_imx2-slot0: =========================================== mmc0: <MMC/SD bus> on sdhci_imx2 simplebus2: <usdhc@0219c000> mem 0x219c000-0x219ffff irq 57 type unknown (no driver attached) sdhci_imx2-slot0: Divider 250 for freq 400000 (max 200000000) mmc0: Probing bus mmc0: SD 2.0 interface conditions: OK mmc0: SD probe: OK (OCR: 0x00ff8000) mmc0: Current OCR: 0x00ff8000 mmc0: Probing cards mmc0: New card detected (CID 824a544e43617264025402c63400da00) mmc0: New card detected (CSD 400e00325b590000ec1d7f800a400000) mmc0: Card at relative address 0x59b4 added: mmc0: card: SDHC NCard 0.2 SN 1409467956 MFG 10/2013 by 130 JT mmc0: bus: 4bit, 50MHz, high speed timing mmc0: memory: 61896704 blocks, erase sector 8192 blocks mmc0: setting transfer rate to 50.000MHz (high speed timing) sdhci_imx2-slot0: Divider 2 for freq 50000000 (max 200000000) mmcsd0: 32GB <SDHC NCard 0.2 SN 1409467956 MFG 10/2013 by 130 JT> at mmc0 50.0MHz/4bit/65535-block GEOM: new disk mmcsd0 mmc0: setting bus width to 4 bits Trying to mount root from ufs:mmcsd0s2a []... root@wandboard:~ # -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140211010733.GC94205>