Commit 27a3f36
authored
rootfs: simplify GRUB config for DTB-agnostic combined-DTB boot
Update build-ubuntu-rootfs.sh to align the generated GRUB configuration with the new UEFI-based combined DTB flow.
Changes:
- Replace the previous GRUB setup (three menu entries for EVK, CRD and QLI, each with an explicit devicetree directive) with a single, DTB-agnostic menu entry: "Ubuntu ${CODENAME}".
- Drop the CRD/EVK-specific DTB path variables:
/lib/firmware/$kernel_ver/device-tree/x1e80100-crd.dtb
/lib/firmware/$kernel_ver/device-tree/hamoa-iot-evk.dtb
since GRUB no longer selects or loads DTBs directly.
- Keep the existing kernel command line (root=LABEL=system, cma, clock and power domain flags, efi=noruntime, etc.) and initrd handling unchanged.
Rationale:
With the introduction of a UEFI-loaded combined DTB image (dtb.bin), DTB selection now happens entirely at the firmware layer. GRUB only needs to locate the "system" filesystem label, load the appropriate vmlinuz/initrd pair and pass the standard kernel parameters. Removing per-board DTB handling in GRUB reduces duplication and prevents drift between what UEFI loads and what the bootloader assumes.
Signed-off-by: Bjordis Collaku <[email protected]>1 parent 57281a2 commit 27a3f36
1 file changed
+2
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
| 505 | + | |
509 | 506 | | |
510 | 507 | | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | 508 | | |
527 | | - | |
| 509 | + | |
528 | 510 | | |
529 | 511 | | |
530 | 512 | | |
| |||
0 commit comments