How to boot LS1088A from spi nor flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to boot LS1088A from spi nor flash

Jump to solution
657 Views
Jackie19
Contributor II

Dear NXP support,
I am developing my ls1088a board based on the LS1088ARDB.
My board worked if boot from sdcard. So, I want to boot from nor flash.
I followed the link: https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1088ARDB-LS1088ARDB-PB-How-to-update-compos... by the steps:
1. Download composite firmware
2. Built-in the composite firmware into firmware that was flashed to sdcard
3. Boot my board from sdcard and enter the u-boot
4. In u-boot console, load composite firmware from sdcard to nor flash 0
5. Change switches to select boot the board from QSPI. But it has not any boot log in minicom, ...

Please help me verify the above steps.

Best Regards

0 Kudos
Reply
1 Solution
353 Views
Jackie19
Contributor II
Hi Oswalag,

I resolved the problem by using the kernel 5.15.
As I understand it, the reason is that the first blocks on my spi nor flash chip have a size of 32KB, while if using the erasing command on the old 5.4 kernel, it only supports erasing blocks of size 256KB.

Thanks,

View solution in original post

0 Kudos
Reply
4 Replies
622 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

The steps are correct, if you have any issues please let me know.

0 Kudos
Reply
604 Views
Jackie19
Contributor II
Hi Oswalag,

After step 5, I can't see any log.
Do you have an idea to debug this issue?

Thanks
0 Kudos
Reply
521 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Maybe you had an issue in step 4,

please share a detailed explanation of all the steps you followed there.

0 Kudos
Reply
354 Views
Jackie19
Contributor II
Hi Oswalag,

I resolved the problem by using the kernel 5.15.
As I understand it, the reason is that the first blocks on my spi nor flash chip have a size of 32KB, while if using the erasing command on the old 5.4 kernel, it only supports erasing blocks of size 256KB.

Thanks,
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2179112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20boot%20LS1088A%20from%20spi%20nor%20flash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20support%2C%3CBR%20%2F%3EI%20am%20developing%20my%20ls1088a%20board%20based%20on%20the%20LS1088ARDB.%3CBR%20%2F%3EMy%20board%20worked%20if%20boot%20from%20sdcard.%20So%2C%20I%20want%20to%20boot%20from%20nor%20flash.%3CBR%20%2F%3EI%20followed%20the%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape-Knowledge-Base%2FLS1088ARDB-LS1088ARDB-PB-How-to-update-composite-firmware-image%2Fta-p%2F1103848%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape-Knowledge-Base%2FLS1088ARDB-LS1088ARDB-PB-How-to-update-composite-firmware-image%2Fta-p%2F1103848%3C%2FA%3E%20by%20the%20steps%3A%3CBR%20%2F%3E1.%20Download%20composite%20firmware%3CBR%20%2F%3E2.%20Built-in%20the%20composite%20firmware%20into%20firmware%20that%20was%20flashed%20to%20sdcard%3CBR%20%2F%3E3.%20Boot%20my%20board%20from%20sdcard%20and%20enter%20the%20u-boot%3CBR%20%2F%3E4.%20In%20u-boot%20console%2C%20load%20composite%20firmware%20from%20sdcard%20to%20nor%20flash%200%3CBR%20%2F%3E5.%20Change%20switches%20to%20select%20boot%20the%20board%20from%20QSPI.%20But%20it%20has%20not%20any%20boot%20log%20in%20minicom%2C%20...%3C%2FP%3E%3CP%3EPlease%20help%20me%20verify%20the%20above%20steps.%3C%2FP%3E%3CP%3EBest%20Regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2203135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20boot%20LS1088A%20from%20spi%20nor%20flash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Oswalag%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20resolved%20the%20problem%20by%20using%20the%20kernel%205.15.%3CBR%20%2F%3EAs%20I%20understand%20it%2C%20the%20reason%20is%20that%20the%20first%20blocks%20on%20my%20spi%20nor%20flash%20chip%20have%20a%20size%20of%2032KB%2C%20while%20if%20using%20the%20erasing%20command%20on%20the%20old%205.4%20kernel%2C%20it%20only%20supports%20erasing%20blocks%20of%20size%20256KB.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2183531%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20boot%20LS1088A%20from%20spi%20nor%20flash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183531%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EMaybe%20you%20had%20an%20issue%20in%20step%204%2C%3C%2FP%3E%0A%3CP%3Eplease%20share%20a%20detailed%20explanation%20of%20all%20the%20steps%20you%20followed%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20boot%20LS1088A%20from%20spi%20nor%20flash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Oswalag%2C%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20step%205%2C%20I%20can't%20see%20any%20log.%3CBR%20%2F%3EDo%20you%20have%20an%20idea%20to%20debug%20this%20issue%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20boot%20LS1088A%20from%20spi%20nor%20flash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20steps%20are%20correct%2C%20if%20you%20have%20any%20issues%20please%20let%20me%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E