From d9187615b6cd82da7738aebb5a72947770d85121 Mon Sep 17 00:00:00 2001 From: Seshan Ravikumar Date: Fri, 22 Mar 2024 18:52:23 -0400 Subject: [PATCH] Update image-gen.ts --- src-extra/image-gen/image-gen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-extra/image-gen/image-gen.ts b/src-extra/image-gen/image-gen.ts index 8396a10..a4b1441 100644 --- a/src-extra/image-gen/image-gen.ts +++ b/src-extra/image-gen/image-gen.ts @@ -84,7 +84,7 @@ const buildTargetStandardPMOSDeviceImage = (targetDevice: string) => { mkdir -pv work cd work sudo abootimg -x ../boot.img - sudo sed -i "s/bootsize.*/bootsize = 0xfff000/g" bootimg.cfg + sudo sed -i "s/bootsize.*/bootsize = 0xffff00/g" bootimg.cfg sudo sed -i "s/cmdline.*/cmdline = console=tty0 PMOS_NO_OUTPUT_REDIRECT/g" bootimg.cfg echo "- Packing new boot image..." sudo abootimg --create boot.img -f bootimg.cfg -k zImage -r ../initramfs