u-boot DDR size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
5,329件の閲覧回数
Giacomo_
Contributor II

Hello support team,
we have developed a proprietary board derived from the NXP evaboard imx8mqevk.
The DDR memory format has changed to 2GB but u-boot always states 3GB of memory (the same size of the evaboard).

Yocto version is Zeus (imx-5.4.24-2.1.0)

The boot output:
------------------------------------------------------------------------------------------
U-Boot 2020.04-5.4.24-2.1.0+g4979a99482 (Apr 26 2021 - 10:03:28 +0000)

CPU: i.MX8MD rev2.1 1500 MHz (running at 1000 MHz)
CPU: Commercial temperature grade (0C to 95C) at 42C
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C0 0x50]
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
<snip>
------------------------------------------------------------------------------------------

  1. We replaced the file generated by the mscale_ddr_tool (nightly test passed) in file: "board/freescale/imx8mq_evk/lpddr4_timing.c"

  2. Fixed the memory node in device tree: "arch/arm/dts/imx8mq-evk.dts"
    memory@40000000 {
        device_type = "memory";
        reg = <0x00000000 0x40000000 0 0x80000000>;
    };

  3. Changed the constant PHYS_SDRAM_SIZE in file: "include/configs/imx8mq_evk.h"


Still no luck, what else are we missing?



タグ(2)
0 件の賞賛
返信
1 解決策
5,310件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Giacomo

 

just for test one can try to build without OPTee, as described in sect.5.6.10 OP-TEE enablement

Yocto Guide included in  Documentation

Also i.MX8M Mini EVK has 2GB configuration and one can look at its configs for comparison.

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
5,311件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Giacomo

 

just for test one can try to build without OPTee, as described in sect.5.6.10 OP-TEE enablement

Yocto Guide included in  Documentation

Also i.MX8M Mini EVK has 2GB configuration and one can look at its configs for comparison.

 

Best regards
igor

0 件の賞賛
返信
851件の閲覧回数
gonewithwind-peter
Senior Contributor I

@igorpadykov 

please see my same issue, actually never fixed , thank you every much for you help. it seems nobody use  optee on maaxboard or imx8mq_evk from yocto zeus.

https://community.nxp.com/t5/i-MX-Processors/after-enabling-optee-in-maaxboard-memory-size-change-fr...

0 件の賞賛
返信
5,298件の閲覧回数
Giacomo_
Contributor II

Thanks, it did the trick.

I do not need really the op-tee so I am good. 

0 件の賞賛
返信