Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 09:42:25 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        mattia.rossi.mailinglists@gmail.com
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Allwinner H3 (orangepi-plus-2) SD card issue - kernel related
Message-ID:  <4DCD0F68-0CB8-4F51-B9CF-0542E2987862@cs.huji.ac.il>
In-Reply-To: <e9472f24-2629-77b2-cbe9-889138257c97@gmail.com>
References:  <e9472f24-2629-77b2-cbe9-889138257c97@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 9 Nov 2016, at 17:54, Mattia Rossi =
<mattia.rossi.mailinglists@gmail.com> wrote:
>=20
> Hi all,
>=20
> Finally had the guts to rebuild world, kernel (r308464M) and with that =
 the .dtb file, and trying to boot using the generated .dtb file.
>=20
> The good news is: The system boots!
>=20
> The bad news:
>=20
> 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?
>=20
> 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 =3D 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=3D0x2<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]...
>=20
> b) No Ethernet Device! What do I have to add (to the .dts i guess) to =
get that back?
>=20
> ifconfig
> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> options=3D600003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>=20
> Appreciate any help,
>=20
> Mat
>=20

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

danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DCD0F68-0CB8-4F51-B9CF-0542E2987862>