Vim2 can't update u-boot.bin

你好,我们单独编译uboot得到u-boot.bin,想通过U盘update,但是没有成功。
请帮忙看下是没法识别到U盘,还是U盘格式不正确,或是bin文件有问题?

kvim2#usb_update bootloader u-boot.bin
usb_start_count 0
(Re)start USB…
USB0: USB3.0 XHCI init start
Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices… 3 USB Device(s) found
scanning usb for storage devices… init_part() 278: PART_TYPE_DOS
1 Storage Device(s) found
** Partition 1 not valid on device 0 **

** Unable to use usb 0:1 for device probe **
[FAT_ERR]L747,Error: broken fs_type sign
[FAT_ERR]L954,Error: reading boot sector
Fail to open file (u-boot.bin)
ERR(…/drivers/usb/gadget/v2_burning/v2_usb_burn/optimus_usb_update.c)L92:Fail w
hen parse file format
kvim2#

U盘识别到了。

是什么文件系统?用fat文件系统试试。

通过U盘update的方式没成功,我们现在使用SD卡启动的方式可以了,单独烧写了uboot,频率也可以改动了。

使用SD卡更新uboot的方式太麻烦了,我们还是想弄通用U盘更新的方式!

usb_update bootloader u-boot.bin #我这条updata指令是正确的吧

FAT32我们试了几遍,还是不成功。

板子上有两个USB口,好像都是SOC直出的,应该没有扩展问题?

我们之前还在VIM3上尝试过,都没有成功。

还有没有其他排查的思路?

最方便还是使用tftp直接下载更新。参考:

https://docs.khadas.com/zh-cn/vim3/SetupTFTPServer.html

通过U盘更新u-boot的问题解决了,还是U盘格式的问题。

用做系统盘的工具rufus,把U盘彻底格式化,类型选非可引导、格式选FAT32

成功将vim3的频率从1608降到1440Mhz

image