Unable to stop u-boot

Hi,

I’ve upgraded the bootloader to bootloader_milkv-megrez-2025-0224.binand now it’s impossible to stop the bootloader.

when it says

Autoboot in 5 seconds

No matter which key I pressi, it proceeds with boot.
Linux boots fine, is there a way to fix it from linux?

Yeah, the stock u-boot has that problem. I think it stopped when I hit something, but there was only one key it would stop for. Maybe escape or enter? Ctrl-C? I don’t remember; I started building my own u-boot.

Oh look, their defconfig has it set to “s” looks like: rockos-u-boot/configs/eic7700_milkv_megrez_defconfig at rockos-dev · milkv-megrez/rockos-u-boot · GitHub Or Ctrl-C, also seems enabled on the next line. If they’re going to limit it like that, they should update the prompt to elucidate too!

3 Likes

Tnx, “s” worked.

Unforntunately I erased the environment and now it doesn’t boot anymore, lol

If you about Uboot shell env then you can restore env settings to factory default

# In U-Boot console:
=> env default -a    # Reset all to defaults
=> saveenv           # Save to persistent storage

And reboot your machine

And about “No matter which key I pressi, it proceeds with boot.”
I had the same issue (don’t exactly remember on which board) and resolve it only by installing newer uboot.
You can get bootchain (bootloader_P550.bin) from this repo and flash it to your board