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.

Linux/AM3352: U-boot questions

Hello~

What is the size of U-Boot in DDR and where is the start location of U-Boot?
Can I modify the start address of U-Boot? How to do it?

Best Regards,
Wayne Kuo

  • Hi,

    Another question...
    I saw the message in U-Boot source code:

    /*
    * Place the image at the start of the ROM defined image space (per
    * CONFIG_SPL_TEXT_BASE and we limit our size to the ROM-defined
    * downloaded image area. We initalize DRAM as soon as we can so that
    * we can place stack, malloc and BSS there. We load U-Boot itself into
    * memory at 0x80800000 for legacy reasons (to not conflict with older
    * SPLs). We have our BSS be placed 2MiB after this, to allow for the
    * default Linux kernel address of 0x80008000 to work with most sized
    * kernels, in the Falcon Mode case. We have the SPL malloc pool at the
    * end of the BSS area. We place our stack at 32MiB after the start of
    * DRAM to allow room for all of the above.
    */

    Seems SPL will put stack at 0x80000000 + offset 32MiB, but my LPDDR1 is only 32MiB...

    1. Can I move the stack address? Any side effect?
    2. Where is the appropriate location for the stack, if I don't want to place stack at offset 32MiB?
    3. Is there any document release from TI says the minimum DDR size that AM335x Linux support?

    Anyone?

    Best Regards,
    Wayne Kuo
  • Wayne,

    Please see this documentation:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/05_00_00_15/linux/Foundational_Components_U-Boot.html#overview

    Specifically in the section "Available RAM for Image Download" for some commands to help you figure these things out.

    Yes, you can change these values, but you need to test your changes thoroughly.