20240410解决OK3588-C的核心板刷机之后无法启动的问题
2024/4/10 19:38
1、编译OK3588的LINUX/Buildroot?
forlinx@ubuntu: ~/3588/OK3588_Linux_fs sudo ./build.sh BoardConfig-linuxfs-ok3588.mk
2、进行全编译
forlinx@ubuntu: \~/3588/OK3588_Linux_fs sudo ./build.sh
编译成功后,使系统镜像将在 rockdev 文件夹下生成,如下图:
sudo ./build.sh BoardConfig-linuxfs-ok3588.mk
sudo ./build.sh


刷机之后,启动完uboot之后卡死在初始化CPU的时候!
BEGIN\] 2024/4/10 19:15:41 DDR V1.12 52218f4949 cym 23/07/06-19:46:50 LPDDR4X, 2112MHz channel\[0\] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel\[1\] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel\[2\] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel\[3\] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x6 CH0 RX Vref:27.1%, TX Vref:19.8%,18.8% CH1 RX Vref:27.9%, TX Vref:21.8%,20.8% CH2 RX Vref:29.3%, TX Vref:18.8%,18.8% CH3 RX Vref:30.1%, TX Vref:18.8%,18.8% change to F1: 528MHz change to F2: 1068MHz change to F3: 1560MHz change to F0: 2112MHz out U-Boot SPL board init U-Boot SPL 2017.09-g5f53abfa1e-221223 #zzz (Dec 26 2022 - 09:10:09) unknown raw ID 0 0 0 unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 MMC: no card present mmc_init: -123, time 2 spl: mmc init failed with error: -123 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 7 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(b40ce543bb...) + OK ## Checking uboot 0x00200000 ... sha256(a0427b1df1...) + OK ## Checking fdt 0x00325ad0 ... sha256(6c1121228f...) + OK ## Checking atf-2 0xff100000 ... sha256(af08976afd...) + OK ## Checking atf-3 0x000f0000 ... sha256(f202de33d9...) + OK ## Checking optee 0x08400000 ... sha256(6193f4aac7...) + OK Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000) Total: 175.838 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-616-gdc1125f48:finley.xiao NOTICE: BL31: Built : 16:41:17, Jul 13 2023 INFO: spec: 0x1 INFO: ext 32k is not valid INFO: ddr: stride-en 4CH INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: system boots from cpu-hwid-0 INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 INFO: dfs DDR fsp_params\[0\].freq_mhz= 2112MHz INFO: dfs DDR fsp_params\[1\].freq_mhz= 528MHz INFO: dfs DDR fsp_params\[2\].freq_mhz= 1068MHz INFO: dfs DDR fsp_params\[3\].freq_mhz= 1560MHz INFO: BL31: Initialising Exception Handling Framework INFO: BL31: Initializing runtime services INFO: BL31: Initializing BL32 I/TC: I/TC: OP-TEE version: 3.13.0-698-g7f1ea6d6e #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #53 Wed Apr 19 14:30:22 CST 2023 aarch64 I/TC: Primary CPU initializing I/TC: Primary CPU switching to normal world boot INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09 (Oct 18 2023 - 11:28:23 +0800) Model: Forlinx OK3588-C Board PreSerial: 2, raw, 0xfeb50000 DRAM: 8 GiB Sysmem: init Relocation Offset: edb51000 Relocation fdt: eb9fa7a8 - eb9fecd8 CR: M/C/I mmc@fe2c0000: 1, mmc@fe2e0000: 0 Bootdev(atags): mmc 0 MMC0: HS200, 200Mhz PartType: EFI DM: v2 boot mode: recovery (misc) FIT: no signed, no conf required DTB: rk-kernel.dtb HASH(c): OK I2c0 speed: 100000Hz vsel-gpios- not found! en-gpios- not found! vdd_cpu_big0_s0 800000 uV vsel-gpios- not found! en-gpios- not found! vdd_cpu_big1_s0 800000 uV I2c1 speed: 100000Hz vsel-gpios- not found! en-gpios- not found! vdd_npu_s0 800000 uV spi2: RK806: 2 ON=0x00, OFF=0x00 vdd_gpu_s0 750000 uV vdd_cpu_lit_s0 750000 uV vdd_log_s0 750000 uV vdd_vdenc_s0 init 750000 uV vdd_ddr_s0 850000 uV Auth Success! normal mode Writing to mmc(0)... done get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts Could not find baseparameter partition Model: Forlinx OK3588 Board Rockchip UBOOT DRM driver version: v1.0.1 vp0 have layer nr:2\[0 2 \], primary plane: 2 vp1 have layer nr:2\[1 3 \], primary plane: 3 vp2 have layer nr:2\[6 8 \], primary plane: 8 vp3 have layer nr:2\[7 9 \], primary plane: 9 Using display timing dts dsi@fde20000: detailed mode clock 45000 kHz, flags\[a
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI0 for VP2
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP2 enable Esmart2[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 293333 Kbps x 4
Using display timing dts
dsi@fde30000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI1 for VP3
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP3 enable Esmart3[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 294113 Kbps x 4
hdmi@fde80000 disconnected
dp@fde60000 disconnected
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786215 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 850000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: eth0: ethernet@fe1b0000, eth1: ethernet@fe1c0000
Hit key to stop autoboot('Spacebar'): 0
ANDROID: reboot reason: "recovery"
No valid android hdr
Android image load failed
Android boot failed, error -1.
Booting FIT Image at 0xe73ad780 with size 0x0444c000
Fdt Ramdisk skip relocation
Loading kernel from FIT Image at e73ad780 ...
Using 'conf' configuration
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0xe73d7f80
Data Size: 33444352 Bytes = 31.9 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00400000
Entry Point: 0x00400000
Hash algo: sha256
Hash value: 4f7809daa1d27ad7e70ffb6f6ea20db27d0ad4a19ca3457653ebc68a1ef6d801
Verifying Hash Integrity ... sha256+ OK
Loading ramdisk from FIT Image at e73ad780 ...
Using 'conf' configuration
Trying 'ramdisk' ramdisk subimage
Description: unavailable
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0xe93bd180
Data Size: 37995896 Bytes = 36.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x0a200000
Entry Point: unavailable
Hash algo: sha256
Hash value: 5e769560034c269834f4c008182a15b25b904f609b2d203ed6fece545f528ad5
Verifying Hash Integrity ... sha256+ OK
Loading ramdisk from 0xe93bd180 to 0x0a200000
Loading fdt from FIT Image at e73ad780 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xe73adf80
Data Size: 171851 Bytes = 167.8 KiB
Architecture: AArch64
Load Address: 0x0a100000
Hash algo: sha256
Hash value: 19c70f1289d0d1903fcbd26c03f3bf255f1ea4603c160a68e00c8c609c281cfc
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x0a100000 to 0x0a100000
Booting using the fdt blob at 0x0a100000
Loading Kernel Image from 0xe73d7f80 to 0x00400000 ... OK
kernel loaded at 0x00400000, end = 0x023e5200
'reserved-memory' dma-trans@3c000000: addr=3c000000 size=4000000
'reserved-memory' cma: addr=10000000 size=10000000
Using Device Tree in place at 000000000a100000, end 000000000a12cf4a
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Adding bank: 0x2f0000000 - 0x300000000 (size: 0x10000000)
Total: 2323.743 ms
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
END\] 2024/4/10 19:21:59
2、最开始以为是因为SDK的版本升级的问题。R3→R4。
后来接飞凌严工的电话,是他们家的DTS配置的问题,据说今后将会给出来FAQ。
但是看看别人家MTK的FAQ!
Z:\\OK3588_Linux_fs\\kernel\\arch\\arm64\\boot\\dts\\rockchip\\OK3588-C-common.dtsi
\&pcie30phy {
rockchip,pcie30-phymode = \
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI0 for VP2
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP2 enable Esmart2[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 293333 Kbps x 4
Using display timing dts
dsi@fde30000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI1 for VP3
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP3 enable Esmart3[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 294113 Kbps x 4
hdmi@fde80000 disconnected
dp@fde60000 disconnected
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786215 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 850000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: eth0: ethernet@fe1b0000, eth1: ethernet@fe1c0000
Hit key to stop autoboot('Spacebar'): 0
ANDROID: reboot reason: "recovery"
No valid android hdr
Android image load failed
Android boot failed, error -1.
Booting FIT Image at 0xe739ad80 with size 0x0445ea00
Fdt Ramdisk skip relocation
Loading kernel from FIT Image at e739ad80 ...
Using 'conf' configuration
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0xe73c7f80
Data Size: 33509888 Bytes = 32 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00400000
Entry Point: 0x00400000
Hash algo: sha256
Hash value: bf5f1545c372971490f97602ffad322b146147043848b0b56625da0515648378
Verifying Hash Integrity ... sha256+ OK
Loading ramdisk from FIT Image at e739ad80 ...
Using 'conf' configuration
Trying 'ramdisk' ramdisk subimage
Description: unavailable
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0xe93bd180
Data Size: 37995896 Bytes = 36.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x0a200000
Entry Point: unavailable
Hash algo: sha256
Hash value: 5e769560034c269834f4c008182a15b25b904f609b2d203ed6fece545f528ad5
Verifying Hash Integrity ... sha256+ OK
Loading ramdisk from 0xe93bd180 to 0x0a200000
Loading fdt from FIT Image at e739ad80 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xe739b580
Data Size: 182719 Bytes = 178.4 KiB
Architecture: AArch64
Load Address: 0x0a100000
Hash algo: sha256
Hash value: 120cf50c5bcfbb68b10410c6d71449bc77880f9a429a368d315ee5ec6ab0401b
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x0a100000 to 0x0a100000
Booting using the fdt blob at 0x0a100000
Loading Kernel Image from 0xe73c7f80 to 0x00400000 ... OK
kernel loaded at 0x00400000, end = 0x023f5200
'reserved-memory' dma-trans@3c000000: addr=3c000000 size=4000000
'reserved-memory' cma: addr=10000000 size=10000000
Using Device Tree in place at 000000000a100000, end 000000000a12f9be
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 2335.30 ms
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
mount: mounting /dev/mmcblk1p1 on /mnt/sdcard failed: No such file or directory
mount: mounting PARTLABEL=oem on /oem failed: No such file or directory
mount: mounting PARTLABEL=userdata on /userdata failed: No such file or directory
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: done
Saving random seed: OK
Starting network: OK
Debug: configfs_init
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac1.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac2.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/hid.usb0': No such file or directory
Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf...
input-event-daemon: Adding device: /dev/input/event0...
input-event-daemon: Adding device: /dev/input/event1...
input-event-daemon: Adding device: /dev/input/event2...
input-event-daemon: Adding device: /dev/input/event3...
input-event-daemon: Start listening on 4 devices...
done
root@RK3588:/# [ 16.191853] reboot: Restarting system
DDR Version V1.07 20220412
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5f53abfa1e-221223 #zzz (Dec 26 2022 - 09:10:09)
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 2
spl: mmc init failed with error: -123
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
Verified-boot: 0
Checking atf-1 0x00040000 ... sha256(5ae6932916...) + OK
Checking uboot 0x00200000 ... sha256(5ca6150e38...) + OK
Checking fdt 0x00325ad0 ... sha256(6c1121228f...) + OK
Checking atf-2 0x000f0000 ... sha256(c00c7fd75b...) + OK
Checking atf-3 0xff100000 ... sha256(71c3a5841b...) + OK
Checking atf-4 0xff001000 ... sha256(2301cf73be...) + OK
Checking optee 0x08400000 ... sha256(4ed9cd20b5...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 183.926 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-384-g45c8fcb44:derrick.huang
NOTICE: BL31: Built : 15:14:04, Jun 18 2022
INFO: ext 32k is not valid
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INFO: hdmirx_handler: dma not on, ret
I/TC:
I/TC: OP-TEE version: 3.13.0-645-g87d94c5ef8 #xb.wang (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #1 Tue Jun 14 10:44:31 CST 2022 aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09 (Dec 21 2023 - 09:45:34 +0800)
Model: Forlinx OK3588-C Board
PreSerial: 2, raw, 0xfeb50000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: edb51000
Relocation fdt: eb9fa7a8 - eb9fecd8
CR: M/C/I
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
DM: v2
boot mode: normal
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 800000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 800000 uV
I2c1 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
spi2: RK806: 2
ON=0x00, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Auth Success!
normal mode
*** Warning - bad CRC, using default environment
Writing to mmc(0)... done
get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts
get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts
get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts
get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts
Could not find baseparameter partition
Model: Forlinx OK3588 Board
Rockchip UBOOT DRM driver version: v1.0.1
vp0 have layer nr:2[0 2 ], primary plane: 2
vp1 have layer nr:2[1 3 ], primary plane: 3
vp2 have layer nr:2[6 8 ], primary plane: 8
vp3 have layer nr:2[7 9 ], primary plane: 9
Using display timing dts
dsi@fde20000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI0 for VP2
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP2 enable Esmart2[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 293333 Kbps x 4
Using display timing dts
dsi@fde30000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI1 for VP3
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP3 enable Esmart3[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 294113 Kbps x 4
hdmi@fde80000 disconnected
dp@fde60000 disconnected
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786215 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 850000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: eth0: ethernet@fe1b0000, eth1: ethernet@fe1c0000
Writing to mmc(0)... done
Hit key to stop autoboot('Spacebar'): 0
ANDROID: reboot reason: "(none)"
No valid android hdr
Android image load failed
Android boot failed, error -1.
Booting FIT Image at 0xe97d7380 with size 0x02022400
Fdt Ramdisk skip relocation
Loading kernel from FIT Image at e97d7380 ...
Using 'conf' configuration
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0xe9804580
Data Size: 33509888 Bytes = 32 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00400000
Entry Point: 0x00400000
Hash algo: sha256
Hash value: bf5f1545c372971490f97602ffad322b146147043848b0b56625da0515648378
Verifying Hash Integrity ... sha256+ OK
Loading fdt from FIT Image at e97d7380 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xe97d7b80
Data Size: 182719 Bytes = 178.4 KiB
Architecture: AArch64
Load Address: 0x0a100000
Hash algo: sha256
Hash value: 120cf50c5bcfbb68b10410c6d71449bc77880f9a429a368d315ee5ec6ab0401b
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x0a100000 to 0x0a100000
Booting using the fdt blob at 0x0a100000
Loading Kernel Image from 0xe9804580 to 0x00400000 ... OK
kernel loaded at 0x00400000, end = 0x023f5200
'reserved-memory' dma-trans@3c000000: addr=3c000000 size=4000000
'reserved-memory' cma: addr=10000000 size=10000000
Using Device Tree in place at 000000000a100000, end 000000000a12f9be
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 1951.321 ms
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
mount: mounting PARTLABEL=oem on /oem failed: No such file or directory
mount: mounting PARTLABEL=userdata on /userdata failed: No such file or directory
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
/usr/bin/modetest
Populating /dev using udev: done
Saving random seed: OK
Will now mount all partitions in /etc/fstab
Note: Will skip fsck, remove /.skip_fsck to enable
Handling rootfs: /dev/mmcblk0p6 / ext4 rw,noauto 1
Resizing /dev/mmcblk0p6(ext4)
resize2fs 1.46.4 (18-Aug-2021)
Filesystem at /dev/mmcblk0p6 is mounted on /tmp/tmp.Vdis4fI5Bd; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/mmcblk0p6 is now 3670016 (4k) blocks long.
tune2fs 1.46.4 (18-Aug-2021)
Handling oem: /dev/mmcblk0p7 /oem ext2 defaults 2
Mounting /dev/mmcblk0p7(ext2) on /oem
Handling userdata: /dev/mmcblk0p8 /userdata ext2 defaults 2
Mounting /dev/mmcblk0p8(ext2) on /userdata
Log saved to /tmp/mountall.log
Starting system message bus: done
Starting iptables: OK
Starting bluetoothd: OK
Starting network: RTNETLINK answers: No such device
RTNETLINK answers: Network is unreachable
FAIL
starting weston... done.
Starting dropbear sshd: OK
Starting lighttpd: OK
Starting matrix: /etc/init.d/S50matrix-browser: line 12: warning: setlocale: LC_ALL: cannot change locale (zh_CN.utf8): No such file or directory
Starting pulseaudio: W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
Date: 1970-01-01 CST
08:00:12.779\] weston 10.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: v0.3-8-g8cb8c2b72+ \[08:00:12.779\] Command line: /usr/bin/weston \[08:00:12.779\] OS: Linux, 5.10.66, #1 SMP Wed Apr 10 18:26:14 CST 2024, aarch64 \[08:00:12.779\] Flight recorder: enabled \[08:00:12.779\] warning: XDG_RUNTIME_DIR "/var/run" is not configured correctly. Unix access mode must be 0700 (current mode is 0755), and must be owned by the user UID 0 (current owner is UID 0). Refer to your distribution on how to get it, or http://www.freedesktop.org/wiki/Specifications/basedir-spec on how to implement it. \[08:00:12.780\] Using config file '/etc/xdg/weston/weston.ini' \[08:00:12.780\] Output repaint window is -1 ms maximum. \[08:00:12.781\] Loading module '/usr/lib/libweston-10/drm-backend.so' \[08:00:12.784\] initializing drm backend \[08:00:12.784\] Entering mirror mode. \[08:00:12.784\] Trying weston_launch launcher... \[08:00:12.784\] could not get launcher fd from env \[08:00:12.784\] Trying direct launcher... \[08:00:12.785\] using /dev/dri/card0 \[08:00:12.786\] DRM: does not support atomic modesetting \[08:00:12.786\] DRM: does not support GBM modifiers \[08:00:12.786\] DRM: supports picture aspect ratio \[08:00:12.788\] Loading module '/usr/lib/libweston-10/gl-renderer.so' \[08:00:12.791\] EGL client extensions: EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '6'. \[08:00:12.801\] EGL version: 1.4 Valhall-"g6p0-01eac0" \[08:00:12.801\] EGL vendor: ARM \[08:00:12.801\] EGL client APIs: OpenGL_ES \[08:00:12.801\] EGL extensions: EGL_WL_bind_wayland_display EGL_NV_context_priority_realtime EGL_KHR_partial_update EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness \[08:00:12.801\] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension \[08:00:12.802\] EGL_KHR_surfaceless_context available \[08:00:12.812\] GL version: OpenGL ES 3.2 v1.g6p0-01eac0.ba52c908d926792b8f5fe28f383a2b03 \[08:00:12.812\] GLSL version: OpenGL ES GLSL ES 3.20 \[08:00:12.812\] GL vendor: ARM \[08:00:12.812\] GL renderer: Mali-LODX \[08:00:12.812\] GL extensions: GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_unpack_subimage GL_EXT_color_buffer_float GL_EXT_float_blend GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage GL_EXT_texture_filter_anisotropic GL_OES_texture_float_linear GL_ARM_texture_unnormalized_coordinates GL_EXT_shader_framebuffer_fetch \[08:00:12.897\] GL ES 3.2 - renderer features: read-back format: BGRA wl_shm sub-image to texture: yes EGL Wayland extension: yes \[08:00:12.897\] couldn't fstat launcher tty: Bad file descriptor \[08:00:12.907\] event2 - adc-keys: is tagged by udev as: Keyboard \[08:00:12.908\] event2 - adc-keys: device is a keyboard \[08:00:12.909\] event1 - rockchip,dp1 rockchip,dp1: is tagged by udev as: Switch \[08:00:12.966\] event1 - not using input device '/dev/input/event1' \[08:00:12.967\] event0 - rk805 pwrkey: is tagged by udev as: Keyboard \[08:00:12.968\] event0 - rk805 pwrkey: device is a keyboard \[08:00:12.969\] event3 - rockchip-hdmi0 rockchip-hdmi0: is tagged by udev as: Switch \[08:00:13.013\] event3 - not using input device '/dev/input/event3' \[08:00:13.054\] libinput: configuring device "adc-keys". \[08:00:13.054\] libinput: configuring device "rk805 pwrkey". \[08:00:13.054\] DRM: head 'HDMI-A-1' updated, connector 409 is disconnected. \[08:00:13.054\] DRM: head 'HDMI-A-1' found, connector 409 is disconnected. \[08:00:13.055\] DRM: head 'DSI-1' updated, connector 419 is connected, EDID make 'unknown', model 'unknown', serial 'unknown' \[08:00:13.055\] DRM: head 'DSI-1' found, connector 419 is connected, EDID make 'unknown', model 'unknown', serial 'unknown' \[08:00:13.055\] DRM: head 'DSI-2' updated, connector 422 is connected, EDID make 'unknown', model 'unknown', serial 'unknown' \[08:00:13.055\] DRM: head 'DSI-2' found, connector 422 is connected, EDID make 'unknown', model 'unknown', serial 'unknown' \[08:00:13.055\] DRM: head 'DP-1' updated, connector 425 is disconnected. \[08:00:13.055\] DRM: head 'DP-1' found, connector 425 is disconnected. \[08:00:13.056\] Registered plugin API 'weston_drm_output_api_v1' of size 24 \[08:00:13.056\] Color manager: no-op \[08:00:13.056\] Output 'DSI-1' using color profile: built-in default sRGB SDR profile \[08:00:13.056\] Chosen EGL config details: id: 9 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win\|pbf\|swap_preserved vis_id: XRGB8888 (0x34325258) \[08:00:13.056\] Output DSI-1 (crtc 102) video modes: 1024x600@56.1, preferred, current, 45.0 MHz \[08:00:13.056\] associating input device event2 with output DSI-1 (none by udev) \[08:00:13.056\] associating input device event0 with output DSI-1 (none by udev) \[08:00:13.056\] Output 'DSI-1' enabled with head(s) DSI-1 \[08:00:13.056\] Output 'DSI-2' using color profile: built-in default sRGB SDR profile \[08:00:13.056\] Chosen EGL config details: id: 9 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win\|pbf\|swap_preserved vis_id: XRGB8888 (0x34325258) \[08:00:13.056\] Output DSI-2 (crtc 119) video modes: 1024x600@56.1, preferred, current, 45.0 MHz \[08:00:13.056\] Output DSI-2 changed to mirror output \[08:00:13.057\] Output 'DSI-2' enabled with head(s) DSI-2 \[08:00:13.057\] Compositor capabilities: arbitrary surface rotation: yes screen capture uses y-flip: yes cursor planes: yes arbitrary resolutions: no view mask clipping: yes explicit sync: no color operations: yes presentation clock: CLOCK_MONOTONIC, id 1 presentation clock resolution: 0.000000001 s \[08:00:13.057\] Loading module '/usr/lib/weston/desktop-shell.so' \[08:00:13.059\] launching '/usr/libexec/weston-keyboard' \[08:00:13.060\] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston. \[08:00:13.060\] launching '/usr/libexec/weston-desktop-shell' could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C") could not create XKB compose table for locale 'C'. Disabiling compose QStandardPaths: runtime directory '/var/run' is not a directory, but a symbolic link to a directory permissions 0755 owned by UID 0 GID 0 xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C") could not create XKB compose table for locale 'C'. Disabiling compose Failure: No such entity OK Starting sshd: OK Debug: configfs_init mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac1.gs0': No such file or directory mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac2.gs0': No such file or directory mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0': No such file or directory mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/hid.usb0': No such file or directory Starting vsftpd: OK Starting dnsmasq: dnsmasq: unknown interface uap0 FAIL Changing password for forlinx New password: Bad password: similar to username Retype password: passwd: password for forlinx changed by root adduser: user 'ftp' in use Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf... input-event-daemon: Adding device: /dev/input/event0... input-event-daemon: Adding device: /dev/input/event1... input-event-daemon: Adding device: /dev/input/event2... input-event-daemon: Adding device: /dev/input/event3... input-event-daemon: Start listening on 4 devices... done root@ok3588:/# \[08:00:20.958\] Detected a monitor change on head 'DSI-1', not bothering to do anything about it. \[08:00:20.958\] Detected a monitor change on head 'DSI-2', not bothering to do anything about it. root@ok3588:/# root@ok3588:/# ll sh: ll: command not found root@ok3588:/# root@ok3588:/# pwd / root@ok3588:/# root@ok3588:/# ls -l total 72 drwxr-xr-x 2 root root 4096 Mar 9 2023 bin -rw-r--r-- 1 root root 351 Mar 9 2023 busybox.fragment lrwxrwxrwx 1 root root 8 Mar 9 2023 data -\> userdata drwxr-xr-x 14 root root 5080 Jan 1 08:00 dev drwxr-xr-x 23 root root 4096 Jan 1 08:00 etc drwxr-xr-x 4 root root 4096 Jan 1 08:00 home drwxr-xr-x 6 root root 4096 Aug 17 2023 lib lrwxrwxrwx 1 root root 3 Mar 9 2023 lib64 -\> lib lrwxrwxrwx 1 root root 11 Mar 9 2023 linuxrc -\> bin/busybox drwx------ 2 root root 16384 Mar 9 2023 lost+found drwxr-xr-x 14 root root 4096 Mar 9 2023 media lrwxrwxrwx 1 root root 23 Mar 9 2023 misc -\> /dev/block/by-name/misc drwxr-xr-x 4 root root 4096 Mar 9 2023 mnt drwxr-xr-x 3 root root 4096 Apr 10 2024 oem drwxr-xr-x 2 root root 4096 Mar 9 2023 opt dr-xr-xr-x 268 root root 0 Jan 1 08:00 proc drwx------ 2 root root 4096 Mar 9 2023 root drwxr-xr-x 7 root root 340 Jan 1 08:00 run drwxr-xr-x 2 root root 4096 Sep 14 2023 sbin lrwxrwxrwx 1 root root 10 Mar 9 2023 sdcard -\> mnt/sdcard dr-xr-xr-x 14 root root 0 Jan 1 08:00 sys drwxrwxrwt 8 root root 420 Jan 1 08:00 tmp lrwxrwxrwx 1 root root 9 Mar 9 2023 udisk -\> mnt/udisk drwxr-xr-x 5 root root 4096 Jan 1 08:00 userdata drwxr-xr-x 11 root root 4096 Sep 14 2023 usr drwxr-xr-x 5 root root 4096 Mar 9 2023 var root@ok3588:/# root@ok3588:/# root@ok3588:/# ll sh: ll: command not found root@ok3588:/# root@ok3588:/# root@ok3588:/# root@ok3588:/# root@ok3588:/# root@ok3588:/# \[END\] 2024/4/10 19:25:26 