With my custom board, a 32M NOR flash is used. I want to change the layout.
LS1012ARDB flash layout
Below is my expected NOR flash layout:
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?
Solved! Go to Solution.
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?
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?
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.
If you try to use the same LS1012ARDB flash layout on your custom board works fine?
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.