LSDK2108 LS1012ARDB NOR Flash Layout

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LSDK2108 LS1012ARDB NOR Flash Layout

跳至解决方案
870 次查看
Hugh512
Contributor III

With my custom board, a 32M NOR flash is used. I want to change the layout.

LS1012ARDB flash layout

FlashLayout_old.PNG

Below is my expected NOR flash layout:
FlashLayout_expected.PNG

After I erase the NOR Flash and burn the images, System can't enter into uboot, it stops at PBL stage, Could you help to tell me what I should do to change my flash layout?

0 项奖励
1 解答
806 次查看
Oswalag
NXP TechSupport
NXP TechSupport

I see in your expected NOR flash layout that the actual size for u-boot environment is 262,144 but the size of memory for u-boot is only 256k, you also said that you modify lsdk2108_yocto_tiny_LS_arm64.itb to make it smaller and It works fine, Where did you test it?

在原帖中查看解决方案

0 项奖励
4 回复数
807 次查看
Oswalag
NXP TechSupport
NXP TechSupport

I see in your expected NOR flash layout that the actual size for u-boot environment is 262,144 but the size of memory for u-boot is only 256k, you also said that you modify lsdk2108_yocto_tiny_LS_arm64.itb to make it smaller and It works fine, Where did you test it?

0 项奖励
768 次查看
Hugh512
Contributor III

Thank you, Oswalag.

Uboot has at least 1M size, but I made a mistake, only reserved only 1M, After I reserved 1.5M, the start address of uboot environment changed to 0x280000, it works.

850 次查看
Oswalag
NXP TechSupport
NXP TechSupport

If you try to use the same LS1012ARDB flash layout on your custom board works fine?

0 项奖励
844 次查看
Hugh512
Contributor III

LS1012ARDB default NOR Flash Size is 64M, My custom board NOR Flash size is 32M, I modifiy lsdk2108_yocto_tiny_LS_arm64.itb to make it smaller. It works fine. After I relocated the pfe_fw_sbl.itb to 0x001C 0000(256K size) in NOR Flash, It's not work. 

0 项奖励