Memory Mapping in P1015

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

Memory Mapping in P1015

ソリューションへジャンプ
1,080件の閲覧回数
pavankumarg
Contributor II

Hi,

I am currently using a P1015 based custom board which is to be booted using U-boot. I am currently planning to have a custom memory mapping for the board.

The memory mapping of the custom board is as follows:

0x0000_0000 - 0x0FFF_FFFF    DDR3 (Size - 256M)

0x1010_0000 - 0x101F_FFFF    NVRAM (Size - 1M)

0x1030_0000 - 0x122F_FFFF    FPGA  (Size - 32M)

0xF7F0_0000 - 0xF7FF_FFFF   CCSR (Size - 1M)

0xF800_0000 - 0xF8FF_FFFF    Boot Flash (Size - 16M)

Am I correct in assuming that the memory mapping can be changed to suit our requirements. Or are there any constraints to be followed in the memory mapping. Please advice.

ラベル(1)
0 件の賞賛
返信
1 解決策
949件の閲覧回数
r8070z
NXP Employee
NXP Employee


Have a great day,

Yes the memory mapping can be changed. Notice in the memory controller you should set base address aligned to the bank size. I.e. for 32 M you cannot set 0x1030_0000 as base address. Set for example 0x1200_0000.

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
950件の閲覧回数
r8070z
NXP Employee
NXP Employee


Have a great day,

Yes the memory mapping can be changed. Notice in the memory controller you should set base address aligned to the bank size. I.e. for 32 M you cannot set 0x1030_0000 as base address. Set for example 0x1200_0000.

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

0 件の賞賛
返信
949件の閲覧回数
pavankumarg
Contributor II

Should the constraint of setting the base address aligned to bank size be followed for FPGA strictly, because the FPGA's internal memory mapping has been done using 0x1030_0000 as the base address. Also should this alignment of base address mentioned by you be followed for other devices too (like the NVRAM or CCSR) ?

0 件の賞賛
返信
949件の閲覧回数
r8070z
NXP Employee
NXP Employee


Have a great day,

Actually external device memory map and memory controller (eLBC) bank sizes can be different. The memory controller bank size is set in the bank option register as bit mask for address. Due to that continuous memory block will be aligned on its size boundary. You can set bank memory size greater than the FPGA requires and use only unaligned part of it.

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

0 件の賞賛
返信