From owner-freebsd-arm@freebsd.org Sat Sep 17 17:41:14 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 31FBABDE946 for ; Sat, 17 Sep 2016 17:41:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 209E5130 for ; Sat, 17 Sep 2016 17:41:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 1C83CBDE945; Sat, 17 Sep 2016 17:41:14 +0000 (UTC) Delivered-To: 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 1C264BDE943 for ; Sat, 17 Sep 2016 17:41:14 +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 BB6AB12D for ; Sat, 17 Sep 2016 17:41:13 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1blJby-0009KJ-6C; Sat, 17 Sep 2016 20:41:10 +0300 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: ALLWINNER/h3 malfunction From: Daniel Braniss In-Reply-To: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> Date: Sat, 17 Sep 2016 20:41:09 +0300 Cc: arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> References: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3124) 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: Sat, 17 Sep 2016 17:41:14 -0000 > On 17 Sep 2016, at 6:19 PM, Emmanuel Vadot = wrote: >=20 > On Wed, 7 Sep 2016 16:34:48 +0300 > Daniel Braniss wrote: >=20 >> Hi All! >>=20 >> I am playing with an orangepi-one, and I now compiled a kernel = without INVARIANTS & WITNESS >> and it panics, when compiled without WITNESS, it boots, but for = example the awg comes up >> with a semi random ethernet address, so clearly there is some timing = issues. I have placed the panic in >> http://www.cs.huji.ac.il/~danny/orangepi/op1.panic.1 >>=20 >> and so if someone can point me to where some delay can be added ? >>=20 >> thanks, >> danny >>=20 >=20 > Hello Daniel, >=20 > I'll admit that I've never tested ALLWINNER kernel without INVARIANTS > or WITNESS recently, I'll try that. > I assume that you've patched your DTS for ethernet support, can you > try with the unpatched one ? i searched high and low for such one, can you send me one? > It seems that it panic because the mod0 clk doesn't have the correct > parent. >=20 > For the semi random MAC address this is expected. The awg driver > generate a random one if it can't use the SID root key as > the "source", which we don't support for now on H3 (it shouldn't be=20 > hard to add support for the H3). >=20 > Cheers, >=20 > --=20 > Emmanuel Vadot