hi @sarah ,
I had to modify the bootloader device tree as well and the process is actually very simple with devtool:
- “devtool modify u-boot-toradex”
- make your changes in build-torizon/workspace/source/u-boot-toradex/arch/arm/dts
- add and commit your changes: cd build-torizon/workspace/source/u-boot-toradex && git add -A && git commit -m “<whatever_you_want>”
- “devtool update-recipe u-boot-toradex -a <path/to/your/custom/layer>”
- “devtool reset u-boot-toradex”
- delete workspace from your bblayers.conf and add your custom layer
- important : make sure your layer as a lower priority than meta-toradex-torizon layer. this layer has 90 as priority so I gave my layer priority 99, in this way my changes are actually applied at the very end
- rebuild your image and that’s it!
Regards,
Rocco