Other Parts Discussed in Thread: DP83620
I'm working with a customer that is trying to boot Linux on their custom board, from eMMC FLASH, with 512MB of LPDDR4 memory. So far, they have been able to successfully boot all the way to the U-Boot running from DDR on the A53 core. They have also been able to format the rootfs of eMMC FLASH and copy their Linux file system over (same Linux file system as the out-of-box SDK for now). Therefore, they believe that their eMMC and DDR configurations are correct. They have also patched /rootfs/boot with their custom Image and Device Tree Blob.
SDK version 08.06.00.42 (Release date: 24 Feb 2023).
However, when they try to boot the kernel, they get a "starting kernel" print on the serial port, but nothing more.
They have validated their process on AM62 starter kit, and their eMMC boot process is working on the kit. There is a hypothesis that there are some DDR configuration steps missing for the smaller 512MB DDR size.
Following the AM62x Linux Academy porting guide, DDR changes are suggested here, which they have followed. The porting guide does not recommend any other changes either for U-Boot or Linux, and this seems a bit suspicious to me.
In particular, what about the following potential (undocumented) Linux change:
- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
- memory@80000000: Change the size to 0x20000000
- reserved-memory: Do any of these memory locations need to change?
Are there any other changes necessary to move to 512MB of DDR?
Thanks,
Stuart