medany1 发表于 2019-12-11 18:11:23

update_mbr failed

ubuntu16.04飞凌的A40i SDK   ./build.sh#能通过
./build.sh pack #update_mbr failed




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=/root/workspace/allwinner/A40i/bsp/lichee/tools/pack/out/sunxi.fex
update_fdt: u-boot.fex will merage sunxi.fex, generate u-boot.fex
---0xd0, 0xd
update_fdt: num 837736 randto1k
update_fdt: num 155824 randto1k
file1_len = ccc00, file2_len = 28400
dtb offset ccc00,size 28400
update_fdt:genrate /root/workspace/allwinner/A40i/bsp/lichee/tools/pack/out/u-boot.fex ok
pack boot package
GetPrivateProfileSection read to end
content_count=1
packing for linux
normal
ERROR: update_mbr failed



medany1 发表于 2019-12-11 18:14:24

cp: cannot stat '/root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611/target/user_rootfs_misc/OKA40i_C/sdk_demo/sdktest/eve_module/classifier/*': No such file or directory

medany1 发表于 2019-12-11 18:16:50

Please run e2fsck -f on the filesystem.

Creating journal inode: done
This filesystem will be automatically checked every 20 mounts or
0 days, whichever comes first.Use tune2fs -c or -i to override.

mke2img: e2fsck was successfully run on '/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/images/rootfs.ext2' (ext4)

tune2fs 1.43.3 (04-Sep-2016)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
/usr/bin/install -m 0644 support/misc/target-dir-warning.txt /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
ln -sf rootfs.ext2 /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/images/rootfs.ext4

zhichao 发表于 2019-12-12 09:38:46

通常出现这个错误是修改源码导致,例如有些文件使用注释会出现这种情况,您把修改的部分检查一下,看看哪修改的有问题

medany1 发表于 2019-12-12 16:05:03

ubuntu系统需要手动分区

programmerhz 发表于 2019-12-20 09:44:12

本帖最后由 programmerhz 于 2019-12-20 09:53 编辑

请问这个问题如何解决的,我也遇到这个问题,我使用虚拟机(虚拟机是飞凌网盘共享下载的)。我这个问题,从pack跟踪看,好像是 usr-resource.fex文件没有生成导致的失败。
页: [1]
查看完整版本: update_mbr failed