From owner-freebsd-arm@freebsd.org Thu Nov 10 07:42:40 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBEAEC39B93 for ; Thu, 10 Nov 2016 07:42:40 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A74F6FC4 for ; Thu, 10 Nov 2016 07:42:39 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1c4k08-0004wC-OM; Thu, 10 Nov 2016 09:42:24 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Allwinner H3 (orangepi-plus-2) SD card issue - kernel related From: Daniel Braniss In-Reply-To: Date: Thu, 10 Nov 2016 09:42:25 +0200 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <4DCD0F68-0CB8-4F51-B9CF-0542E2987862@cs.huji.ac.il> References: To: mattia.rossi.mailinglists@gmail.com X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 07:42:41 -0000 > On 9 Nov 2016, at 17:54, Mattia Rossi = 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: at usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1: on = usbus1 > mmcsd0: 16GB 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: at usbus1 > umass0 on uhub1 > umass0: = 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: 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 > 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 metric 0 mtu 16384 > options=3D600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=3D21 >=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