From owner-freebsd-arm@freebsd.org Sat Jun 18 09:04:30 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 E7FD8A7753C for ; Sat, 18 Jun 2016 09:04:30 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85EEE2849 for ; Sat, 18 Jun 2016 09:04:29 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sat, 18 Jun 2016 11:04:27 +0200 id 0037B57C.57650E9B.00002E1C Date: Sat, 18 Jun 2016 11:04:26 +0200 From: Milan Obuch To: Daniel Braniss Cc: Emmanuel Vadot , freeBSD-arm@freebsd.org Subject: Re: any progress with OrangePi Plus / AllWinner H3 ? Message-ID: <20160618110426.391a1f3c@zeta.dino.sk> In-Reply-To: <9B9FAC12-64AC-4947-899A-23160B241D51@cs.huji.ac.il> References: <0A7A3F1D-2853-4DA4-A8A1-52C38A6ED093@cs.huji.ac.il> <20160617090156.83824237d9b1ae564bb92088@bidouilliste.com> <487C9542-1397-4CB7-837C-CD724656A0F1@cs.huji.ac.il> <20160617114018.0e70ad81@zeta.dino.sk> <0F8AAA97-99E7-4378-B6AB-F81EF45EAAC5@cs.huji.ac.il> <20160617192745.45f8a18db251547d8a01e571@bidouilliste.com> <20160617195658.0dec9f7875228ba372dadbd3@bidouilliste.com> <20160618093545.1c360555@zeta.dino.sk> <20160618094514.a83fc993b93c120fb6e014f4@bidouilliste.com> <20160618100315.12478671@zeta.dino.sk> <20160618102338.eba15ac1d427a7d3687865d8@bidouilliste.com> <9B9FAC12-64AC-4947-899A-23160B241D51@cs.huji.ac.il> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; i386-portbld-freebsd10.3) 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.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2016 09:04:31 -0000 On Sat, 18 Jun 2016 11:55:23 +0300 Daniel Braniss wrote: > > On 18 Jun 2016, at 11:23 AM, Emmanuel Vadot > > wrote: > > > > On Sat, 18 Jun 2016 10:03:15 +0200 > > Milan Obuch > > > wrote: > >> On Sat, 18 Jun 2016 09:45:14 +0200 > >> Emmanuel Vadot >> > wrote: > >>> It's build from my github branch which only adds dts for the > >>> orangepi-one : > >>> https://github.com/freebsd/freebsd/compare/master...evadot:orangepi-one > >>> > >> > >> Thanks, I am planning to get them and compare. Meanwhile, I copied > >> orangepi-one.dtb from your image to my image and mmc works. So > >> there was something changed, older orangepi.dtb from link provided > >> by you previously is somewhat different. > > > > I don't remember what I've changed, but I remember telling you to > > use this branch for the dts because it worked for me. > > I copied your DTB (where is the dts?) and now it boots fine! > > any idea how to convince the boot (ubldr, u-boot) to load it from the > fat partition? thanks! > danny > If you do not like dtbfile loading from freebsd-ufs partition, you could try to change your u-boot environment. I did not try it, I am satisfied with status quo for now, but try first break into u-boot prompt (you have two seconds for this, I think) and output from printenv (or env print, if you prefer - should be identical) tells you how kernel is loaded. You could hack it here to load dtb file (in u-boot you see it called fdtfile). Good luck! Milan