Thanks Aldo for giving a reference file.
Yes , I am trying to flash the eMMC card.
But on using this i am gettting below error in terminal.
MMC write: dev # 3, block # 2, count 1174 ... 1174 blocks written: OK
Writing 'bootloader' DONE!
Starting download of 9370200 bytes
.......................................................................
downloading of 9370200 bytes finished
Starting download of 49907 bytes
downloading of 49907 bytes finished
Starting download of 8597530 bytes
.................................................................
downloading of 8597530 bytes finished
Unknown command '0x12000000' - try 'help'.
i think i am getting this error after below steps.
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
i tried with below command also just for testing.
FB: acmd bootz ${loadaddr} ${initrd_addr} ${fdt_addr}
but getting below error.
U-Boot 2021.04-00008-gc82ada42e5-dirty (Feb 20 2023 - 20:00:23 +0530)
CPU: i.MX6D rev1.6 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 40C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-Horizon
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
In: serial
Out: serial
Err: serial
flash target is MMC:3
Net: FEC [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: run mfgtool_args; if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr};else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
## Checking Image at 12c00000 ...
Unknown image format!
Run fastboot ...
Starting download of 601088 bytes
....
downloading of 601088 bytes finished
writing to partition 'bootloader'
Initializing 'bootloader'
switch to partitions #1, OK
mmc3(part 1) is current device
Writing 'bootloader'
MMC write: dev # 3, block # 2, count 1174 ... 1174 blocks written: OK
Writing 'bootloader' DONE!
Starting download of 9370200 bytes
.......................................................................
downloading of 9370200 bytes finished
Starting download of 49907 bytes
downloading of 49907 bytes finished
Starting download of 8597530 bytes
.................................................................
downloading of 8597530 bytes finished
Kernel image @ 0x12000000 [ 0x000000 - 0x8efa58 ]
## Loading init Ramdisk from Legacy Image at 12c00000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8597466 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
hab fuse not enabled
Authenticate image from DDR location 0x12000000...
bad magic magic=0xc1 length=0x5000 version=0x2
bad length magic=0xc1 length=0x5000 version=0x2
bad version magic=0xc1 length=0x5000 version=0x2
Error: Invalid IVT structure
Allowed IVT structure:
IVT HDR = 0x4X2000D1
IVT ENTRY = 0xXXXXXXXX
IVT RSV1 = 0x0
IVT DCD = 0x0
IVT BOOT_DATA = 0xXXXXXXXX
IVT SELF = 0xXXXXXXXX
IVT CSF = 0xXXXXXXXX
IVT RSV2 = 0x0
No gpc device node -9, force to ldo-enable.
No PMIC found!
Starting kernel ...
Please suggest me on this issue on Unknown command and this Authentication check, how to correct the DCD IVT header
Regards,
Rakesh