Allwinner H3 (orangepi-plus-2) SD card issue - kernel related

Daniel Braniss danny at cs.huji.ac.il
Thu Nov 10 07:42:41 UTC 2016


> On 9 Nov 2016, at 17:54, Mattia Rossi <mattia.rossi.mailinglists at gmail.com> wrote:
> 
> Hi all,
> 
> Finally had the guts to rebuild world, kernel (r308464M) and with that  the .dtb file, and trying to boot using the generated .dtb file.
> 
> The good news is: The system boots!
> 
> The bad news:
> 
> a) It loses a lot of time searching for the SD card partitions (or whatever it does here), then it continues in the boot process. What's wrong?
> 
> usbus0: 480Mbps High Speed USB v2.0
> usbus1: 480Mbps High Speed USB v2.0
> ugen0.1: <Allwinner EHCI root HUB> at usbus0
> uhub0: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> ugen1.1: <Allwinner EHCI root HUB> at usbus1
> uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
> mmcsd0: 16GB <SDHC SL16G 3.0 SN DAF66CDA MFG 09/2015 by 3 PT> at mmc0 50.0MHz/4bit/65535-block
> a10_mmc1: error rint: 0x00000100
> uhub0: 1 port with 1 removable, self powered
> uhub1: 1 port with 1 removable, self powered
> ugen1.2: <vendor 0x05e3 USB Storage> at usbus1
> umass0 on uhub1
> umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/0.09, addr 2> on usbus1
> umass0:  SCSI over Bulk-Only; quirks = 0xc100
> umass0:0:0: Attached to scbus0
> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
> da0: <USB TO I DE/SATA Device 0009> Fixed Direct Access SCSI device
> da0: Serial Number 000000000033
> da0: 40.000MB/s transfers
> da0: Attempt to query device size failed: NOT READY, Medium not present
> da0: quirks=0x2<NO_6_BYTE>
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> a10_mmc1: controller timeout
> mmc1: No compatible cards found on bus
> a10_mmc2: error rint: 0x00000100
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> a10_mmc2: controller timeout
> mmc2: No compatible cards found on bus
> Release APs
> WARNING: WITNESS option enabled, expect reduced performance.
> Trying to mount root from ufs:/dev/mmcsd0s2 [rw]...
> 
> b) No Ethernet Device! What do I have to add (to the .dts i guess) to get that back?
> 
> ifconfig
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>        inet6 ::1 prefixlen 128
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>        inet 127.0.0.1 netmask 0xff000000
>        groups: lo
>        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 
> Appreciate any help,
> 
> Mat
> 

hi Mat,
I would check that the .dtb file is correct, also check which .dtb gets loaded.

danny



More information about the freebsd-arm mailing list