Skip to content

on './runme.sh' received ERROR: Line 448 failed with status 1: -mkimage -f kernel2160cex7.its kernel-lx2160acex7.itb #95

@BloodShop

Description

@BloodShop

While trying to Execute the ./runme.sh and waiting a while, I have received this output:
mkimage: verify_header failed for FIT Image support with exit code 1
ERROR: Line 448 failed with status 1: mkimage -f kernel2160cex7.its kernel-lx2160acex7.itb

Repository prefix for images is 953989b
Checking all required tools are installed
git is not configured! using fake email and username ...
Building boot loader
Building restool
make: 'install' is up to date.
Building RCW
rm -f
rm -f -r RCW/template.bin
rm -f -rf lx2160acex7
make: Warning: File 'RCW/template.rcw' has modification time 0.08 s in the future
python3 ../rcw.py -i  RCW/template.rcw -o  RCW/template.bin
make: warning:  Clock skew detected.  Your build may be incomplete.
Build u-boot
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
.config:1742:warning: override: reassigning to symbol DEFAULT_FDT_FILE
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  
.....................

  AR      /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/lib/libc.a
DDR UDIMM PHY IMEM 1d FW: offset=0x178, size=0x6BD0, cmdline="--ddr-immem-udimm-1d"
DDR UDIMM PHY IMEM 2d FW: offset=0x6D48, size=0x694C, cmdline="--ddr-immem-udimm-2d"
DDR UDIMM PHY DMEM 1d FW: offset=0xD694, size=0x6D0, cmdline="--ddr-dmmem-udimm-1d"
DDR UDIMM PHY DMEM 2d FW: offset=0xDD64, size=0x5BC, cmdline="--ddr-dmmem-udimm-2d"
DDR RDIMM PHY IMEM 1d FW: offset=0xE320, size=0x7050, cmdline="--ddr-immem-rdimm-1d"
DDR RDIMM PHY IMEM 2d FW: offset=0x15370, size=0x6D14, cmdline="--ddr-immem-rdimm-2d"
DDR RDIMM PHY DMEM 1d FW: offset=0x1C084, size=0x714, cmdline="--ddr-dmmem-rdimm-1d"
DDR RDIMM PHY DMEM 2d FW: offset=0x1C798, size=0x5FC, cmdline="--ddr-dmmem-rdimm-2d"

Built /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/ddr_fip.bin successfully

  LD      /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2/bl2.elf
  LD      /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl31/bl31.elf
  BIN     /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2.bin
  OD      /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2/bl2.dump

Built /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2.bin successfully

gcc -Wall -Werror -pedantic -std=c99 -O2 -DVERSION='"v2.4(release):LSDK-21.08-15-g013c88547"' -D_GNU_SOURCE -D_XOPEN_SOURCE=700  -c -o create_pbl.o create_pbl.c
gcc -Wall -Werror -pedantic -std=c99 -O2 -DVERSION='"v2.4(release):LSDK-21.08-15-g013c88547"' -D_GNU_SOURCE -D_XOPEN_SOURCE=700  -c -o byte_swap.o byte_swap.c
  BIN     /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl31.bin
  OD      /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl31/bl31.dump
  LD      byte_swap

Built /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl31.bin successfully

  LD      create_pbl
EL3 Runtime Firmware BL31: offset=0x88, size=0xD3F9, cmdline="--soc-fw"
Non-Trusted Firmware BL33: offset=0xD481, size=0xD4FA8, cmdline="--nt-fw"

Built /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/fip.bin successfully


Built byte_swap successfully


Built create_pbl successfully

# Add Block Copy command and populate boot loc ptrfor bl2.bin to RCW
tools/nxp/create_pbl -r /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/rcw/lx2160acex7/RCW/template.bin -i /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2.bin -b auto -c 2160 -d 0x1800D000 -e 0x1800D000 \
-o /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2_auto.pbl -f 0x9000;

Input Boot Source: (null)
Input RCW File: /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/rcw/lx2160acex7/RCW/template.bin
Input BL2 Binary File: /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2.bin
Input load address for BL2 Binary File: 0x1800d000
Chassis Type: 3
Found SD boot at 238

Boot Location Pointer= 0x1800d000
Found eMMC boot at 254

Boot Location Pointer= 0x1800d000
Found SPI boot at 270

Boot Location Pointer= 0x1800d000
Output file successfully created with name: /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2_auto.pbl

# Append the bl2.bin to the RCW image
bl2_loc is 36 KB
dd if=/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2.bin of=/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/build/lx2160acex7/release/bl2_auto.pbl bs=1K seek=36
73+1 records in
73+1 records out
75025 bytes (75 kB, 73 KiB) copied, 0.0115075 s, 6.5 MB/s
cd tools/nxp; make clean ; cd -;
make[1]: Entering directory '/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/tools/nxp'
make[1]: Leaving directory '/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf/tools/nxp'
/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/atf
Building mc-utils
make: Entering directory '/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/mc-utils/config'
make: Nothing to be done for 'all'.
make: Leaving directory '/mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/build/mc-utils/config'
Building the kernel
Using arch/arm64/configs/defconfig as base
Merging arch/arm64/configs/lsdk.config
Value of CONFIG_FSL_DPAA is redefined by fragment arch/arm64/configs/lsdk.config:
Previous value: CONFIG_FSL_DPAA=y
New value: CONFIG_FSL_DPAA=n

Value of CONFIG_FSL_FMAN is redefined by fragment arch/arm64/configs/lsdk.config:
Previous value: CONFIG_FSL_FMAN=y
New value: CONFIG_FSL_FMAN=n

..............................

Value of CONFIG_MARVELL_10G_PHY is redefined by fragment /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/configs/linux/lx2k_additions.config:
Previous value: CONFIG_MARVELL_10G_PHY=m
New value: CONFIG_MARVELL_10G_PHY=y

Value of CONFIG_FTRACE is redefined by fragment /mnt/c/Users/user/work/linux_imgs/solidrun/lx2160a_build/configs/linux/lx2k_additions.config:
Previous value: # CONFIG_FTRACE is not set
New value: CONFIG_FTRACE=y

./.tmp.config.fXicLqwxo1:682:warning: override: reassigning to symbol DRM_PANEL_RAYDIUM_RM67191
./.tmp.config.fXicLqwxo1:1334:warning: override: reassigning to symbol UNIX_DIAG
./.tmp.config.fXicLqwxo1:1335:warning: override: reassigning to symbol PACKET_DIAG
./.tmp.config.fXicLqwxo1:1336:warning: override: reassigning to symbol NETLINK_DIAG
./.tmp.config.fXicLqwxo1:1360:warning: override: reassigning to symbol NET_SCHED
#
# No change to .config
#
Value requested for CONFIG_BT_RFCOMM not in final .config
Requested value:  CONFIG_BT_RFCOMM=y
Actual value:

................................

Value requested for CONFIG_CHASH not in final .config
Requested value:  CONFIG_CHASH=m
Actual value:

  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
kernel2160cex7.its:15.11-17.6: Warning (unit_address_vs_reg): /images/kernel/hash@1: node has a unit name, but no reg or ranges property
kernel2160cex7.its:28.11-30.6: Warning (unit_address_vs_reg): /images/initrd/hash@1: node has a unit name, but no reg or ranges property
kernel2160cex7.its:40.11-42.6: Warning (unit_address_vs_reg): /images/lx2160acex7-dtb/hash@1: node has a unit name, but no reg or ranges property
mkimage: verify_header failed for FIT Image support with exit code 1
ERROR: Line 448 failed with status 1: mkimage -f kernel2160cex7.its kernel-lx2160acex7.itb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions