1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 23:41:08 +00:00

arm-bsp/wic: Introduce WIC support for sgi575

- Add custom wks script for SGI575.
            - Add grub.cfg for SGI575

Change-Id: I9d371426a1bd75b49f6fbc89e2f2c255d4b8c0ac
Signed-off-by: Prabin CA <prabin.ca@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Prabin CA
2020-07-29 22:52:59 +05:30
committed by Ross Burton
parent f3f3333901
commit 2f275411d2
3 changed files with 24 additions and 1 deletions

View File

@@ -26,4 +26,7 @@ SERIAL_CONSOLES = "115200;ttyAMA0"
EFI_PROVIDER ?= "grub-efi"
MACHINE_FEATURES += "efi"
IMAGE_FSTYPES += "cpio.gz"
IMAGE_FSTYPES += "cpio.gz wic"
WKS_FILE ?= "sgi575-efidisk.wks"
WKS_FILE_DEPENDS_append = " ${EXTRA_IMAGEDEPENDS}"

View File

@@ -0,0 +1,11 @@
# short-description: Create an EFI disk image
# long-description: Creates a partitioned EFI disk image that the user
# can directly dd to boot media. Uses a custom grub.cfg file to configure the boot.
part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 1024 --uuid=9c53a91b-e182-4ff1-aeac-6ee2c432ae94
part swap --ondisk sda --size 44 --label swap1 --fstype=swap
bootloader --ptable gpt --configfile="sgi575-grub.cfg" --timeout=5

View File

@@ -0,0 +1,9 @@
set debug="loader,mm"
set term="vt100"
set default="0"
set timeout="1"
menuentry 'Arm reference image boot on sgi575' {
linux /Image acpi=force console=ttyAMA0,115200 ip=dhcp root=PARTUUID=9c53a91b-e182-4ff1-aeac-6ee2c432ae94 rootwait verbose debug
}