How to change an XSPI Flash partition

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

How to change an XSPI Flash partition

623件の閲覧回数
muaxi8
Contributor V

LX2080a custom board,  xspi flash is 512MB。

LSDK User Guide datasheet have a Unified 64MiB memory layout of XSPI media,but my flash space is larger than 64MB, How do I change the default partition, Or where is the default partition code.

muaxi8_0-1627609634222.png

 

0 件の賞賛
返信
3 返答(返信)

617件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please modify the following section in include/configs/lx2160a_common.h in u-boot source code.

/* FlexSPI */
#ifdef CONFIG_NXP_FSPI
#define NXP_FSPI_FLASH_SIZE SZ_64M
#define NXP_FSPI_FLASH_NUM 1
#endif

Please refer to memory layout definition in flexbuild_lsdk2012/configs/board/common/memorylayout.cfg

0 件の賞賛
返信

609件の閲覧回数
muaxi8
Contributor V

the memory layout is how to implemented ?  does it is implemented with hardware or software?

What should I do if I want to modify the partition

0 件の賞賛
返信

604件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The whole firmware image is generated based on the memory layout. It's is implemented with software.

It's not recommended to modify firmware addresses in this memory layout, because they are defined in u-boot source code.

For example,

DPAA1 FMAN ucode

It is defined as CONFIG_SYS_FMAN_FW_ADDR in include/configs/ls1046a_common.h in u-boot source code.

 

0 件の賞賛
返信