U-boot customization for verdin am62

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

To customize the U-Boot for your Verdin AM62 module and remove USB, Ethernet, and MMC1 boot options, you will need to modify the U-Boot configuration files rather than the device tree files. U-Boot boot options are typically controlled through configuration settings in the U-Boot source code.

Here are the steps you can follow:

  1. Access U-Boot Configuration: Navigate to your U-Boot source directory, which you mentioned as u-boot-toradex-ti.

  2. Modify Configuration Files: Look for the configuration header files, typically named include/configs/<board_name>.h. This file contains macros that define the boot options.

  3. Disable Boot Options:

    • USB Boot: Locate and comment out or remove any macros related to USB boot, such as CONFIG_CMD_USB or CONFIG_USB_STORAGE.
    • Ethernet Boot: Similarly, find and disable macros like CONFIG_CMD_NET or CONFIG_NET.
    • MMC1 Boot: Look for CONFIG_MMC or CONFIG_CMD_MMC and adjust accordingly.
  4. Rebuild U-Boot: After making these changes, rebuild U-Boot to apply the new configuration. Use the appropriate make commands for your setup, ensuring you target both the A53 and R5 processors if required.

  5. Deploy the New U-Boot: Once built, deploy the new U-Boot binary to your module.

Device trees are primarily used for hardware configuration and peripheral setup, not for boot option management in U-Boot. Therefore, your focus should be on the U-Boot configuration files for this task.

By following these steps, you should be able to customize the U-Boot to meet your specific boot requirements for the Verdin AM62 module.

If you have any more questions, feel free to ask!

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

Custom device tree.