SPL error in flash.bin for trying to compile iMX8QXP secureboot

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

SPL error in flash.bin for trying to compile iMX8QXP secureboot

1,618 Views
pramodreddy
Contributor II

Compilation in iMX8QXP 

:~/Downloads/imx-mkimage(lf-6.6.3_1.0.0)$ sudo make clean && make SOC=iMX8QX REV=C0 flash_spl
imx8qm clean done
imx8qx clean done
imx8dxl clean done
imx8ulp clean done
imx93 clean done
imx91 clean done
imx95 clean done
Compiling mkimage_imx8
include misc.mak
include m4.mak
include android.mak
include test.mak
include autobuild.mak
include alias.mak
./../mkimage_imx8 -commit > head.hash
if [ -f tee.bin ]; then \
if [  ]; then \
echo "Start compress tee.bin"; \
lz4 -9 -f --rm tee.bin tee.bin.lz4; \
cp tee.bin.lz4 tee.bin; \
fi; \
if [  ]; then \
./../mkimage_imx8 -soc QX -sw_version  -rev B0 -c -ap bl31.bin a35 0x80000000 -ap u-boot-hash.bin a35 0x80020000 -ap tee.bin a35 0xFE000000 -out u-boot-atf-container.img; \
else \
./../mkimage_imx8 -soc QX -rev B0 -c -ap bl31.bin a35 0x80000000 -ap u-boot-hash.bin a35 0x80020000 -ap tee.bin a35 0xFE000000 -out u-boot-atf-container.img; \
fi; \
else \
./../mkimage_imx8 -soc QX -rev B0 -c -ap bl31.bin a35 0x80000000 -ap u-boot-hash.bin a35 0x80020000 -out u-boot-atf-container.img; \
fi
SOC: QX 
REVISION: B0 
New Container: 0
AP: bl31.bin core: a35 addr: 0x80000000
AP: u-boot-hash.bin core: a35 addr: 0x80020000
AP: tee.bin core: a35 addr: 0xfe000000
Output: u-boot-atf-container.img
CONTAINER FUSE VERSION: 0x00
CONTAINER SW VERSION: 0x0000
ivt_offset: 1024
rev: 2
Platform: i.MX8QXP B0
ivt_offset: 1024
container image offset (aligned):2000
csf_off 0x2400
flags: 0x10
Hash of the images = 
1+0 records in
1+0 records out
33792 bytes (34 kB, 33 KiB) copied, 0.000153251 s, 221 MB/s
64+1 records in
64+1 records out
32909 bytes (33 kB, 32 KiB) copied, 0.000214885 s, 153 MB/s
AP file_offset = 0x2000 size = 0x8400
Hash of the images = 
1+0 records in
1+0 records out
520192 bytes (520 kB, 508 KiB) copied, 0.000895716 s, 581 MB/s
1014+1 records in
1014+1 records out
519649 bytes (520 kB, 507 KiB) copied, 0.0041585 s, 125 MB/s
AP file_offset = 0xa400 size = 0x7f000
Hash of the images = 
1+0 records in
1+0 records out
591872 bytes (592 kB, 578 KiB) copied, 0.00138488 s, 427 MB/s
1155+1 records in
1155+1 records out
591528 bytes (592 kB, 578 KiB) copied, 0.00404481 s, 146 MB/s
AP file_offset = 0x89400 size = 0x90800
CST: CONTAINER 0 offset: 0x0
CST: CONTAINER 0: Signature Block: offset is at 0x190
Offsets = 0x0 0x190
DONE.
Note: Please copy image to offset: IVT_OFFSET + IMAGE_OFFSET
./../mkimage_imx8 -soc QX -rev B0 -dcd skip -append mx8qxc0-ahab-container.img -c -scfw scfw_tcm.bin -ap u-boot-spl.bin a35 0x00100000 -out flash.bin
SOC: QX 
REVISION: B0 
DCD: skip
New Container: 0
SCFW: scfw_tcm.bin
AP: u-boot-spl.bin core: a35 addr: 0x00100000
Output: flash.bin
CONTAINER FUSE VERSION: 0x00
CONTAINER SW VERSION: 0x0000
ivt_offset: 1024
rev: 2
Platform: i.MX8QXP B0
ivt_offset: 1024
header tag missmatched ca
container image offset (aligned):13400
csf_off 0x13800
flags: 0x10
Hash of the images = 
1+0 records in
1+0 records out
174080 bytes (174 kB, 170 KiB) copied, 0.000434511 s, 401 MB/s
338+1 records in
338+1 records out
173120 bytes (173 kB, 169 KiB) copied, 0.000963655 s, 180 MB/s
SCFW file_offset = 0x13400 size = 0x2a800
Hash of the images = 
1+0 records in
1+0 records out
132096 bytes (132 kB, 129 KiB) copied, 0.000203474 s, 649 MB/s
256+1 records in
256+1 records out
131230 bytes (131 kB, 128 KiB) copied, 0.000234614 s, 559 MB/s
AP file_offset = 0x3dc00 size = 0x20400
CST: CONTAINER 0 offset: 0x400
CST: CONTAINER 0: Signature Block: offset is at 0x510
Offsets = 0x400 0x510
DONE.
Note: Please copy image to offset: IVT_OFFSET + IMAGE_OFFSET
append u-boot-atf-container.img at 376 KB
1127+0 records in
1127+0 records out
1154048 bytes (1.2 MB, 1.1 MiB) copied, 0.00305697 s, 378 MB/s

 

But when i checked in flash.bin below is error i am getting, How to fix this

strings flash.bin | grep -i spl
spl: ERROR: unsupported device
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)
SPL: Image overlaps SPL
SPL: Image too large
spl: unsupported mmc boot device.
spl: could not initialize mmc. error: %d
spl: could not find mmc device %d. error: %d
spl: mmc init failed with error: %d
spl: mmc partition switch failed
spl: mmc: wrong boot mode
display_init
Display the FIPS mode of the SoC by reading fuse 0xA, bit 3
Successfully finished the power up sequence of display.
SPL Phase
TI Keystone SPL Image
TI OMAP SPL With GP CH
sfspl
StarFive SPL Image
display MMC info
u-boot,dm-spl
splashimage=0x9e000000
display-timings
display-subsystem
fsl,imx-display-subsystem
//ldb@562210e0/lvds-channel@0/display-timings/timing0
display0
display1
split_vm_region

Tags (2)
0 Kudos
Reply
3 Replies

1,512 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @pramodreddy 

I hope you are doing very well.

 

Actually, the command strings flash.bin that you are running is not a runtime error. That command is looking for static strings compiled into the binary.

 

Best regards,

Salas.

0 Kudos
Reply

1,483 Views
pramodreddy
Contributor II

HI @Manuel_Salas 

  Deatils_flash.png.

Please check this. we are currently only using flash but not flash_spl. i am trying to generate and sue flash_spl.

I been following user guide og NXP PFA. Generate_flash and using and following the steps.

sudo make clean &&  make SOC=iMX8QX REV=C0 flash_spl using this command to generate flash.bin.

flash.bin is generated successfully. But once this flashed 100%  that's it struck no done or nothing amd terminla is not coming out of it and also furthur wic flashing is not allowed.

Help me where could i gone wrong.

Thanks In advance

Please ping  for any furthur details

0 Kudos
Reply

1,476 Views
pramodreddy
Contributor II

HI @Manuel_Salas 

Below are the steps we are following 

a. cp BUILD_DIR/tmp/deploy/images/imx8qxpc0mek/imx-boot-tools/bl31-imx8qx.bin iMX8QX/bl31.bin
b. cp BUILD_DIR/tmp/deploy/images/imx8qxpc0mek/imx-boot-tools/mx8qxc0-ahab-container.img iMX8QX/
c. cp BUILD_DIR/tmp/deploy/images/imx8qxpc0mek/imx-boot-tools/u-boot-imx8qxpc0mek.bin-sd iMX8QX/u-boot.bin
d. cp BUILD_DIR/tmp/deploy/images/imx8qxpc0mek/imx-boot-tools/u-boot-spl.bin-imx8qxpc0mek-sd iMX8QX/u-boot-spl.bin

a. Copy the scfw_tcm.bin to imx-mkimage/iMX8QX
b. sudo make clean &&  make SOC=iMX8QX REV=C0 flash_spl


Note : current Target which we are using iMX8QXPC0

Tags (2)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2360484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESPL%20error%20in%20flash.bin%20for%20trying%20to%20compile%20iMX8QXP%20secureboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2360484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECompilation%20in%20iMX8QXP%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%3E%3A~%2FDownloads%2Fimx-mkimage(lf-6.6.3_1.0.0)%24%20sudo%20make%20clean%20%26amp%3B%26amp%3B%20make%20SOC%3DiMX8QX%20REV%3DC0%20flash_spl%3C%2FDIV%3E%3CDIV%3Eimx8qm%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx8qx%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx8dxl%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx8ulp%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx93%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx91%20clean%20done%3C%2FDIV%3E%3CDIV%3Eimx95%20clean%20done%3C%2FDIV%3E%3CDIV%3ECompiling%20mkimage_imx8%3C%2FDIV%3E%3CDIV%3Einclude%20misc.mak%3C%2FDIV%3E%3CDIV%3Einclude%20m4.mak%3C%2FDIV%3E%3CDIV%3Einclude%20android.mak%3C%2FDIV%3E%3CDIV%3Einclude%20test.mak%3C%2FDIV%3E%3CDIV%3Einclude%20autobuild.mak%3C%2FDIV%3E%3CDIV%3Einclude%20alias.mak%3C%2FDIV%3E%3CDIV%3E.%2F..%2Fmkimage_imx8%20-commit%20%26gt%3B%20head.hash%3C%2FDIV%3E%3CDIV%3Eif%20%5B%20-f%20tee.bin%20%5D%3B%20then%20%5C%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eif%20%5B%26nbsp%3B%20%5D%3B%20then%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eecho%20%22Start%20compress%20tee.bin%22%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Elz4%20-9%20-f%20--rm%20tee.bin%20tee.bin.lz4%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Ecp%20tee.bin.lz4%20tee.bin%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Efi%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eif%20%5B%26nbsp%3B%20%5D%3B%20then%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E.%2F..%2Fmkimage_imx8%20-soc%20QX%20-sw_version%26nbsp%3B%20-rev%20B0%20-c%20-ap%20bl31.bin%20a35%200x80000000%20-ap%20u-boot-hash.bin%20a35%200x80020000%20-ap%20tee.bin%20a35%200xFE000000%20-out%20u-boot-atf-container.img%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eelse%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E.%2F..%2Fmkimage_imx8%20-soc%20QX%20-rev%20B0%20-c%20-ap%20bl31.bin%20a35%200x80000000%20-ap%20u-boot-hash.bin%20a35%200x80020000%20-ap%20tee.bin%20a35%200xFE000000%20-out%20u-boot-atf-container.img%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Efi%3B%20%5C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3Eelse%20%5C%3C%2FDIV%3E%3CDIV%3E.%2F..%2Fmkimage_imx8%20-soc%20QX%20-rev%20B0%20-c%20-ap%20bl31.bin%20a35%200x80000000%20-ap%20u-boot-hash.bin%20a35%200x80020000%20-out%20u-boot-atf-container.img%3B%20%5C%3C%2FDIV%3E%3CDIV%3Efi%3C%2FDIV%3E%3CDIV%3ESOC%3A%20QX%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EREVISION%3A%20B0%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ENew%20Container%3A%200%3C%2FDIV%3E%3CDIV%3EAP%3A%20bl31.bin%20core%3A%20a35%20addr%3A%200x80000000%3C%2FDIV%3E%3CDIV%3EAP%3A%20u-boot-hash.bin%20core%3A%20a35%20addr%3A%200x80020000%3C%2FDIV%3E%3CDIV%3EAP%3A%20tee.bin%20core%3A%20a35%20addr%3A%200xfe000000%3C%2FDIV%3E%3CDIV%3EOutput%3A%20u-boot-atf-container.img%3C%2FDIV%3E%3CDIV%3ECONTAINER%20FUSE%20VERSION%3A%200x00%3C%2FDIV%3E%3CDIV%3ECONTAINER%20SW%20VERSION%3A%200x0000%3C%2FDIV%3E%3CDIV%3Eivt_offset%3A%201024%3C%2FDIV%3E%3CDIV%3Erev%3A%202%3C%2FDIV%3E%3CDIV%3EPlatform%3A%20i.MX8QXP%20B0%3C%2FDIV%3E%3CDIV%3Eivt_offset%3A%201024%3C%2FDIV%3E%3CDIV%3Econtainer%20image%20offset%20(aligned)%3A2000%3C%2FDIV%3E%3CDIV%3Ecsf_off%200x2400%3C%2FDIV%3E%3CDIV%3Eflags%3A%200x10%3C%2FDIV%3E%3CDIV%3EHash%20of%20the%20images%20%3D%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E33792%20bytes%20(34%20kB%2C%2033%20KiB)%20copied%2C%200.000153251%20s%2C%20221%20MB%2Fs%3C%2FDIV%3E%3CDIV%3E64%2B1%20records%20in%3C%2FDIV%3E%3CDIV%3E64%2B1%20records%20out%3C%2FDIV%3E%3CDIV%3E32909%20bytes%20(33%20kB%2C%2032%20KiB)%20copied%2C%200.000214885%20s%2C%20153%20MB%2Fs%3C%2FDIV%3E%3CDIV%3EAP%20file_offset%20%3D%200x2000%20size%20%3D%200x8400%3C%2FDIV%3E%3CDIV%3EHash%20of%20the%20images%20%3D%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E520192%20bytes%20(520%20kB%2C%20508%20KiB)%20copied%2C%200.000895716%20s%2C%20581%20MB%2Fs%3C%2FDIV%3E%3CDIV%3E1014%2B1%20records%20in%3C%2FDIV%3E%3CDIV%3E1014%2B1%20records%20out%3C%2FDIV%3E%3CDIV%3E519649%20bytes%20(520%20kB%2C%20507%20KiB)%20copied%2C%200.0041585%20s%2C%20125%20MB%2Fs%3C%2FDIV%3E%3CDIV%3EAP%20file_offset%20%3D%200xa400%20size%20%3D%200x7f000%3C%2FDIV%3E%3CDIV%3EHash%20of%20the%20images%20%3D%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E591872%20bytes%20(592%20kB%2C%20578%20KiB)%20copied%2C%200.00138488%20s%2C%20427%20MB%2Fs%3C%2FDIV%3E%3CDIV%3E1155%2B1%20records%20in%3C%2FDIV%3E%3CDIV%3E1155%2B1%20records%20out%3C%2FDIV%3E%3CDIV%3E591528%20bytes%20(592%20kB%2C%20578%20KiB)%20copied%2C%200.00404481%20s%2C%20146%20MB%2Fs%3C%2FDIV%3E%3CDIV%3EAP%20file_offset%20%3D%200x89400%20size%20%3D%200x90800%3C%2FDIV%3E%3CDIV%3ECST%3A%20CONTAINER%200%20offset%3A%200x0%3C%2FDIV%3E%3CDIV%3ECST%3A%20CONTAINER%200%3A%20Signature%20Block%3A%20offset%20is%20at%200x190%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EOffsets%20%3D%200x0%200x190%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3EDONE.%3C%2FDIV%3E%3CDIV%3ENote%3A%20Please%20copy%20image%20to%20offset%3A%20IVT_OFFSET%20%2B%20IMAGE_OFFSET%3C%2FDIV%3E%3CDIV%3E.%2F..%2Fmkimage_imx8%20-soc%20QX%20-rev%20B0%20-dcd%20skip%20-append%20mx8qxc0-ahab-container.img%20-c%20-scfw%20scfw_tcm.bin%20-ap%20u-boot-spl.bin%20a35%200x00100000%20-out%20flash.bin%3C%2FDIV%3E%3CDIV%3ESOC%3A%20QX%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EREVISION%3A%20B0%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EDCD%3A%20skip%3C%2FDIV%3E%3CDIV%3ENew%20Container%3A%200%3C%2FDIV%3E%3CDIV%3ESCFW%3A%20scfw_tcm.bin%3C%2FDIV%3E%3CDIV%3EAP%3A%20u-boot-spl.bin%20core%3A%20a35%20addr%3A%200x00100000%3C%2FDIV%3E%3CDIV%3EOutput%3A%20flash.bin%3C%2FDIV%3E%3CDIV%3ECONTAINER%20FUSE%20VERSION%3A%200x00%3C%2FDIV%3E%3CDIV%3ECONTAINER%20SW%20VERSION%3A%200x0000%3C%2FDIV%3E%3CDIV%3Eivt_offset%3A%201024%3C%2FDIV%3E%3CDIV%3Erev%3A%202%3C%2FDIV%3E%3CDIV%3EPlatform%3A%20i.MX8QXP%20B0%3C%2FDIV%3E%3CDIV%3Eivt_offset%3A%201024%3C%2FDIV%3E%3CDIV%3Eheader%20tag%20missmatched%20ca%3C%2FDIV%3E%3CDIV%3Econtainer%20image%20offset%20(aligned)%3A13400%3C%2FDIV%3E%3CDIV%3Ecsf_off%200x13800%3C%2FDIV%3E%3CDIV%3Eflags%3A%200x10%3C%2FDIV%3E%3CDIV%3EHash%20of%20the%20images%20%3D%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E174080%20bytes%20(174%20kB%2C%20170%20KiB)%20copied%2C%200.000434511%20s%2C%20401%20MB%2Fs%3C%2FDIV%3E%3CDIV%3E338%2B1%20records%20in%3C%2FDIV%3E%3CDIV%3E338%2B1%20records%20out%3C%2FDIV%3E%3CDIV%3E173120%20bytes%20(173%20kB%2C%20169%20KiB)%20copied%2C%200.000963655%20s%2C%20180%20MB%2Fs%3C%2FDIV%3E%3CDIV%3ESCFW%20file_offset%20%3D%200x13400%20size%20%3D%200x2a800%3C%2FDIV%3E%3CDIV%3EHash%20of%20the%20images%20%3D%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E132096%20bytes%20(132%20kB%2C%20129%20KiB)%20copied%2C%200.000203474%20s%2C%20649%20MB%2Fs%3C%2FDIV%3E%3CDIV%3E256%2B1%20records%20in%3C%2FDIV%3E%3CDIV%3E256%2B1%20records%20out%3C%2FDIV%3E%3CDIV%3E131230%20bytes%20(131%20kB%2C%20128%20KiB)%20copied%2C%200.000234614%20s%2C%20559%20MB%2Fs%3C%2FDIV%3E%3CDIV%3EAP%20file_offset%20%3D%200x3dc00%20size%20%3D%200x20400%3C%2FDIV%3E%3CDIV%3ECST%3A%20CONTAINER%200%20offset%3A%200x400%3C%2FDIV%3E%3CDIV%3ECST%3A%20CONTAINER%200%3A%20Signature%20Block%3A%20offset%20is%20at%200x510%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EOffsets%20%3D%200x400%200x510%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3EDONE.%3C%2FDIV%3E%3CDIV%3ENote%3A%20Please%20copy%20image%20to%20offset%3A%20IVT_OFFSET%20%2B%20IMAGE_OFFSET%3C%2FDIV%3E%3CDIV%3Eappend%20u-boot-atf-container.img%20at%20376%20KB%3C%2FDIV%3E%3CDIV%3E1127%2B0%20records%20in%3C%2FDIV%3E%3CDIV%3E1127%2B0%20records%20out%3C%2FDIV%3E%3CDIV%3E1154048%20bytes%20(1.2%20MB%2C%201.1%20MiB)%20copied%2C%200.00305697%20s%2C%20378%20MB%2Fs%3C%2FDIV%3E%3CBR%20%2F%3E%3CP%3EBut%20when%20i%20checked%20in%20flash.bin%20below%20is%20error%20i%20am%20getting%2C%20How%20to%20fix%20this%3C%2FP%3E%3CP%3Estrings%20flash.bin%20%7C%20grep%20-i%20spl%3CBR%20%2F%3Espl%3A%20ERROR%3A%20unsupported%20device%3CBR%20%2F%3ESPL%3A%20Unsupported%20Boot%20Device!%3CBR%20%2F%3ESPL%3A%20failed%20to%20boot%20from%20all%20boot%20devices%3CBR%20%2F%3EU-Boot%20SPL%202024.04-lf_v2024.04%2Bg6c4545203d1%2Bp0%20(Nov%2015%202024%20-%2004%3A02%3A13%20%2B0000)%3CBR%20%2F%3ESPL%3A%20Image%20overlaps%20SPL%3CBR%20%2F%3ESPL%3A%20Image%20too%20large%3CBR%20%2F%3Espl%3A%20unsupported%20mmc%20boot%20device.%3CBR%20%2F%3Espl%3A%20could%20not%20initialize%20mmc.%20error%3A%20%25d%3CBR%20%2F%3Espl%3A%20could%20not%20find%20mmc%20device%20%25d.%20error%3A%20%25d%3CBR%20%2F%3Espl%3A%20mmc%20init%20failed%20with%20error%3A%20%25d%3CBR%20%2F%3Espl%3A%20mmc%20partition%20switch%20failed%3CBR%20%2F%3Espl%3A%20mmc%3A%20wrong%20boot%20mode%3CBR%20%2F%3Edisplay_init%3CBR%20%2F%3EDisplay%20the%20FIPS%20mode%20of%20the%20SoC%20by%20reading%20fuse%200xA%2C%20bit%203%3CBR%20%2F%3ESuccessfully%20finished%20the%20power%20up%20sequence%20of%20display.%3CBR%20%2F%3ESPL%20Phase%3CBR%20%2F%3ETI%20Keystone%20SPL%20Image%3CBR%20%2F%3ETI%20OMAP%20SPL%20With%20GP%20CH%3CBR%20%2F%3Esfspl%3CBR%20%2F%3EStarFive%20SPL%20Image%3CBR%20%2F%3Edisplay%20MMC%20info%3CBR%20%2F%3Eu-boot%2Cdm-spl%3CBR%20%2F%3Esplashimage%3D0x9e000000%3CBR%20%2F%3Edisplay-timings%3CBR%20%2F%3Edisplay-subsystem%3CBR%20%2F%3Efsl%2Cimx-display-subsystem%3CBR%20%2F%3E%2F%2Fldb%40562210e0%2Flvds-channel%400%2Fdisplay-timings%2Ftiming0%3CBR%20%2F%3Edisplay0%3CBR%20%2F%3Edisplay1%3CBR%20%2F%3Esplit_vm_region%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2361340%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SPL%20error%20in%20flash.bin%20for%20trying%20to%20compile%20iMX8QXP%20secureboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2361340%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231368%22%20target%3D%22_blank%22%3E%40pramodreddy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20are%20doing%20very%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EActually%2C%20the%20command%20%3CEM%3E%3CSTRONG%3Estrings%20flash.bin%3C%2FSTRONG%3E%3C%2FEM%3E%20that%20you%20are%20running%20is%20not%20a%20runtime%20error.%20That%20command%20is%20looking%20for%20static%20strings%20compiled%20into%20the%20binary.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ESalas.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2362256%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SPL%20error%20in%20flash.bin%20for%20trying%20to%20compile%20iMX8QXP%20secureboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2362256%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%2F203368%22%20target%3D%22_blank%22%3E%40Manuel_Salas%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20Deatils_flash.png.%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20check%20this.%20we%20are%20currently%20only%20using%20flash%20but%20not%20flash_spl.%20i%20am%20trying%20to%20generate%20and%20sue%20flash_spl.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20been%20following%20user%20guide%20og%20NXP%20PFA.%20Generate_flash%20and%20using%20and%20following%20the%20steps.%3CBR%20%2F%3E%3CBR%20%2F%3Esudo%20make%20clean%20%26amp%3B%26amp%3B%26nbsp%3B%20make%20SOC%3DiMX8QX%20REV%3DC0%20flash_spl%20using%20this%20command%20to%20generate%20flash.bin.%3CBR%20%2F%3E%3CBR%20%2F%3Eflash.bin%20is%20generated%20successfully.%20But%20once%20this%20flashed%20100%25%26nbsp%3B%20that's%20it%20struck%20no%20done%20or%20nothing%20amd%20terminla%20is%20not%20coming%20out%20of%20it%20and%20also%20furthur%20wic%20flashing%20is%20not%20allowed.%3CBR%20%2F%3E%3CBR%20%2F%3EHelp%20me%20where%20could%20i%20gone%20wrong.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20In%20advance%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20ping%26nbsp%3B%20for%20any%20furthur%20details%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2362288%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SPL%20error%20in%20flash.bin%20for%20trying%20to%20compile%20iMX8QXP%20secureboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2362288%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%2F203368%22%20target%3D%22_blank%22%3E%40Manuel_Salas%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EBelow%20are%20the%20steps%20we%20are%20following%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Ea.%20cp%20BUILD_DIR%2Ftmp%2Fdeploy%2Fimages%2Fimx8qxpc0mek%2Fimx-boot-tools%2Fbl31-imx8qx.bin%20iMX8QX%2Fbl31.bin%3CBR%20%2F%3Eb.%20cp%20BUILD_DIR%2Ftmp%2Fdeploy%2Fimages%2Fimx8qxpc0mek%2Fimx-boot-tools%2Fmx8qxc0-ahab-container.img%20iMX8QX%2F%3CBR%20%2F%3Ec.%20cp%20BUILD_DIR%2Ftmp%2Fdeploy%2Fimages%2Fimx8qxpc0mek%2Fimx-boot-tools%2Fu-boot-imx8qxpc0mek.bin-sd%20iMX8QX%2Fu-boot.bin%3CBR%20%2F%3Ed.%20cp%20BUILD_DIR%2Ftmp%2Fdeploy%2Fimages%2Fimx8qxpc0mek%2Fimx-boot-tools%2Fu-boot-spl.bin-imx8qxpc0mek-sd%20iMX8QX%2Fu-boot-spl.bin%3C%2FP%3E%3CP%3Ea.%20Copy%20the%20scfw_tcm.bin%20to%20imx-mkimage%2FiMX8QX%3CBR%20%2F%3Eb.%20sudo%20make%20clean%20%26amp%3B%26amp%3B%26nbsp%3B%20make%20SOC%3DiMX8QX%20REV%3DC0%20flash_spl%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENote%20%3A%20current%20Target%20which%20we%20are%20using%20iMX8QXPC0%3C%2FP%3E%3C%2FLINGO-BODY%3E