starfive-tech / VisionFive2

445 stars 79 forks source link

Allow other modes of U-boot recovery #14

Open antoinecarme opened 1 year ago

antoinecarme commented 1 year ago

It would be nice to have allow U-boot recovery through SD, tftp/dhcp, ftp or http.

For example, Like many bios/firmware update methods, one can copy a special file to a (ext2 or dos-formatted) SD and trigger automatically the u-boot recovery. The same file can be accessed through tftp/dhcp, ftp:// or http:// URI.

No serial cable is needed.

My preference goes to to the http:// method. Other methods are welcome.

Not sure if u-boot does not already have this possibility. In that case, a documentation is OK.

andyhu-stf commented 1 year ago

@antoinecarme , Thanks a lot for your suggestion. Yes, it is a general and usefull feature. we will consider to support it later

antoinecarme commented 1 year ago

@andyhu-stf, Thanks a lot.