How to boot into U-Boot?

Hi there,

I just flash my new VIM3 Pro with the VIM3_Ubuntu-server-focal_Linux-4.9_arm64_EMMC_V0.9-20200530 image (via USB_Burning_tool in windows), everything works perfectly!

Now I would like to try WOL by following https://docs.khadas.com/vim3/HowtoUseWol.html, however, the “Enable WOL” step requires KBI and I have no idea how to boot into U-Boot. I’ve tried “Keys Mode” and “TST Mode” mentioned in https://docs.khadas.com/vim3/HowtoBootIntoUpgradeMode.html but it still boot into Ubuntu.

Here I have two questions:

  • USB_Burning_too burns U-Boot into SPI flash and Ubuntu into EMMC storage, do I understand correctly?
  • How to boot into U-Boot?

Any help is appreciated, thanks!

By the way, I don’t have extra SD card.

No, only burn to eMMC.

You need to Setup Serial Tool, and hit any KEY when bootup to enter u-boot command line.

If you just want to enable WOL you don’t need to boot into u-boot, you can enable WOL in kernel command line.

$ sudo -i
# echo 1 > /sys/class/wol/enable 
3 Likes

Awesome, thanks numbqq for the quick response! sudo echo 1 >/sys/class/wol/enable works like a charm!

It would be better if this solution could be added to the doc https://docs.khadas.com/vim3/HowtoUseWol.html

3 Likes

Yes, you are right! This part is missing, we will add to the docs. Thank you.

2 Likes