|
【Linux】
AIO-3288C烧写buildroot固件提示Download Firmware Fail
发表于 2020-8-3 16:52:58
浏览:7547
|
回复:4
打印
只看该作者
[复制链接]
楼主
[ 本帖最后由 xhzhou1234 于 2020-8-3 17:13 编辑 ]\n\n[ 本帖最后由 xhzhou1234 于 2020-8-3 17:06 编辑 ]\n\n[ 本帖最后由 xhzhou1234 于 2020-8-3 17:01 编辑 ]\n\nAIO-3288C原本烧写的是Android5.1,改烧buildroot。
1、根据http://wiki.t-firefly.com/zh_CN/ ... irmware-linux.html#的要求,先用v1.24先擦除然后用v1.34烧写,烧写步骤如下:
$ sudo upgrade_tool_v124 ef rockdev/pack/AIO-3288C-BUILDROOT-GPT-20200803-1521.img[sudo] xh 的密码:Loading loader...Erase flash ok.xh@xh-dell:~/wisdtour/aio-firefly-sdk$ sudo upgrade_tool_v134 uf rockdev/pack/AIO-3288C-BUILDROOT-GPT-20200803-1521.imgLoading firmware...Support Type:RK320A FW Ver:8.1.276 FW Time:2020-08-03 15:22:11Loader ver:2.58 Loader Time:2020-08-03 11:56:09Download Firmware Fail
2、upgrade_tool log如下:
15:49:30 Upgrade Tool v1.34 2 3 15:49:30 Download Boot Start 4 15:49:31 Download Boot Success 5 15:49:31 Wait For Maskrom Start 6 15:49:32 Wait For Maskrom Success 7 15:49:32 Test Device Start 8 15:49:32 Test Device Success 9 15:49:32 Check Chip Start 10 15:49:32 Check Chip Success 11 15:49:32 Get FlashInfo Start 12 15:49:32 <LAYER 1-2> INFO:FlashInfo: 0 0 E9 0 0 4 4 0 28 0 1 13 15:49:32 Get FlashInfo Success 14 15:49:32 Prepare IDB Start 15 15:49:32 <LAYER 1-2> INFO:CS(1) (7456MB) (SAMSUNG) 16 15:49:32 INFO:FindBackupSector3-->No Found 17 15:49:32 Prepare IDB Success 18 15:49:32 Download IDB Start 19 15:49:32 Download IDB Success 20 15:49:32 Download Firmware Start 21 15:49:32 <LAYER 1-2> INFO:FlashInfo: 0 0 E9 0 0 4 4 0 28 0 1 22 15:49:32 <LAYER 1-2> INFO:Start download image,total=535141888,band=64,DirectLBA=1,First4Access=1,Gpt=1 23 15:49:32 <LAYER 1-2> INFO:Start to download trust,offset=0x6000,size=4194304 24 15:49:32 <LAYER 1-2> INFO:Start to download uboot,offset=0x4000,size=4194304 25 15:49:32 <LAYER 1-2> INFO:Start to download misc,offset=0x8000,size=49152 26 15:49:32 <LAYER 1-2> INFO:Start to download boot,offset=0xa000,size=17588224 27 15:49:33 <LAYER 1-2> INFO:Start to download recovery,offset=0x1a000,size=15394816 28 15:49:34 <LAYER 1-2> INFO:Start to download rootfs,offset=0x5a000,size=477958144 29 15:49:57 <LAYER 1-2> INFO:Start to download oem,offset=0x3a000,size=10485760 30 15:49:57 <LAYER 1-2> INFO:Start to download userdata:grow,offset=0x157000,size=5242880 31 15:49:57 <LAYER 1-2> ERROR:RKA_Gpt_Download-->compare gpt backup failed 32 15:49:57 <LAYER 1-2> ERROR:DownloadImage-->RKA_Gpt_Check failed 33 15:49:57 Download Firmware Fail 34 15:51:08 Upgrade Tool v1.34
3、tools/linux/Linux_Pack_Firmware/rockdev/rk3288-package-file
1 # NAME Relative path 2 # 3 #HWDEF HWDEF 4 package-file package-file 5 bootloader Image/MiniLoaderAll.bin 6 parameter Image/parameter.txt 7 trust Image/trust.img 8 uboot Image/uboot.img 9 misc Image/misc.img 10 #resource Image/resource.img 11 #kernel Image/kernel.img 12 boot Image/boot.img 13 recovery Image/recovery.img 14 rootfs Image/rootfs.img 15 oem Image/oem.img 16 userdata:grow Image/userdata.img 17 # 要写入backup分区的文件就是自身(update.img) 18 # SELF 是关键字,表示升级文件(update.img)自身 19 # 在生成升级文件时,不加入SELF文件的内容,但在头部信息中有记录 20 # 在解包升级文件时,不解包SELF文件的内容。 21 backup RESERVED 22 #update-script update-script 23 #recover-script recover-script
4、device/rockchip/rk3288/parameter-buildroot.txt
1 FIRMWARE_VER: 8.1 2 MACHINE_MODEL:RK3288 3 MACHINE_ID:007 4 MANUFACTURER:RK3288 5 MAGIC: 0x5041524B 6 ATAG: 0x00200800 7 MACHINE: 3288 8 CHECK_MASK: 0x80 9 PWR_HLD: 0,0,A,0,1 10 TYPE: GPT 11 CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x0 0010000@0x0001a000(recovery),0x00010000@0x0002a000(backup),0x00020000@0x0003a000(oem),0x00100000@0x0005a000(rootfs),-@0x0015a000(userdata:grow) 12 uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
还尝试用1.34擦除再烧写,还是提示“Download Firmware Fail”请问如何解决?谢谢!
【注】编辑了好几次,一提交,换行符就没了,故此为方便查看,放到附件文件了,谢谢! |
|