Pinebook Pro display.

Jesper Schmitz Mouridsen jsm at FreeBSD.org
Mon Feb 8 08:21:12 UTC 2021


On 08.02.2021 07.52, KIRIYAMA Kazuhiko wrote:
> On Thu, 04 Feb 2021 22:24:05 +0900,
> Jesper Schmitz Mouridsen wrote:
>>
>> On 04.02.2021 07.06, KIRIYAMA Kazuhiko wrote:
>>> Hi, Jesper
>>>
>>> On Mon, 01 Feb 2021 00:49:24 +0900,
>>> Jesper Schmitz Mouridsen wrote:
>>>> Hi
>>>>
>>>> Just for information, I did some trial and error on u-boot for the
>>>>
>>>> Pinebook Pro in order to have display working without hacking
>>>>
>>>> the kernel. See https://github.com/jsm222/ports and
>>> I've modified for u-boot-2020.10 [1] and remade
>>> idbloader.img and u-boot.itb then install those and reboot.
>>> But could not display console ;-(
>> I sent you a PM with a patch.
>>
>> Also we did some duplicate work, see
>>
>> https://github.com/jsm222/u-boot-pinebookpro
> I've tested above, it display until FreeBSD kernel boot but
> blackout after. Namely display console
> from `U-Boot 2020.10 (Feb 08 2021 -10:55:28 +0900)'
> to `masks          0x0000f800, 0x000007e0, 0x0000001f, 0x00000000'
> and blackout after '---<<BOOT>>---' in the below log :
>
> root at kazu:/home/kiri/bootimg # cu -s 1500000 -l /dev/cuaU0
> Connected
>
> U-Boot TPL 2020.10 (Feb 08 2021 - 10:55:28)
> Channel 0: LPDDR4, 50MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> Channel 1: LPDDR4, 50MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> 256B stride
> lpddr4_set_rate: change freq to 400000000 mhz 0, 1
> lpddr4_set_rate: change freq to 800000000 mhz 1, 0
> Trying to boot from BOOTROM
> Returning to boot ROM...

Hi, you also need to copy the u-boot dtb files to the efi partition

from /usr/ports/sysutils/u-boot-pinebookpro/work/u-boot-2020.10.

sudo find . -name "*.dtb" -exec cp -iv {} /mnt/dtb/rockchip/ \;

after make. Otherwise the ACLK_VOP1 goes to 800000000, and

we lose display.

/Jesper

> U-Boot SPL 2020.10 (Feb 08 2021 - 10:55:28 +0900)
> Trying to boot from MMC2
>
>
> U-Boot 2020.10 (Feb 08 2021 - 10:55:28 +0900)
> Consoles: EFI console
>      Reading loader env vars from /efi/freebsd/loader.env
> Setting currdev to disk0p1:
> FreeBSD/arm64 EFI loader, Revision 1.1
> (Fri Jan  8 12:04:36 JST 2021 admin at lmainkx)
>
>     Command line arguments: loader.efi
>     Image base: 0xf3df0000
>     EFI version: 2.80
>     EFI Firmware: Das U-Boot (rev 8224.4096)
>     Console: comconsole (0)
>     Load Path: /efi\boot\bootaa64.efi
>     Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(1,GPT,1e4d25d1-69d4-11eb-8cb0-7b17e459e283,0x8000,0x19000)
> Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(1,GPT,1e4d25d1-69d4-11eb-8cb0-7b17e459e283,0x8000,0x19000)
> Setting currdev to disk0p1:
> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(2,GPT,1e4d25d1-69d4-11eb-8cb0-7b17e459e283,0x21000,0x1000000)
> Setting currdev to disk0p2:
> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(3,GPT,1e4d25d1-69d4-11eb-8cb0-7b17e459e283,0x1021000,0xd8d4f80)
> Setting currdev to disk0p3:
> Loading /boot/defaults/loader.conf
> Loading /boot/defaults/loader.conf
> Loading /boot/device.hints
> Loading /boot/loader.conf
> Loading /boot/loader.conf.local
> c[H[J[8;48H  [31m```                        [31;1m`[31m[9;48H s` `.....---...[31;1m....--.```   -/[31m[10;48H +o   .--`         [31;1m/y:`      +.[31m[11;48H  yo`:.            [31;1m:o      `+-[31m[12;48H   y/               [31;1m-/`   -o/[31m[13;48H  .-                  [31;1m::/sy+:.[31m[14;48H  /                     [31;1m`--  /[31m[15;48H `:                          [31;1m:`[31m[16;48H `:                          [31;1m:`[31m[17;48H  /                          [31;1m/[31m[18;48H  .-                        [31;1m-.[31m[19;48H   --                      [31;1m-.[31m[20;48H    `:`                  [31;1m`:`[21;48H      [31;1m.--             `--.[22;48H         .---.....----.[m[1;2H  ______               ____   _____ _____  [2;2H |  ____|             |  _ \ / ____|  __ \ [3;2H | |___ _ __ ___  ___ | |_) | (___ | |  | |[4;2H |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |[5;2H | |   | | |  __/  __/| |_) |____) | |__| |[6;2H | |   | | |    |    ||     |      |      |[7;2H |_|   |_| !
>    \___|\___||____/|_____/|_____/ [9;2H+[22;2H+[9;44H+[22;44H+[9;3H-----------------------------------------[22;3H-----------------------------------------[10;2H|[10;44H|[11;2H|[11;44H|[12;2H|[12;44H|[13;2H|[13;44H|[14;2H|[14;44H|[15;2H|[15;44H|[16;2H|[16;44H|[17;2H|[17;44H|[18;2H|[18;44H|[19;2H|[19;44H|[20;2H|[20;44H|[21;2H|[21;44H|[9;14HWelcome to FreeBSD[11;5H1. [1mB[22moot Multi user [1m[Enter][22m[12;5H2. Boot [1mS[22mingle user[13;5H3. [1mEsc[22mape to loader prompt[14;5H4. [1mR[22meboot[15;5H5. [1mC[22mons: Video[16;5H[17;5HOptions:[18;5H6. [1mK[22mernel: default/[32mkernel[39m (1 of 1)[19;5H7. Boot [1mO[22mptions[25;0H[23;4HAutoboot in 10 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 6 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 5 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 4 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 3 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 2 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 1 seconds, hit [Enter] to boot or any other key to stop
> [25;0H[23;4HAutoboot in 0 seconds, hit [Enter] to boot or any other key to stop
> [25;0HLoading kernel...
> /boot/kernel/kernel text=0x2a8 text=0x87de9c text=0x1f04bc data=0x19b3c0 data=0x0+0x53ffc6 syms=[0x8+0x116910+0x8+0x13b60e]
> Loading configured modules...
> /etc/hostid size=0x25
> /boot/entropy size=0x1000
> Using DTB provided by EFI at 0x80ec000.
> EFI framebuffer information:
> addr, size     0xf7800000, 0x3f4800
> dimensions     1920 x 1080
> stride         1920
> masks          0x0000f800, 0x000007e0, 0x0000001f, 0x00000000
> ---<<BOOT>>---
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2020 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>          The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 13.0-CURRENT #0 r367712M: Fri Jan  8 20:33:21 JST 2021
>      admin at lmainkx:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
> FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
> WARNING: WITNESS option enabled, expect reduced performance.
> VT(efifb): resolution 1920x1080
> module firmware already present!
> real memory  = 4158373888 (3965 MB)
> avail memory = 4025094144 (3838 MB)
> Starting CPU 1 (1)
> Starting CPU 2 (2)
> Starting CPU 3 (3)
> Starting CPU 4 (100)
> Starting CPU 5 (101)
> FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
> random: unblocking device.
> random: entropy device external interface
> MAP f3f16000 mode 2 pages 4
> MAP f3f1b000 mode 2 pages 4
> MAP f6f40000 mode 2 pages 16
> WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
> kbd0 at kbdmux0
> WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
> ofwbus0: <Open Firmware Device Tree>
> clk_fixed0: <Fixed clock> on ofwbus0
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
> rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
> rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
> rk_grf1: <RockChip General Register Files> mem 0xff770000-0xff77ffff on ofwbus0
> regfix0: <Fixed Regulator> on ofwbus0
> regfix1: <Fixed Regulator> on ofwbus0
> regfix2: <Fixed Regulator> on ofwbus0
> regfix3: <Fixed Regulator> on ofwbus0
> regfix4: <Fixed Regulator> on ofwbus0
> regfix5: <Fixed Regulator> on ofwbus0
> regfix6: <Fixed Regulator> on ofwbus0
> regfix7: <Fixed Regulator> on ofwbus0
> regfix8: <Fixed Regulator> on ofwbus0
> regfix9: <Fixed Regulator> on ofwbus0
> regfix10: <Fixed Regulator> on ofwbus0
> regfix11: <Fixed Regulator> on ofwbus0
> simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff310000-0xff310fff on ofwbus0
> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
> gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0
> its0: <ARM GIC Interrupt Translation Service> mem 0xfee20000-0xfee3ffff on gic0
> rk_iodomain0: <RockChip IO Voltage Domain> mem 0-0xff31ffff,0-0xfff on rk_grf0
> rk_iodomain1: <RockChip IO Voltage Domain> mem 0-0xff76ffff,0-0xffff on rk_grf1
> rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
> gpio0: <RockChip GPIO Bank controller> mem 0xff720000-0xff7200ff irq 71 on rk_pinctrl0
> gpiobus0: <OFW GPIO bus> on gpio0
> gpio1: <RockChip GPIO Bank controller> mem 0xff730000-0xff7300ff irq 72 on rk_pinctrl0
> gpiobus1: <OFW GPIO bus> on gpio1
> gpio2: <RockChip GPIO Bank controller> mem 0xff780000-0xff7800ff irq 73 on rk_pinctrl0
> gpiobus2: <OFW GPIO bus> on gpio2
> gpio3: <RockChip GPIO Bank controller> mem 0xff788000-0xff7880ff irq 74 on rk_pinctrl0
> gpiobus3: <OFW GPIO bus> on gpio3
> gpio4: <RockChip GPIO Bank controller> mem 0xff790000-0xff7900ff irq 75 on rk_pinctrl0
> gpiobus4: <OFW GPIO bus> on gpio4
> rk_i2c0: <RockChip I2C> mem 0xff110000-0xff110fff irq 20 on ofwbus0
> iicbus0: <OFW I2C bus> on rk_i2c0
> rk_i2c1: <RockChip I2C> mem 0xff130000-0xff130fff irq 22 on ofwbus0
> iicbus1: <OFW I2C bus> on rk_i2c1
> rk_i2c2: <RockChip I2C> mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0
> iicbus2: <OFW I2C bus> on rk_i2c2
> syr8270: <Silergy SYR827 regulator> at addr 0x80 on iicbus2
> rk_i2c3: <RockChip I2C> mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0
> iicbus3: <OFW I2C bus> on rk_i2c3
> rk805_pmu0: <RockChip RK805 PMIC> at addr 0x36 irq 76 on iicbus2
> generic_timer0: <ARMv8 Generic Timer> irq 2,3,4,5 on ofwbus0
> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
> rk_tsadc0: <RockChip temperature sensors> mem 0xff260000-0xff2600ff irq 35 on ofwbus0
> rk_usb2phy0: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
> rk_usb2phy1: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
> rk_emmcphy0: <Rockchip RK3399 eMMC PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
> rk_pcie_phy0: <Rockchip RK3399 PCIe PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
> rk_typec_phy0: <Rockchip RK3399 PHY TYPEC> mem 0xff7c0000-0xff7fffff on ofwbus0
> rk_typec_phy1: <Rockchip RK3399 PHY TYPEC> mem 0xff800000-0xff83ffff on ofwbus0
> cpulist0: <Open Firmware CPU Group> on ofwbus0
> cpu0: <Open Firmware CPU> on cpulist0
> cpufreq_dt0: <Generic cpufreq driver> on cpu0
> cpu1: <Open Firmware CPU> on cpulist0
> cpufreq_dt1: <Generic cpufreq driver> on cpu1
> cpu2: <Open Firmware CPU> on cpulist0
> cpufreq_dt2: <Generic cpufreq driver> on cpu2
> cpu3: <Open Firmware CPU> on cpulist0
> cpufreq_dt3: <Generic cpufreq driver> on cpu3
> cpu4: <Open Firmware CPU> on cpulist0
> cpufreq_dt4: <Generic cpufreq driver> on cpu4
> cpu5: <Open Firmware CPU> on cpulist0
> cpufreq_dt5: <Generic cpufreq driver> on cpu5
> pcib0: <Rockchip PCIe controller> mem 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0
> pcib0: Gen1 link training timeouted: 0x00080001.
> pci0: <PCI bus> on pcib0
> pcib1: <PCI-PCI bridge> at device 0.0 on pci0
> pcib0: failed to reserve resource for pcib1
> pcib1: failed to allocate initial memory window: 0-0xfffff
> pci1: <PCI bus> on pcib1
> rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe310000-0xfe313fff irq 10 on ofwbus0
> rockchip_dwmmc0: Hardware version ID is 270a
> rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe320000-0xfe323fff irq 11 on ofwbus0
> rockchip_dwmmc1: Hardware version ID is 270a
> sdhci_fdt0: <Rockchip RK3399 fdt SDHCI controller> mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0
> rk_emmcphy0: got emmcclk clock
> sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.
> sdhci_fdt0: 1 slot(s) allocated
> mmc0: <MMC/SD bus> on sdhci_fdt0
> ehci0: <Generic EHCI Controller> mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0
> usbus0: EHCI version 1.0
> usbus0 on ehci0
> ohci0: <Generic OHCI Controller> mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0
> usbus1 on ohci0
> ehci1: <Generic EHCI Controller> mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0
> usbus2: EHCI version 1.0
> usbus2 on ehci1
> ohci1: <Generic OHCI Controller> mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0
> usbus3 on ohci1
> rk_dwc30: <Rockchip RK3399 DWC3> on ofwbus0
> xhci0: <Synopsys Designware DWC3> mem 0xfe800000-0xfe8fffff irq 77 on rk_dwc30
> xhci0: 64 bytes context size, 32-bit DMA
> usbus4: trying to attach
> usbus4 on xhci0
> rk_dwc31: <Rockchip RK3399 DWC3> on ofwbus0
> xhci1: <Synopsys Designware DWC3> mem 0xfe900000-0xfe9fffff irq 78 on rk_dwc31
> xhci1: 64 bytes context size, 32-bit DMA
> usbus5: trying to attach
> usbus5 on xhci1
> iicbus0: <unknown card> at addr 0x22
> iic0: <I2C generic I/O> on iicbus0
> iic1: <I2C generic I/O> on iicbus1
> uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0
> uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0
> uart1: console (1500000,n,8,1)
> spi0: <Rockchip SPI> mem 0xff1d0000-0xff1d0fff irq 31 on ofwbus0
> spibus0: <OFW SPI bus> on spi0
> spibus0: <unknown card> at cs 0 mode 0
> iicbus2: <unknown card> at addr 0x82
> iic2: <I2C generic I/O> on iicbus2
> iicbus3: <unknown card> at addr 0x44
> iic3: <I2C generic I/O> on iicbus3
> pwm0: <Rockchip PWM> mem 0xff420000-0xff42000f on ofwbus0
> pwmbus0: <OFW PWM bus> on pwm0
> pwmc0: <PWM Control> channel 0 on pwmbus0
> pwm1: <Rockchip PWM> mem 0xff420020-0xff42002f on ofwbus0
> pwmbus1: <OFW PWM bus> on pwm1
> pwmc1: <PWM Control> channel 0 on pwmbus1
> gpioc0: <GPIO controller> on gpio0
> gpioc1: <GPIO controller> on gpio1
> gpioc2: <GPIO controller> on gpio2
> gpioc3: <GPIO controller> on gpio3
> gpioc4: <GPIO controller> on gpio4
> gpioled0: <GPIO LEDs> on ofwbus0
> cryptosoft0: <software crypto>
> Timecounters tick every 1.000 msec
> usbus0: 480Mbps High Speed USB v2.0
> usbus1: 12Mbps Full Speed USB v1.0
> usbus2: 480Mbps High Speed USB v2.0
> usbus3: 12Mbps Full Speed USB v1.0
> usbus4: 5.0Gbps Super Speed USB v3.0
> usbus5: 5.0Gbps Super Speed USB v3.0
> ugen3.1: <Generic OHCI root HUB> at usbus3
> uhub0 on usbus3
> uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
> ugen2.1: <Generic EHCI root HUB> at usbus2
> uhub1 on usbus2
> uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
> ugen1.1: <Generic OHCI root HUB> at usbus1
> uhub2 on usbus1
> uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> ugen0.1: <Generic EHCI root HUB> at usbus0
> uhub3 on usbus0
> uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> ugen5.1: <Synopsys XHCI root HUB> at usbus5
> uhub4 on usbus5
> uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus5
> ugen4.1: <Synopsys XHCI root HUB> at usbus4
> uhub5 on usbus4
> uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus4
> mmcsd0: 125GB <MMCHC DA4128 0.1 SN AD0EFC3E MFG 03/2019 by 69 0x0000> at mmc0 25.0MHz/8bit/65535-block
> mmcsd0boot0: 4MB partition 1 at mmcsd0
> mmcsd0boot1: 4MB partition 2 at mmcsd0
> mmcsd0rpmb: 17MB partition 3 at mmcsd0
> Release APs...done
> CPU  0: ARM Cortex-A53 r0p4 affinity:  0  0
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>   Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
>   Instruction Set Attributes 1 = <>
>           Processor Features 0 = <GIC,AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
> Trying to mount root from ufs:/dev/mmcsd0p3 [rw]...
>           Processor Features 1 = <>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>        Memory Model Features 1 = <8bit VMID>
>        Memory Model Features 2 = <32bit CCIDX,48bit VA>
>               Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
>               Debug Features 1 = <>
>           Auxiliary Features 0 = <>
>           Auxiliary Features 1 = <>
> CPU  1: ARM Cortex-A53 r0p4 affinity:  0  1
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
> CPU  2: ARM Cortex-A53 r0p4 affinity:  0  2
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
> CPU  3: ARM Cortex-A53 r0p4 affinity:  0  3
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
> CPU  4: ARM Cortex-A72 r0p2 affinity:  1  0
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
> CPU  5: ARM Cortex-A72 r0p2 affinity:  1  1
>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
> WARNING: WITNESS option enabled, expect reduced performance.
> Unresolved linked clock found: clkin_gmac
> uhub0: 1 port with 1 removable, self powered
> uhub2: 1 port with 1 removable, self powered
> uhub5: 2 ports with 2 removable, self powered
> uhub4: 2 ports with 2 removable, self powered
> Warning: no time-of-day clock registered, system time will not be set accurately
> uhub1: 1 port with 1 removable, self powered
> uhub3: 1 port with 1 removable, self powered
> Setting hostuuid: 31323634-3737-6236-6162-336630376339.
> Setting hostid: 0x5d4b60f9.
> Starting file system checks:
> /dev/mmcsd0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0p3: clean, 27264803 free (363 frags, 3408055 blocks, 0.0% fragmentation)
> lock order reversal:
>   1st 0xffffa00062c99440 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:1724
>   2nd 0xffffa00062c99dc8 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:2918
> lock order devfs -> ufs established at:
> #0 0xffff000000569234 at witness_checkorder+0x448
> #1 0xffff0000004cbaec at lockmgr_lock_flags+0x1d8
> #2 0xffff00000075ad38 at ffs_lock+0x64
> #3 0xffff0000005ed57c at _vn_lock+0x54
> #4 0xffff0000005ce630 at vfs_domount+0xdf8
> #5 0xffff0000005cca08 at vfs_donmount+0x2b4
> #6 0xffff0000005d0e78 at kernel_mount+0x4c
> #7 0xffff0000005d3564 at parse_mount+0x49c
> #8 0xffff0000005d1b58 at vfs_mountroot+0x3fc
> #9 0xffff00000048dc68 at start_init+0x24
> #10 0xffff0000004b7474 at fork_exit+0x7c
> lock order ufs -> devfs attempted at:
> #0 0xffff000000569a40 at witness_checkorder+0xc54
> #1 0xffff0000004cd560 at lockmgr_xlock+0x50
> #2 0xffff0000005ed57c at _vn_lock+0x54
> #3 0xffff0000005d77d8 at vget_finish+0x4c
> #4 0xffff0000003b1b30 at devfs_allocv+0xd0
> #5 0xffff0000003b12c0 at devfs_root+0x44
> #6 0xffff0000005dcbc8 at vfs_cache_root_fallback+0x154
> #7 0xffff0000005d89b0 at vflush+0x5c
> #8 0xffff0000003b11c8 at devfs_unmount+0x34
> #9 0xffff0000005cf4c4 at dounmount+0x43c
> #10 0xffff0000005cf040 at kern_unmount+0x2d8
> #11 0xffff000000812d0c at do_el0_sync+0x454
> #12 0xffff0000007f2a24 at handle_el0_sync+0x90
> Mounting local filesystems:.
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat
> ugen1.2: <HAILUCK CO.,LTD USB KEYBOARD> at usbus1
> ukbd0 on uhub2
> ukbd0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2> on usbus1
> kbd1 at ukbd0
> Setting hostname: kazu.tfc.
> Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
> Feeding entropy: .
> lo0: link state changed to UP
> Starting Network: lo0.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>          options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
>          inet6 ::1 prefixlen 128
>          inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>          inet 127.0.0.1 netmask 0xff000000
>          groups: lo
>          nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> Starting devd.
> Autoloading module: mx25l.ko
> mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
> mx25l0: device type gd25q128, size 16384K in 256 sectors of 64K, erase size 4K
> Autoloading module: pwm_backlight.ko
> link_elf: symbol backlight_get_info_desc undefined
> kldload: can't load pwm_backlight.ko: No such file or directory
> Autoloading module: uhid.ko
> Autoloading module: wmt.ko
> add host 127.0.0.1: gateway lo0 fib 0: route already in table
> route: writing to routing socket: Network is unreachable
> add net default: gateway 192.168.1.254 fib 0: Network is unreachable
> add host ::1: gateway lo0 fib 0: route already in table
> add net fe80::: gateway ::1
> add net ff02::: gateway ::1
> add net ::ffff:0.0.0.0: gateway ::1
> add net ::0.0.0.0: gateway ::1
> Updating /var/run/os-release done.
> Creating and/or trimming log files.
> Updating motd:.
> Clearing /tmp (X related).
> Starting syslogd.
> No core dumps found.
> Mounting late filesystems:.
> Security policy loaded: MAC/ntpd (mac_ntpd)
> Starting ntpd.
> Feb  8 15:24:40 kazu ntpd[1000]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 43 days ago
> Performing sanity check on sshd configuration.
> Starting sshd.
> Starting cron.
> Starting sendmail.
> Starting sendmail_msp_queue.
> Feb  8 15:24:41 kazu ntpd[1000]: error resolving pool 0.freebsd.pool.ntp.org: Name does not resolve (8)
> Configuring vt: blanktime screensaverkldload: can't load logo_saver: No such file or directory
> /etc/rc: WARNING: Unable to load kernel module logo_saver
> .
> Starting background file system checks in 60 seconds.
>
> Mon Feb  8 15:24:42 JST 2021
>
> FreeBSD/arm64 (kazu.tfc) (ttyu1)
>
> login:
>
>
>> regards
>>
>> /Jesper
>>
>>> root at kazu:~ # cu -s 1500000 -l /dev/cuaU0
>>> Connected
>>>
>>> U-Boot TPL 2020.10 (Feb 03 2021 - 11:13:01)
>>> Channel 0: LPDDR4, 50MHz
>>> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
>>> Channel 1: LPDDR4, 50MHz
>>> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
>>> 256B stride
>>> lpddr4_set_rate: change freq to 400000000 mhz 0, 1
>>> lpddr4_set_rate: change freq to 800000000 mhz 1, 0
>>> Trying to boot from BOOTROM
>>> Returning to boot ROM...
>>>
>>> U-Boot SPL 2020.10 (Feb 03 2021 - 11:13:01 +0900)
>>> Trying to boot from MMC2
>>>
>>>
>>> U-Boot 2020.10 (Feb 03 2021 - 11:13:01 +0900)
>>>
>>> SoC: Rockchip rk3399
>>> Reset cause: POR
>>> Model: Pine64 Pinebook Pro
>>> DRAM:  3.9 GiB
>>> PMIC:  RK808
>>> MMC:   mmc at fe310000: 2, mmc at fe320000: 1, sdhci at fe330000: 0
>>> Loading Environment from SPIFlash... Invalid bus 0 (err=-19)
>>> *** Warning - spi_flash_probe_bus_cs() failed, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Model: Pine64 Pinebook Pro
>>> Net:   No ethernet found.
>>> Failed to load 'splash.bmp'
>>> Card did not respond to voltage select!
>>> Hit any key to stop autoboot:  0
>>> Consoles: EFI console
>>>       Read loader env vars from /efi/freebsd/loader.env
>>> Setting currdev to disk0p1:
>>> FreeBSD/arm64 EFI loader, Revision 1.1
>>> (Fri Jan  8 12:04:36 JST 2021 admin at lmainkx)
>>>
>>>      Command line arguments: loader.efi
>>>      Image base: 0xf3dee000
>>>      EFI version: 2.80
>>>      EFI Firmware: Das U-Boot (rev 8224.4096)
>>>      Console: comconsole (0)
>>>      Load Path: /efi\boot\bootaa64.efi
>>>      Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(1,GPT,4d89c0a3-65e7-11eb-b928-7ba121e2a6c9,0x8000,0x19000)
>>> Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(1,GPT,4d89c0a3-65e7-11eb-b928-7ba121e2a6c9,0x8000,0x19000)
>>> Setting currdev to disk0p1:
>>> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(2,GPT,4d89c0a3-65e7-11eb-b928-7ba121e2a6c9,0x21000,0x1000000)
>>> Setting currdev to disk0p2:
>>> Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(0)/eMMC(0)/HD(3,GPT,4d89c0a3-65e7-11eb-b928-7ba121e2a6c9,0x1021000,0xd8d4f80)
>>> Setting currdev to disk0p3:
>>> Loading /boot/defaults/loader.conf
>>> Loading /boot/defaults/loader.conf
>>> Loading /boot/device.hints
>>> Loading /boot/loader.conf
>>> Loading /boot/loader.conf.local
>>> c[H[J[8;48H  [31m```                        [31;1m`[31m[9;48H s` `.....---...[31;1m....--.```   -/[31m[10;48H +o   .--`         [31;1m/y:`      +.[31m[11;48H  yo`:.            [31;1m:o      `+-[31m[12;48H   y/               [31;1m-/`   -o/[31m[13;48H  .-                  [31;1m::/sy+:.[31m[14;48H  /                     [31;1m`--  /[31m[15;48H `:                          [31;1m:`[31m[16;48H `:                          [31;1m:`[31m[17;48H  /                          [31;1m/[31m[18;48H  .-                        [31;1m-.[31m[19;48H   --                      [31;1m-.[31m[20;48H    `:`                  [31;1m`:`[21;48H      [31;1m.--             `--.[22;48H         .---.....----.[m[1;2H  ______               ____   _____ _____  [2;2H |  ____|             |  _ \ / ____|  __ \ [3;2H | |___ _ __ ___  ___ | |_) | (___ | |  | |[4;2H |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |[5;2H | |   | | |  __/  __/| |_) |____) | |__| |[6;2H | |   | | |    |    ||     |      |      |[7;2H |_|   !
>   |_| !
>>>     \___|\___||____/|_____/|_____/ [9;2H+[22;2H+[9;44H+[22;44H+[9;3H-----------------------------------------[22;3H-----------------------------------------[10;2H|[10;44H|[11;2H|[11;44H|[12;2H|[12;44H|[13;2H|[13;44H|[14;2H|[14;44H|[15;2H|[15;44H|[16;2H|[16;44H|[17;2H|[17;44H|[18;2H|[18;44H|[19;2H|[19;44H|[20;2H|[20;44H|[21;2H|[21;44H|[9;14HWelcome to FreeBSD[11;5H1. [1mB[22moot Multi user [1m[Enter][22m[12;5H2. Boot [1mS[22mingle user[13;5H3. [1mEsc[22mape to loader prompt[14;5H4. [1mR[22meboot[15;5H5. [1mC[22mons: Video[16;5H[17;5HOptions:[18;5H6. [1mK[22mernel: default/[32mkernel[39m (1 of 1)[19;5H7. Boot [1mO[22mptions[25;0H[23;4HAutoboot in 10 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 9 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 8 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 7 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 6 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 5 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 4 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 3 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 2 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 1 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0H[23;4HAutoboot in 0 seconds, hit [Enter] to boot or any other key to stop
>>> [25;0HLoading kernel...
>>> /boot/kernel/kernel text=0x2a8 text=0x87de9c text=0x1f04bc data=0x19b3c0 data=0x0+0x53ffc6 syms=[0x8+0x116910+0x8+0x13b60e]
>>> Loading configured modules...
>>> /etc/hostid size=0x25
>>> /boot/entropy size=0x1000
>>> Using DTB provided by EFI at 0x80ec000.
>>> EFI framebuffer information:
>>> addr, size     0xf7800000, 0x3f4800
>>> dimensions     1920 x 1080
>>> stride         1920
>>> masks          0x0000f800, 0x000007e0, 0x0000001f, 0x00000000
>>> ---<<BOOT>>---
>>> KDB: debugger backends: ddb
>>> KDB: current backend: ddb
>>> Copyright (c) 1992-2020 The FreeBSD Project.
>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>>           The Regents of the University of California. All rights reserved.
>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>> FreeBSD 13.0-CURRENT #0 r367712M: Fri Jan  8 20:33:21 JST 2021
>>>       admin at lmainkx:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
>>> FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
>>> WARNING: WITNESS option enabled, expect reduced performance.
>>> VT(efifb): resolution 1920x1080
>>> module firmware already present!
>>> real memory  = 4158377984 (3965 MB)
>>> avail memory = 4025098240 (3838 MB)
>>> Starting CPU 1 (1)
>>> Starting CPU 2 (2)
>>> Starting CPU 3 (3)
>>> Starting CPU 4 (100)
>>> Starting CPU 5 (101)
>>> FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
>>> random: unblocking device.
>>> random: entropy device external interface
>>> MAP f3f16000 mode 2 pages 4
>>> MAP f3f1b000 mode 2 pages 4
>>> MAP f6f40000 mode 2 pages 16
>>> WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
>>> kbd0 at kbdmux0
>>> WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
>>> ofwbus0: <Open Firmware Device Tree>
>>> clk_fixed0: <Fixed clock> on ofwbus0
>>> simplebus0: <Flattened device tree simple bus> on ofwbus0
>>> rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
>>> rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
>>> rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
>>> rk_grf1: <RockChip General Register Files> mem 0xff770000-0xff77ffff on ofwbus0
>>> regfix0: <Fixed Regulator> on ofwbus0
>>> regfix1: <Fixed Regulator> on ofwbus0
>>> regfix2: <Fixed Regulator> on ofwbus0
>>> regfix3: <Fixed Regulator> on ofwbus0
>>> regfix4: <Fixed Regulator> on ofwbus0
>>> regfix5: <Fixed Regulator> on ofwbus0
>>> regfix6: <Fixed Regulator> on ofwbus0
>>> regfix7: <Fixed Regulator> on ofwbus0
>>> regfix8: <Fixed Regulator> on ofwbus0
>>> regfix9: <Fixed Regulator> on ofwbus0
>>> regfix10: <Fixed Regulator> on ofwbus0
>>> regfix11: <Fixed Regulator> on ofwbus0
>>> simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff310000-0xff310fff on ofwbus0
>>> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
>>> gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0
>>> its0: <ARM GIC Interrupt Translation Service> mem 0xfee20000-0xfee3ffff on gic0
>>> rk_iodomain0: <RockChip IO Voltage Domain> mem 0-0xff31ffff,0-0xfff on rk_grf0
>>> rk_iodomain1: <RockChip IO Voltage Domain> mem 0-0xff76ffff,0-0xffff on rk_grf1
>>> rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
>>> gpio0: <RockChip GPIO Bank controller> mem 0xff720000-0xff7200ff irq 71 on rk_pinctrl0
>>> gpiobus0: <OFW GPIO bus> on gpio0
>>> gpio1: <RockChip GPIO Bank controller> mem 0xff730000-0xff7300ff irq 72 on rk_pinctrl0
>>> gpiobus1: <OFW GPIO bus> on gpio1
>>> gpio2: <RockChip GPIO Bank controller> mem 0xff780000-0xff7800ff irq 73 on rk_pinctrl0
>>> gpiobus2: <OFW GPIO bus> on gpio2
>>> gpio3: <RockChip GPIO Bank controller> mem 0xff788000-0xff7880ff irq 74 on rk_pinctrl0
>>> gpiobus3: <OFW GPIO bus> on gpio3
>>> gpio4: <RockChip GPIO Bank controller> mem 0xff790000-0xff7900ff irq 75 on rk_pinctrl0
>>> gpiobus4: <OFW GPIO bus> on gpio4
>>> rk_i2c0: <RockChip I2C> mem 0xff110000-0xff110fff irq 20 on ofwbus0
>>> iicbus0: <OFW I2C bus> on rk_i2c0
>>> rk_i2c1: <RockChip I2C> mem 0xff130000-0xff130fff irq 22 on ofwbus0
>>> iicbus1: <OFW I2C bus> on rk_i2c1
>>> rk_i2c2: <RockChip I2C> mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0
>>> iicbus2: <OFW I2C bus> on rk_i2c2
>>> syr8270: <Silergy SYR827 regulator> at addr 0x80 on iicbus2
>>> rk_i2c3: <RockChip I2C> mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0
>>> iicbus3: <OFW I2C bus> on rk_i2c3
>>> rk805_pmu0: <RockChip RK805 PMIC> at addr 0x36 irq 76 on iicbus2
>>> generic_timer0: <ARMv8 Generic Timer> irq 2,3,4,5 on ofwbus0
>>> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
>>> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
>>> rk_tsadc0: <RockChip temperature sensors> mem 0xff260000-0xff2600ff irq 35 on ofwbus0
>>> rk_usb2phy0: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffffrk_usb2phy1: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
>>> rk_emmcphy0: <Rockchip RK3399 eMMC PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
>>> rk_pcie_phy0: <Rockchip RK3399 PCIe PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
>>> rk_typec_phy0: <Rockchip RK3399 PHY TYPEC> mem 0xff7c0000-0xff7fffff on ofwbus0
>>> rk_typec_phy1: <Rockchip RK3399 PHY TYPEC> mem 0xff800000-0xff83ffff on ofwbus0
>>> cpulist0: <Open Firmware CPU Group> on ofwbus0
>>> cpu0: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt0: <Generic cpufreq driver> on cpu0
>>> cpu1: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt1: <Generic cpufreq driver> on cpu1
>>> cpu2: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt2: <Generic cpufreq driver> on cpu2
>>> cpu3: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt3: <Generic cpufreq driver> on cpu3
>>> cpu4: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt4: <Generic cpufreq driver> on cpu4
>>> cpu5: <Open Firmware CPU> on cpulist0
>>> cpufreq_dt5: <Generic cpufreq driver> on cpu5
>>> pcib0: <Rockchip PCIe controller> mem 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0
>>> pcib0: Gen1 link training timeouted: 0x00080001.
>>> pci0: <PCI bus> on pcib0
>>> pcib1: <PCI-PCI bridge> at device 0.0 on pci0
>>> pcib0: failed to reserve resource for pcib1
>>> pcib1: failed to allocate initial memory window: 0-0xfffff
>>> pci1: <PCI bus> on pcib1
>>> rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe310000-0xfe313fff irq 10 on ofwbus0
>>> rockchip_dwmmc0: Hardware version ID is 270a
>>> rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe320000-0xfe323fff irq 11 on ofwbus0
>>> rockchip_dwmmc1: Hardware version ID is 270a
>>> sdhci_fdt0: <Rockchip RK3399 fdt SDHCI controller> mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0
>>> rk_emmcphy0: got emmcclk clock
>>> sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.
>>> sdhci_fdt0: 1 slot(s) allocated
>>> mmc0: <MMC/SD bus> on sdhci_fdt0
>>> ehci0: <Generic EHCI Controller> mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0
>>> usbus0: EHCI version 1.0
>>> usbus0 on ehci0
>>> ohci0: <Generic OHCI Controller> mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0
>>> usbus1 on ohci0
>>> ehci1: <Generic EHCI Controller> mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0
>>> usbus2: EHCI version 1.0
>>> usbus2 on ehci1
>>> ohci1: <Generic OHCI Controller> mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0
>>> usbus3 on ohci1
>>> rk_dwc30: <Rockchip RK3399 DWC3> on ofwbus0
>>> xhci0: <Synopsys Designware DWC3> mem 0xfe800000-0xfe8fffff irq 77 on rk_dwc30
>>> xhci0: 64 bytes context size, 32-bit DMA
>>> usbus4: trying to attach
>>> usbus4 on xhci0
>>> rk_dwc31: <Rockchip RK3399 DWC3> on ofwbus0
>>> xhci1: <Synopsys Designware DWC3> mem 0xfe900000-0xfe9fffff irq 78 on rk_dwc31
>>> xhci1: 64 bytes context size, 32-bit DMA
>>> usbus5: trying to attach
>>> usbus5 on xhci1
>>> iicbus0: <unknown card> at addr 0x22
>>> iic0: <I2C generic I/O> on iicbus0
>>> iic1: <I2C generic I/O> on iicbus1
>>> uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0
>>> uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0
>>> uart1: console (1500000,n,8,1)
>>> spi0: <Rockchip SPI> mem 0xff1d0000-0xff1d0fff irq 31 on ofwbus0
>>> spibus0: <OFW SPI bus> on spi0
>>> spibus0: <unknown card> at cs 0 mode 0
>>> iicbus2: <unknown card> at addr 0x82
>>> iic2: <I2C generic I/O> on iicbus2
>>> iicbus3: <unknown card> at addr 0x44
>>> iic3: <I2C generic I/O> on iicbus3
>>> pwm0: <Rockchip PWM> mem 0xff420000-0xff42000f on ofwbus0
>>> pwmbus0: <OFW PWM bus> on pwm0
>>> pwmc0: <PWM Control> channel 0 on pwmbus0
>>> pwm1: <Rockchip PWM> mem 0xff420020-0xff42002f on ofwbus0
>>> pwmbus1: <OFW PWM bus> on pwm1
>>> pwmc1: <PWM Control> channel 0 on pwmbus1
>>> gpioc0: <GPIO controller> on gpio0
>>> gpioc1: <GPIO controller> on gpio1
>>> gpioc2: <GPIO controller> on gpio2
>>> gpioc3: <GPIO controller> on gpio3
>>> gpioc4: <GPIO controller> on gpio4
>>> gpioled0: <GPIO LEDs> on ofwbus0
>>> cryptosoft0: <software crypto>
>>> Timecounters tick every 1.000 msec
>>> usbus0: 480Mbps High Speed USB v2.0
>>> usbus1: 12Mbps Full Speed USB v1.0
>>> usbus2: 480Mbps High Speed USB v2.0
>>> usbus3: 12Mbps Full Speed USB v1.0
>>> usbus4: 5.0Gbps Super Speed USB v3.0
>>> usbus5: 5.0Gbps Super Speed USB v3.0
>>> ugen3.1: <Generic OHCI root HUB> at usbus3
>>> uhub0 on usbus3
>>> uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
>>> ugen2.1: <Generic EHCI root HUB> at usbus2
>>> uhub1 on usbus2
>>> uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>>> ugen1.1: <Generic OHCI root HUB> at usbus1
>>> uhub2 on usbus1
>>> uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>>> ugen0.1: <Generic EHCI root HUB> at usbus0
>>> uhub3 on usbus0
>>> uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
>>> ugen5.1: <Synopsys XHCI root HUB> at usbus5
>>> uhub4 on usbus5
>>> uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus5
>>> ugen4.1: <Synopsys XHCI root HUB> at usbus4
>>> uhub5 on usbus4
>>> uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus4
>>> mmcsd0: 125GB <MMCHC DA4128 0.1 SN AD0EFC3E MFG 03/2019 by 69 0x0000> at mmc0 25.0MHz/8bit/65535-block
>>> mmcsd0boot0: 4MB partition 1 at mmcsd0
>>> mmcsd0boot1: 4MB partition 2 at mmcsd0
>>> mmcsd0rpmb: 17MB partition 3 at mmcsd0
>>> Release APs...done
>>> CPU  0: ARM Cortex-A53 r0p4 affinity:  0  0
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>>>    Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
>>>    Instruction Set Attributes 1 = <>
>>>            Processor Features 0 = <GIC,AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
>>>            Processor Features 1 = <>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>>>         Memory Model Features 1 = <8bit VMID>
>>>         Memory Model Features 2 = <32bit CCIDX,48bit VA>
>>> Trying to mount root from ufs:/dev/mmcsd0p3 [rw]...
>>>                Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
>>>                Debug Features 1 = <>
>>>            Auxiliary Features 0 = <>
>>>            Auxiliary Features 1 = <>
>>> CPU  1: ARM Cortex-A53 r0p4 affinity:  0  1
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>>> CPU  2: ARM Cortex-A53 r0p4 affinity:  0  2
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>>> CPU  3: ARM Cortex-A53 r0p4 affinity:  0  3
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>>> CPU  4: ARM Cortex-A72 r0p2 affinity:  1  0
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
>>> CPU  5: ARM Cortex-A72 r0p2 affinity:  1  1
>>>                      Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
>>>         Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
>>> WARNING: WITNESS option enabled, expect reduced performance.
>>> Unresolved linked clock found: clkin_gmac
>>> uhub0: 1 port with 1 removable, self powered
>>> uhub2: 1 port with 1 removable, self powered
>>> Warning: no time-of-day clock registered, system time will not be set accurately
>>> uhub4: 2 ports with 2 removable, self powered
>>> uhub5: 2 ports with 2 removable, self powered
>>> uhub3: 1 port with 1 removable, self powered
>>> uhub1: 1 port with 1 removable, self powered
>>> Setting hostuuid: 31323634-3737-6236-6162-336630376339.
>>> Setting hostid: 0x5d4b60f9.
>>> Starting file system checks:
>>> /dev/mmcsd0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
>>> /dev/mmcsd0p3: clean, 27264816 free (352 frags, 3408058 blocks, 0.0% fragmentation)
>>> lock order reversal:
>>>    1st 0xffffa00062dabbe0 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:1724
>>>    2nd 0xffffa00062c9ddc8 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:2918
>>> lock order devfs -> ufs established at:
>>> #0 0xffff000000569234 at witness_checkorder+0x448
>>> #1 0xffff0000004cbaec at lockmgr_lock_flags+0x1d8
>>> #2 0xffff00000075ad38 at ffs_lock+0x64
>>> #3 0xffff0000005ed57c at _vn_lock+0x54
>>> #4 0xffff0000005ce630 at vfs_domount+0xdf8
>>> #5 0xffff0000005cca08 at vfs_donmount+0x2b4
>>> #6 0xffff0000005d0e78 at kernel_mount+0x4c
>>> #7 0xffff0000005d3564 at parse_mount+0x49c
>>> #8 0xffff0000005d1b58 at vfs_mountroot+0x3fc
>>> #9 0xffff00000048dc68 at start_init+0x24
>>> #10 0xffff0000004b7474 at fork_exit+0x7c
>>> lock order ufs -> devfs attempted at:
>>> #0 0xffff000000569a40 at witness_checkorder+0xc54
>>> #1 0xffff0000004cd560 at lockmgr_xlock+0x50
>>> #2 0xffff0000005ed57c at _vn_lock+0x54
>>> #3 0xffff0000005d77d8 at vget_finish+0x4c
>>> #4 0xffff0000003b1b30 at devfs_allocv+0xd0
>>> #5 0xffff0000003b12c0 at devfs_root+0x44
>>> #6 0xffff0000005dcbc8 at vfs_cache_root_fallback+0x154
>>> #7 0xffff0000005d89b0 at vflush+0x5c
>>> #8 0xffff0000003b11c8 at devfs_unmount+0x34
>>> #9 0xffff0000005cf4c4 at dounmount+0x43c
>>> #10 0xffff0000005cf040 at kern_unmount+0x2d8
>>> #11 0xffff000000812d0c at do_el0_sync+0x454
>>> #12 0xffff0000007f2a24 at handle_el0_sync+0x90
>>> Mounting local filesystems:.
>>> ELF ldconfig path: /lib /usr/lib /usr/lib/compat
>>> Setting hostname: kazu.tfc.
>>> ugen1.2: <HAILUCK CO.,LTD USB KEYBOARD> at usbus1
>>> ukbd0 on uhub2
>>> ukbd0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2> on usbus1
>>> kbd1 at ukbd0
>>> Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
>>> Feeding entropy: .
>>> lo0: link state changed to UP
>>> Starting Network: lo0.
>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>>>           options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
>>>           inet6 ::1 prefixlen 128
>>>           inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>>>           inet 127.0.0.1 netmask 0xff000000
>>>           groups: lo
>>>           nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>> Starting devd.
>>> Autoloading module: mx25l.ko
>>> mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
>>> mx25l0: device type gd25q128, size 16384K in 256 sectors of 64K, erase size 4K
>>> Autoloading module: pwm_backlight.ko
>>> link_elf: symbol backlight_get_info_desc undefined
>>> kldload: can't load pwm_backlight.ko: No such file or directory
>>> Autoloading module: uhid.ko
>>> Autoloading module: wmt.ko
>>> add host 127.0.0.1: gateway lo0 fib 0: route already in table
>>> route: writing to routing socket: Network is unreachable
>>> add net default: gateway 192.168.1.254 fib 0: Network is unreachable
>>> add host ::1: gateway lo0 fib 0: route already in table
>>> add net fe80::: gateway ::1
>>> add net ff02::: gateway ::1
>>> add net ::ffff:0.0.0.0: gateway ::1
>>> add net ::0.0.0.0: gateway ::1
>>> Updating /var/run/os-release done.
>>> Creating and/or trimming log files.
>>> Updating motd:.
>>> Clearing /tmp (X related).
>>> Starting syslogd.
>>> No core dumps found.
>>> Mounting late filesystems:.
>>> Security policy loaded: MAC/ntpd (mac_ntpd)
>>> Starting ntpd.
>>> Feb  3 18:00:15 kazu ntpd[1004]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 38 days ago
>>> Performing sanity check on sshd configuration.
>>> Starting sshd.
>>> Starting cron.
>>> Starting sendmail.
>>> Starting sendmail_msp_queue.
>>> Configuring vt: blanktime screensaverFeb  3 18:00:16 kazu ntpd[1004]: error resolving pool 0.freebsd.pool.ntp.org: Name does not resolve (8)
>>> kldload: can't load logo_saver: No such file or directory
>>> /etc/rc: WARNING: Unable to load kernel module logo_saver
>>> .
>>> Starting background file system checks in 60 seconds.
>>>
>>> Wed Feb  3 18:00:16 JST 2021
>>>
>>> FreeBSD/arm64 (kazu.tfc) (ttyu1)
>>>
>>> login:
>>>
>>>
>>> [1] https://github.com/TrueFC/ports/tree/master/sysutils/u-boot-pinebook-pro
>>>> the twitter thread
>>>> https://twitter.com/jsm22413542/status/1355896239104159748
>>>>
>>>> Long story short I keep CPLL at 800000000 but set ACLK_VOP1 at 594000000..
>>>>
>>>>
>>>> /Jsm
>>>>
>>>> _______________________________________________
>>>> freebsd-arm at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>>>>
>>> ---
>>> Kazuhiko Kiriyama <kiri at truefc.org>
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>>


More information about the freebsd-arm mailing list