Date: Mon, 18 Apr 2016 21:01:08 +0200 From: Milan Obuch <freebsd-arm@dino.sk> To: freebsd-arm@freebsd.org Cc: Russell Haley <russ.haley@gmail.com>, Emmanuel Vadot <manu@bidouilliste.com>, Erich Dollansky <erich@alogt.com> Subject: Re: Orange Pi One Message-ID: <20160418210108.4047c526@zeta.dino.sk> In-Reply-To: <CABx9NuQaFEuZmDtJ=Rie5XC3iQDqTEBX6ZRiWxNfEa_BomTUcA@mail.gmail.com> References: <20160413232414.3a37907e@zeta.dino.sk> <20160414062820.7b907ba9@X220.alogt.com> <20160414064405.202e4eef@zeta.dino.sk> <CABx9NuQWatjAhA1oL8EtUbv5kSbG8qX-KB%2BGBr9PTqVs4fnMNg@mail.gmail.com> <20160418094916.10dc9ae8@zeta.dino.sk> <20160418174918.33d3d19e4105eb737d17b122@bidouilliste.com> <CABx9NuQaFEuZmDtJ=Rie5XC3iQDqTEBX6ZRiWxNfEa_BomTUcA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Apr 2016 11:40:40 -0700 Russell Haley <russ.haley@gmail.com> wrote: > On Mon, Apr 18, 2016 at 8:49 AM, Emmanuel Vadot > <manu@bidouilliste.com> wrote: > > > On Mon, 18 Apr 2016 09:49:16 +0200 > > Milan Obuch <freebsd-arm@dino.sk> wrote: > > > > > On Wed, 13 Apr 2016 22:51:09 -0700 > > > Russell Haley <russ.haley@gmail.com> wrote: > > > > > > > On Wed, Apr 13, 2016 at 9:44 PM, Milan Obuch > > > > <freebsd-arm@dino.sk> wrote: > > > > > On Thu, 14 Apr 2016 06:28:20 +0800 > > > > > Erich Dollansky <erich@alogt.com> wrote: > > > > > > > > > >> Hi, [ snip ] > > > > >> I think, all you want to know is u-boot. Sources for it are > > > > >> available. Just ask your search engine where to find it. > > > > >> > > > > >> Erich > > > > > > > > > > Well, I am going to investigate /sysutils/u-boot-* ports for > > > > > some guidance - I think this should be a bit easier for me > > > > > and, probably, helpfull a bit for others if I succeed. > > > > > Basically you are right - this board uses u-boot, so I need > > > > > to learn a bit more about it. > > > > > > > > The cubieboard (Allwinner) u-boot seems to use the mainline > > > > denx code with some significant patches. The cubieboard2 just > > > > references the original cubieboard. > > > > > > > > Russ > > > > > > Hi, > > > > > > after some struggling I am able to produce working u-boot. With > > > working serial console, I see following when powering up the > > > Orange Pi: [ snip ] > > > U-Boot SPL 2016.01 (Apr 17 2016 - 10:18:49) > > > DRAM: 512 MiB > > > Trying to boot from MMC > > > > > > > > > U-Boot 2016.01 (Apr 17 2016 - 10:18:49 +0200) Allwinner Technology > > > > > > CPU: Allwinner H3 (SUN8I) > > > DRAM: 512 MiB > > > WARNING: Caches not enabled > > > MMC: SUNXI SD/MMC: 0 > > > reading u-boot.env > > > In: serial > > > Out: serial > > > Err: serial > > > Net: No ethernet found. > > > starting USB... > > > No controllers found > > > Hit any key to stop autoboot: 0 > > > Booting from: mmc 0 ubldr > > > reading ubldr > > > ** Unable to read file ubldr ** > > > => > > > > > > I think now it's time to build ubldr, kernel and world for this > > > board. > > > > > > This is just to let interested parties on partial success, if > > > somebody would like get some more details, just let me know. Just > > > be prepared for some dirty tricks used to overcome some issues :) > > > > > > Regards, > > > Milan > > > > > > > You should have a working kernel with this: > > https://github.com/evadot/freebsd/tree/h3 > > The code used to work before the clk bit were commited, I haven't > > tested since. > > This doesn't support SMP as I haven't looked at the cpu power > > clamp yet. I will look into this as soon as I get some time for it... Thanks for pointer. Appreciated. Also, which board did you test this kernel on? > > And detailed on how you had uboot compiled could always be > > intersting :) > > Congrats and great work! I am also very curious on how you got u-boot > up so fast. There are specific build options that are required for > u-boot to load ubldr (or so I've been told), but you may know this > already. If you haven't said anything I will look for the info in my > email tonight. > Well, thanks goes to loos@freebsd.org, who created u-boot port for cubieboard. As this uses Allwinner's SoC too, I just made some small adjustments. I need to do some polishing and verifying it works, because I played a bit with some debug options, and I would like loos@ to look over it if he has some time (I wrote him privately, but no response yet). So I plan to submit it as a port in not too distant future, but if anybody needs it sooner, just write me. Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160418210108.4047c526>