Hi NXP
Our platform uses 2G lpddr, and trusty os needs to be run on the Q10.0.0_2.5.0 version
I am sure that there is no problem with the DDR configuration, and the programming can start normally without -u trusty.
When I want to burn a system with trusty os function, the system cannot start.
Stop below
[6.798319] usb usb2: Product: xHCI Host Controller
[6.803223] usb usb2: Manufacturer: Linux 5.4.47+ xhci-hcd
[6.808718] usb usb2: SerialNumber: xhci-hcd.1.auto
[6.815023] hub 2-0:1.0: USB hub found
[6.818816] hub 2-0:1.0: 1 port detected
[6.825535] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[6.841046] hantrodec: module inserted. Major = 510
[6.854583] galcore: clk_get 2d core clock failed, disable 2d/vg!
[6.860976] Galcore version 6.4.3.p0.286725
The aberration is whether the DDR information is started or 3G. By default, this part has been changed to 2G.
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
The attachment is the complete startup information, please analyze it for help。
Tks!
hi nxp
3G board did not have this problem。I suspect it is a trusty memory allocation problem. Can you give me some ideas?
Hello,
The security error starts in spl from the log. Maybe you have to review the security operation according to Android security user guide - "3.1.2 Verifying images with HABv4".
https://www.nxp.com/docs/en/user-guide/IMX_ANDROID_SECURITY_USERS_GUIDE.pdf
As for memory size, I think it changes according to BL32_BASE setting in ATF. Please try to configure BL32_BASE of vendor/nxp-opensource/arm-trusted-firmware/plat/imx/imx8m/imx8mq/platform.mk based on DDR configuration.
Hope it helps!
BR,
Ivan.
Thank you for your reply, the problem has been solved