Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2020 15:24:58 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        =?ISO-8859-1?Q?S=F8ren?= Schmidt <soren.schmidt@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Pinebook Pro, any progress as of yet ?
Message-ID:  <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com>
In-Reply-To: <EA1F3048-E469-418F-9C50-BB3E9D533AEE@gmail.com>
References:  <A34D5AC9-2EDC-4601-B468-1A97C6CFD299@gmail.com> <20191230234910.9a02d7e3bd43d72f1250a780@bidouilliste.com> <D1786EB5-3A13-495D-A67E-9F76831F84AA@gmail.com> <20191231001119.68f0c3865ac520388ade5ecf@bidouilliste.com> <20191231222415.0314787f51b0918f7223dd2c@bidouilliste.com> <EA1F3048-E469-418F-9C50-BB3E9D533AEE@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Jan 2020 15:09:24 +0100
S=F8ren Schmidt <soren.schmidt@gmail.com> wrote:

>=20
> On 31 Dec 2019, at 22.24, Emmanuel Vadot <manu@bidouilliste.com> wrote:
>=20
> > I know have something that can be booted correctly and with usb.
> > U-Boot is the same but I've switched the uart baudrate to 115200 as
> > it's way too noisy at 1.5Mbps for me
> > (https://people.freebsd.org/~manu/pbp_uart.jpeg <https://people.freebsd=
.org/~manu/pbp_uart.jpeg> vs
> > https://people.freebsd.org/~manu/rockpro_uart.jpeg <https://people.free=
bsd.org/~manu/rockpro_uart.jpeg>). I'll push the
> > patches somewhere at one point, in the meantime people can use a
> > precompiled version from https://people.freebsd.org/~manu/pinebookpro/ =
<https://people.freebsd.org/~manu/pinebookpro/>;
> > Refer to the readme from the u-boot-rockpro64 port to install it.
> >=20
> > I've also pushed some commit there
> > https://github.com/evadot/freebsd/tree/pinebookpro <https://github.com/=
evadot/freebsd/tree/pinebookpro>
> > This have the dts needed for booting (based on the dts included in
> > u-boot with some fixes to it).
> > And also some fixes to the regulator framework and PMIC driver that I
> > will put up to review soon.
>=20
> I tried to copy the idbloader and u-boot onto a SD-card:
>=20
> dd if=3Didbloader.img of=3D/dev/afd1 seek=3D64 conv=3Dnotrunc,sync
> dd if=3Du-boot.itb of=3D/dev/afd1 seek=3D16384 conv=3Dnotrunc,sync
>=20
> but not much luck, it still boots the stock image on the eMMC, and keeps =
the console tty at 1.5m, which for some reason I can?t read right now..
>=20
> I would have expected at leat some output at 115200...
>=20
> I read somewhere that It should boot from the SD if one is present, and i=
t sure does with another linux image on a SD-card..

 The boot order is fixed and is SPI->eMMC->SD
 So if a bootloader exists on the eMMC it will boot from it.
 The u-boot installed will try to boot from the sdcard using u-boot
distro boot mechanism but it will not work for us as EFI is broken on
it. (It might work if you use kernel.bin and compile it with
LINUX_BOOT_ABI).

> Are you booting from the eMMC or SD-card ?

 From sd but my eMMC is blank.

> -S=F8ren
>=20
>=20
>=20
>=20
>=20


--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200101152458.2a529345ebd0f40827d1d808>