LS1046ARDB SD card image not booting

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

LS1046ARDB SD card image not booting

Jump to solution
2,357 Views
srogers
Contributor II

Hi

I have a new LS1046ARDB. The labels on it say:

LS1046ARDB-PB REV E

LSDK 21.08

The factory default QSPI boot works. I want to build an image for it using LSDK 21.08 flexbuild (I have been successfully building and booting images on SDCard for FRWY-LS1046A using flexbuild).

I have tried the following. In all cases the device won't boot from SDCard.

This downloads and writes an image to SDCard, but it won't boot:

./flex-installer -i auto -m ls1046ardb -d /dev/sde -p 4P=128M:2G:8G:-1

 

I've also tried in an lsdk 21.08 environment: 

flex-builder -m ls1046ardb

flex-installer -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -b boot_LS_arm64_lts_5.10.tgz -f firmware_ls1046ardb_sdboot.img -p 4P=1G:2G:2G:10G -d /dev/sde

Again this successfully builds the image and writes it to SD card, but when I flip the dip switch (SW_RCW_SRC6) it won't boot. 

Can anyone please suggest what I'm missing?

Thanks

Tags (2)
0 Kudos
Reply
1 Solution
2,318 Views
srogers
Contributor II

This is resolved. I think my problems were caused by either: 

Not using a fresh bash shell after building lsdk in a different folder, so the envs weren't right

A bad sd-card adapter 

View solution in original post

0 Kudos
Reply
3 Replies
2,319 Views
srogers
Contributor II

This is resolved. I think my problems were caused by either: 

Not using a fresh bash shell after building lsdk in a different folder, so the envs weren't right

A bad sd-card adapter 

0 Kudos
Reply
2,330 Views
srogers
Contributor II

If I build an image using lsdk2108 the 1046ARDB does not start u-boot (no console output). I'm doing the following with a pristine flexbuild_lsdk2108_github.tgz:

flex-builder -m ls1046ardb -j16

flex-installer -b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -f firmware_ls1046ardb_sdboot.img -d /dev/sde

The same build process works for the FRWY-LS1046 using -m ls1046afrwy.

Does anyone know what the issue is?

0 Kudos
Reply
2,337 Views
srogers
Contributor II

Following the instructions here LS1046ARDB causing SD cards to become permanent 'read-only' - NXP Community the board now boots from sd card. I wonder if my partitioning options were causing the issue (these worked for FRWY-LS1046)

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1925606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1046ARDB%20SD%20card%20image%20not%20booting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1925606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20have%20a%20new%20LS1046ARDB.%20The%20labels%20on%20it%20say%3A%3C%2FP%3E%3CP%3ELS1046ARDB-PB%20REV%20E%3C%2FP%3E%3CP%3ELSDK%2021.08%3C%2FP%3E%3CP%3EThe%20factory%20default%20QSPI%20boot%20works.%20I%20want%20to%20build%20an%20image%20for%20it%20using%20LSDK%2021.08%20flexbuild%20(I%20have%20been%20successfully%20building%20and%20booting%20images%20on%20SDCard%20for%26nbsp%3B%3CSPAN%3EFRWY-LS1046A%20using%20flexbuild).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20tried%20the%20following.%20In%20all%20cases%20the%20device%20won't%20boot%20from%20SDCard.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20downloads%20and%20writes%20an%20image%20to%20SDCard%2C%20but%20it%20won't%20boot%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.%2Fflex-installer%20-i%20auto%20-m%20ls1046ardb%20-d%20%2Fdev%2Fsde%20-p%204P%3D128M%3A2G%3A8G%3A-1%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EI've%20also%20tried%20in%20an%20lsdk%2021.08%20environment%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eflex-builder%20-m%20ls1046ardb%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eflex-installer%20-r%20rootfs_lsdk2108_ubuntu_main_arm64.tgz%20-b%20boot_LS_arm64_lts_5.10.tgz%20-f%20firmware_ls1046ardb_sdboot.img%20-p%204P%3D1G%3A2G%3A2G%3A10G%20-d%20%2Fdev%2Fsde%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAgain%20this%20successfully%20builds%20the%20image%20and%20writes%20it%20to%20SD%20card%2C%20but%20when%20I%20flip%20the%20dip%20switch%20(SW_RCW_SRC6)%20it%20won't%20boot.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ECan%20anyone%20please%20suggest%20what%20I'm%20missing%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1926384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LS1046ARDB%20SD%20card%20image%20not%20booting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1926384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20is%20resolved.%20I%20think%20my%20problems%20were%20caused%20by%20either%3A%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20using%20a%20fresh%20bash%20shell%20after%20building%20lsdk%20in%20a%20different%20folder%2C%20so%20the%20envs%20weren't%20right%3C%2FP%3E%3CP%3EA%20bad%20sd-card%20adapter%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1926186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LS1046ARDB%20SD%20card%20image%20not%20booting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1926186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIf%20I%20build%20an%20image%20using%20lsdk2108%20the%201046ARDB%20does%20not%20start%20u-boot%20(no%20console%20output).%20I'm%20doing%20the%20following%20with%20a%20pristine%26nbsp%3Bflexbuild_lsdk2108_github.tgz%3A%3C%2FP%3E%3CP%3Eflex-builder%20-m%20ls1046ardb%20-j16%3C%2FP%3E%3CP%3Eflex-installer%20-b%20boot_LS_arm64_lts_5.10.tgz%20-r%20rootfs_lsdk2108_ubuntu_main_arm64.tgz%20-f%20firmware_ls1046ardb_sdboot.img%20-d%20%2Fdev%2Fsde%3C%2FP%3E%3CP%3EThe%20same%20build%20process%20works%20for%20the%20FRWY-LS1046%20using%20-m%20ls1046afrwy.%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20what%20the%20issue%20is%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1926094%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LS1046ARDB%20SD%20card%20image%20not%20booting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1926094%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFollowing%20the%20instructions%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape%2FLS1046ARDB-causing-SD-cards-to-become-permanent-read-only%2Ftd-p%2F1455332%22%20target%3D%22_blank%22%3ELS1046ARDB%20causing%20SD%20cards%20to%20become%20permanent%20'read-only'%20-%20NXP%20Community%3C%2FA%3E%26nbsp%3Bthe%20board%20now%20boots%20from%20sd%20card.%20I%20wonder%20if%20my%20partitioning%20options%20were%20causing%20the%20issue%20(these%20worked%20for%20FRWY-LS1046)%3C%2FP%3E%3C%2FLINGO-BODY%3E