DDR Version 1.20 20190314
In
soft reset
SRX
channel 0
CS = 0
MR0=0x98
MR4=0x3
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x3
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 400MHz 0,1
channel 0
CS = 0
MR0=0x98
MR4=0x3
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x81
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
Channel 0: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 \
Size=2048MB
Channel 1: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 \
Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 315
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=59640MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7392MB
FwPartOffset=2000 , 0
StorageInit ok = 67588
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: efi, start:0x8000, size:0x19000
GPT part: 1, name: swapfs, start:0x21000, size:0x80000
GPT part: 2, name: install, start:0xa1000, size:0x75ef80
no find partition:uboot.
LoadTrust Addr:0x4000
LoadTrust Addr:0x4400
LoadTrust Addr:0x4800
LoadTrust Addr:0x4c00
LoadTrust Addr:0x5000
LoadTrust Addr:0x5400
LoadTrust Addr:0x5800
LoadTrust Addr:0x5c00
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3380ec0 signature is wrong
recovery gpt...
GPT 0x3380ec0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xda990
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):22b599a
NOTICE: BL31: Built : 11:03:32, Jul 10 2019
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver \
initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1181): pd status 3e
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device \
without OPTEE initialization. SMC`s destined for OPTEE will \
return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
fdtdec_get_addr_size_fixed: reg: addr=ff770000, size=10000
fdtdec_get_addr_size_fixed: reg: addr=ff320000, size=1000
U-Boot 2017.09-03582-g3157984-dirty (Sep 05 2019 - 14:22:01 \
-0400)
Model: Rockchip RK3399 Evaluation Board
PreSerial: 2
DRAM: 3.9 GiB
Sysmem: init
Relocation Offset is: f5bf2000
I2c speed: 400000Hz
PMIC: RK808
vdd_center 900000 uV
vdd_log init 900000 uV
rk_board_init PWM2 pinctrl init fail!
rk_board_init: vcc3v0_sdio cannot set regulator value -38
vdd_center 900000 uV
DCDC_REG1@ vdd_center: 750000uV <-> 1400000uV, set 900000uV, \
enabling | suspend -61uV, disabled
DCDC_REG4@ vcc_1v8: 1800000uV <-> 1800000uV, set 1800000uV, \
enabling | suspend 1800000uV, enabling
LDO_REG1@ vcc1v8_dvp: 1800000uV <-> 1800000uV, set 1800000uV, \
enabling | suspend 1800000uV, enabling
LDO_REG4@ vcc_sd: 3300000uV <-> 3300000uV, set 3300000uV, \
enabling | suspend 3300000uV, enabling
LDO_REG7@ vcca1v8_codec: 1800000uV <-> 1800000uV, set 1800000uV, \
enabling | suspend 1800000uV, enabling
LDO_REG8@ vcc_3v0: 3000000uV <-> 3000000uV, set 3000000uV, \
enabling | suspend 3000000uV, enabling
SWITCH_REG2@ vcc3v3_s0: -61uV <-> -61uV, set 0uV, enabling | \
suspend -61uV, disabled
dc-12v@ dc_12v: 12000000uV <-> 12000000uV, set 12000000uV, \
enabling | suspend -61uV, enabling (ret: -38)
vcc-sys@ vcc_sys: 5000000uV <-> 5000000uV, set 5000000uV, \
enabling | suspend -61uV, enabling (ret: -38)
vcc3v3-sys@ vcc3v3_sys: 3300000uV <-> 3300000uV, set 3300000uV, \
enabling | suspend -61uV, enabling (ret: -38)
vcc-phy-regulator@ vcc_phy: -61uV <-> -61uV, set -61uV, enabling \
| suspend -61uV, enabling
led-regulator@ led_regulator: -61uV <-> -61uV, set -61uV, \
enabling | suspend -61uV, enabling
vcc5v0-host-en@ vcc5v0_host: 5000000uV <-> 5000000uV, set \
5000000uV, enabling | suspend -61uV, enabling (ret: -38)
vcc5v0-usb3-host-regulator@vcc5v0_usb3_host: -61uV <-> -61uV, set \
-61uV, enabling | suspend -61uV, enabling
vcc5v0-typec0-en@ vcc5v0_typec0: -61uV <-> -61uV, set -61uV, \
enabling | suspend -61uV, enabling
vcc1v8-sdio@ vcc1v8_sdio: 1800000uV <-> 1800000uV, set 1800000uV, \
enabling | suspend -61uV, enabling (ret: -38)
vcc3v0-sdio@ vcc3v0_sdio: 3000000uV <-> 3000000uV, set 3000000uV, \
enabling | suspend -61uV, enabling ; init 3000000uV (ret: \
-38)
vdd_log init 900000 uV
vdd_log@ vdd_log: 800000uV <-> 1400000uV, set 900000uV, enabling \
| suspend -61uV, enabling ; init 900000uV
MMC: dwmmc@fe310000: 2, sdhci@fe330000: 0, dwmmc@fe320000: 1
Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default \
environment
In: serial
Out: serial
Err: serial
Model: Rockchip RK3399 Evaluation Board
RKPARM: Invalid parameter part table
Bootdev(atags): mmc 0
PartType: DOS
rockchip_get_boot_mode: Could not found misc partition
boot mode: None
init_resource_list: failed to get resource part, ret=-1
Can't find file:logo.bmp
failed to display uboot logo
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel \
0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 24000 KHz
dpll 800000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
do_boot_rockchip: Could not find boot part
Checking for mmc dev 1...
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1 for bootable partitions...
Scanning mmc 1:1 for extlinux or boot scripts...
** Unable to read file / **
** Unable to read file /dtb/ **
Found EFI removable media binary efi/boot/bootaa64.efi
reading efi/boot/bootaa64.efi
1091180 bytes read in 49 ms (21.2 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 00280000 ...
Adding bank: 0x00200000 - 0xf8000000 (size: 0xf7e00000)
Card did not respond to voltage select!
mmc_init: -95, time 50
Scanning disk dwmmc@fe310000.blk...
Scanning disk sdhci@fe330000.blk...
Scanning disk dwmmc@fe320000.blk...
Found 3 disks
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/arm64 EFI loader, Revision 1.1
(Mon Dec 28 04:57:26 MSK 2020 root@honeycomb.local)
Command line arguments: loader.efi
Image base: 0x280000
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)
Console: comconsole (0)
Load Path: \efi\boot\bootaa64.efi
Load Device: dwmmc@fe320000.blk
"Synchronous Abort" handler, esr 0x96000010
* Relocate offset = 00000000f5bf2000
* ELR(PC) = fffffffffd113580
* LR = fffffffffd0fd884
* SP = 00000000f2dce900
* ESR_EL2 = 0000000096000010
EC[31:26] == 100101, Exception from a Data abort, from current \
exception level
IL[25] == 1, 32-bit instruction trapped
* DAIF = 00000000000003c0
D[9] == 1, DBG masked
A[8] == 1, ABORT masked
I[7] == 1, IRQ masked
F[6] == 1, FIQ masked
* SPSR_EL2 = 0000000020000349
D[9] == 1, DBG masked
A[8] == 1, ABORT masked
I[7] == 0, IRQ not masked
F[6] == 1, FIQ masked
M[4] == 0, Exception taken from AArch64
M[3:0] == 1001, EL2h
* SCTLR_EL2 = 0000000030c51835
I[12] == 1, Icaches enabled
C[2] == 1, Dcache enabled
M[0] == 1, MMU enabled
* HCR_EL2 = 000000000800003a
* VBAR_EL2 = 00000000f5df2800
* TTBR0_EL2 = 00000000f7ff0000
x0 : 0000000000000000 x1 : 0000000000000000
x2 : 0000000000000000 x3 : 00000000f2ce6804
x4 : 0000000000000000 x5 : 0000000000000050
x6 : 00000000f2d033ac x7 : 00000000f2dceb80
x8 : 0000000000000000 x9 : 0000000000000074
x10: 00000000f2dd1c38 x11: 000000000000059e
x12: 0000000000000004 x13: 000000000000c000
x14: 000000000000008e x15: 0000000000000000
x16: 0000000000000000 x17: 0000000000000000
x18: 00000000f3de9d10 x19: 00000000f2dceb68
x20: 00000000f2da7cec x21: 0000000000000000
x22: 0000000000000000 x23: 00000000f2dd0a38
x24: 0000000000000000 x25: 00000000f2dd55e0
x26: 00000000f2dd55e0 x27: 00000000f2dd0798
x28: 00000000f2dd0790 x29: 00000000f2dceaf0
SP:
f2dce900: 00000000 00000000 00000000 00000000
f2dce910: 00000000 00000000 f5e981db 00000000
f2dce920: 00000000 00000000 00000000 00000000
f2dce930: f5e98222 00000000 f5e98248 00000000
f2dce940: f5e98295 00000000 f5e982e2 00000000
f2dce950: f5e98322 00000000 f5e98362 00000000
f2dce960: f5e9839f 00000000 00000000 00000000
f2dce970: 00000000 00000000 f5e983dc 00000000
f2dce980: f2dceaf0 00000000 f5df2a0c 00000000
f2dce990: f2dceb68 00000000 f2da7cec 00000000
f2dce9a0: f7ff0000 00000000 0800003a 00000000
f2dce9b0: 30c51835 00000000 f2dce900 00000000
f2dce9c0: 20000349 00000000 f5df2800 00000000
f2dce9d0: 000003c0 00000000 96000010 00000000
f2dce9e0: f2d05580 00000000 00000000 00000000
f2dce9f0: 00000000 00000000 00000000 00000000
Call trace:
PC: [< fffffffffd113580 >]
LR: [< fffffffffd0fd884 >]
Stack:
[< fffffffffd113580 >]
Copy above stack info to a file(eg. dump.txt), and
execute command in your U-Boot project: ./scripts/stacktrace.sh \
dump.txt
Resetting CPU ...
Is this your u-boot?
In my opinion this is a u-boot that starts with eMMC. In order for your u-boot to start successfully from the sd card, you need to either block the boot with a switch inside the Pinebook or erase the beginning of information on eMMC, using a command from u-boot
u-boot> mmc erase 0 1000
Only after that you will see the results of loading u-boot with sd card !!!
<==INTERRUPT==> > mmc erase 0 1000
root@kazu:~ # cu -s 1500000 -l /dev/cuaU0
Connected
U-Boot TPL 2020.07 (Jan 09 2021 - 16:01:43)
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
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.07 (Jan 09 2021 - 16:01:43 +0300)
Trying to boot from MMC1
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
(Mon Dec 28 04:57:26 MSK 2020 root@honeycomb.local)
Command line arguments: loader.efi
Image base: 0xf3df4000
EFI version: 2.80
EFI Firmware: Das U-Boot (rev 8224.1792)
Console: comconsole (0)
Load Path: /efi\boot\bootaa64.efi
Load Device: \
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(1,GPT,581b118b-5355-11eb-8265-6805cac5c435,0x8000,0x19000) \
Trying ESP: \
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(1,GPT,581b118b-5355-11eb-8265-6805cac5c435,0x8000,0x19000) \
Setting currdev to disk0p1:
Trying: \
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,GPT,581b118b-5355-11eb-8265-6805cac5c435,0x21000,0x80000) \
Setting currdev to disk0p2:
Trying: \
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(3,GPT,581b118b-5355-11eb-8265-6805cac5c435,0xa1000,0xdcd000) \
Setting currdev to disk0p3:
Loading /boot/defaults/loader.conf
Loading Kernel and Modules (Ctrl-C to Abort)
...................................................
/boot/kernel/kernel text=0x2a8 text=0xa32074 text=0x295fbc \
data=0x1c58c8 data=0x0+0x6c6000 \
syms=[0x8+0x142b00+0x8+0x169199]
/etc/hostid size=0x25
/boot/entropy size=0x1000
/boot/kernel/wmt.ko text=0x1c80 text=0x1870 data=0x5d8+0x10 \
syms=[0x8+0xd98+0x8+0x936]
/boot/kernel/uhid.ko text=0x1a40 text=0x1380 data=0x5a8+0x8 \
syms=[0x8+0xd20+0x8+0x8c4]
/boot/kernel/ums.ko text=0x21d1 text=0x1eec data=0x670+0x8 \
syms=[0x8+0xfa8+0x8+0xa73]
Hit [Enter] to boot immediately, or any other key for command \
prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x80eb000.
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-2021 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 \
projects/socaudio-c255600-g1b9ed02b138-dirty: Sun Jan 10 \
18:16:45 MSK 2021
root@honeycomb.local:/usr/crochet/work/obj/usr/crochet/src-audio/arm64.aarch64/sys/EXPERT \
arm64
FreeBSD clang version 11.0.1 \
(git@github.com:llvm/llvm-project.git \
llvmorg-11.0.1-rc2-0-g43ff75f2c3f)
VT(efifb): resolution 1920x1080
module firmware already present!
real memory = 4158345216 (3965 MB)
avail memory = 4022861824 (3836 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 f3f05000 mode 2 pages 1
MAP f3f08000 mode 2 pages 2
MAP f6f30000 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
Cannot set frequency for clk: cpll, error: 22
rk3399_cru0: Failed to set cpll to a frequency of 800000000
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
pmu0: <Performance Monitoring Unit> irq 0 on ofwbus0
pmu1: <Performance Monitoring Unit> irq 1 on ofwbus0
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
mmc0: <MMC/SD bus> on rockchip_dwmmc1
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
mmc1: <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
es8316codec0: <Everest Semi ES8316 CODEC> at addr 0x22 on iicbus0
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
i2s0: <Rockchip I2S> mem 0xff890000-0xff890fff irq 51 on ofwbus0
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
pcm0: <simple-audio-card> on ofwbus0
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
pcm1: <simple-audio-card> on ofwbus0
simpleamp0: <Simple Amplifier> 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
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen1.1: <Generic OHCI root HUB> at usbus1
uhub0 on usbus1
uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> \
on usbus1
ugen0.1: <Generic EHCI root HUB> at usbus0
uhub1 on usbus0
uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> \
on usbus0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen2.1: <Generic EHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> \
on usbus2
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub3 on usbus3
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> \
on usbus3
usbus4: 5.0Gbps Super Speed USB v3.0
usbus5: 5.0Gbps Super Speed USB v3.0
uhub0: 1 port with 1 removable, self powered
ugen4.1: <Synopsys XHCI root HUB> at usbus4
uhub4 on usbus4
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> \
on usbus4
ugen5.1: <Synopsys XHCI root HUB> at usbus5
uhub5 on usbus5
uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> \
on usbus5
uhub3: 1 port with 1 removable, self powered
mmcsd0: 8GB <SDHC SA08G 4.3 SN 3177653E MFG 01/2020 by 2 TM> at \
mmc0 20.0MHz/4bit/2048-block
mmcsd1: 63GB <MMCHC DA4064 0.1 SN A84EEF0E MFG 07/2019 by 69 \
0x0000> at mmc1 25.0MHz/8bit/65535-block
mmcsd1boot0: 4MB partition 1 at mmcsd1
mmcsd1boot1: 4MB partition 2 at mmcsd1
mmcsd1rpmb: 17MB partition 3 at mmcsd1
pcm0: no driver attached to cpu node
uhub1: 1 port with 1 removable, self powered
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
pcm1: failed to set sysclk for aux node
pcm1: failed to set sysclk for aux node
pcm1: failed to set sysclk for aux node
pcm1: failed to set sysclk for aux node
uhub4: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
Trying to mount root from ufs:/dev/gpt/install [rw,noatime]...
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>
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: no time-of-day clock registered, system time will not be \
set accurately
Dual Console: Serial Primary, Video Secondary
Unresolved linked clock found: clkin_gmac
uhub5: 2 ports with 2 removable, self powered
ugen2.2: <vendor 0x05e3 USB2.0 Hub> at usbus2
uhub6 on uhub2
uhub6: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/85.36, addr \
2> on usbus2
Setting hostuuid: 31323634-3737-6236-6162-336630376339.
Setting hostid: 0x5d4b60f9.
Starting file system checks:
/dev/gpt/install: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/gpt/install: clean, 866937 free (12785 frags, 106769 blocks, \
0.7% fragmentation)
ugen1.2: <HAILUCK CO.,LTD USB KEYBOARD> at usbus1
ukbd0 on uhub0
ukbd0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, \
addr 2> on usbus1
kbd1 at ukbd0
ums0 on uhub0
ums0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, \
addr 2> on usbus1
ums0: 3 buttons and [XY] coordinates ID=1
uhub6: 4 ports with 4 removable, self powered
ugen2.3: <Sonix Technology Co., Ltd. USB Camera> at usbus2
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib \
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg \
/usr/local/lib/graphviz /usr/local/lib/perl5/5.30/mach/CORE \
/usr/local/lib/qt5 /usr/local/lib/samba4 \
/usr/local/share/chromium
Setting hostname: pinebook-pro.
Setting up harvesting: \
[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED \
Feeding entropy: .
ifconfig: SIOCIFCREATE2: Invalid argument
ifconfig: SIOCIFCREATE2: Invalid argument
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
Starting ums0 moused.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
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
Creating and/or trimming log files.
Starting syslogd.
Setting date via ntp.
Error resolving 0.freebsd.pool.ntp.org: Name does not resolve (8)
11 Jan 23:13:02 ntpdate[797]: Can't find host \
0.freebsd.pool.ntp.org: Name does not resolve (8)
11 Jan 23:13:02 ntpdate[797]: no servers can be used, exiting
No core dumps found.
Clearing /tmp (X related).
Starting dbus.
Starting local daemons:.
Updating motd:.
Mounting late filesystems:.
Security policy loaded: MAC/ntpd (mac_ntpd)
Starting ntpd.
Jan 11 23:13:03 pinebook-pro ntpd[967]: leapsecond file \
('/var/db/ntpd.leap-seconds.list'): expired 15 days ago
Updating /var/run/os-release done.
Starting powerd.
Jan 11 23:13:04 pinebook-pro ntpd[967]: error resolving pool \
0.freebsd.pool.ntp.org: Name does not resolve (8)
Configuring vt: blanktime.
Starting lightdm.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.
Mon Jan 11 23:13:06 UTC 2021
FreeBSD/arm64 (pinebook-pro) (ttyu1)
login:
しかもデスクトップで

root@pinebook-pro:~ # uname -a
FreeBSD pinebook-pro 13.0-CURRENT FreeBSD 13.0-CURRENT #0 \
projects/socaudio-c255600-g1b9ed02b138-dirty: Sun Jan 10 \
18:16:45 MSK 2021 \
root@honeycomb.local:/usr/crochet/work/obj/usr/crochet/src-audio/arm64.aarch64/sys/EXPERT \
arm64
root@pinebook-pro:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/install 6.7G 3.4G 2.8G 55% /
devfs 1.0K 1.0K 0B 100% /dev
fdescfs 1.0K 1.0K 0B 100% /dev/fd
procfs 4.0K 4.0K 0B 100% /proc
/dev/md0 15M 152K 14M 1% /var/log
/dev/md1 248M 28K 228M 0% /tmp
root@pinebook-pro:~ # cat /etc/rc.conf
#
# Configuration for PineBook Pro
#
hostname="pinebook-pro"
# USB Ethernet
ifconfig_DEFAULT="DHCP"
# USB WiFi
wlans_rtwn0="wlan0"
wlans_rsu0="wlan0"
ifconfig_wlan0="WPA DHCP"
# Local Services
sshd_enable="YES"
dbus_enable="YES"
slim_enable="NO"
lightdm_enable="YES"
# Nice if you have a network, else annoying.
ntpd_enable="YES"
ntpd_sync_on_start="YES"
ntpd_flags="-d"
# Nice if you have a network, else annoying.
ntpdate_enable="YES"
# SendMail
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
# CPU frequency scaling
powerd_enable="YES"
growfs_enable="YES"
root@pinebook-pro:~ # ifconfig
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>
root@pinebook-pro:~ # usbconfig
ugen1.1: <Generic OHCI root HUB> at usbus1, cfg=0 md=HOST \
spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen0.1: <Generic EHCI root HUB> at usbus0, cfg=0 md=HOST \
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.1: <Generic EHCI root HUB> at usbus2, cfg=0 md=HOST \
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen3.1: <Generic OHCI root HUB> at usbus3, cfg=0 md=HOST \
spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <Synopsys XHCI root HUB> at usbus4, cfg=0 md=HOST \
spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen5.1: <Synopsys XHCI root HUB> at usbus5, cfg=0 md=HOST \
spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen2.2: <vendor 0x05e3 USB2.0 Hub> at usbus2, cfg=0 md=HOST \
spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen1.2: <HAILUCK CO.,LTD USB KEYBOARD> at usbus1, cfg=0 md=HOST \
spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen2.3: <Sonix Technology Co., Ltd. USB Camera> at usbus2, cfg=0 \
md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
root@pinebook-pro:~ # pciconf -lv
pcib1@pci0:0:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1d87 \
device=0x0100 subvendor=0x0000 subdevice=0x0000
vendor = 'Fuzhou Rockchip Electronics Co., Ltd'
device = 'RK3399 PCI Express Root Port'
class = bridge
subclass = PCI-PCI
root@pinebook-pro:~ #
デスクトップはadmin (パスワードは自分で変更)でログイン
