PinebookPro Xorg?

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

PinebookPro Xorg?

Sebastian Reitenbach
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 [hidden email]...
Disk [hidden email] not ready
Scanning disk [hidden email]...
** 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
    [hidden email]:/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 | Threaded
Open this post in threaded view
|

Re: PinebookPro Xorg?

Jonathan Gray-11
On Mon, Jul 13, 2020 at 11:26:12PM +0200, Sebastian Reitenbach wrote:

> 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

U-Boot includes a builtin dtb in this case, why use the linux one?

>         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

You are not using U-Boot 2020.07 in your dmesg.
"U-Boot 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000) Manjaro ARM"

>
> 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 [hidden email]...
> Disk [hidden email] not ready
> Scanning disk [hidden email]...
> ** 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
>     [hidden email]:/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 | Threaded
Open this post in threaded view
|

Re: PinebookPro Xorg?

Mark Kettenis
> Date: Tue, 14 Jul 2020 15:10:04 +1000
> From: Jonathan Gray <[hidden email]>
>
> On Mon, Jul 13, 2020 at 11:26:12PM +0200, Sebastian Reitenbach wrote:
> > 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
>
> U-Boot includes a builtin dtb in this case, why use the linux one?
>
> >         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
>
> You are not using U-Boot 2020.07 in your dmesg.
> "U-Boot 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000) Manjaro ARM"

The RK3399 SoC has the annoying property that it prefers eMMC over uSD
when booting.  I believe that there is a switch inside the pinebook
pro to disable the eMMC.  Alternatively you can wipe the start of the
eMMC or install the newer U-Boot on the eMMC.

Reply | Threaded
Open this post in threaded view
|

Re: PinebookPro Xorg?

Robert Wilkinson
On Tue, Jul 14, 2020 at 05:48:34PM +0200, Mark Kettenis wrote:

> > Date: Tue, 14 Jul 2020 15:10:04 +1000
> > From: Jonathan Gray <[hidden email]>
> >
> > On Mon, Jul 13, 2020 at 11:26:12PM +0200, Sebastian Reitenbach wrote:
> > > 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
> >
> > U-Boot includes a builtin dtb in this case, why use the linux one?
> >
> > >         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
> >
> > You are not using U-Boot 2020.07 in your dmesg.
> > "U-Boot 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000) Manjaro ARM"
>
> The RK3399 SoC has the annoying property that it prefers eMMC over uSD
> when booting.  I believe that there is a switch inside the pinebook
> pro to disable the eMMC.  Alternatively you can wipe the start of the
> eMMC or install the newer U-Boot on the eMMC.

I had no problems installing Debian on my PinebookPro. I used some
old Debian and put it on the usb pendrive, booted off that and
installed an up-to-date Debian on uSD card, then booted from the uSD
card so I could encrypt the eMMC and replace the Manjaro with an
encrypted Debian.

At no point do I remember having to do anything other than preparing
the media, it always booted from either the pendrive or eMMC,
without me having to change anything.

Just my experience on my PinebookPro, and not related to OpenBSD.

R
--
"We are in the beginning of a mass extinction, and all you can talk
about is money and fairy tales of eternal economic growth."
  - Greta Thunberg

Reply | Threaded
Open this post in threaded view
|

Re: PinebookPro Xorg?

Sebastian Reitenbach
In reply to this post by Mark Kettenis
Hi,

Am Dienstag, Juli 14, 2020 17:48 CEST, schrieb Mark Kettenis <[hidden email]>:

> > Date: Tue, 14 Jul 2020 15:10:04 +1000
> > From: Jonathan Gray <[hidden email]>
> >
> > On Mon, Jul 13, 2020 at 11:26:12PM +0200, Sebastian Reitenbach wrote:
> > > 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
> >
> > U-Boot includes a builtin dtb in this case, why use the linux one?
> >
> > >         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
> >
> > You are not using U-Boot 2020.07 in your dmesg.
> > "U-Boot 2020.01-4-g908d441fef (Jan 20 2020 - 05:02:39 +0000) Manjaro ARM"
>
> The RK3399 SoC has the annoying property that it prefers eMMC over uSD
> when booting.  I believe that there is a switch inside the pinebook
> pro to disable the eMMC.  Alternatively you can wipe the start of the
> eMMC or install the newer U-Boot on the eMMC.

 Thanks for these hints, and it really seemed to take the u-boot from the internal eMMC
instead of the one on the uSD card.

So, my first try was to disable the eMMC via the switch, but then the machine refused
to start at all, had to reset as described here [1]

once that solved, and it booted again, I installed u-boot-aarch64 package and I did that
to the eMMC:

        dd if=/usr/local/share/u-boot/pinebook-pro-rk3399/idbloader.img of=/dev/sd0c seek=64
        dd if=/usr/local/share/u-boot/pinebook-pro-rk3399/u-boot.itb of=/dev/sd0c seek=16384

and reboot. I kind of panicked, since the console stayed black, nothing moving, same
to the display, I already thought I kind of bricked it. Also the power LED is not lit up.
However, after a while, I suddenly saw the console login prompt again. I could login to the machine,
reboot, and wait, nothing on the console after reboot, only after a minute or two, another
fresh login prompt. However, dmesg seems to say: efi0: Das U-Boot rev 0x20200700
full dmesg below.

Then, still on serial console, I entered:
rcctl -f start xenodm
The command returned, and serial console stopped taking input.
I saw the display getting grey, with some odd vertical stripes.
It seems, with CTRL-ALT F1 etc. I can switch between consoles and xenodm, however,
also there, just more dark, and lighter vertical stripes. I could blindly login,
and issue reboot command.
Then on the console, I suddenly saw:
syncing disks... done
rebooting...

dmesg, and Xorg.0.log below.

Any hints on how to get the output of the u-boot, kernel etc. back onto the serial console?
Try other, older versions of u-boot and dd that onto eMMC? Someone can
recommend/knows a version better working?

thanks,
Sebastian


[1] https://wiki.pine64.org/index.php/Pinebook_Pro#Pinebook_Pro_will_not_power_on_after_toggling_the_eMMC_enable.2Fdisable_switch

OpenBSD 6.7-current (GENERIC.MP) #711: Fri Jul 10 13:46:35 MDT 2020
    [hidden email]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 4075687936 (3886MB)
avail mem = 3875155968 (3695MB)
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 0x20200700
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
rkclock0 at mainbus0
rkclock1 at mainbus0
syscon27 at mainbus0: "syscon"
"io-domains" at syscon27 not configured
"usb2-phy" at syscon27 not configured
"usb2-phy" at syscon27 not configured
rkemmcphy0 at syscon27
"pcie-phy" at syscon27 not configured
rkpinctrl0 at mainbus0: "pinctrl"
rkgpio0 at rkpinctrl0
rkgpio1 at rkpinctrl0
rkgpio2 at rkpinctrl0
rkgpio3 at rkpinctrl0
rkgpio4 at rkpinctrl0
pwmreg0 at mainbus0
syscon28 at mainbus0: "syscon"
syscon29 at mainbus0: "syscon"
"fit-images" at mainbus0 not configured
rkdrm0 at mainbus0
drm0 at rkdrm0
"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: "bus"
"dma-controller" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
rkpcie0 at mainbus0
rkpcie0: link training timeout
dwmmc0 at mainbus0: 50 MHz base clock
sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma
dwmmc1 at mainbus0: 50 MHz base clock
sdmmc1 at dwmmc1: 4-bit, sd high-speed, mmc high-speed, dma
sdhc0 at mainbus0
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc2 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
"dp" at mainbus0 not configured
"saradc" at mainbus0 not configured
rkiic0 at mainbus0
iic0 at rkiic0
escodec0 at iic0 addr 0x11
rkiic1 at mainbus0
iic1 at rkiic1
com0 at mainbus0: ns16550, no working fifo
com1 at mainbus0: ns16550, no working fifo
com1: console
"spi" at mainbus0 not configured
rktemp0 at mainbus0
rkiic2 at mainbus0
iic2 at rkiic2
rkpmic0 at iic2 addr 0x1b: RK808
fanpwr0 at iic2 addr 0x40: SYR827, 1.00 VDC
fanpwr1 at iic2 addr 0x41: SYR828, 1.00 VDC
rkiic3 at mainbus0
iic3 at rkiic3
fusbtc0 at iic3 addr 0x22: unable to establish interrupt
rkpwm0 at mainbus0
rkpwm1 at mainbus0
"video-codec" at mainbus0 not configured
"iommu" at mainbus0 not configured
"rga" 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
rkiis0 at mainbus0
rkvop0 at mainbus0: RK3399 VOPL
"iommu" at mainbus0 not configured
rkvop1 at mainbus0: RK3399 VOPB
"iommu" at mainbus0 not configured
"iommu" at mainbus0 not configured
"iommu" at mainbus0 not configured
simpleaudio0 at mainbus0
rkanxdp0 at mainbus0: eDP TX
"gpu" 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
simplepanel0 at mainbus0
"gpio-key-lid" at mainbus0 not configured
"gpio-key-power" at mainbus0 not configured
"leds" at mainbus0 not configured
"sdio-pwrseq" at mainbus0 not configured
simpleaudio1 at mainbus0
simpleamp0 at mainbus0
"vcc-sysin" at mainbus0 not configured
"vcc-12v" at mainbus0 not configured
"vcc3v3-sys" at mainbus0 not configured
"vcc5v0-usb-regulator" at mainbus0 not configured
"vcc-0v9" at mainbus0 not configured
"vcc1v8-s3" at mainbus0 not configured
"vcc3v0-sd" at mainbus0 not configured
"vcc3v3-panel" at mainbus0 not configured
"vcc3v3-ssd" at mainbus0 not configured
"vcc5v0-otg" at mainbus0 not configured
"vbus-5vout" at mainbus0 not configured
"vcca0v9-s3" at mainbus0 not configured
"dc-charger" at mainbus0 not configured
"dfi" at mainbus0 not configured
"dmc" 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
audio0 at simpleaudio1
bwfm0 at sdmmc0 function 1
manufacturer 0x02d0, product 0xa9bf at sdmmc0 function 2 not configured
manufacturer 0x02d0, product 0xa9bf at sdmmc0 function 3 not configured
scsibus0 at sdmmc2: 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
rkvop0: using CRTC 0 for RK33

cat /var/log/Xorg.0.log
[   135.176] (--) Using wscons driver on /dev/ttyC4
[   135.227]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   135.227] Build Operating System: OpenBSD 6.7 arm64
[   135.227] Current Operating System: OpenBSD defiant.l00-bugdead-prods.de 6.7 GENERIC.MP#711 arm64
[   135.229] Build Date: 10 July 2020  03:03:42PM
[   135.229]
[   135.229] Current version of pixman: 0.38.4
[   135.229]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   135.229] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   135.230] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 14 23:35:24 2020
[   135.237] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[   135.241] (==) No Layout section.  Using the first Screen section.
[   135.242] (==) No screen section available. Using defaults.
[   135.242] (**) |-->Screen "Default Screen Section" (0)
[   135.242] (**) |   |-->Monitor "<default monitor>"
[   135.247] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   135.247] (==) Automatically adding devices
[   135.247] (==) Automatically enabling devices
[   135.247] (==) Not automatically adding GPU devices
[   135.248] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   135.274] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[   135.274] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   135.275] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[   135.275] (II) Loader magic: 0x19240b0000
[   135.275] (II) Module ABI versions:
[   135.275]    X.Org ANSI C Emulation: 0.4
[   135.275]    X.Org Video Driver: 24.1
[   135.276]    X.Org XInput driver : 24.1
[   135.276]    X.Org Server Extension : 10.0
[   135.278] (II) LoadModule: "glx"
[   135.285] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   135.362] (II) Module glx: vendor="X.Org Foundation"
[   135.362]    compiled for 1.20.8, module version = 1.0.0
[   135.362]    ABI class: X.Org Server Extension, version 10.0
[   135.364] (==) Matched modesetting as autoconfigured driver 0
[   135.364] (==) Assigned the driver to the xf86ConfigLayout
[   135.364] (II) LoadModule: "modesetting"
[   135.366] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[   135.372] (II) Module modesetting: vendor="X.Org Foundation"
[   135.372]    compiled for 1.20.8, module version = 1.20.8
[   135.372]    Module class: X.Org Video Driver
[   135.372]    ABI class: X.Org Video Driver, version 24.1
[   135.373] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   135.374] (WW) Falling back to old probe method for modesetting
[   135.376] (II) modeset(0): using default device
[   135.377] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   135.380] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   135.380] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   135.380] (==) modeset(0): RGB weight 888
[   135.380] (==) modeset(0): Default visual is TrueColor
[   135.380] (II) Loading sub module "glamoregl"
[   135.380] (II) LoadModule: "glamoregl"
[   135.386] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[   135.449] (II) Module glamoregl: vendor="X.Org Foundation"
[   135.449]    compiled for 1.20.8, module version = 1.0.1
[   135.449]    ABI class: X.Org ANSI C Emulation, version 0.4
[   136.756] (EE) modeset(0): eglInitialize() failed
[   136.834] (EE) modeset(0): glamor initialization failed
[   136.834] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[   136.838] (II) modeset(0): Output eDP-1 has no monitor section
[   136.841] (II) modeset(0): EDID for output eDP-1
[   136.842] (II) modeset(0): Printing probed modes for output eDP-1
[   136.843] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 1968 2000 2200  1080 1083 1088 1125 (67.5 kHz eP)
[   136.843] (II) modeset(0): Output eDP-1 connected
[   136.844] (II) modeset(0): Using exact sizes for initial modes
[   136.844] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[   136.844] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   136.844] (==) modeset(0): DPI set to (96, 96)
[   136.844] (II) Loading sub module "fb"
[   136.844] (II) LoadModule: "fb"
[   136.848] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   136.855] (II) Module fb: vendor="X.Org Foundation"
[   136.855]    compiled for 1.20.8, module version = 1.0.0
[   136.855]    ABI class: X.Org ANSI C Emulation, version 0.4
[   136.938] (==) modeset(0): Backing store enabled
[   136.938] (==) modeset(0): Silken mouse enabled
[   136.950] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   136.953] (==) modeset(0): DPMS enabled
[   136.953] (II) Initializing extension Generic Event Extension
[   136.959] (II) Initializing extension SHAPE
[   136.964] (II) Initializing extension MIT-SHM
[   136.969] (II) Initializing extension XInputExtension
[   136.975] (II) Initializing extension XTEST
[   136.980] (II) Initializing extension BIG-REQUESTS
[   136.985] (II) Initializing extension SYNC
[   136.992] (II) Initializing extension XKEYBOARD
[   136.998] (II) Initializing extension XC-MISC
[   137.003] (II) Initializing extension SECURITY
[   137.009] (II) Initializing extension XFIXES
[   137.014] (II) Initializing extension RENDER
[   137.020] (II) Initializing extension RANDR
[   137.029] (II) Initializing extension COMPOSITE
[   137.036] (II) Initializing extension DAMAGE
[   137.041] (II) Initializing extension MIT-SCREEN-SAVER
[   137.047] (II) Initializing extension DOUBLE-BUFFER
[   137.053] (II) Initializing extension RECORD
[   137.058] (II) Initializing extension DPMS
[   137.063] (II) Initializing extension Present
[   137.068] (II) Initializing extension DRI3
[   137.069] (II) Initializing extension X-Resource
[   137.074] (II) Initializing extension XVideo
[   137.080] (II) Initializing extension XVideo-MotionCompensation
[   137.080] (II) Initializing extension GLX
[   137.088] (II) AIGLX: Screen 0 is not DRI2 capable
[   137.359] (II) IGLX: Loaded and initialized swrast
[   137.359] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   137.359] (II) Initializing extension XFree86-VidModeExtension
[   137.364] (II) Initializing extension XFree86-DGA
[   137.369] (II) Initializing extension XFree86-DRI
[   137.371] (II) Initializing extension DRI2
[   137.377] (II) modeset(0): Damage tracking initialized
[   137.377] (II) modeset(0): Setting screen physical size to 508 x 285
[   138.681] (II) config/wscons: checking input device /dev/wskbd
[   138.681] (II) wskbd: using layout us
[   138.683] (II) LoadModule: "kbd"
[   138.686] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   138.691] (II) Module kbd: vendor="X.Org Foundation"
[   138.691]    compiled for 1.20.8, module version = 1.9.0
[   138.692]    Module class: X.Org XInput Driver
[   138.692]    ABI class: X.Org XInput driver, version 24.1
[   138.692] (II) Using input driver 'kbd' for '/dev/wskbd'
[   138.692] (**) /dev/wskbd: always reports core events
[   138.692] (**) /dev/wskbd: always reports core events
[   138.692] (**) Option "Protocol" "standard"
[   138.692] (**) Option "XkbRules" "base"
[   138.693] (**) Option "XkbModel" "pc105"
[   138.693] (**) Option "XkbLayout" "us"
[   138.693] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[   138.720] (II) config/wscons: checking input device /dev/wsmouse0
[   138.720] (II) LoadModule: "ws"
[   138.724] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   138.730] (II) Module ws: vendor="X.Org Foundation"