Troubleshooting 8ULP EVK Boot Fuses

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

Troubleshooting 8ULP EVK Boot Fuses

Jump to solution
492 Views
KipW
Contributor II

I am testing recovery methods using the MCIMX8ULP-BB EVK.  I successfully burned BT_FUSE_SEL and BT0_CFG1 (Boot from A35/eMMC and M33/QSPI) using u-boot's fuse command. When I set my boot pins to "00" I get the serial bootloader. However, since I have working images in A35's eMMC and M33's NOR, I should be seeing the the kernel boot and the output from M33's image. 

Ideas on how to troubleshoot this?  Does booting from the fuses *require* that I use signed/secure images?

Labels (1)
0 Kudos
Reply
1 Solution
385 Views
KipW
Contributor II
Turns out that the 'fuse' command in u-boot requires a little-endian value for burning. The u-boot command does not perform the endian swap for you

View solution in original post

0 Kudos
Reply
3 Replies
386 Views
KipW
Contributor II
Turns out that the 'fuse' command in u-boot requires a little-endian value for burning. The u-boot command does not perform the endian swap for you
0 Kudos
Reply
443 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @KipW,

 

For that usage you should flash the images following the next instructions:

To burn dual-boot image and rootfs to eMMC and FlexSPI0 NOR flash, perform the following steps:


1. Prepare imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33, imx-boot-imx8ulpevk-
sd.bin-flash_dualboot, imx-boot-imx8ulpevk-sd.bin-flash_dualboot_m33, and
<rootfs.wic>.


2. Update the UUU script file uuu_8ulp_dual.auto with the file path and name of the images above.


3. Run uuu mfgtools/scripts/samples/uuu_8ulp_dual.auto.
For detailed usage of UUU, see github.com/NXPmicro/mfgtools/wiki.

0 Kudos
Reply
412 Views
KipW
Contributor II

I pulled down LF_v6.12.34-2.1.0_images_IMX8ULPEVK, updated the samples/uuu_8ulp_dual.auto to point to the local bin files, burned the images and same result.

When I POR, with Boot Switch set to xxxx_xx00, I see nothing and the SDPS device appears.  I do not have any SRK or certs or any of the CST set up.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2193739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETroubleshooting%208ULP%20EVK%20Boot%20Fuses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2193739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20testing%20recovery%20methods%20using%20the%20MCIMX8ULP-BB%20EVK.%26nbsp%3B%20I%20successfully%20burned%26nbsp%3B%3CSPAN%3EBT_FUSE_SEL%20and%20BT0_CFG1%20(Boot%20from%20A35%2FeMMC%20and%20M33%2FQSPI)%20using%20u-boot's%20fuse%20command.%20When%20I%20set%20my%20boot%20pins%20to%20%2200%22%20I%20get%20the%20serial%20bootloader.%20However%2C%20since%20I%20have%20working%20images%20in%20A35's%20eMMC%20and%20M33's%20NOR%2C%20I%20should%20be%20seeing%20the%20the%20kernel%20boot%20and%20the%20output%20from%20M33's%20image.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIdeas%20on%20how%20to%20troubleshoot%20this%3F%26nbsp%3B%20Does%20booting%20from%20the%20fuses%20*require*%20that%20I%20use%20signed%2Fsecure%20images%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2193739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX8ULP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%208ULP%20EVK%20Boot%20Fuses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETurns%20out%20that%20the%20'fuse'%20command%20in%20u-boot%20requires%20a%20little-endian%20value%20for%20burning.%20The%20u-boot%20command%20does%20not%20perform%20the%20endian%20swap%20for%20you%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195203%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%208ULP%20EVK%20Boot%20Fuses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195203%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20pulled%20down%26nbsp%3BLF_v6.12.34-2.1.0_images_IMX8ULPEVK%2C%20updated%20the%26nbsp%3Bsamples%2Fuuu_8ulp_dual.auto%20to%20point%20to%20the%20local%20bin%20files%2C%20burned%20the%20images%20and%20same%20result.%3C%2FP%3E%3CP%3EWhen%20I%20POR%2C%20with%20Boot%20Switch%20set%20to%20xxxx_xx00%2C%20I%20see%20nothing%20and%20the%20SDPS%20device%20appears.%26nbsp%3B%20I%20do%20not%20have%20any%20SRK%20or%20certs%20or%20any%20of%20the%20CST%20set%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194453%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%208ULP%20EVK%20Boot%20Fuses%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194453%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256209%22%20target%3D%22_blank%22%3E%40KipW%3C%2FA%3E%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFor%20that%20usage%20you%20should%20flash%20the%20images%20following%20the%20next%20instructions%3A%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20burn%20dual-boot%20image%20and%20rootfs%20to%20eMMC%20and%20FlexSPI0%20NOR%20flash%2C%20perform%20the%20following%20steps%3A%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E1.%20Prepare%20imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33%2C%20imx-boot-imx8ulpevk-%3CBR%20%2F%3Esd.bin-flash_dualboot%2C%20imx-boot-imx8ulpevk-sd.bin-flash_dualboot_m33%2C%20and%3CBR%20%2F%3E%3CROOTFS.WIC%3E.%3C%2FROOTFS.WIC%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E2.%20Update%20the%20UUU%20script%20file%20uuu_8ulp_dual.auto%20with%20the%20file%20path%20and%20name%20of%20the%20images%20above.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E3.%20Run%20uuu%20mfgtools%2Fscripts%2Fsamples%2Fuuu_8ulp_dual.auto.%3CBR%20%2F%3EFor%20detailed%20usage%20of%20UUU%2C%20see%20github.com%2FNXPmicro%2Fmfgtools%2Fwiki.%3C%2FP%3E%3C%2FLINGO-BODY%3E