The QCOM X1P42100 SoC requires images loaded by PBL in MBN v7 format. This script is updated to support MBN v7 format which will be used to generate the Bootblock binary. Starting with the Qualcomm x1p42100 SoC, the bootblock ELF header expects MBN version 7 instead of version 6 with the SC7280 SoC. This patch adds the necessary adjustment to ensure compatibility with older SoC platforms and also adds incremental support for newer SoC generations. If Qualcomm SoCs in the future demands a more advanced version of MBN (version > 7), additional logic will be added to the newly added section as `self.flash_parti_ver == 8`. BUG=b:420542130, b:404985109 TEST=Create image.serial.bin with bootblock in MBN v7 format and ensure it boots on X1P42100. Please refer to the steps mentioned below to create final AP FW image for QC SoC X1P42100. Step 1: Create Bootblock MBN image using createxbl.py script where the newly added MBN v7 support will be used. Step 2: Call create_multielf.py to create the concatenated multi ELF ( TME SEQ + TME FW + QC_SEC + BOOTBLOCK from step 1) Step 3: Call nqgpt.py to create final GPT image. Change-Id: I484df537ac7d1e51ec86dcae74a74dc211710616 Signed-off-by: Sasirekaa Madhesu <smadhesu@qualcomm.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88240 Reviewed-by: Pranava Y N <pranavayn@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> |
||
|---|---|---|
| .. | ||
| scripts/cmm | ||
| create_multielf.py | ||
| createxbl.py | ||
| description.md | ||
| elf_segment_extractor.py | ||
| ipqheader.py | ||
| mbn_tools.py | ||
| mbncat.py | ||
| qgpt.py | ||