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.

PROCESSOR-SDK-AM62X: How can I set addtional memory infomation in linux kernel,u-boot?

Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI Experts

I'm using 2GB RAM EVM and trying to IPC communication core to core (a53 <-> M4) using rpmsg; ti example code(also using reserved-memory).

It was success  in 2GB RAM condition, but I would like to add 2GB RAM .(total 4GB RAM)

So, I have set config information about memory in kernel device tree, u-boot  files.

- SDK version: ti-processor-sdk-linux-am62xx-evm-08.06.00.42

- [SDK]/board-support/u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654/arch/arm/dts/k3-am62x-sk-common.dtsi

[SDK]/board-support/linux-5.10.168+gitAUTOINC+2c23e6c538-g2c23e6c538/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi

after each build, I copied and past to sd-card following files.

 1. k3-am625-sk.dtb

 2. u-boot.img

 3. tiboot3.bin

 4. uEnv.txt

But I can't find any information about additional memory infomation.

1. Boot log 

2. /proc/iomem

How can I set addtional memory infomation in linux? 

Best Regards

Lee

  • Hi Jiyun,

    DDR is configured in U-Boot. But in addition to the "memory" node you modified in U-Boot device tree, I think there are other code changes needed for DDR configuration. I am routing your query to our DDR expert for comments.

  • Hi Jiyun, you need to also make changes in the DDR Register Configuration tool: https://dev.ti.com/sysconfig/?product=Processor_DDR_Config&device=AM62x

    because of the additional 2GB memory.  Please review the README in the tool for instructions

    Regards,

    James

  • Hi James Thank you for response.
    I have some following questions.
    1. If I not add 2GB RAM but change RAM2GB to RAM 4GB, also do I have to use sysconfig .


    2. I have only 2GB RAM EVM and trying to check 4GB RAM settings. Can I test this without 4GB RAM?  (I would like to check before install 4GB RAM in the board)


    3. I tried sysconfig but booting has not worked. I tried following squence could you check this process?.
        a) set DDR4, 32Gb(Density), 2 (Chip Selects/Rasnks)

             
        b)move k3-arm62x-ddr-donfig.dtsi to [SDK]/board-support/u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654/arch/arm/dts
        c)open k3-am625-r5-sk.dts in u-boot directory and edit #include information.(k3-am62x-sk-ddr4-1600MTs.dtsi → k3-arm62x-ddr-donfig.dtsi)

             
        d)build u-boot
        e)boot
        I tried this process but booting was stopped.

              

    Could you explain or confirm What I do mistake in this setting?

    Regards,

    Lee

  • Lee,

    What you are trying to do will not work.  You need to configure the software for the hardware you have on the board.  A 4GB configuration will not work with just 2GB on the board.  

    Regards,

    James