Update method of modified u-boot

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official image

Please describe your issue below:

How do I update the u-boot built with “make uboot” to the board ?
There is no ‘usb_update’ command in uboot.
How can I update modified uboot ?

image

Post a console log of your issue below:


**Delete this line and post your log here.**

@cuckoo933 You can make uboot via fenix.

then follow this docs to update.

Of course, I’m referring to the docs you mentioned.
But I don’t know how do I.

@cuckoo933 Which step you perform when the result is inconsistent with the documentation

There is no problem at “Build U-boot step”.
$ source setenv.sh : Done
$ make uboot : Done

  • Power on the board and enter the U-Boot console : Done
  • Copy u-boot.bin.signed into an SD card or thumbdrive : Done
  • Insert the SD card or thumbdrive into the board : Done
  • Execute the following commands to upgrade U-Boot : This step is problem
    1 kvim4#usb_update bootloader u-boot.bin.signed
    : There is no usb_update command at U-boot console mode

@cuckoo933 Which verison firnware you used ? I will try with same version.

Ubuntu 22.04 gnome version / khadas official image.

You can follow another method to upgrade the U-Boot. Copy the debian package and install under linux.

You mean… like as below ?

  1. not ‘$make uboot’ but ‘$make uboot-deb’

image

right ?

Yes, this way is more easy.

OK, thanks a lot.
U-boot has updated well using this method.

I have one more question.
I installed fenix by selecting ubuntu in setenv. Can I do ‘$make uboot-deb’ as it is?
Or do I have to ‘$make uboot-deb’ after installing fenix by selecting Debian from setenv?

Yes, you can, it doesn’t depend on the distributions you select.

I understand. Thank you.

Can you provide steps if I made something wrong ?

For example if I installed my new U-Boot and after that that system hangs boot process.

How to roll down installed u-boot ?