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.

AM625: The SK-AM625 changed the DDR from 512MB to 1G, and could not be started

Part Number: AM625

The SK-AM625 changed the DDR from 512MB to 1G, and could not be started,we have changed the memory size and ddr configuration。

SD card startup has the following print:

U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Dec 04 2023 - 11:43:03 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes

  • Hello,

    It seems that you are encountering issues with the SK-AM625 board after changing the DDR from 512MB to 1GB. The U-Boot SPL (Secondary Program Loader) is starting, but the system does not seem to boot up properly.

    When changing the DDR size, it's important to ensure that the memory configuration in the U-Boot and the kernel are updated to reflect the new memory size. Here are a few steps you can take to troubleshoot the issue:

    1. Verify DDR Configuration: Double-check the DDR configuration in the U-Boot source code and ensure that it reflects the new 1GB memory size. Look for any specific settings related to memory size and update them accordingly.

    2. Kernel Configuration: If the kernel is configured to use a specific memory size, make sure that the kernel configuration is updated to reflect the new 1GB memory size.

    3. Hardware Initialization: Ensure that the hardware initialization code in U-Boot properly initializes the DDR controller and memory for the new memory size.

    4. Debug Output: If possible, enable debug output in U-Boot to get more detailed information about the boot process. This can help identify where the boot process is failing.

    5. Firmware Compatibility: Verify that the firmware, including SYSFW (System Firmware), is compatible with the new memory size. It's possible that the firmware may need to be updated to support the 1GB DDR configuration.

    By following these steps and carefully checking the DDR configuration in U-Boot and the kernel, you may be able to identify and resolve the issue preventing the system from booting up properly.

    Regards,

    Gary

  • Hi,Gary

    We modified the device tree memory configuration and the ddr configuration as follows:

     memory@80000000 {

                device_type = "memory";
                /* 1G RAM */
                reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
                u-boot,dm-spl;
          };
    /* DDR Type: DDR4
     * Frequency = 800MHz (1600MTs)
     * Density: 8Gb
     * Number of Ranks: 1
    */
    Is there any other configuration or modification required for the 1GRAM startup of AM6254?
  • Hi,Gary

    The 512MRAM boot was successful.

  • Hello,

    Thank you for your feedback, I will close this post, if you have any questions, please post again, thank you

    Regards,

    Gary