Hello,
i need to modify the u-boot recipes, but which is the recipes to use between bitbake u-boot, u-boot-toradex or virtual/bootloader and in this case wich is the recipes used.
Thank you.
Best regards
Flavio
Hello,
i need to modify the u-boot recipes, but which is the recipes to use between bitbake u-boot, u-boot-toradex or virtual/bootloader and in this case wich is the recipes used.
Thank you.
Best regards
Flavio
Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Hello Flavio,
For modifying U-Boot recipes in Toradex BSPs, you should use virtual/bootloader(1)(2). This is the virtual recipe name that represents the bootloader component in the Yocto build system.
When you build with virtual/bootloader, the actual recipe used is u-boot-toradex(1)(2). You can verify this by running:
bitbake -c checkuri virtual/bootloader > log
This will show you the actual recipe path, which will be something like:
/work/oe-core/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2020.04.bb
cd /work/oe-core/
. export
bitbake -c cleansstate virtual/bootloader
bitbake -c devshell virtual/bootloader
quilt new YourPatchName.patch
.bbappend file in your layer to add patches to the recipe(1)(2).virtual/bootloader rather than directly calling bitbake u-boot or bitbake u-boot-toradexThis approach ensures you’re working with the Toradex-specific U-Boot implementation that includes all necessary patches and configurations for your module.
Best regards,
Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.