On a Raspberrypi 4 running UC20, I’d like to modify the uboot bootdelay parameter (so it never enters the uboot shell). On UbuntuServer, I would simply enter the shell and type in
setenv bootdelay -2 saveenv
which would create an
However, I am struggling to get this on UC20:
- I cannot enter the uboot shell (ignores my key-presses)
- copying uboot.env (from a UbuntuServer) results in failure to boot
Doing a bit of digging in the
pi-gadget I found that uboot.env’s been replaced with
uboot/ubuntu/boot.sel, I tried generating my own
mkenvimage (and setting
bootdelay=-2) without success.
I noticed a comment about snapd taking care of installing
boot.sel (which is why the gadget’s one is empty). Is there a way to inform snapd that I would like it to change the bootdelay parameter?