This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829J: Ways to boot u-boot+Linux on the A72

Part Number: DRA829J

Hi,

Designing a system based on the DRA829J.  Not using the MCU.  Only the A72 and DSPs

Would like to boot u-boot from SPI flash, but think I see that is not possible?.  Please confirm.

I think my options for u-boot are only eMMC, SD- card and USB.  Please confirm.

Its my understanding that even though we are not using the MCU, the MCU always runs ROM code after POR and then can pass operation over to the A72 using BOOTMODE pins, correct?

thanks!

  • Would like to boot u-boot from SPI flash, but think I see that is not possible?.  Please confirm.

    Yes your understanding is correct. MCU R5F is the boot core so that is the starting of secondary boot loader code.

    I think my options for u-boot are only eMMC, SD- card and USB.  Please confirm.

    Depends on the boot flow. SPL based boot flow supports OSPI as well + UART boot mode.
    SBL based bootflow supports SD & eMMC.

    Its my understanding that even though we are not using the MCU, the MCU always runs ROM code after POR and then can pass operation over to the A72 using BOOTMODE pins, correct?

    Yes. You need to run either RTOS based SBL or U-Boot based SPL on MCU R5F to load ATF/SPL and start A72.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thanks for your reply.  Just to clarify my thinking, we could do the following:

    1. Set MCU to boot from OSPI and ARM to boot from eMMC

    2. MCU would boot R5 u-boot from OSPI.  This would setup peripherals, LPDDR4, load A72 u-boot from eMMC and pass control to the ARM?

    3. u-boot running on the ARM would load the Linux kernel from eMMC.

    thanks

  • 1. Set MCU to boot from OSPI and ARM to boot from eMMC

    2. MCU would boot R5 u-boot from OSPI.  This would setup peripherals, LPDDR4, load A72 u-boot from eMMC and pass control to the ARM?

    3. u-boot running on the ARM would load the Linux kernel from eMMC.

    Stephen,

    This is not supported. What we support is r5 SPL & A72 SPL & U-Boot.img in OSPI. So basically all the bootloaders are loaded from the same boot media.
    Its based on the dip switch settings.

    That said A72 U-boot can load the kernel from any boot media. For ex: eMMC that you want. So this what is supported in the default SDK.
    The other option that I can recommend is all the bootloaders in eMMC. That is a supported combination.

    - Keerthy