From 90c32e9571e7715371606f69faceae84eda091e7 Mon Sep 17 00:00:00 2001 From: Salendarsingh Gaud Date: Tue, 28 Apr 2026 16:41:24 +0530 Subject: [PATCH] fastboot : Update cmdline for Hamoa Hamoa expects root parameter in the commandline, add conditional statement in fastboot.jinja2 file to add root parameter in commandline for Hamoa target. Passed job : https://lava-oss.qualcomm.com/scheduler/job/85023 Signed-off-by: Salendarsingh Gaud --- templates/boot/fastboot.jinja2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/boot/fastboot.jinja2 b/templates/boot/fastboot.jinja2 index dbf45f0..20f426c 100644 --- a/templates/boot/fastboot.jinja2 +++ b/templates/boot/fastboot.jinja2 @@ -37,7 +37,11 @@ - cat initramfs-kerneltest-full-image-qcom-armv8a.cpio > merged-initramfs.cpio {% endif %} - gzip merged-initramfs.cpio + {% if 'x1e80100' in dtb_name %} + - mkbootimg --header_version 2 --kernel Image --dtb {{ dtb_name }} --cmdline "console=ttyMSM0,115200n8 earlycon qcom_geni_serial.con_enabled=1 kernel.sched_pelt_multiplier=4 mem_sleep_default=s2idle mitigations=auto video=efifb:off root=/dev/ram rw rootwait" --ramdisk merged-initramfs.cpio.gz --output boot.img + {% else %} - mkbootimg --header_version 2 --kernel Image --dtb {{ dtb_name }} --cmdline "console=ttyMSM0,115200n8 earlycon qcom_geni_serial.con_enabled=1 kernel.sched_pelt_multiplier=4 mem_sleep_default=s2idle mitigations=auto video=efifb:off" --ramdisk merged-initramfs.cpio.gz --output boot.img + {% endif %} to: downloads - deploy: