OKA40i 打包失败
本帖最后由 咸个和和和 于 2021-8-14 17:09 编辑按照文档《OKA40i-C&OKT3-C-Linux-软件用户手册-V1.5-20201218》4.5节,编译内核成功,但打包失败。
./build.sh pack错误 log 信息如下:$ ./build.sh pack
build buidroot-201611...
xgnueabihf
sun8iw11p1_hf_defconfig
INFO: packing firmware ...
copying tools file
copying configs file
./out/aultls32.fex
./out/aultools.fex
./out/boot_package.cfg
./out/boot_package.fex
./out/boot_package_nor.cfg
./out/cardscript.fex
./out/cardscript_secure.fex
./out/cardtool.fex
./out/diskfs.fex
./out/env.cfg
./out/env_burn.cfg
./out/image.cfg
renamed './out/image_linux.cfg' -> './out/image.cfg'
./out/split_**x.fex
./out/sunxi.fex
./out/sys_config.fex
./out/sys_config1024x600.fex
./out/sys_config1024x600_100M.fex
./out/sys_config1024x600_pwm4.fex
./out/sys_config1024x600_v1.fex
./out/sys_config1024x600mipi-gt9xx.fex
./out/sys_config1024x600mipi.fex
./out/sys_config1024x600mipi_v1.fex
./out/sys_config1080p.fex
./out/sys_config1080p_v1.fex
./out/sys_config1280x800.fex
./out/sys_config1280x800_v1.fex
./out/sys_config800x480.fex
./out/sys_config800x480_v1.fex
./out/sys_configFCU2401.fex
./out/sys_configFCU2401_100M.fex
./out/sys_config_new_evb_lvds1024600.fex
./out/sys_partition_dump.fex
renamed './out/sys_partition_linux.fex' -> './out/sys_partition.fex'
./out/sys_partition_linux_128M.fex
./out/sys_partition_linux_256M.fex
./out/sys_partition_linux_mmc.fex
./out/sys_partition_private.fex
./out/toc0.fex
./out/toc1.fex
./out/usbtool.fex
./out/usbtool_test.fex
copying boot resource
copying usr resource
copying boot file
p=soc c=product state=0
p=soc c=platform state=0
p=soc c=target state=0
p=soc c=norflash state=0
p=soc c=boot_init_gpio state=0
p=soc c=power_sply state=0
p=soc c=card_boot state=0
p=soc c=pm_para state=0
p=soc c=card0_boot_para state=0
p=soc c=card2_boot_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=clock state=0
p=soc c=dram state=0
p=soc c=emac0 state=0
p=soc c=gmac0 state=0
p=soc c=can0 state=0
p=soc c=can0 state=1
p=soc c=twi0 state=0
p=soc c=twi1 state=0
p=soc c=twi2 state=0
p=soc c=twi3 state=0
p=soc c=twi4 state=0
p=twi2 c=rx8010 state=0
p=twi4 c=at24 state=0
p=soc c=ir0 state=0
p=soc c=uart0 state=0
p=soc c=uart0 state=1
p=soc c=uart1 state=0
p=soc c=uart1 state=1
p=soc c=uart2 state=0
p=soc c=uart2 state=1
p=soc c=uart3 state=0
p=soc c=uart3 state=1
p=soc c=uart4 state=0
p=soc c=uart4 state=1
p=soc c=uart5 state=0
p=soc c=uart5 state=1
p=soc c=uart6 state=0
p=soc c=uart6 state=1
p=soc c=uart7 state=0
p=soc c=uart7 state=1
p=soc c=spi0 state=0
p=soc c=spi1 state=0
p=soc c=spi2 state=0
p=soc c=spi3 state=0
p=soc c=rtp_para state=0
p=soc c=ctp state=0
p=soc c=ctp_list state=0
p=soc c=tkey_para state=0
p=soc c=motor_para state=0
p=soc c=nand0 state=0
p=soc c=sata state=0
p=soc c=disp state=0
p=soc c=tv0 state=0
p=soc c=tv1 state=0
p=soc c=tvd state=0
p=soc c=tvd0 state=0
p=soc c=tvd1 state=0
p=soc c=tvd2 state=0
p=soc c=tvd3 state=0
p=soc c=lcd0 state=0
p=soc c=lcd0 state=1
p=soc c=pwm0 state=0
p=soc c=pwm0 state=1
p=soc c=car_reverse state=0
p=soc c=Transmit_fm state=0
p=soc c=hdmi state=0
p=soc c=ak7601 state=0
p=soc c=csi0 state=0
p=csi0 c=csi0_dev0 state=0
p=soc c=csi1 state=0
p=csi1 c=csi1_dev0 state=0
p=soc c=tvout_para state=0
p=soc c=tvin_para state=0
p=soc c=di state=0
p=soc c=sdc0 state=0
p=soc c=sdc1 state=0
p=soc c=sdc2 state=0
p=soc c=sdc3 state=0
p=soc c=smc state=0
p=soc c=gpio_para state=0
p=soc c=usbc0 state=0
p=soc c=usbc1 state=0
p=soc c=usbc2 state=0
p=soc c=gsensor_para state=0
p=soc c=gps_para state=0
p=soc c=ril_para state=0
p=soc c=wlan state=0
p=soc c=bt state=0
p=soc c=btlpm state=0
p=soc c=gy_para state=0
p=soc c=ls_para state=0
p=soc c=compass_para state=0
p=soc c=spdif state=0
p=soc c=sndspdif state=0
p=soc c=audiohdmi state=0
p=soc c=sndhdmi state=0
p=soc c=snddaudio0 state=0
p=soc c=daudio0 state=0
p=soc c=snddaudio1 state=0
p=soc c=daudio1 state=0
p=soc c=sndcodec state=0
p=soc c=codec state=0
p=soc c=pmu0 state=0
p=soc c=charger0 state=0
p=soc c=powerkey0 state=0
p=soc c=regulator0 state=0
p=soc c=axp_gpio0 state=0
p=soc c=dvfs_table state=0
p=soc c=Vdevice state=0
p=soc c=gpu_mali400_0 state=0
Conver script to dts ok.
dtbpath=/home/one2inf/a40i_board/lichee/tools/pack/out/sunxi.fex
update_fdt: u-boot.fex will merage sunxi.fex, generate u-boot.fex
---0xd0, 0xd
update_fdt: num 844384 randto1k
update_fdt: num 156080 randto1k
file1_len = ce400, file2_len = 28400
dtb offset ce400,size 28400
update_fdt:genrate /home/one2inf/a40i_board/lichee/tools/pack/out/u-boot.fex ok
pack boot package
GetPrivateProfileSection read to end
content_count=1
packing for linux
normal
mbr count = 4
partitation file Path=/home/one2inf/a40i_board/lichee/tools/pack/out/sys_partition.bin
mbr_name file Path=/home/one2inf/a40i_board/lichee/tools/pack/out/sunxi_mbr.fex
download_name file Path=/home/one2inf/a40i_board/lichee/tools/pack/out/dlinfo.fex
mbr size = 16384
mbr magic softw411
disk name=boot-resource
filename = boot-resource.fex
dl_file_size = 10682 sector
part_size = 28672 sector
disk name=env
filename = env.fex
dl_file_size = 256 sector
part_size = 8192 sector
disk name=boot
filename = boot.fex
dl_file_size = 26108 sector
part_size = 32768 sector
disk name=rootfs
filename = rootfs.fex
dl_file_size = 3931054 sector
part_size = 4200000 sector
disk name=private
disk name=usr
unable to open file usr-resource.fex
dl file usr-resource.fex size too large
update_for_part_info -1
update mbr file fail
ERROR: update_mbr failed
您这个打印信息没有报错啊,您怎么判断打包失败的 本帖最后由 咸个和和和 于 2021-8-14 17:15 编辑
zhichao 发表于 2021-8-14 16:27
您这个打印信息没有报错啊,您怎么判断打包失败的
重新复制了,lichee/tools/pack 路径下没有 img 生成。没有动配置,第一次编译。我看论坛里另外两人和我一样的错误,但没有给出解决的办法
您换我们的新资料吧,这个问题是旧资料的bug,换我们最新的资料不会出现 zhichao 发表于 2021-8-14 17:28
您换我们的新资料吧,这个问题是旧资料的bug,换我们最新的资料不会出现
我去,真的更新了,我7月份才刚下。。。,还是谢谢了
我手动修改分区后也打包成功了,应该就是分区太小了的问题。 zhichao 发表于 2021-8-14 17:28
您换我们的新资料吧,这个问题是旧资料的bug,换我们最新的资料不会出现
你好,请问新的资料版本日期是多少? linux系统资料是2021.07.30 zhichao 发表于 2021-8-16 11:45
linux系统资料是2021.07.30
我用了新资料后,打包的固件无法烧录!我新建了帖子。
页:
[1]