Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 12:06:20 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Milan Obuch <freebsd-arm@dino.sk>
Cc:        Russell Haley <russ.haley@gmail.com>, freebsd-arm@freebsd.org, Erich Dollansky <erich@alogt.com>
Subject:   Re: Orange Pi One
Message-ID:  <78E5CA20-8ABC-490A-89D9-FE0EEE66C653@cs.huji.ac.il>
In-Reply-To: <20160418094916.10dc9ae8@zeta.dino.sk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 18 Apr 2016, at 10:49, Milan Obuch <freebsd-arm@dino.sk> wrote:
>=20
> On Wed, 13 Apr 2016 22:51:09 -0700
> Russell Haley <russ.haley@gmail.com <mailto:russ.haley@gmail.com>> =
wrote:
>=20
>> 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:
>>>=20
>>>> Hi,
>>>>=20
>>>> On Wed, 13 Apr 2016 23:24:14 +0200
>>>> Milan Obuch <freebsd-arm@dino.sk> wrote:
>>>>=20
>>>>> today I got this cheap board. After verifying it works with
>>>>> provided linux based image I am trying to put FreeBSD on it. I
>>>>> would like to understand boot process, but I did not find much
>>>>> info yet.
>=20
> [ snip ]
>=20
>>>> I think, all you want to know is u-boot. Sources for it are
>>>> available. Just ask your search engine where to find it.
>>>>=20
>>>> Erich =20
>>>=20
>>> 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. =20
>>=20
>> The cubieboard (Allwinner) u-boot seems to use the mainline denx code
>> with some significant patches. The cubieboard2 just references the
>> original cubieboard.
>>=20
>> Russ
>=20
> Hi,
>=20
> after some struggling I am able to produce working u-boot. With =
working
> serial console, I see following when powering up the Orange Pi:
>=20
> U-Boot SPL 2016.01 (Apr 17 2016 - 10:18:49)
> DRAM: 512 MiB
> Trying to boot from MMC
>=20
>=20
> U-Boot 2016.01 (Apr 17 2016 - 10:18:49 +0200) Allwinner Technology
>=20
> CPU:   Allwinner H3 (SUN8I)
> DRAM:  512 MiB
> WARNING: Caches not enabled
> MMC:   SUNXI SD/MMC: 0
> reading u-boot.env
>=20
> ** Unable to read "u-boot.env" from mmc0:1 **
> Using default environment
>=20
> In:    serial
> Out:   serial
> Err:   serial
> Net:   No ethernet found.
> starting USB...
> No controllers found
> Hit any key to stop autoboot:  0=20
> Booting from: mmc 0 ubldr
> reading ubldr
> ** Unable to read file ubldr **
> =3D>=20
>=20
> So now it looks like I casn use neither ethernet nor USB boot, but as
> long as SD is readable, which looks like it is, and after 'saveenv' on
> u-boot prompt, it reduces a bit to
>=20
> U-Boot SPL 2016.01 (Apr 17 2016 - 10:18:49)
> DRAM: 512 MiB
> Trying to boot from MMC
>=20
>=20
> U-Boot 2016.01 (Apr 17 2016 - 10:18:49 +0200) Allwinner Technology
>=20
> 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=20
> Booting from: mmc 0 ubldr
> reading ubldr
> ** Unable to read file ubldr **
> =3D>=20
>=20
> I think now it's time to build ubldr, kernel and world for this board.
>=20
> 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 :)

when, and if, I receive mine (it=E2=80=99s probably moving via camel =
express) I will
be able to help you.

danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78E5CA20-8ABC-490A-89D9-FE0EEE66C653>