From owner-freebsd-arm@freebsd.org Sat Sep 17 15:19:15 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 1EF4EBDE4A1 for ; Sat, 17 Sep 2016 15:19:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 039FE378 for ; Sat, 17 Sep 2016 15:19:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id F3502BDE4A0; Sat, 17 Sep 2016 15:19: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 F2F64BDE49D for ; Sat, 17 Sep 2016 15:19:14 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 51AB0376 for ; Sat, 17 Sep 2016 15:19:13 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id fca4c6f3; Sat, 17 Sep 2016 17:19:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=8rwNqUDYee/UQgrIL3Th6zRcGZg=; b=lR1BvPUurRMtNVtSeP5FHRH7pagL CHq9wAbkcMcE+EiAVtT/7nF4BrR+wIqyxRFsjPBDCvLxP6sX1rbrAqgA7oi8+HDK PSxUUqdoW4tRdOEqjkRXF1bM4tbjSiJTJm7Lu0HgMsWP2OVlfsTJ6c8wHbknj3Zm fDfpsDYTPssreo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=K40UQsWe9+P8vdY/x1zJTXA7Z5Gnu/KcK4yVsYPGLB5wJADr7m/4jWpN nqmhDV0ycxdWgNKB3FZQxwlW6O2nTA53vceBnUvdPgp4trL0j9V/ujWFVI+ZohPa BwmaSqaqQnLeA0YMI6qWtktpGjDeF1FT/ZI1heOuGAcnF5qwo5s= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 36f3240d TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 17 Sep 2016 17:19:11 +0200 (CEST) Date: Sat, 17 Sep 2016 17:19:11 +0200 From: Emmanuel Vadot To: Daniel Braniss Cc: arm@freebsd.org Subject: Re: ALLWINNER/h3 malfunction Message-Id: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 15:19:15 -0000 On Wed, 7 Sep 2016 16:34:48 +0300 Daniel Braniss wrote: > Hi All! >=20 > I am playing with an orangepi-one, and I now compiled a kernel without IN= VARIANTS & WITNESS > and it panics, when compiled without WITNESS, it boots, but for example t= he awg comes up > with a semi random ethernet address, so clearly there is some timing issu= es. 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 Hello Daniel, 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 ? It seems that it panic because the mod0 clk doesn't have the correct parent. 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). Cheers, --=20 Emmanuel Vadot