我使用官方默认tina-v853-open SDK 加 Yuzukilizard-v851s-TinaSDK,采用buildroot方式编译,使用官方提供的build.sh脚本,./build.sh config 的具体选择如下:
烧录编译的镜像后,系统无法启动,串口打印有如下打印:
[24]HELLO! BOOT0 is starting!
[27]BOOT0 commit : 4b419f21ba
[114][pmu]: bus read error
[117]set pll start
[119]periph0 has been enabled
[122]set pll end
[123]board init ok
[126]DRAM use internal ZQ!!
[128]ZQ value = 0x2e
[130]chip id check OK
[132]POWER SETTING ERROR!
[135]DRAM BOOT DRIVE INFO: V0.16
[138]DRAM CLK = 528 MHz
[140]DRAM Type = 2 (2:DDR2,3:DDR3)
[144]DRAMC read ODT off.
[146]DRAM ODT off.
[149]DRAM SIZE =64 M
[151]dram_tpr4:0x0
[158]DRAM simple test OK.
[161]rtc standby flag is 0x0, super standby flag is 0x0
[166]dram size =64
[169]audio:avcc calibration
[172]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[177]block from 8 to 32
[557]Check is correct.
[559]Entry_name = optee
[562]Entry_name = u-boot
[571]Entry_name = dtb
[574]Jump to second Boot.
M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
E/TC:0 0 platform_standby_fdt_parse:133 no pmu node
E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
[00.652]CPU: Allwinner Family
[00.655]Model: sun8iw21
I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed.
ready
[00.715]DRAM: 64 MiB
[00.719]Relocation Offset is: 00ed0000
[00.752]secure enable bit: 0
E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND
[00.767]smc_tee_inform_fdt failed with: ffff0000
[I2C-ERROR]:twi_stop() 339 STOP can't sendout!
[00.777]pmu_axp2101_probe pmic_bus_read fail
[I2C-ERROR]:twi_stop() 339 STOP can't sendout!
[00.785]bmu_axp2101_probe pmic_bus_read fail
[00.789]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
[00.795]gic: sec monitor mode
sunxi flash map init
[00.800]flash init start
[00.802]workmode = 0,storage type = 0
[00.809]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:17
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.924]ubi0: attaching mtd4
[01.149]ubi0: scanning is finished
[01.159]ubi0: attached mtd4 (name "sys", size 123 MiB)
[01.164]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[01.170]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[01.176]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[01.182]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[01.188]ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
[01.194]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01.202]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[01.211]sunxi flash init ok
[01.213]line:724 init_clocks
[01.216]drv_disp_init
request pwm success, pwm6:pwm6:0x2000c00.
[01.231]drv_disp_init finish
[01.371]Loading Environment from SUNXI_FLASH... [01.375]offset 0x81f8 with sects 0x200 over volume env [0x81f8 0x83f0)
[01.382]get partno from nand_mbr failed: offset 0x81f8 sects 512
*** Warning - read failed, using default environment
Failed (-5)
[01.394]boot_gui_init:start
[01.396]set disp.dev2_output_type fail. using defval=0
[01.401]LCD open finish
[01.404]boot_gui_init:finish
partno erro : can't find partition bootloader
** Unrecognized filesystem type **
[01.437]sunxi bmp info error : unable to open logo file bootlogo.bmp
[01.445]Item0 (Map) magic is bad
[01.448]out of usb burn from boot: not need burn key
[01.476]update bootcmd
[01.501]change working_fdt 0x41e8fe70 to 0x41e6fe70
[01.513]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
[01.522]update dts
Hit any key to stop autoboot: 0
## Error: "distro_bootcmd" not defined
请问是我编译有误吗?还是说sdk中的buildroot方式不支持该开发板?