On quick inspection it looks correct for what you’re trying to do. Why do you ask, are you having issues related to it?
Not a real issue, but I need a confirmation that I understood what are the expected steps to customize a tcbuild.yaml
You would need to modify the shipped bootloader itself to have this variable set by default.
As far as I understood from a @hfranco.tx suggestion here I can modify the file u-boot-initial-env-sd
after the TorizonCore image has been built.
It is currently not possible to use TorizonCore Builder to freely modify the bootloader or it’s environment.
I would like a new TCB feature that allows to customize U-Boot variables. I mean, that modify the u-boot-initial-env-sd
file as needed.
Based on my experience (discussed in other topics) this is necessary when working with Cortex-M too (on Verdin iMX8M-Plus, as an example). And an integrated way in TCB would be great!
Will Toradex consider such a product suggestion?
I can open in Feature Requests