From owner-freebsd-arm@freebsd.org Sat Sep 17 17:55:48 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 130D3BDED52 for ; Sat, 17 Sep 2016 17:55:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id EB3EDAA6 for ; Sat, 17 Sep 2016 17:55:47 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id E6E20BDED51; Sat, 17 Sep 2016 17:55:47 +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 E681CBDED50 for ; Sat, 17 Sep 2016 17:55:47 +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 49C71AA5 for ; Sat, 17 Sep 2016 17:55:46 +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 09ccc2ba; Sat, 17 Sep 2016 19:55:44 +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=4zZWZkx31agnY++0agtelJNiAKQ=; b=NRjG4Frb8EN7qAYj+D/Ed6uM2Y2L Q5Fpui1xKN+7f0qEtbK1yHdGEdzFeHTke9FDi7oFusvmq/jfKVdWGpuPLAaUa65X UIuXPpIpkQMFgNY6915EQq2NpwJ8cqmVuJpQM2eRXZdBIoYRWhoWifeM7N1jMCxy 0Xxot/nQbJgcT90= 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=Ihienfee3jgBsjCNOyN4uoDex6blZFsMnBQIm07O+5eazOkc4y5qGMd6 x3g9iHzGp+/qjbAGvtGwstg71xTC9onyaPMKVkK4QhvmykY1CTSkqfrAUAeuM5zX qMNdYl/YmobZmMGCYRsHj/HJIzNkjzLRH6bvoCadfY4R7JPuwDs= 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 aa61cef0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 17 Sep 2016 19:55:44 +0200 (CEST) Date: Sat, 17 Sep 2016 19:55:44 +0200 From: Emmanuel Vadot To: Daniel Braniss Cc: arm@freebsd.org Subject: Re: ALLWINNER/h3 malfunction Message-Id: <20160917195544.a2a8bbdb113029700fa7642d@bidouilliste.com> In-Reply-To: <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> References: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:55:48 -0000 On Sat, 17 Sep 2016 20:41:09 +0300 Daniel Braniss wrote: > > > On 17 Sep 2016, at 6:19 PM, Emmanuel Vadot wrote: > > > > On Wed, 7 Sep 2016 16:34:48 +0300 > > Daniel Braniss wrote: > > > >> Hi All! > >> > >> 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 > >> > >> and so if someone can point me to where some delay can be added ? > >> > >> thanks, > >> danny > >> > > > > 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 ? > > i searched high and low for such one, can you send me one? It's in the tree in sys/gnu/dts/arm/ Yes it doesn't have the awg node, I know, h3 emac bindings aren't stable for now. > > 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 > > hard to add support for the H3). > > > > Cheers, > > > > -- > > Emmanuel Vadot -- Emmanuel Vadot