有幸获得飞凌嵌入式的OK153-S开发板试用机会。在此开箱评测。





板子的包装还是很精致的。板子是256+256的。赠送的12V电源是3A的,这个就很贵了,实在不错。板子的资源很丰富。两个CAN,两个485.而且都是带隔离的,我公司也是做开发板定制的,很清楚隔离电源和隔离收发器的价格。还有4路GPADC采集排针,38P的LVDS,应该是40P,可能最后两个悬空没有导出,有空对一下原理图看看线序。板载一个wifi模块,一个网口一路SPI排针,三个USB-A。我就不详细介绍了,挑几个常用的介绍。下面做个烧写卡,烧写官方镜像,开机看一下。(没有赠送SD卡,自备哦)

格式化一下

开始烧写,注意要选择对应的镜像



烧写卡制作完成。可以在电脑里打开SD卡看看里面的内容。
这里给大家分享个技巧,设置开机logo图片替换里面的两张图片就可以。

打log 用的是debug 这个type-C

插卡上电开始烧写。
......
[192]HELLO! BOOT0 is starting!
[195]BOOT0 commit : {06543bc6-dirty}
[199][pmu]: bus read error
[202]set pll start
[204]set pll end
[205]vaild para:1 select dram para0
[209]ic board init ok
[211]card no is 0
[213]sdcard 0 line count 4
[215][mmc]: mmc driver ver 2025-03-10 09:47
[225][mmc]: Wrong media type 0x0
[228][mmc]: Try SD card 0
[237][mmc]: HSSDR52/SDR25 4 bit
[240][mmc]: 50000000 Hz
[242][mmc]: 14840 MB
[244][mmc]: SD/MMC 0 init OK!!!
[250]boot param - magic error
[253]DRAM BOOT DRIVE INFO: V0.16
[256]DRAM use external ZQ
[426][AUTO DEBUG] 16bit, 1 rank training success
[487][AUTO DEBUG] row = 14, col = 10, bank = 3, bg = 0
[492][AUTO DEBUG] para1 = 0x30ea, para2 = 0x1, tpr13 = 0x8007071
[498]Soft Training Version: T2.5
[501][SOFT TRAINING] Dram Soft Training Loop1
[741][SOFT TRAINING] Stable test, dram_clk=480,dram_tpr12=0x13131313,memtest pass
[775][SOFT TRAINING] Start rdq vref training
[5128][SOFT TRAINING] Highest r vref: 0x4-0x7c, high=0x7a(792mV), delay=31
[5135][SOFT TRAINING] Max Vref=0x32, Widest vref is 0x22~0x64, center=0x43
[5141][SOFT TRAINING] After rdq00 vref training, dram_add[16] = 0x40404043
[5148][SOFT TRAINING] Start rdq vref training
[7855][SOFT TRAINING] Highest r vref: 0x4-0x7c, high=0x7a(792mV), delay=29
[7862][SOFT TRAINING] Max Vref=0x3c, Widest vref is 0x2a~0x58, center=0x41
[7869][SOFT TRAINING] After rdq01 vref training, dram_add[16] = 0x40404143
[7876][SOFT TRAINING] Start rdq 1st training
[7916][SOFT TRAINING] Dbyte0 rdq 1st dqs_move:0,range: 0xe~0x25,width=24,center=0x19
[7993][SOFT TRAINING] Dbyte1 rdq 1st dqs_move:0,range: 0xe~0x23,width=22,center=0x18
[8001][SOFT TRAINING] After rdq 1st training, dram_tpr12 = 0x00001819
[8007][SOFT TRAINING] Start wdq vref training
[10954][SOFT TRAINING] Highest w vref: 0x4-0x3c, high=0x3c(1051mV), delay=146
[10962][SOFT TRAINING] Max vref=0xc, Widest vref is 0x4~0x24, center=0x14
[10968][SOFT TRAINING] After wdq vref training, para->dram_add[17] = 0x94
[10990][SOFT TRAINING] Start wdq 1st training
[11059][SOFT TRAINING] Dbyte0 wdq dqs_move:0,range: 0x88~0x9d,width=22,center=0x92
[11142][SOFT TRAINING] Dbyte1 wdq dqs_move:0,range: 0x88~0x9d,width=22,center=0x92
[11149][SOFT TRAINING] After wdq 1st training, dram_tpr11 = 0x00009292
[11156][SOFT TRAINING] Start rdq 2nd training
[11700][SOFT TRAINING] After rdq 2nd training, dram_tpr12 = 0x00001819
[11707][SOFT TRAINING] After rdq 3th training, dram_tpr12 = 0x00001819
[11713][SOFT TRAINING] Start wdq 2nd training
[12285][SOFT TRAINING] After wdq 2nd training, dram_tpr11 = 0x00009292
[12292][SOFT TRAINING] After wdq 3th training, dram_tpr11 = 0x00009292
[12298][SOFT TRAINING] dram_add[16]=0x40404143,tpr11=0x00009292,tpr12=0x00001819
[12333][SOFT TRAINING] CLK=933M Stable memtest pass
[12338]DRAM CLK = 933 MHz
[12340]DRAM Type = 3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[12371] Rank0 Dbyte0 delay = 0x47
[12374] Rank0 Dbyte0 phy delay = 0x47
[12377] Rank0 Dbyte1 delay = 0x45
[12381] Rank0 Dbyte1 phy delay = 0x45
[12385] Rank0 Dbyte0 delay = 0x47
[12389] Rank0 Dbyte0 phy delay = 0x47
[12392] Rank0 Dbyte1 delay = 0x45
[12396] Rank0 Dbyte1 phy delay = 0x45
[12399]DRAM SIZE = 256 MBytes, para1 = 30ea, para2 = 1000001, dram_tpr13 = 8007071
[12410]DRAM simple test OK.
[12412]dram size = 256
[12549]Loading boot-pkg Succeed(index=0).
[12553]Entry_name = u-boot
[12564]Entry_name = optee
[12568]mmc not para
[12570]Jump to OPTEE: optee_base = 0x42900000, uboot_base = 0x43500000
M/TC: OP-TEE version: e9d62ab8 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jun 27 02:37:21 UTC 2025 arm
M/TC: OP-TEE 32bit
[12.780]ns16550_serial serial@2600000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
U-Boot 2023.04-rc4-gf6c9ec46 (Sep 19 2025 - 13:33:53 +0800) Allwinner Technology
U-Boot bsp-gfd75eab (Sep 19 2025 - 13:33:53 +0800) Allwinner Technology
14/40 CPU: SUNXI Family
Model: sun8iw22
DRAM: 256 MiB
Working FDT set to 4d640bf0
E/TC:0 fdt_getprop_u32:364 prop trace_level not found
[12.887][mmc]: mmc driver ver uboot2023:2025-04-02 14:45:00
[12.894][mmc]: get sdc_type fail and use default host:tm4.
[12.900][mmc]: Using default timing para
[12.903][mmc]: SUNXI SDMMC Controller Version:0x50530
[12.911][mmc]: 200 MHz...
[12.913][mmc]: sample: 16 - 156(ps)
[12.916]set_sunxi_flash_curdev...35:cur_sunxi_flash :mmc@04020000.sunxi_flash
SUNXI SD/MMC: 0
sunxi_spi_probe:pinctrl_select_state fail!:-38
[13.367]set_sunxi_flash_curdev...39:spr_sunxi_flash :spi-nand@0.sunxi_flash
Core: 159 devices, 28 uclasses, devicetree: separate
WDT: Not starting watchdog@0x02050000
MMC: In: serial
Out: serial
Err: serial
Net: [13.394]No ethernet found.
Hit any key to stop autoboot (Spacebar): 0
sunxi work mode=0x11
run card sprite
sunxi sprite begin
[13.407]Failed to found available display route
[13.411]Get sunxi drm device fail!
drm_fb lock for sprite cartoon fail
sprite cartoon create fail
firmware name
img start = 0x5800
try to read mmc start 22528
read mmc ok
firmware probe ok
sprite_cartoon ui progressbar: invalid progressbar pointer
fetch download map
*DOWNLOAD MAP DUMP
total download part 7
download part[0] name :boot-resource
download part[0] download file :BOOT-RESOURCE_FE
download part[0] verify file :VBOOT-RESOURCE_F
download part[0] lenlo :0x5000
download part[0] addrlo :0x800
download part[0] encrypt :0x0
download part[0] verify :0x1
download part[1] name :env
download part[1] download file :ENV_FEX000000000
download part[1] verify file :VENV_FEX00000000
download part[1] lenlo :0x800
download part[1] addrlo :0x5800
download part[1] encrypt :0x0
download part[1] verify :0x1
download part[2] name :env-redund
download part[2] download file :ENV_FEX000000000
download part[2] verify file :VENV_FEX00000000
download part[2] lenlo :0x800
download part[2] addrlo :0x6000
download part[2] encrypt :0x0
download part[2] verify :0x1
download part[3] name :amp-freertos
download part[3] download file :AMP_ARM_RTOS_FEX
download part[3] verify file :VAMP_ARM_RTOS_FE
download part[3] lenlo :0xf80
download part[3] addrlo :0x6800
download part[3] encrypt :0x0
download part[3] verify :0x1
download part[4] name :riscv0
download part[4] download file :AMP_RV0_FEX00000
download part[4] verify file :VAMP_RV0_FEX0000
download part[4] lenlo :0x7c0
download part[4] addrlo :0x7780
download part[4] encrypt :0x0
download part[4] verify :0x1
download part[5] name :boot
download part[5] download file :BOOT_FEX00000000
download part[5] verify file :VBOOT_FEX0000000
download part[5] lenlo :0xa000
download part[5] addrlo :0x8038
download part[5] encrypt :0x0
download part[5] verify :0x1
download part[6] name :rootfs
download part[6] download file :ROOTFS-UBIFS_FEX
download part[6] verify file :VROOTFS-UBIFS_FE
download part[6] lenlo :0x62686
download part[6] addrlo :0x12038
download part[6] encrypt :0x0
download part[6] verify :0x1
fetch mbr
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
MBR DUMP **
total mbr part 9
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x800
part[0] lenlo :0x5000
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x5800
part[1] lenlo :0x800
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x6000
part[2] lenlo :0x800
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :amp-freertos
part[3] classname :DISK
part[3] addrlo :0x6800
part[3] lenlo :0xf80
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :riscv0
part[4] classname :DISK
part[4] addrlo :0x7780
part[4] lenlo :0x7c0
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x7f40
part[5] lenlo :0xf8
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :boot
part[6] classname :DISK
part[6] addrlo :0x8038
part[6] lenlo :0xa000
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0
part[7] name :rootfs
part[7] classname :DISK
part[7] addrlo :0x12038
part[7] lenlo :0x62686
part[7] user_type :32768
part[7] keydata :0
part[7] ro :0
part[8] name :UDISK
part[8] classname :DISK
part[8] addrlo :0x746be
part[8] lenlo :0x0
part[8] user_type :33024
part[8] keydata :0
part[8] ro :0
MBR DUMP **
total mbr part 9
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x800
part[0] lenlo :0x5000
part[0] user_type :0x8000
part[0] keydata :0x0
part[0] ro :0x0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x5800
part[1] lenlo :0x800
part[1] user_type :0x8000
part[1] keydata :0x0
part[1] ro :0x0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x6000
part[2] lenlo :0x800
part[2] user_type :0x8000
part[2] keydata :0x0
part[2] ro :0x0
part[3] name :amp-freertos
part[3] classname :DISK
part[3] addrlo :0x6800
part[3] lenlo :0xf80
part[3] user_type :0x8000
part[3] keydata :0x0
part[3] ro :0x0
part[4] name :riscv0
part[4] classname :DISK
part[4] addrlo :0x7780
part[4] lenlo :0x7c0
part[4] user_type :0x8000
part[4] keydata :0x0
part[4] ro :0x0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x7f40
part[5] lenlo :0xf8
part[5] user_type :0x8000
part[5] keydata :0x0
part[5] ro :0x0
part[6] name :boot
part[6] classname :DISK
part[6] addrlo :0x8038
part[6] lenlo :0xa000
part[6] user_type :0x8000
part[6] keydata :0x0
part[6] ro :0x0
part[7] name :rootfs
part[7] classname :DISK
part[7] addrlo :0x12038
part[7] lenlo :0x62686
part[7] user_type :0x8000
part[7] keydata :0x0
part[7] ro :0x0
part[8] name :UDISK
part[8] classname :DISK
part[8] addrlo :0x746be
part[8] lenlo :0x0
part[8] user_type :0x8100
part[8] keydata :0x0
part[8] ro :0x0
begin to erase flash
need erase flash: 1
[14.063]Item0 (Map) magic is bad
[14.066]the secure storage item0 copy0 magic is bad
[14.071]Item0 (Map) magic is bad
[14.074]the secure storage item0 copy1 magic is bad
[14.079]Item0 (Map) magic is bad
read secure storage failed
[14.084]The partition nonsupport be initialized using the device tree
device nand0 , # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00500000 0x00100000 1
2: secure_storage 0x00100000 0x00600000 1
3: boot_param 0x00020000 0x00700000 1
4: sys 0x0f8e0000 0x00720000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,5120k@1048576(uboot)ro,1024k@6291456(secure_storage)ro,128k@7340032(boot_param)ro,-(sys)
mtd name:sys index:5
ubi0: attaching mtd5
ubi0: fixable bit-flip detected at PEB 341
ubi0: scanning is finished
ubi0: attached mtd5 (name "sys", size 248 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1991, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 1991, PEBs reserved for bad PEB handling: 40
ubi0: scrubbed PEB 341 (LEB 8:1074), data moved to PEB 563
private part exist
read local mbr
GPT:boot-resource: 800 57ff
GPT:env : 5800 5fff
GPT:env-redund : 6000 67ff
GPT:amp-freertos: 6800 777f
GPT:riscv0 : 7780 7f3f
GPT:private : 7f40 8037
GPT:boot : 8038 12037
GPT:rootfs : 12038 746bd
GPT:UDISK : 746be 746bd
begin to store data
part 0 name boot-resource
keydata = 0x0
part 1 name env
keydata = 0x0
part 2 name env-redund
keydata = 0x0
part 3 name amp-freertos
keydata = 0x0
part 4 name riscv0
keydata = 0x0
part 5 name private
keydata = 0x0
find keypart private
keypart read start: 0x7f40, sectors 0xf8
keypart part private read 0x7f40, sectors 0xf8
part 6 name boot
keydata = 0x0
part 7 name rootfs
keydata = 0x0
part 8 name UDISK
keydata = 0x0
begin to erase
finish erase
rewrite
device nand0 , # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00500000 0x00100000 1
2: secure_storage 0x00100000 0x00600000 1
3: boot_param 0x00020000 0x00700000 1
4: sys 0x0f8e0000 0x00720000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,5120k@1048576(uboot)ro,1024k@6291456(secure_storage)ro,128k@7340032(boot_param)ro,-(sys)
ubi0: detaching mtd5
ubi0: mtd5 is detached
mtd name:sys index:5
ubi0: attaching mtd5
ubi0: scanning is finished
ubi0: empty MTD device detected
ubi0: attached mtd5 (name "sys", size 248 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1991, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 1947, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
Creating static volume mbr of size 1142784
Creating dynamic volume boot-resource of size 10539008
Creating dynamic volume env of size 1142784
Creating dynamic volume env-redund of size 1142784
Creating dynamic volume amp-freertos of size 2031616
Creating dynamic volume riscv0 of size 1015808
Creating dynamic volume private of size 126976
Creating dynamic volume boot of size 21078016
Creating dynamic volume rootfs of size 206462976
No size specified -> Using max size (2539520)
Creating dynamic volume UDISK of size 2539520
Please see usage
Please see usage
keypart write start: 0x7f40, sectors 0xf8
flash exit
successed in erasing flash
device nand0 , # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00500000 0x00100000 1
2: secure_storage 0x00100000 0x00600000 1
3: boot_param 0x00020000 0x00700000 1
4: sys 0x0f8e0000 0x00720000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,5120k@1048576(uboot)ro,1024k@6291456(secure_storage)ro,128k@7340032(boot_param)ro,-(sys)
ubi0: detaching mtd5
ubi0: mtd5 is detached
mtd name:sys index:5
ubi0: attaching mtd5
ubi0: scanning is finished
ubi0: attached mtd5 (name "sys", size 248 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1991, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 1991, PEBs reserved for bad PEB handling: 40
Please see usage
Please see usage
sprite_cartoon ui progressbar: invalid progressbar pointer
begin to download part
begin to download part boot-resource
partdata hi 0x0
partdata lo 0x739c00
sparse: bad magic
successed in writting part boot-resource
origin_verify value = 2791cb46, active_verify value = 2791cb46
successed in verify part boot-resource
successed in download part boot-resource
begin to download part env
partdata hi 0x0
partdata lo 0x20000
sparse: bad magic
successed in writting part env
origin_verify value = d849a62d, active_verify value = d849a62d
successed in verify part env
successed in download part env
begin to download part env-redund
partdata hi 0x0
partdata lo 0x20000
sparse: bad magic
successed in writting part env-redund
origin_verify value = d849a62d, active_verify value = d849a62d
successed in verify part env-redund
successed in download part env-redund
begin to download part amp-freertos
partdata hi 0x0
partdata lo 0x45518
sparse: bad magic
successed in writting part amp-freertos
origin_verify value = 41c41909, active_verify value = 41c41909
successed in verify part amp-freertos
successed in download part amp-freertos
begin to download part riscv0
partdata hi 0x0
partdata lo 0x45518
sparse: bad magic
successed in writting part riscv0
origin_verify value = 41bd1902, active_verify value = 41bd1902
successed in verify part riscv0
successed in download part riscv0
begin to download part boot
partdata hi 0x0
partdata lo 0x749800
sparse: bad magic
successed in writting part boot
origin_verify value = fcfd6ea1, active_verify value = fcfd6ea1
successed in verify part boot
successed in download part boot
begin to download part rootfs
partdata hi 0x0
partdata lo 0x83a1000
sparse: bad magic
successed in writting part rootfs
origin_verify value = e46a0df, active_verify value = e46a0df
successed in verify part rootfs
successed in download part rootfs
successed in downloading part
sprite_cartoon ui progressbar: invalid progressbar pointer
[77.841]set_sunxi_flash_curdev...39:spr_sunxi_flash :spi-nand@0.sunxi_flash
sunxi_sprite_deal_uboot ok
successed in downloading uboot
sprite_cartoon ui progressbar: invalid progressbar pointer
[78.849]set_sunxi_flash_curdev...39:spr_sunxi_flash :spi-nand@0.sunxi_flash
fdt_node_name:/soc/sunxi_flashmap/nand_map/partition0 not find
[78.861]get boot param offset = 0, default:0x700000
fdt_node_name:/soc/sunxi_flashmap/nand_map/partition0 not find
[78.871]get boot param offset = 0, default:0x700000
fdt_node_name:/soc/sunxi_flashmap/nand_map/partition0 not find
[78.882]boot param partition not found
successed in downloading boot0
sprite_cartoon ui progressbar: invalid progressbar pointer
CARD OK
sprite success
sprite_next_work=3
烧写完成的log跟飞凌的文档介绍的有点区别,先不管了。断电拔出卡,再上电开机看看。
......
[260]HELLO! BOOT0 is starting!
[263]BOOT0 commit : {06543bc6-dirty}
[267][pmu]: bus read error
[270]set pll start
[271]set pll end
[273]vaild para:1 select dram para0
[276]ic board init ok
[279]mode:0x1 sample delay:0x1d
[282]OperationOpt:7
[284]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 48
[289]BOOT_PARAM_OFFSET:0x700000
[293]DRAM BOOT DRIVE INFO: V0.16
[296]DRAM use external ZQ
[298]DRAM CLK = 933 MHz
[301]DRAM Type = 3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[331] Rank0 Dbyte0 delay = 0x0
[334] Rank0 Dbyte0 phy delay = 0x0
[337] Rank0 Dbyte1 delay = 0x0
[340] Rank0 Dbyte1 phy delay = 0x0
[345] Rank0 Dbyte0 delay = 0x47
[348] Rank0 Dbyte0 phy delay = 0x47
[351] Rank0 Dbyte1 delay = 0x45
[354] Rank0 Dbyte1 phy delay = 0x45
[358]DRAM SIZE = 256 MBytes, para1 = 30ea, para2 = 1000001, dram_tpr13 = 8007071
[368]DRAM simple test OK.
[371]dram size = 256
[373]mode:0x1 sample delay:0x1d
[376]OperationOpt:7
[378]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 48
[383]block from 8 to 48
[512]Check is correct. Find a good uboot copy at block 8
[517]dma 0x4f6f8 int is not used yet
[520]dma 0x4f6f8 int is free, you do not need to free it again
[526]Entry_name = u-boot
[537]Entry_name = optee
[541]Jump to OPTEE: optee_base = 0x42900000, uboot_base = 0x43500000
M/TC: OP-TEE version: e9d62ab8 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jun 27 02:37:21 UTC 2025 arm
M/TC: OP-TEE 32bit
[00.748]ns16550_serial serial@2600000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
U-Boot 2023.04-rc4-gf6c9ec46 (Sep 19 2025 - 13:33:53 +0800) Allwinner Technology
U-Boot bsp-gfd75eab (Sep 19 2025 - 13:33:53 +0800) Allwinner Technology
14/40 CPU: SUNXI Family
Model: sun8iw22
DRAM: 256 MiB
Working FDT set to 4d640bf0
E/TC:0 fdt_getprop_u32:364 prop trace_level not found
sunxi_spi_probe:pinctrl_select_state fail!:-38
[00.866]set_sunxi_flash_curdev...45:cur_sunxi_flash :spi-nand@0.sunxi_flash
[00.872]The partition nonsupport be initialized using the device tree
device nand0 , # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00500000 0x00100000 1
2: secure_storage 0x00100000 0x00600000 1
3: boot_param 0x00020000 0x00700000 1
4: sys 0x0f8e0000 0x00720000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,5120k@1048576(uboot)ro,1024k@6291456(secure_storage)ro,128k@7340032(boot_param)ro,-(sys)
mtd name:sys index:5
ubi0: attaching mtd5
ubi0: scanning is finished
ubi0: attached mtd5 (name "sys", size 248 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1991, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 1991, PEBs reserved for bad PEB handling: 40
Core: 154 devices, 27 uclasses, devicetree: separate
WDT: Not starting watchdog@0x02050000
MMC:
In: serial
Out: serial
Err: serial
[01.697]skip update boot_param
get 50 probe success
FORLINX: auth pass!
Writing to env...
Net: [01.852]No ethernet found.
bmp_name=bootlogo.bmp
[02.000]Fail to get reset clk for rst_bus_de_sys
[02.004]Fail to get de's irq!
[02.022]failed to request regulator(power0-supply): -2
[02.026]failed to request regulator(power1-supply): -2
[02.031]failed to request regulator(power2-supply): -2
[02.036]failed to request enable0-gpios GPIO: -2
[02.040]failed to request enable1-gpios GPIO: -2
[02.045]failed to request enable2-gpios GPIO: -2
[02.049]failed to request reset GPIO: -2
[02.053]panel_lvds_probe: Cannot get backlight: -19
[02.059]Using display timing dts
lvds0@0002000: detailed mode clock 72000 kHz, flags[5]
H: 1280 1420 1430 1440
V: 0800 0802 0822 0823
bus_format: 1011
2160122 bytes read in 135 ms (15.3 MiB/s)
[02.226]no free wb active signal slot
failed to request enable1-gpios
failed to request enable2-gpios
Working FDT set to 42000000
ret 0
[02.512]The storage not support sample function
[02.527]Item0 (Map) magic is bad
Hit any key to stop autoboot (Spacebar): 0
SUNXI AMP: sunxi amp cpu on finish
Android's image name: sun8i_arm
Kernel load addr 0x40008000 size 7348 KiB
Booting using the fdt blob at 0x42000000
Working FDT set to 42000000
XIP Kernel Image
Using Device Tree in place at 42000000, end 42042fff
Working FDT set to 42000000
[04.388]can`t not get hyper image base in /chosen/hyper
[ 0.000000] OF: reserved mem: OVERLAP DETECTED!
[ 0.000000] arm_rtos_mem_fw@44000000 (0x44000000--0x44200000) overlaps with e907_mem_fw@44000000 (0x44000000--0x44200000)
[ 0.000000] AW BSP version: 4483a49eab, 2025-09-11 13:12:43 +0800
[ 0.002684] /cpus/cpu@0 missing clock-frequency property
[ 0.002714] /cpus/cpu@1 missing clock-frequency property
[ 0.002736] /cpus/cpu@2 missing clock-frequency property
[ 0.002759] /cpus/cpu@3 missing clock-frequency property
[ 0.077433] sunxi:ccu-nglosc not stable, 32K clk will use 16M as parent!
[ 0.083458] sunxi:ccu-nglosc not stable, 32K clk will use 16M as parent!
[ 0.089471] sunxi:ccu-nglosc not stable, 32K clk will use 16M as parent!
[ 0.120504] sunxi:pwmcs-20a0000.pwmcs0:[ERR]: base is 0, num is 8
[ 0.121641] sunxi:pwmcs-20b0000.pwmcs1:[ERR]: base is 8, num is 8
[ 0.360782] sunxi:sunxi_mmc_host-4020000.sdmmc:[ERR]: manual set ocr
[ 0.395763] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: manual set ocr
[ 0.422684] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 52, RTO !!
[ 0.423520] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 52, RTO !!
[ 0.716567] mdio_bus stmmac-0: MDIO device at address 1 is missing.
[ 0.799270] sunxi:irrx-2083000.irrx:[ERR]: sunxi_irrx_resource_get: get ir protocol failed
[ 0.859639] sunxi:sunxi_sid:[ERR]: Fail to read 'dvfs2_ori' in dts
[ 0.878203] sunxi-can 453c800.can0: can sys reset deasserted
[ 0.911050] sunxi:twi-2513000.twi3:[ERR]: drv-mode: Timeout when sending 9th SCL clk
[ 0.919701] sunxi:twi-2513000.twi3:[ERR]: drv mode: TWI BUS error state is drv:0x1 eng:0x20
[ 0.929022] sunxi:twi-2513000.twi3:[ERR]: drv-mode: xfer failed (dev addr:0x51)
[ 0.937198] rtc-pcf8563 3-0051: pcf8563_write_block_data: err=-22 addr=0e, data=03
[ 0.945651] rtc-pcf8563 3-0051: pcf8563_probe: write error
[ 1.064449] sunxi:twi-2513000.twi3:[ERR]: drv-mode: Timeout when sending 9th SCL clk
[ 1.073097] sunxi:twi-2513000.twi3:[ERR]: drv mode: TWI BUS error state is drv:0x1 eng:0x20
[ 1.082420] sunxi:twi-2513000.twi3:[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 1.090589] Goodix-TS 3-0014: i2c test failed attempt 1: -22
[ 1.134441] sunxi:twi-2513000.twi3:[ERR]: drv-mode: Timeout when sending 9th SCL clk
[ 1.143084] sunxi:twi-2513000.twi3:[ERR]: drv mode: TWI BUS error state is drv:0x1 eng:0x20
[ 1.152403] sunxi:twi-2513000.twi3:[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 1.160569] Goodix-TS 3-0014: i2c test failed attempt 2: -22
[ 1.204400] Goodix-TS 3-0014: I2C communication failure: -22
[ 1.895053] debugfs: Directory 'soc@3000000:codec_plat' with parent 'audiocodec' already present!
[ 1.907790] debugfs: Directory '2033000.i2s1_plat' with parent 'sndi2s1' already present!
[ 2.121522] sunxi-rfkill soc@3000000:rfkill: get gpio chip_en failed
[ 2.128636] sunxi-rfkill soc@3000000:rfkill: get gpio power_en failed
[ 2.136108] sunxi-rfkill soc@3000000:rfkill: get gpio wlan_regon failed
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [ 16.369524] udevd[149]: specified group 'input' unknown
[ 16.376043] udevd[149]: specified group 'kvm' unknown
[ 16.398514] udevd[149]: specified group 'xenomai' unknown
[ 16.441522] udevd[150]: specified group 'input' unknown
[ 16.448187] udevd[150]: specified group 'kvm' unknown
[ 16.460221] udevd[150]: specified group 'xenomai' unknown
done
Saving random seed: OK
Starting system message bus: dbus[229]: Unknown username "pulse" in message bus configuration file
done
Starting iptables: OK
wlan0 Link encap:Ethernet HWaddr 78:BE:81:20:30:16
Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 3.1.8c8cc93.20230801-094614
Realtek Bluetooth :Use epoll
Starting network: Realtek Bluetooth :[SYNC] Get SYNC Resp Pkt
Realtek Bluetooth :[CONFIG] Get SYNC pkt
Realtek Bluetooth :[CONFIG] Get CONFG pkt
Realtek Bluetooth :[CONFIG] Get CONFG resp pkt
Realtek Bluetooth :dic is 1, cfg field 0x14
Realtek Bluetooth :H5 init finished
Realtek Bluetooth :Realtek H5 IC
Realtek Bluetooth :Receive cmd complete event of command: fc61
Realtek Bluetooth :LMP Subversion 0xbeef
Realtek Bluetooth :Receive cmd complete event of command: 1001
Realtek Bluetooth :HCI Version 0x08
Realtek Bluetooth :HCI Revision 0x000c
Realtek Bluetooth :LMP Subversion 0x8821
Realtek Bluetooth :Receive cmd complete event of command: fc6d
Realtek Bluetooth :Read ROM version 01
Realtek Bluetooth :LMP Subversion 0x8821
Realtek Bluetooth :EVersion 1
Realtek Bluetooth :IC: RTL8821CS
Realtek Bluetooth :Firmware/config: rtl8821c_fw, rtl8821c_config
Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory
Realtek Bluetooth :Couldnt open BT MAC file /opt/bdaddr, No such file or directory
Realtek Bluetooth :Origin cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Config baudrate: 04928002
Realtek Bluetooth :uart flow ctrl: 1
Realtek Bluetooth :Vendor baud from Config file: 04928002
Realtek Bluetooth :New cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8821c_fw OK, size 54892
Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 10
Realtek Bluetooth :FW version 0x0bc6d607, Patch num 2
Realtek Bluetooth :Chip id 0x0001
Realtek Bluetooth :Chip id 0x0002
Realtek Bluetooth :Patch length 0x8964
Realtek Bluetooth :Start offset 0x00004cc0
Realtek Bluetooth :Svn version: 199569780
Realtek Bluetooth :Coexistence: BTCOEX_20220309-5b5b
Realtek Bluetooth :FW exists, Config file exists
Realtek Bluetooth :Total len 35213 for fwc
Realtek Bluetooth :baudrate in change speed command: 0x02 0x80 0x92 0x04
Realtek Bluetooth :Receive cmd complete event of command: fc17
Realtek Bluetooth :Received cc of vendor change baud
bluetoothd[241]: Bluetooth daemon 5.54
Realtek Bluetooth :Final speed 1500000
Realtek Bluetooth :end_idx: 139, lp_len: 185, additional pkts: 7
Realtek Bluetooth :Start downloading...
bluetoothd[241]: Starting SDP server
bluetoothd[241]: Failed to init battery plugin
bluetoothd[241]: Bluetooth management interface 1.18 initialized
OK
starting weston... done.
usb0 current mode:
Starting adb: Realtek Bluetooth :Send additional packet 13
Realtek Bluetooth :Send additional packet 14
Realtek Bluetooth :Send additional packet 15
Realtek Bluetooth :Send additional packet 16
Realtek Bluetooth :Send additional packet 17
Realtek Bluetooth :Send additional packet 18
Realtek Bluetooth :Last packet 147
Realtek Bluetooth :Send last pkt
Realtek Bluetooth :Enable host hw flow control
Date: 2025-11-12 CST
[05:46:01.753] weston 10.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 10.0.0
[05:46:01.753] Command line: /usr/bin/weston --backend=drm-backend.so --tty=1 --use-pixman
[05:46:01.753] OS: Linux, 5.10.198, #3 SMP PREEMPT Fri Sep 19 12:43:20 CST 2025, armv7l
[05:46:01.753] Flight recorder: enabled
[05:46:01.753] 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.
OK
[05:46:01.761] Using config file '/etc/xdg/weston/weston.ini'
init adb main
Handling main()
[05:46:01.775] Output repaint window is -1 ms maximum.
[05:46:01.779] Loading module '/usr/lib/libweston-10/drm-backend.so'
[05:46:01.788] initializing drm backend
[05:46:01.789] Trying weston_launch launcher...
[05:46:01.789] could not get launcher fd from env
[05:46:01.789] Trying direct launcher...
[05:46:01.796] using /dev/dri/card0
[05:46:01.797] DRM: supports atomic modesetting
[05:46:01.797] DRM: supports GBM modifiers
[05:46:01.797] DRM: supports picture aspect ratio
[05:46:01.799] couldn't fstat launcher tty: Bad file descriptor
ssh-keygen: generating new host keys: RSA [05:46:01.886] event0 - sunxi_ir_recv: is tagged by udev as: Keyboard Pointingstick Joystick
[05:46:01.888] event0 - sunxi_ir_recv: device is a pointer
[05:46:01.888] event0 - sunxi_ir_recv: device is a keyboard
[05:46:01.894] event1 - sunxi-gpadc2/channel0/input0: not tagged as supported input device
Realtek Bluetooth :h5_hci_reset: Issue hci reset cmd
[05:46:02.010] event1 - not using input device '/dev/input/event1'
[05:46:02.012] event2 - sunxi-gpadc2/channel1/input0: not tagged as supported input device
Realtek Bluetooth :Receive cmd complete event of command: 0c03
Realtek Bluetooth :Received cc of hci reset cmd
Realtek Bluetooth :Init Process finished
Realtek Bluetooth :Realtek Bluetooth post process
Realtek Bluetooth :Device setup complete
[05:46:02.100] event2 - not using input device '/dev/input/event2'
[05:46:02.102] event3 - sunxi-gpadc2/channel2/input0: not tagged as supported input device
[05:46:02.200] event3 - not using input device '/dev/input/event3'
[05:46:02.202] event4 - sunxi-gpadc2/channel3/input0: not tagged as supported input device
[05:46:02.320] event4 - not using input device '/dev/input/event4'
[05:46:02.322] event6 - audiocodec Headphones: is tagged by udev as: Keyboard Switch
[05:46:02.322] event6 - audiocodec Headphones: device is a keyboard
[05:46:02.324] event5 - soc@3000000:gpio-keys: is tagged by udev as: Keyboard
[05:46:02.324] event5 - soc@3000000:gpio-keys: device is a keyboard
[05:46:02.413] libinput: configuring device "sunxi_ir_recv".
[05:46:02.414] libinput: configuring device "audiocodec Headphones".
[05:46:02.414] libinput: configuring device "soc@3000000:gpio-keys".
[05:46:02.417] DRM: head 'LVDS-1' updated, connector 115 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:46:02.418] DRM: head 'LVDS-1' found, connector 115 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:46:02.418] Registered plugin API 'weston_drm_output_api_v1' of size 12
[05:46:02.419] Color manager: no-op
[05:46:02.422] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
[05:46:02.427] DRM: output LVDS-1 uses shadow framebuffer.
[05:46:02.427] Output LVDS-1 (crtc 100) video modes:
1280x800@60.8, preferred, current, 72.0 MHz
[05:46:02.427] associating input device event0 with output LVDS-1 (none by udev)
[05:46:02.427] associating input device event6 with output LVDS-1 (none by udev)
[05:46:02.427] associating input device event5 with output LVDS-1 (none by udev)
[05:46:02.427] Output 'LVDS-1' enabled with head(s) LVDS-1
[05:46:02.427] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[05:46:02.429] Loading module '/usr/lib/weston/desktop-shell.so'
[05:46:02.437] launching '/usr/libexec/weston-keyboard'
[05:46:02.441] 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.
[05:46:02.448] launching '/usr/libexec/weston-desktop-shell'
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'
DSA ECDSA ED25519
Starting sshd: OK
start matrix browser
/etc/init.d/S60Matrix_Browser: line 9: warning: setlocale: LC_ALL: cannot change locale (zh_CN.utf8): No such file or directory
formating /dev/by-name/UDISK to vfat...
mkfs.fat 4.2 (2021-01-31)
Cannot initialize conversion from codepage 850 to ANSI_X3.4-1968: Invalid argument
Cannot initialize conversion from ANSI_X3.4-1968 to codepage 850: Invalid argument
Using internal CP850 conversion table
mkfs.vfat: unable to discover size of /dev/by-name/UDISK
Starting linuxptp daemon: OK
Starting linuxptp system clock synchronization: OK
Starting vsftpd: OK
Starting HPA's tftpd: done
Changing password for forlinx
New password:
Bad password: similar to username
Retype password:
passwd: password for forlinx changed by root
Trying to connect to SWUpdate...
boot total use 30903 ms
swu_param: ####
swu_software: ####
swu_mode: ####
no swupdate_cmd to run, wait for next swupdate
root@OKT153:/# QStandardPaths: runtime directory '/var/run' is not a directory, but a symbolic link to a directory permissions 0755 owned by UID 0 GID 0
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ()
root@OKT153:/#
root@OKT153:/#
root@OKT153:/#
root@OKT153:/#
开机了,但是udev卡了14秒,我还以为起不来了。
好了,进入系统了。从log可以看出启动的服务非常之多。以后我将会对系统和驱动进行裁剪,毕竟BSP定制是我们公司的主营业务。
下期,编写程序测试一下232/485/,操作一下RTC时钟,配置一下网络,ssh连一下,对外设接口做个测试。
更多回帖