What are the changes required to be done in the Linux SDK support a DDR of size 4GB?
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.
What are the changes required to be done in the Linux SDK support a DDR of size 4GB?
The SDK offering for J721s2 currently supports 16GB DDR.
In order to make the SDK compatible to a 4GB DDR, please apply the below patch in ${PSDKLA}/board-support/u-boot-2021.01+gitAUTOINC+62a9e51344-g62a9e51344
/cfs-file/__key/communityserver-discussions-components-files/791/1323.DDR_5F00_4GB_5F00_Uboot.patch
Note:
1. The above patch is created on SDK 8.6.
2. Changes regarding the reduction in the DDR instance happens only in the u-boot.
After applying this patch, build the u-boot binaries and copy the same to the boot partition as shown below:
cd ${PSDKLA}
make u-boot_clean
make u-boot
sudo cp board-support/k3-image-gen-2022.01/tiboot3.bin /media/nikhil/BOOT/tiboot3.bin
sudo cp board-support/u-boot_build/a72/tispl.bin /media/nikhil/BOOT/tispl.bin
sudo cp board-support/u-boot_build/a72/u-boot.img /media/nikhil/BOOT/u-boot.img
Verification:
Check the u-boot logs as shown below
U-Boot 2021.01-00002-g7f1139c55f
(Apr 26 2023 - 15:38:23 +0530)
SoC: J721S2 SR1.0 GP
Model: Texas Instruments J721S2 EVM
Board: J721S2X-PM1-SOM rev E1
DRAM: 4 GiB
Flash: 0 Bytes
MMC: mmc@4f80000: 0, mmc@4fb0000: 1
In: serial@2880000
Regards,
Nikhil