20250213刷机飞凌的OK3588-C_Linux5.10.209+Qt5.15.10_用户资料_R1
2025/2/13 15:10
缘起:OK3588-C_Linux5.10.66+Qt5.15.2的R5都出来了。但是公司一直在R4上面开发的,不想动了。
不过我的原则,只要是有新的系统SDK/BSP放出来,都先在底层/驱动层适配好,以免临时突然找我去搞。
看R1的UI界面美观/清爽多了。
以前的灰蓝色,现在改成亮蓝色了!
\\192.168.3.250\rootroot\media\rootroot\14TB581\BaiduNetdiskDownload\20240506的OK3588-C开发板\OK3588-C_Linux5.10.66+Qt5.15.2_用户资料_R4(更新日期_20240321)
\\192.168.3.250\rootroot\media\rootroot\14TB581\BaiduNetdiskDownload\20240506的OK3588-C开发板\OK3588-C_Linux5.10.66+Qt5.15.2_用户资料_R5(更新日期_20241012)
\\192.168.3.250\rootroot\media\rootroot\14TB581\BaiduNetdiskDownload\20240506的OK3588-C开发板\OK3588-C_Linux5.10.209+Qt5.15.10_用户资料_R1
产品使用手册
资料版本 下载链接 / 更新记录
在线阅览链接: https://forlinx-book.yuque.com/rh74yu/ok3588?# 《OK3588》
使用手册类型:
软件用户使用手册、用户编译手册、常见问题手册、硬件手册、硬件设计指南、应用笔记。
https://forlinx-book.yuque.com/rh74yu/ok3588?# 《OK3588》
https://forlinx-book.yuque.com/rh74yu/ok3588/a9ea62aa32b678cc86795b8bd0c99063
Linux5.10.209+ Qt5.15.10_用户编译手册
https://forlinx-book.yuque.com/rh74yu/ok3588/222ba44503ce82cf7c61ec969d1ae8fc
04_相关代码编译
Linux系统是飞凌在buildroot的基础上构建的桌面操作系统。
本章节主要描述开发板相关源码的编译方法,包括内核源码编译、应用程序编译方法。
4.2.1 全编译测试
在源码路径内,提供了编译脚本build.sh,运行该脚本对整个源码进行编译,需要在终端切换到解压出来的源码路径,找到build.sh文件。
forlinx@ubuntu:~$ cd /home/forlinx/3588/OK3588-linux-source
以下操作需要在源码目录下操作,全编译方法:
进行全编译
forlinx@ubuntu: ~/3588/OK3588-linux-source$ ./build.sh
编译成功后,使系统镜像将在rockdev文件夹下生成,如下图:
?? 注意:update.img为打包好用于OTG或者TF卡完全烧写用,其它文件为分步烧写使用
编译生成的固件位置:
Z:\version\R1_OK3588-linux-source_Linux5.10.209\output\update\Image\update.img
刷机LOG:
[BEGIN] 2025/2/13 15:07:03
root@ok3588-buildroot:/# DDR 3488111f83 cym 24/04/12-12:49:26,fwver: v1.17
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:26.3%, TX Vref:19.8%,19.8%DQ rds:
h1 l0, h0 l0, h1 l0, h1 l0, h0 l0, h0 l0, h0 l1, h0 l1,
h0 l0, h6 l0, h1 l0, h0 l0, h0 l0, h0 l1, h0 l0, h6 l0,
CH1 RX Vref:28.9%, TX Vref:20.8%,20.8%DQ rds:
h4 l0, h3 l0, h2 l0, h1 l0, h1 l0, h1 l0, h3 l0, h2 l0,
h1 l0, h1 l0, h3 l0, h1 l0, h2 l0, h3 l0, h3 l0, h2 l0,
CH2 RX Vref:29.7%, TX Vref:18.8%,19.8%DQ rds:
h1 l0, h0 l0, h4 l0, h2 l0, h1 l0, h3 l0, h1 l0, h1 l0,
h1 l0, h1 l0, h3 l0, h4 l0, h1 l0, h1 l0, h4 l0, h2 l0,
CH3 RX Vref:28.9%, TX Vref:20.8%,20.8%DQ rds:
h3 l0, h1 l0, h2 l0, h1 l0, h5 l0, h1 l0, h1 l0, h3 l0,
h0 l0, h4 l0, h4 l0, h3 l0, h2 l0, h6 l0, h7 l0, h2 l0,
stride=0x2, ddr_config=0x4
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
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-ge4e124926e-230922 #lxh (Sep 25 2023 - 10:58:38), fwver: v1.13
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(64122e141b...) + OK
## Checking uboot 0x00200000 ... sha256(82f9789c12...) + OK
## Checking fdt 0x0033e870 ... sha256(5b705577eb...) + OK
## Checking atf-2 0xff100000 ... sha256(ce8968e34f...) + OK
## Checking atf-3 0x000f0000 ... sha256(ce48b69fdd...) + OK
## Checking optee 0x08400000 ... sha256(b866e4e4a1...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 142.47/448.863 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-765-g588059758:derrick.huang, fwver: v1.46
NOTICE: BL31: Built : 18:13:16, Apr 29 2024
INFO: spec: 0x1
INFO: code: 0x88
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: l3 cache partition cfg-0
INFO: system boots from cpu-hwid-0
INFO: disable memory repair
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-791-g185dc3c92 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Tue Apr 16 11:16:18 CST 2024 aarch64, fwver: v1.16
I/TC: OP-TEE memory: TEEOS 0x200000 TA 0xc00000 SHM 0x200000
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 (Nov 07 2024 - 16:57:28 +0800)
Model: Forlinx OK3588-C Board
MPIDR: 0x0
PreSerial: 2, raw, 0xfeb50000
DRAM: 8 GiB
Sysmem: init
Relocation Offset: eda1f000
Relocation fdt: eb9fa550 - eb9fece0
CR: M/C/I
optee api revision: 2.0
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
TEEC: Waring: Could not find security partition
DM: v2
boot mode: None
RESC: 'boot', blk@0x00018973
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
usb dr_mode not found
usb dr_mode not found
usb dr_mode not found
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: 400000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
Device 'gpio@fd8a0000': seq 0 is in use by 'gpio@fd8a0000'
Device 'gpio@fec20000': seq 1 is in use by 'gpio@fd8a0000'
Device 'gpio@fec40000': seq 3 is in use by 'gpio@fec20000'
Auth Success!
normal mode
Writing to mmc(0)... done
found not node:/i2c@feaa0000/fusb302@22/connector/altmodes
found not node:/i2c@fead0000/fusb302@22/connector/altmodes
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
Device 'gpio@fec50000': seq 4 is in use by 'gpio@fec40000'
Could not find baseparameter partition
Model: Forlinx OK3588 Board
spi2: RK806: 2
ON=0x40, OFF=0x00
download key pressed... entering download mode...
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x733c000
\usb device is high-speed
\DDR 3488111f83 cym 24/04/12-12:49:26,fwver: v1.17
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:26.7%, TX Vref:19.8%,19.8%DQ rds:
h1 l0, h0 l0, h2 l0, h1 l0, h0 l0, h0 l0, h0 l0, h0 l0,
h1 l0, h7 l0, h1 l0, h0 l0, h0 l0, h0 l0, h0 l0, h7 l0,
CH1 RX Vref:28.9%, TX Vref:20.8%,20.8%DQ rds:
h3 l0, h2 l0, h1 l0, h1 l0, h1 l0, h1 l0, h2 l0, h2 l0,
h2 l0, h1 l0, h3 l0, h1 l0, h2 l0, h2 l0, h3 l0, h1 l0,
CH2 RX Vref:29.7%, TX Vref:18.8%,19.8%DQ rds:
h1 l0, h0 l0, h3 l0, h2 l0, h1 l0, h3 l0, h1 l0, h1 l0,
h1 l0, h1 l0, h3 l0, h4 l0, h1 l0, h0 l0, h6 l0, h2 l0,
CH3 RX Vref:28.9%, TX Vref:21.8%,21.8%DQ rds:
h2 l0, h1 l0, h2 l0, h1 l0, h6 l0, h1 l0, h1 l0, h3 l0,
h0 l0, h4 l0, h4 l0, h3 l0, h1 l0, h3 l0, h7 l0, h3 l0,
stride=0x2, ddr_config=0x4
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
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-ge4e124926e-230922 #lxh (Sep 25 2023 - 10:58:38), fwver: v1.13
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
Magic is incorrect.
Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk.
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(64122e141b...) + OK
## Checking uboot 0x00200000 ... sha256(82f9789c12...) + OK
## Checking fdt 0x0033e870 ... sha256(5b705577eb...) + OK
## Checking atf-2 0xff100000 ... sha256(ce8968e34f...) + OK
## Checking atf-3 0x000f0000 ... sha256(ce48b69fdd...) + OK
## Checking optee 0x08400000 ... sha256(b866e4e4a1...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 151.73/458.457 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-765-g588059758:derrick.huang, fwver: v1.46
NOTICE: BL31: Built : 18:13:16, Apr 29 2024
INFO: spec: 0x1
INFO: code: 0x88
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: l3 cache partition cfg-0
INFO: system boots from cpu-hwid-0
INFO: disable memory repair
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-791-g185dc3c92 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Tue Apr 16 11:16:18 CST 2024 aarch64, fwver: v1.16
I/TC: OP-TEE memory: TEEOS 0x200000 TA 0xc00000 SHM 0x200000
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 (Nov 07 2024 - 16:57:28 +0800)
Model: Forlinx OK3588-C Board
MPIDR: 0x0
PreSerial: 2, raw, 0xfeb50000
DRAM: 8 GiB
Sysmem: init
Relocation Offset: eda1f000
Relocation fdt: eb9fa550 - eb9fece0
CR: M/C/I
optee api revision: 2.0
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
TEEC: Waring: Could not find security partition
DM: v2
boot mode: normal
RESC: 'boot', blk@0x00018973
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
usb dr_mode not found
usb dr_mode not found
usb dr_mode not found
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: 400000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
Device 'gpio@fd8a0000': seq 0 is in use by 'gpio@fd8a0000'
Device 'gpio@fec20000': seq 1 is in use by 'gpio@fd8a0000'
Device 'gpio@fec40000': seq 3 is in use by 'gpio@fec20000'
Auth Success!
normal mode
*** Warning - bad CRC, using default environment
Writing to mmc(0)... done
found not node:/i2c@feaa0000/fusb302@22/connector/altmodes
found not node:/i2c@fead0000/fusb302@22/connector/altmodes
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
Device 'gpio@fec50000': seq 4 is in use by 'gpio@fec40000'
Could not find baseparameter partition
Model: Forlinx OK3588 Board
spi2: RK806: 2
ON=0x40, OFF=0x00
No resource file:
failed to display uboot logo
No resource file:
failed to display uboot logo
No resource file:
failed to display uboot logo
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
dp@fde60000 disconnected
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786431 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: 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 0xe96caf40 with size 0x0212e600
Fdt Ramdisk skip relocation
## Loading kernel from FIT Image at e96caf40 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0xe96f8b40
Data Size: 34605568 Bytes = 33 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00400000
Entry Point: 0x00400000
Hash algo: sha256
Hash value: bf699b2f112d604d3503c4d28de7edf37e310e5e5e276984af9981c42112fcef
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at e96caf40 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xe96cb740
Data Size: 185048 Bytes = 180.7 KiB
Architecture: AArch64
Load Address: 0x08300000
Hash algo: sha256
Hash value: c00b419a1ef159444d5c185fded4fec67ab59cd98e07194ea7a00098e3b59f2a
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x08300000 to 0x08300000
Booting using the fdt blob at 0x08300000
Loading Kernel Image from 0xe96f8b40 to 0x00400000 ... OK
kernel loaded at 0x00400000, end = 0x02500a00
Using Device Tree in place at 0000000008300000, end 00000000083302d7
No resource file:
VP2 fail to load kernel logo
No resource file:
VP3 fail to load kernel logo
No resource file:
VP0 fail to load kernel logo
## reserved-memory:
dma-trans@3c000000: addr=3c000000 size=4000000
cma: addr=10000000 size=10000000
drm-logo@00000000: addr=edf00000 size=ec000
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: 1512.654/2185.16 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
Start mounting all internal partitions in /etc/fstab
Log saved to /var/log/mount-all.log
Note: Will skip fsck, remove /.skip_fsck to enable
[0]: Handling /dev/mmcblk0p6 / ext4 rw,noauto 1
[1]: Handling /dev/mmcblk0p7 /oem ext4 defaults 2
[2]: Handling /dev/mmcblk0p8 /userdata ext4 defaults 2
[1]: Resizing /dev/mmcblk0p7(ext4)
[0]: Resizing /dev/mmcblk0p6(ext4)
[2]: Resizing /dev/mmcblk0p8(ext4)
resize2fs 1.46.5 (30-Dec-2021)
resize2fs 1.46.5 (30-Dec-2021)
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/mmcblk0p7 is mounted on /oem; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/mmcblk0p7 is now 32768 (4k) blocks long.
Filesystem at /dev/mmcblk0p6 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/mmcblk0p6 is now 3670016 (4k) blocks long.
Filesystem at /dev/mmcblk0p8 is mounted on /userdata; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 6
The filesystem on /dev/mmcblk0p8 is now 11339768 (4k) blocks long.
Starting syslogd: OK
log-guardian: [WARN] Not a dir: "/var/log/,/tmp/"
Starting klogd: log-guardian: Guarding logs in: "/var/log/,/tmp/"...
OK
Running sysctl: OK
Populating /dev using udev: done
Starting irqbalance: OK
Saving random seed: OK
Starting system message bus: done
Starting iptables: OK
Starting bluetoothd: OK
Starting network: Failed to detect Wi-Fi/BT chip!
OK
Starting chrony: OK
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "rockchip_dp1" "" "" "" ""
Hardware is initialized using a generic method
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
Found hardware: "rockchip_hdmiin" "" "" "" ""
Hardware is initialized using a generic method
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:2 use case configuration -2
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:2 use case configuration -2
Found hardware: "rockchip-hdmi0" "" "" "" ""
Hardware is initialized using a generic method
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: Date: 1970-01-01 CST
[08:00:03.885] weston 13.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 13.0.1
[08:00:03.885] Command line: /usr/bin/weston
[08:00:03.885] OS: Linux, 5.10.209, #1 SMP Thu Feb 13 10:19:48 CST 2025, aarch64
[08:00:03.885] Flight recorder: enabled
[08:00:03.885] 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:03.886] Using config file '/etc/xdg/weston/weston.ini'
[08:00:03.886] Output repaint window is -1 ms maximum.
[08:00:03.887] Loading module '/usr/lib/libweston-13/drm-backend.so'
[08:00:03.890] initializing drm backend
[08:00:03.890] Entering mirror mode.
[08:00:03.890] Trying direct launcher...
[08:00:03.891] using /dev/dri/card0
[08:00:03.891] DRM: does not support atomic modesetting
[08:00:03.891] DRM: does not support GBM modifiers
[08:00:03.891] DRM: does not support async page flipping
[08:00:03.891] DRM: supports picture aspect ratio
[08:00:03.894] Loading module '/usr/lib/libweston-13/gl-renderer.so'
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
W: [pulseaudio] main.c: Compiled with DEPRECATED libsamplerate support!
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
[08:00:03.920] EGL version: 1.4 Valhall-"g13p0-01eac0"
[08:00:03.920] EGL vendor: ARM
[08:00:03.920] EGL client APIs: OpenGL_ES
[08:00:03.920] EGL features:
EGL Wayland extension: yes
context priority: yes
buffer age: no
partial update: yes
swap buffers with damage: no
configless context: yes
surfaceless context: yes
dmabuf support: modifiers
[08:00:03.970] GL version: OpenGL ES 3.2 v1.g13p0-01eac0.11addb9882ee8209dc0912af75110af7
[08:00:03.970] GLSL version: OpenGL ES GLSL ES 3.20
[08:00:03.970] GL vendor: ARM
[08:00:03.970] GL renderer: Mali-G610
[08:00:04.087] GL ES 3.2 - renderer features:
read-back format: ARGB8888
glReadPixels supports y-flip: no
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: no
wl_shm half-float formats: yes
internal R and RG formats: yes
OES_EGL_image_external: yes
wl_shm sub-image to texture: yes
[08:00:04.088] Using GL renderer
[08:00:04.103] event3 - adc-keys: is tagged by udev as: Keyboard
[08:00:04.104] event3 - adc-keys: device is a keyboard
[08:00:04.106] event1 - rockchip,dp1 rockchip,dp1: is tagged by udev as: Switch
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-hdmiin-sound" card_name="alsa_card.platform-hdmiin-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
W: [pulseaudio] authkey.c: Failed to open cookie file '/userdata/.pulse/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/userdata/.pulse/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to open cookie file '/userdata/.pulse/.pulse-cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/userdata/.pulse/.pulse-cookie': No such file or directory
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
[08:00:04.173] event1 - not using input device '/dev/input/event1'
[08:00:04.175] event0 - rk805 pwrkey: is tagged by udev as: Keyboard
[08:00:04.175] event0 - rk805 pwrkey: device is a keyboard
[08:00:04.176] event4 - rockchip-hdmi0 rockchip-hdmi0: is tagged by udev as: Switch
[08:00:04.230] event4 - not using input device '/dev/input/event4'
[08:00:04.232] event2 - rockchip,hdmiin rockchip,hdmiin: is tagged by udev as: Switch
[08:00:04.276] event2 - not using input device '/dev/input/event2'
[08:00:04.316] libinput: configuring device "adc-keys".
[08:00:04.316] libinput: configuring device "rk805 pwrkey".
[08:00:04.317] Registered plugin API 'weston_drm_output_api_v1' of size 40
[08:00:04.317] Color manager: no-op
[08:00:04.317] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[08:00:04.317] Loading module '/usr/lib/weston/desktop-shell.so'
[08:00:04.319] DRM: head 'HDMI-A-1' found, connector 432 is connected, EDID make 'GSM', model '27MP35', serial ''
Supported EOTF modes: SDR
[08:00:04.319] DRM: head 'DSI-1' found, connector 448 is connected, EDID make 'unknown', model 'unknown', serial ''
Supported EOTF modes: SDR
[08:00:04.319] DRM: head 'DSI-2' found, connector 450 is connected, EDID make 'unknown', model 'unknown', serial ''
Supported EOTF modes: SDR
[08:00:04.319] DRM: head 'DP-1' found, connector 452 is disconnected.
[08:00:04.319] launching '/usr/libexec/weston-keyboard'
[08:00:04.321] launching '/usr/libexec/weston-desktop-shell'
[08:00:04.322] HDMI-A-1 using at least 2 buffers
[08:00:04.322] Output 'HDMI-A-1' attempts EOTF mode: SDR
[08:00:04.322] Output 'HDMI-A-1' using color profile: stock sRGB color profile
[08:00:04.323] 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:04.323] Output HDMI-A-1 (crtc 71) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080i@60.0, 74.2 MHz
1920x1080i@60.0 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080i@50.0 16:9, 74.2 MHz
1600x900@60.0, 108.0 MHz
1280x1024@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
800x600@75.0, 49.5 MHz
720x576@50.0 16:9, 27.0 MHz
720x480@59.9, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
[08:00:04.323] associating input device event3 with output HDMI-A-1 (none by udev)
[08:00:04.323] associating input device event0 with output HDMI-A-1 (none by udev)
[08:00:04.324] Output HDMI-A-1 changed to mirror output
[08:00:04.324] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[08:00:04.324] DSI-1 using at least 2 buffers
[08:00:04.324] Output 'DSI-1' attempts EOTF mode: SDR
[08:00:04.324] Output 'DSI-1' using color profile: stock sRGB color profile
[08:00:04.324] 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:04.324] Output DSI-1 (crtc 115) video modes:
1024x600@56.1, preferred, current, 45.0 MHz
[08:00:04.324] associating input device event3 with output DSI-1 (none by udev)
[08:00:04.324] associating input device event0 with output DSI-1 (none by udev)
[08:00:04.324] Output 'DSI-1' enabled with head(s) DSI-1
[08:00:04.324] DSI-2 using at least 2 buffers
[08:00:04.324] Output 'DSI-2' attempts EOTF mode: SDR
[08:00:04.324] Output 'DSI-2' using color profile: stock sRGB color profile
[08:00:04.325] 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:04.325] Output DSI-2 (crtc 137) video modes:
1024x600@56.1, preferred, current, 45.0 MHz
[08:00:04.325] Output DSI-2 changed to mirror output
[08:00:04.325] Output 'DSI-2' enabled with head(s) DSI-2
could not load cursor 'dnd-move'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-none'
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'. 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
Failure: No such entity
OK
Starting sshd: OK
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
fstrim: Starting fstrim process (1137)...
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'. Disabiling compose
Starting input-event-daemon: done
root@ok3588-buildroot:/# [08:00:06.390] seeing the first app
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
root@ok3588-buildroot:/#
root@ok3588-buildroot:/#
root@ok3588-buildroot:/#
root@ok3588-buildroot:/#
root@ok3588-buildroot:/# uname -a
Linux ok3588-buildroot 5.10.209 #1 SMP Thu Feb 13 10:19:48 CST 2025 aarch64 GNU/Linux
root@ok3588-buildroot:/#
root@ok3588-buildroot:/#
root@ok3588-buildroot:/#
[END] 2025/2/13 15:11:23