Pinebook Pro, any progress as of yet ?
Emmanuel Vadot
manu at bidouilliste.com
Wed Jan 1 14:25:06 UTC 2020
On Wed, 1 Jan 2020 15:09:24 +0100
Søren Schmidt <soren.schmidt at gmail.com> wrote:
>
> On 31 Dec 2019, at 22.24, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>
> > 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.freebsd.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.
> >
> > 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.
>
> I tried to copy the idbloader and u-boot onto a SD-card:
>
> dd if=idbloader.img of=/dev/afd1 seek=64 conv=notrunc,sync
> dd if=u-boot.itb of=/dev/afd1 seek=16384 conv=notrunc,sync
>
> 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..
>
> I would have expected at leat some output at 115200...
>
> I read somewhere that It should boot from the SD if one is present, and it 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øren
>
>
>
>
>
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-arm
mailing list