wandboard / imx6 / exynos4 / cortex-a9 "wrong-endian bug" fixed
Bernd Walter
ticso at cicely7.cicely.de
Tue Feb 11 01:07:54 UTC 2014
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 at 020A4000 { status = "disabled"; };
// gpio at 020A8000 { status = "disabled"; };
console:serial at 02020000 { status = "okay"; };
- serial at 021e8000 { status = "disabled"; };
- serial at 021ec000 { status = "disabled"; };
- serial at 021f0000 { status = "disabled"; };
- serial at 021f4000 { status = "disabled"; };
+ serial at 021e8000 { status = "okay"; };
+ serial at 021ec000 { status = "okay"; };
+ serial at 021f0000 { status = "okay"; };
+ serial at 021f4000 { status = "okay"; };
usbphy at 020c9000 { status = "okay"; };
usbphy at 020ca000 { status = "okay"; };
};
@@ -67,9 +67,9 @@
usb at 02184200 { status = "okay"; };
usb at 02184400 { status = "disabled"; };
usb at 02184600 { status = "disabled"; };
- usdhc at 02190000 { status = "disabled"; };
- usdhc at 02194000 { status = "okay"; };
- usdhc at 02198000 { status = "okay"; };
+ usdhc at 02190000 { status = "okay"; }; // SD1 - external SD
+ usdhc at 02194000 { status = "okay"; }; // SD2 - WIFI
+ usdhc at 02198000 { status = "okay"; }; // SD3 - internal SD
usdhc at 0219c000 { status = "disabled"; };
root at 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 at 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 at wandboard:~ #
--
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-arm
mailing list