使用开发板推送代码tina-v853-open,编译能通过,pack后只有12M的镜像文件,使用烧录软件进行烧录时可以执行烧录,但烧录完成后没及时拨USB或关闭烧录软件时会自动重复烧录。在正常完成烧录成功后关闭烧录软件,重启开发板,显示屏没看到任何东西,背光也不亮。
编译信息如下:
Generating index for package ./libubus20210630_2021-06-30-4fc532c8-2_arm_cortex-a7_neon.ipk
Generating index for package ./libuci20130104_2021-04-14-4b3db117-5_arm_cortex-a7_neon.ipk
Generating index for package ./libuclient20201210_2021-05-14-6a6011df-1_arm_cortex-a7_neon.ipk
Generating index for package ./libunwind8_1.5.0-1_arm_cortex-a7_neon.ipk
Generating index for package ./libuuid1_2.36.1-2_arm_cortex-a7_neon.ipk
Generating index for package ./libxml2_2.9.9-3_arm_cortex-a7_neon.ipk
Generating index for package ./memtester_4.3.0-1_arm_cortex-a7_neon.ipk
Generating index for package ./netifd_2021-10-30-8f82742c-1_arm_cortex-a7_neon.ipk
Generating index for package ./rwcheck_1-1_arm_cortex-a7_neon.ipk
Generating index for package ./terminfo_6.2-3_arm_cortex-a7_neon.ipk
Generating index for package ./tinyalsa-lib_1.1.1-34ffa583936aeb6938636c9c0a26a322b69b0d26_arm_cortex-a7_neon.ipk
Generating index for package ./tinyalsa-utils_1.1.1-34ffa583936aeb6938636c9c0a26a322b69b0d26_arm_cortex-a7_neon.ipk
Generating index for package ./tslib_1.22-2_arm_cortex-a7_neon.ipk
Generating index for package ./ubus_2021-06-30-4fc532c8-2_arm_cortex-a7_neon.ipk
Generating index for package ./ubusd_2021-06-30-4fc532c8-2_arm_cortex-a7_neon.ipk
Generating index for package ./uclibcxx_0.2.5-3_arm_cortex-a7_neon.ipk
Generating index for package ./uclient-fetch_2021-05-14-6a6011df-1_arm_cortex-a7_neon.ipk
Generating index for package ./wireless-regdb_2021.08.28-1_all.ipk
Generating index for package ./wirelesscommon_1.0.0-1_arm_cortex-a7_neon.ipk
Generating index for package ./wpa-cli_2020-06-08-5a8b3662-40_arm_cortex-a7_neon.ipk
Generating index for package ./wpad-basic_2020-06-08-5a8b3662-40_arm_cortex-a7_neon.ipk
Generating index for package ./xr829-firmware_1_arm_cortex-a7_neon.ipk
Generating index for package ./xr829-rftest_1.0.0-1_arm_cortex-a7_neon.ipk
Generating index for package ./zlib_1.2.11-4_arm_cortex-a7_neon.ipk
make[2]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
export MAKEFLAGS= ;/v850sSoftware/tina-v853-open/prebuilt/hostbuilt/make4.1/bin/make -w -r json_overview_image_info
make[2]: Entering directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
make[2]: Nothing to be done for ‘json_overview_image_info’.
make[2]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
export MAKEFLAGS= ;/v850sSoftware/tina-v853-open/prebuilt/hostbuilt/make4.1/bin/make -w -r checksum
make[2]: Entering directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
make[2]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
make[1]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
make: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
INFO: build bootimg …
INFO: Prepare toolchain …
Building kernel
/v850sSoftware/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm/boot/dts/board.dtb
Building modules, stage 2.
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
MODPOST 16 modules
Kernel: arch/arm/boot/uImage is ready
‘arch/arm/boot/Image’ → ‘output/bImage’
‘arch/arm/boot/uImage’ → ‘output/uImage’
‘arch/arm/boot/zImage’ → ‘output/zImage’
Copy rootfs.cpio.gz for arm
Building modules
[GPU]: No GPU type is configured in /v850sSoftware/tina-v853-open/kernel/linux-4.9/.config.
regenerate rootfs cpio
cpio: dev/ttyP0 not created: newer or same age version exists
cpio: dev/ttyP1 not created: newer or same age version exists
cpio: dev/ttyp3 not created: newer or same age version exists
cpio: dev/ttyp2 not created: newer or same age version exists
16149 blocks
16149 blocks
build_ramfs
Copy boot.img to output directory …
./scripts/build.sh
sun8iw21p1 compile Kernel successful
INFO: ----------------------------------------
INFO: build Tina OK.
INFO: ----------------------------------------
pack信息如下:
INFO: /v850sSoftware/tina-v853-open/out/v851s/common/keys
ERROR: Dependence broken. Firmware maybe incorrect & cannot booting up…
copying tools file
copying configs file
copying product configs file
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/aultls32.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/aultools.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot_package.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot_package.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot_package_nor.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/cardscript.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/cardscript_secure.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/cardtool.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/diskfs.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/dragon_toc.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/env.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/env_burn.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/esm.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/image.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/image_crashdump.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/image_linux.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/image_nor.cfg
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/jffs2.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/overlay.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/split_xxxx.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sunxi.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_config.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition_dump.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition_nor.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition_private.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/toc0.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/toc0_ft.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/toc1.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/usbtool.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/usbtool_crash.fex
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/usbtool_test.fex
copying boot resource
copying boot file
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/boot0_nand_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_nand.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/boot0_sdcard_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_sdcard.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/boot0_spinor_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_spinor.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/fes1_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/fes1.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/u-boot-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/optee_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/optee.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/optee_sun8iw21p1-monitor.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/optee.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/u-boot-spinor-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot-spinor.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s/bin/u-boot-spinor-secure-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot-spinor-secure.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/boot0_nand_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_nand.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/boot0_sdcard_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_sdcard.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/boot0_spinor_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/boot0_spinor.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/fes1_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/fes1.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/u-boot-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/optee_sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/optee.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/optee_sun8iw21p1-monitor.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/optee.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/u-boot-spinor-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot-spinor.fex’
‘/v850sSoftware/tina-v853-open/device/config/chips/v851s//bin/u-boot-spinor-secure-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot-spinor-secure.fex’
copying boot file 2.0
‘/v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/u-boot-sun8iw21p1.bin’ → ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/u-boot.fex’
copying additional files
handle partition_size
sunxi_dtb create
p=soc c=product state=0
p=soc c=power_sply state=0
p=soc c=target state=0
p=soc c=card_boot state=0
p=soc c=card0_boot_para state=0
p=soc c=card2_boot_para state=0
p=soc c=spinor_para state=0
p=soc c=twi_para state=0
p=soc c=uart_para state=0
p=soc c=jtag_para state=0
p=soc c=dram state=0
Conver script to dts ok.
update optee
commit : 77d9f87226
sboot file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sboot.bin
script file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_config.bin
update:unable to open sboot file
script update sboot ok
do not set LINUX_DTBO_FILE
pack boot package
content_count=3
2:LICHEE_REDUNDANT_ENV_SIZE:
16149 blocks
16149 blocks
packing for linux
normal
make user resource for : sys_partition.fex
handle partition user-res
no user resource partitions
APP_PART_DOWNLOAD_FILE = /v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/app.fex
Need size of filesystem
no data resource partitions
show sys_partition.fex message
[mbr]
mbr_size : 4096 Kbyte
partition_name : boot-res
partition_size : 1024
downloadfile : boot-resource.fex
boot-resource.fex size : 42K byte
partition_name : env
partition_size : 512
downloadfile : env.fex
env.fex size : 128K byte
partition_name : boot
partition_size : 25200
downloadfile : boot.fex
boot.fex → /v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/boot.img
boot.img size : 7.5M byte
partition_name : rootfs
partition_size : 45360
downloadfile : rootfs.fex
rootfs.fex → /v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/rootfs.img
rootfs.img size : 1.7M byte
partition_name : rootfs_data
partition_size : 102400
partition_name : UDISK
commit : f7388902e9-dirty
mbr count = 4
partitation file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition.bin
mbr_name file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sunxi_mbr.fex
download_name file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/dlinfo.fex
mbr size = 4096
mbr magic softw411
disk name=boot-res
disk name=env
disk name=boot
disk name=rootfs
disk name=rootfs_data
disk name=UDISK
this is not a partition key
update_for_part_info 0
crc 0 = 70a11833
crc 1 = e51c496e
crc 2 = 80aabcc8
crc 3 = 1517ed95
MBR addr = 0x2000,logic_offset = 0xa000 GPT:boot-res : c000 c3ff
MBR addr = 0x2400,logic_offset = 0xa000 GPT:env : c400 c5ff
MBR addr = 0x2600,logic_offset = 0xa000 GPT:boot : c600 1286f
MBR addr = 0x8870,logic_offset = 0xa000 GPT:rootfs : 12870 1d99f
MBR addr = 0x139a0,logic_offset = 0xa000 GPT:rootfs_data : 1d9a0 3699f
MBR addr = 0x2c9a0,logic_offset = 0xa000 GPT:UDISK : 369a0 ffffffde
gpt_head->header_crc32 = 0xfa759068
GPT----part num 6—
gpt_entry: 128
gpt_header: 92
GPT:boot-res : c000 c3ff
GPT:env : c400 c5ff
GPT:boot : c600 1286f
GPT:rootfs : 12870 1d99f
GPT:rootfs_data : 1d9a0 3699f
GPT:UDISK : 369a0 ffffffde
update gpt file ok
update mbr file ok
commit : f7388902e9-dirty
temp = 20
mbr count = 4 total_sectors = 15269888 logic_offset = 20 media = 0
partitation file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sys_partition.bin
mbr_name file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/sunxi_mbr.fex
download_name file Path=/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out/dlinfo.fex
mbr size = 4096
mbr magic softw411
disk name=boot-res
disk name=env
disk name=boot
disk name=rootfs
disk name=rootfs_data
disk name=UDISK
this is not a partition key
update_for_part_info 0
crc 0 = 70a11833
crc 1 = e51c496e
crc 2 = 80aabcc8
crc 3 = 1517ed95
MBR addr = 0x2000,logic_offset = 0x14 GPT:boot-res : 2014 2413
MBR addr = 0x2400,logic_offset = 0x14 GPT:env : 2414 2613
MBR addr = 0x2600,logic_offset = 0x14 GPT:boot : 2614 8883
MBR addr = 0x8870,logic_offset = 0x14 GPT:rootfs : 8884 139b3
MBR addr = 0x139a0,logic_offset = 0x14 GPT:rootfs_data : 139b4 2c9b3
MBR addr = 0x2c9a0,logic_offset = 0x14 GPT:UDISK : 2c9b4 e8ffde
gpt_head->header_crc32 = 0xd6c43c02
GPT----part num 6—
gpt_entry: 128
gpt_header: 92
GPT:boot-res : 2014 2413
GPT:env : 2414 2613
GPT:boot : 2614 8883
GPT:rootfs : 8884 139b3
GPT:rootfs_data : 139b4 2c9b3
GPT:UDISK : 2c9b4 e8ffde
update gpt file ok
update mbr file ok
/v850sSoftware/tina-v853-open/tools/pack/pctools/linux/eDragonEx/
/v850sSoftware/tina-v853-open/out/v851s/lizard/pack_out
Begin Parse sys_partion.fex
Add partion boot-resource.fex BOOT-RESOURCE_FEX
Add partion very boot-resource.fex BOOT-RESOURCE_FEX
FilePath: boot-resource.fex
FileLength=a800Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=778800Add partion rootfs.fex ROOTFS_FEX000000
Add partion very rootfs.fex ROOTFS_FEX000000
FilePath: rootfs.fex
FileLength=1a0000BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------
13M /v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/v851s_linux_lizard_uart0.img
发现pack有错误:
ERROR: Dependence broken. Firmware maybe incorrect & cannot booting up…
如何解决?