v851s 自动重复烧录

使用开发板推送代码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…

如何解决?

您好,这个问题可以参考https://forums.100ask.net/t/topic/2918。
解决办法:删除out目录重新编译打包即可。具体可以查看上述链接

删除out目录后重新编译不通过,信息如下:
quilt/files.in → quilt/files
quilt/series.in → quilt/series
quilt/setup.in → quilt/setup
quilt/rename.in → quilt/rename
quilt/unapplied.in → quilt/unapplied
quilt/scripts/patchfns.in → quilt/scripts/patchfns
quilt/scripts/inspect-wrapper.in → quilt/scripts/inspect-wrapper
quilt/scripts/dependency-graph.in → quilt/scripts/dependency-graph
quilt/scripts/edmail.in → quilt/scripts/edmail
quilt/scripts/remove-trailing-ws.in → quilt/scripts/remove-trailing-ws
quilt/scripts/backup-files.in → quilt/scripts/backup-files
rm -f compat/column.in compat/date.in compat/getopt.in compat/mktemp.in compat/sendmail.in
README.in → README
quilt.1.in → quilt.1
/usr/bin/pod2man bin/guards > doc/guards.1
make[4]: *** No rule to make target ‘compat/column.in’, needed by ‘po/quilt.pot’. Stop.
make[4]: Leaving directory ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/build_dir/host/quilt-0.66’
Makefile:36: recipe for target ‘/v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/build_dir/host/quilt-0.66/.built’ failed
make[3]: *** [/v850sSoftware/tina-v853-open/out/v851s/lizard/openwrt/build_dir/host/quilt-0.66/.built] Error 2
make[3]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt/tools/quilt’
time: tools/quilt/compile#1.23#2.11#48.27
ERROR: tools/quilt failed to build.
tools/Makefile:157: recipe for target ‘tools/quilt/compile’ failed
make[2]: *** [tools/quilt/compile] Error 1
make[2]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
tools/Makefile:155: recipe for target ‘/v850sSoftware/tina-v853-open/openwrt/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynnyyyyynynnnnyyynyyyyyynnyyyyyyyynynnyyyyyyyy’ failed
make[1]: *** [/v850sSoftware/tina-v853-open/openwrt/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynnyyyyynynnnnyyynyyyyyynnyyyyyyyynynnyyyyyyyy] Error 2
make[1]: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
/v850sSoftware/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target ‘world’ failed
make: *** [world] Error 2
make: Leaving directory ‘/v850sSoftware/tina-v853-open/openwrt/openwrt’
INFO: build_openwrt_rootfs failed

删除out目录编译不通过的问题已搞好,但最终Pack结果还是和以前一样,信息如下:
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
MODPOST 16 modules
Kernel: arch/arm/boot/zImage is ready
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 /root/tina-v853-open/kernel/linux-4.9/.config.
regenerate rootfs cpio
16149 blocks
16150 blocks
build_ramfs
Copy boot.img to output directory …
./scripts/build.sh

sun8iw21p1 compile Kernel successful

INFO: ----------------------------------------
INFO: build Tina OK.
INFO: ----------------------------------------
root@1be4e0c71af4:~/tina-v853-open# pack
/root/tina-v853-open/build/pack -c sun8iw21p1 -i v851s -p openwrt -b lizard -k linux-4.9 -d uart0 -v none -m normal -w none -n default
INFO: /root/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
/root/tina-v853-open/out/v851s/lizard/pack_out/aultls32.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/aultools.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/boot_package.cfg
/root/tina-v853-open/out/v851s/lizard/pack_out/boot_package.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/boot_package_nor.cfg
/root/tina-v853-open/out/v851s/lizard/pack_out/cardscript.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/cardscript_secure.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/cardtool.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/diskfs.fex
/root/tina-v853-open/out/v851s/lizard/pack_out/dragon_toc.cfg
/root/tina-v853-open/out/v851s/lizard/pack_out/env.cfg




partitation file Path=/root/tina-v853-open/out/v851s/lizard/pack_out/sys_partition.bin
mbr_name file Path=/root/tina-v853-open/out/v851s/lizard/pack_out/sunxi_mbr.fex
download_name file Path=/root/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=/root/tina-v853-open/out/v851s/lizard/pack_out/sys_partition.bin
mbr_name file Path=/root/tina-v853-open/out/v851s/lizard/pack_out/sunxi_mbr.fex
download_name file Path=/root/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
/root/tina-v853-open/tools/pack/pctools/linux/eDragonEx/
/root/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=14000Add 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 /root/tina-v853-open/out/v851s/lizard/openwrt/v851s_linux_lizard_uart0.img

pack finish

您好,我看了您发的编译信息,发现您可能在编译时已经报错了,提示的是编译文件系统失败,内核编译过了,现在我怀疑几种原因
1.您在获取Tina SDK包时,由于网络或者系统卡顿等原因导致文件丢失了
2.您在编译前没有配置好相关的依赖包

解决办法:
1.重新获取TinaSDK包,重新编译整个系统
2.重新安装依赖包,输入

sudo apt-get install -y  sed make binutils build-essential  gcc g++ bash patch gzip bzip2 perl  tar cpio unzip rsync file  bc wget python  cvs git mercurial rsync  subversion android-tools-mkbootimg vim  libssl-dev  android-tools-fastboot

3 或者你也可以使用我们配置好的虚拟机

使用配置好的虚拟机代码tina-v853-docker进行编译并打包文件大小为39M,能正常烧录也不会自动进入重复烧录,烧录到板子后的开机启动跟原配置好的虚拟机打包出来的文件烧到板子后启动的结果现像相同。
同一编译平台,两个代码编译信息如下:
tina-v853-docker:



tina-v853-open:
同前发布过的信息

两者打包时都会提示同样的错误提示信息:
ERROR: Dependence broken. Firmware maybe incorrect & cannot booting up.

问题解决了吗?
这个docker编译环境,是已经配置好的。

默认编译出来的固件是可以运行的。

(我测试的平台式 UBUNTU 18.04 安装docker,编译出来的固件正常没问题。)

所以如果你是按照默认的 .config 配置编译,还出现这样的错误。
只能说明,docker的编译环境收到了你当前使用的系统环境的影响,所以报错。

建议整个编译环境 ,包括HOST的主机,全部是UBUNTU系统。

这样可以避免出现各种奇怪的问题。

这个怎么解决的 recipe for target ‘world’ failed