Common U-boot for different DDR size?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Common U-boot for different DDR size?

2,389件の閲覧回数
sijilcv
Contributor II

We are planning to have a common u-boot for 2 different hardware with different DDR size. One hardware with 2 GB DDR and other with 512 MB DDR. We are using iMX6 Dual core custom boards.

Is it possible to have a common u-boot with some default DDR configuration so that it will work for 2 boards ?

After booting with default DDR configuration, reconfigure DDR based on the actual DDR size from u-boot .

The DDR sizes of two boards are as follows

1) 64x16 MB ( 4 DDR )  - 512 MB. 

2) 512x16 MB (4 DDR)  - 2 GB.

The plan was to boot with mnimum DDR size ( 512) and after boot up read hardware BOM to identify the actual DDR size need to be configured . If the size is not matching reconfigure DDR from u-boot itself.

Is it really possible ??   

ラベル(3)
タグ(2)
0 件の賞賛
返信
1 返信

1,862件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi sijil

one can try to load small uboot portion to internal ram (OCRAM) and

configure ddr based on its size, then relocate full uboot to ddr.

Probably approach of SPL Uoot may suit:

ubuntu - what is the use of SPL (secondary program loader) - Stack Overflow 

http://www.denx.de/wiki/pub/U-Boot/MiniSummitELCE2013/tpl-presentation.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信