Hi,

eventually got my hands on a PinebookPro, installation went fine.

Prepard SD card for initial installation alike:

        mount /dev/${DEV}i /mnt
        mkdir /mnt/rockchip
        cp /usr/local/share/dtb/arm64/rockchip/rk3399-pinebook-pro.dtb 
/mnt/rockchip
        umount /mnt
        dd if=/usr/local/share/u-boot/pinebook-pro-rk3399/idbloader.img 
of=/dev/${DEV}c seek=64
        dd if=/usr/local/share/u-boot/pinebook-pro-rk3399/u-boot.itb 
of=/dev/${DEV}c seek=16384

DTB and u-boot files are from following packages:
dtb-5.7p0           Device Tree Blobs
u-boot-aarch64-2020.07 U-Boot firmware

looking at other Pinebook related threats, found that issuing
set tty fb0

at the boot> prompt, or put it in /etc/boot.conf might help, but to no avail.

U-Boot SPL 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000)
Trying to boot from MMC2

U-Boot 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000) Manjaro ARM
Model: Pine64 Pinebook Pro
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: Pine64 Pinebook Pro
## Error: Can't overwrite "serial#"
## Error inserting "serial#" variable, errno=1
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
Net:   No ethernet found.
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices...
Warning: asix_eth MAC addresses don't match:
Address in ROM is          00:60:6e:d5:a1:eb
Address in environment is  7e:f3:8b:24:02:37
4 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select!
Scanning disk dw...@fe320000.blk...
Disk dw...@fe320000.blk not ready
Scanning disk sd...@fe330000.blk...
** Unrecognized filesystem type **
Found 3 disks
BootOrder not defined
EFI boot manager: Cannot load any image
169352 bytes read in 35 ms (4.6 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
disks: sd0*
>> OpenBSD/arm64 BOOTAA64 1.2
switching console to fb0
^^^^
this is from having set tty fb0 in /etc/boot.conf

>> OpenBSD/arm64 BOOTAA64 1.2
boot>
booting sd0a:/bsd: 8494440+1714392+551888+791984 
[597435+109+1043088+611985]=0xf                                                 
                                         6e498
Host not halted after 16000 microseconds.
type 0x2 pa 0x200000 va 0x200000 pages 0x4000 attr 0x8
type 0x7 pa 0x4200000 va 0x4200000 pages 0x3eeb attr 0x8
type 0x4 pa 0x80eb000 va 0x80eb000 pages 0x2a attr 0x8
type 0x7 pa 0x8115000 va 0x8115000 pages 0xec012 attr 0x8
type 0x2 pa 0xf4127000 va 0xf4127000 pages 0xcb8 attr 0x8
type 0x4 pa 0xf4ddf000 va 0xf4ddf000 pages 0x1 attr 0x8
type 0x2 pa 0xf4de0000 va 0xf4de0000 pages 0x3 attr 0x8
type 0x7 pa 0xf4de3000 va 0xf4de3000 pages 0x1 attr 0x8
type 0x2 pa 0xf4de4000 va 0xf4de4000 pages 0x100 attr 0x8
type 0x1 pa 0xf4ee4000 va 0xf4ee4000 pages 0x2a attr 0x8
type 0x0 pa 0xf4f0e000 va 0xf4f0e000 pages 0x7 attr 0x8
type 0x4 pa 0xf4f15000 va 0xf4f15000 pages 0x1 attr 0x8
type 0x6 pa 0xf4f16000 va 0x3593b20000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0xf4f17000 va 0xf4f17000 pages 0x2 attr 0x8
type 0x0 pa 0xf4f19000 va 0xf4f19000 pages 0x4 attr 0x8
type 0x4 pa 0xf4f1d000 va 0xf4f1d000 pages 0x2 attr 0x8
type 0x6 pa 0xf4f1f000 va 0x3593b29000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0xf4f20000 va 0xf4f20000 pages 0x3010 attr 0x8
type 0x5 pa 0xf7f30000 va 0x3596b3a000 pages 0x10 attr 0x8000000000000008
type 0x2 pa 0xf7f40000 va 0xf7f40000 pages 0xc0 attr 0x8
[ using 2253592 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-current (GENERIC.MP) #711: Fri Jul 10 13:46:35 MDT 2020
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 4092579840 (3902MB)
avail mem = 3891367936 (3711MB)
random: good seed from bootblocks
mainbus0 at root: Pine64 Pinebook Pro
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
cpu4 at mainbus0 mpidr 100: ARM Cortex-A72 r0p2
cpu4: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu4: 1024KB 64b/line 16-way L2 cache
cpu5 at mainbus0 mpidr 101: ARM Cortex-A72 r0p2
cpu5: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu5: 1024KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20200100
apm0 at mainbus0
agintc0 at mainbus0 sec shift 3:3 nirq 288 nredist 6 ipi: 0, 1: 
"interrupt-controller"
agintcmsi0 at agintc0
syscon0 at mainbus0: "qos"
syscon1 at mainbus0: "qos"
syscon2 at mainbus0: "qos"
syscon3 at mainbus0: "qos"
syscon4 at mainbus0: "qos"
syscon5 at mainbus0: "qos"
syscon6 at mainbus0: "qos"
syscon7 at mainbus0: "qos"
syscon8 at mainbus0: "qos"
syscon9 at mainbus0: "qos"
syscon10 at mainbus0: "qos"
syscon11 at mainbus0: "qos"
syscon12 at mainbus0: "qos"
syscon13 at mainbus0: "qos"
syscon14 at mainbus0: "qos"
syscon15 at mainbus0: "qos"
syscon16 at mainbus0: "qos"
syscon17 at mainbus0: "qos"
syscon18 at mainbus0: "qos"
syscon19 at mainbus0: "qos"
syscon20 at mainbus0: "qos"
syscon21 at mainbus0: "qos"
syscon22 at mainbus0: "qos"
syscon23 at mainbus0: "qos"
syscon24 at mainbus0: "qos"
syscon25 at mainbus0: "power-management"
"power-controller" at syscon25 not configured
syscon26 at mainbus0: "syscon"
"io-domains" at syscon26 not configured
syscon27 at mainbus0: "syscon"
syscon28 at mainbus0: "syscon"
rkclock0 at mainbus0
rkclock1 at mainbus0
syscon29 at mainbus0: "syscon"
"io-domains" at syscon29 not configured
"usb2-phy" at syscon29 not configured
"usb2-phy" at syscon29 not configured
rkemmcphy0 at syscon29
rkpinctrl0 at mainbus0: "pinctrl"
rkgpio0 at rkpinctrl0
rkgpio1 at rkpinctrl0
rkgpio2 at rkpinctrl0
rkgpio3 at rkpinctrl0
rkgpio4 at rkpinctrl0
pwmreg0 at mainbus0
"fit-images" at mainbus0 not configured
"pmu_a53" at mainbus0 not configured
"pmu_a72" at mainbus0 not configured
agtimer0 at mainbus0: tick rate 24000 KHz
"xin24m" at mainbus0 not configured
simplebus0 at mainbus0: "amba"
"dma-controller" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
dwmmc0 at mainbus0: 50 MHz base clock
sdmmc0 at dwmmc0: 4-bit, sd high-speed, mmc high-speed, dma
sdhc0 at mainbus0
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc1 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma
ehci0 at mainbus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 
addr 1
ohci0 at mainbus0: version 1.0
ehci1 at mainbus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 
addr 1
ohci1 at mainbus0: version 1.0
rkdwusb0 at mainbus0: "usb"
xhci0 at rkdwusb0, xHCI 1.10
usb2 at xhci0: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
rkdwusb1 at mainbus0: "usb"
xhci1 at rkdwusb1, xHCI 1.10
usb3 at xhci1: USB revision 3.0
uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
"saradc" at mainbus0 not configured
com0 at mainbus0: ns16550, no working fifo
com0: console
"spi" at mainbus0 not configured
rktemp0 at mainbus0
rkiic0 at mainbus0
iic0 at rkiic0
rkpmic0 at iic0 addr 0x1b: RK808
fanpwr0 at iic0 addr 0x40: SYR827, 1.00 VDC
fanpwr1 at iic0 addr 0x41: SYR828, 1.00 VDC
rkiic1 at mainbus0
iic1 at rkiic1
fusbtc0 at iic1 addr 0x22
rkpwm0 at mainbus0
rkpwm1 at mainbus0
rkpwm2 at mainbus0
"dmc" at mainbus0 not configured
"efuse" at mainbus0 not configured
"phy" at mainbus0 not configured
"phy" at mainbus0 not configured
"watchdog" at mainbus0 not configured
"rktimer" at mainbus0 not configured
"opp-table0" at mainbus0 not configured
"opp-table1" at mainbus0 not configured
"opp-table2" at mainbus0 not configured
pwmbl0 at mainbus0
"gpio-keys" at mainbus0 not configured
"leds" at mainbus0 not configured
"sdio-pwrseq" at mainbus0 not configured
"vcc1v8-s3" at mainbus0 not configured
"dc-12v" at mainbus0 not configured
"vcc3v3-sys" at mainbus0 not configured
"vcc5v0-host-regulator" at mainbus0 not configured
"vcc5v0-usb3-host-regulator" at mainbus0 not configured
"vcc3v3-s0-regulator" at mainbus0 not configured
"vcc-sys" at mainbus0 not configured
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 
addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 
addr 1
scsibus0 at sdmmc1: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Sandisk, DA4064, 0000> removable
sd0: 59640MB, 512 bytes/sector, 122142720 sectors
uhub6 at uhub1 port 1 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" 
rev 2.00/85.36 addr 2
axe0 at uhub6 port 1 configuration 1 interface 0 "ASIX Electronics AX88772B" 
rev 2.00/0.01 addr 3
axe0: AX88772B, address 00:60:6e:d5:a1:eb
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x000ec6, model 0x0008
uvideo0 at uhub6 port 2 configuration 1 interface 0 "Sonix Technology Co., Ltd. 
USB Camera" rev 2.00/0.00 addr 4
video0 at uvideo0
uhidev0 at uhub4 port 1 configuration 1 interface 0 "HAILUCK CO.,LTD USB 
KEYBOARD" rev 1.10/1.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
uhidev1 at uhub4 port 1 configuration 1 interface 1 "HAILUCK CO.,LTD USB 
KEYBOARD" rev 1.10/1.00 addr 2
uhidev1: iclass 3/0, 35 report ids
umt0 at uhidev1: clickpad, 4 contacts
wsmouse0 at umt0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (fa51e58f1a688110.a) swap on sd0b dump on sd0b

While the kernel boots, I see the display getting power, kind of backlight gets 
enabled,
but otherwise, still stays dark, only not as dark as it was before.

trying to start xenodm just brings the following in Xorg.0.log:

 cat /var/log/Xorg.0.log
[    97.269] (EE)
Fatal server error:
[    97.269] (EE) xf86OpenConsole: No console driver found
        Supported drivers: wscons
        Check your kernel's console driver configuration and /dev entries(EE)
[    97.269] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    97.269] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[    97.269] (EE)
[    97.275] (EE) Server terminated with error (1). Closing log file.

As written by others, it should probably work, guess I'm missing something.
Any clues?

thanks,
Sebastian

Reply via email to