Modifying u-boot env variables in mender-convert

Is there a way to modify env variables? I need to change bootdelay to -2 but can’t find a way.

John

@TheYoctoJester Do you have any idea how I can do this? This is the final step needed to get the SD-Card ready for duplication. At present, I’m having to modify the image manually.

Many thanks for all your help in this!

John

Hi @jjsteele,

At the moment there is no way to modify the u-boot environment dynamically. If this is a requirement for your use case, then you have to drop in a custom built binary u-boot.

Greets,
Josef

Thanks @TheYoctoJester,

No problem, it is a minor change so I’ll do that.

John

1 Like

@TheYoctoJester I’msure I’ve seen a way of specifying a custom uboot.bin in mender-convert, but I can’t find the documentation. Can you help?

Hi @jjsteele,

There is not direct process for it. You would have to base a custom configuration off the generic one for Raspberry Pi (see mender-convert/configs/raspberrypi_config at master · mendersoftware/mender-convert · GitHub), and switch out the lines that drop our prebuilt pieces for your custom ones.

Greets,
Josef

@TheYoctoJester Thanks Josef, all working :grinning: