pinebook pro u-boot and automatic boot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pinebook pro u-boot and automatic boot

Sebastian Benoit-3
Hi,

i've installed openbsd on my pinebook pro on the NVMe disk i added.

RKPARM: Invalid parameter part table
MMC: block number 0x1 exceeds max(0x0)
MMC: blocCard did not respond to voltage select!
mmc_init: -95, time 9
Scanning disk [hidden email]...
MMC: block number 0x1 exceeds max(0x0)
MMC: block number 0x2080 exceeds max(0x0)
rkparm_init_param_from_storage param read fail
RKPARM: Invalid parameteeds max(0x0)
Scanning disk nvme#0.blk#0...
Found 4 disks
Adding bank: 0x00200000 - 0xf8000000 (size: 0xf7e00000)
disks: sd0* sd1 sd2 sd3 sd4
>> OpenBSD/arm64 BOOTAA64 0.21

boot> boot sd4a:/bsd
...
type 0x5 pa 0xf5ead000 va 0x2d7d21000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0xf5eae000 va 0xf2dd2000 pages 0x2152 attr 0x8
[ using 2019568 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2020 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.7-beta (GENERIC.MP) #1: Tue Jun 13 07:20:37 CEST 2130
    [hidden email]:/sys/arch/arm64/compile/GENERIC.MP
real mem  = 4057804800 (3869MB)


If i understand right i can get it to automatically boot by up- or
downgrading the u-boot.

Before i brick it, whats the recommended procedure for that and which
should i use?

Thanks,
Benno

Reply | Threaded
Open this post in threaded view
|

Re: pinebook pro u-boot and automatic boot

Marcus MERIGHI
[hidden email] (Sebastian Benoit), 2020.04.24 (Fri) 23:38 (CEST):
> i've installed openbsd on my pinebook pro on the NVMe disk i added.

someone once tooted on bsd.network:

  yep! I have a WD Blue SN550 in mine - OpenBSD running from it
  I had to flash this u-boot and the miniroot6{7,6}.fs to the emmc to
  continue booting: https://github.com/pcm720/rockchip-u-boot/releases

(I haven't done it myself, yet)

> RKPARM: Invalid parameter part table
> MMC: block number 0x1 exceeds max(0x0)
> MMC: blocCard did not respond to voltage select!
> mmc_init: -95, time 9
> Scanning disk [hidden email]...
> MMC: block number 0x1 exceeds max(0x0)
> MMC: block number 0x2080 exceeds max(0x0)
> rkparm_init_param_from_storage param read fail
> RKPARM: Invalid parameteeds max(0x0)
> Scanning disk nvme#0.blk#0...
> Found 4 disks
> Adding bank: 0x00200000 - 0xf8000000 (size: 0xf7e00000)
> disks: sd0* sd1 sd2 sd3 sd4
> >> OpenBSD/arm64 BOOTAA64 0.21
>
> boot> boot sd4a:/bsd
> ...
> type 0x5 pa 0xf5ead000 va 0x2d7d21000 pages 0x1 attr 0x8000000000000008
> type 0x2 pa 0xf5eae000 va 0xf2dd2000 pages 0x2152 attr 0x8
> [ using 2019568 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2020 OpenBSD. All rights reserved.
> https://www.OpenBSD.org
>
> OpenBSD 6.7-beta (GENERIC.MP) #1: Tue Jun 13 07:20:37 CEST 2130
>     [hidden email]:/sys/arch/arm64/compile/GENERIC.MP
> real mem  = 4057804800 (3869MB)
>
>
> If i understand right i can get it to automatically boot by up- or
> downgrading the u-boot.
>
> Before i brick it, whats the recommended procedure for that and which
> should i use?

This thread I'm currently (re-) reading:
    https://marc.info/?t=158453542000004&r=1&w=2

has something on u-boot here:
    https://marc.info/?l=openbsd-arm&m=158469590031657

and this one looks close to your question:
    https://marc.info/?l=openbsd-arm&m=158480165301120

and here is /me being afraid of bricking, but it worked out fine:
    https://marc.info/?l=openbsd-arm&m=158490456129837

lastly, otto@ provided the final piece of the puzzle:
    https://marc.info/?l=openbsd-arm&m=158499255826416&w=2

Marcus