aboutsummaryrefslogtreecommitdiffci
path: root/grub-arm.cfg.iso-template
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 04:50:59 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-27 23:44:47 +0700
commit9d5e9484018ba972d15f5d0f4cd3e9b1dae2a0fd (patch)
tree7fc7be34533c6ee95834b134a42e4b286fcc54de /grub-arm.cfg.iso-template
parent8d5c52a772abc9c438790725fceddc24decc393b (diff)
downloadkiwi-descriptions-9d5e9484018ba972d15f5d0f4cd3e9b1dae2a0fd.tar.gz
kiwi-descriptions-9d5e9484018ba972d15f5d0f4cd3e9b1dae2a0fd.zip
DRAFT: feat: use kernel tailored for surface pro 12-inch
Diffstat (limited to 'grub-arm.cfg.iso-template')
-rw-r--r--grub-arm.cfg.iso-template11
1 files changed, 8 insertions, 3 deletions
diff --git a/grub-arm.cfg.iso-template b/grub-arm.cfg.iso-template
index 8badfb5..447a1f3 100644
--- a/grub-arm.cfg.iso-template
+++ b/grub-arm.cfg.iso-template
@@ -26,19 +26,24 @@ set timeout_style=${boot_timeout_style}
search ${search_params}
+# Surface Pro 12" (Snapdragon X1P-42-100): the dtb the entries below load is a
+# plain file in this same loader directory on the ISO9660 filesystem. GRUB
+# cannot read the erofs root image, and kiwi has no device tree support, so
+# surface-editbootconfig.sh copies it there out of the kernel-surface RPM in the
+# image root. See that script for why editbootconfig is the hook that can.
menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class os {
- devicetree ($$root)${bootpath}/x1p42100-microsoft-surface-pro-12-inch.dtb
+ devicetree ($$root)${bootpath}/x1p42100-microsoft-sp12in.dtb
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
initrd ($$root)${bootpath}/${initrd_file}
}
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
- devicetree ($$root)${bootpath}/x1p42100-microsoft-surface-pro-12-inch.dtb
+ devicetree ($$root)${bootpath}/x1p42100-microsoft-sp12in.dtb
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
initrd ($$root)${bootpath}/${initrd_file}
}
submenu "Troubleshooting -->" {
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
- devicetree ($$root)${bootpath}/x1p42100-microsoft-surface-pro-12-inch.dtb
+ devicetree ($$root)${bootpath}/x1p42100-microsoft-sp12in.dtb
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
initrd ($$root)${bootpath}/${initrd_file}
}