From 272d4cb66b8e553e3fc27455ca3bb8e70472c510 Mon Sep 17 00:00:00 2001 From: "Kinsella, Ray" Date: Thu, 12 Nov 2015 15:21:41 +0000 Subject: mkgalileodisk.wks: WiC image for Galileo Gen 1/2 WiC script to create an EFI image for Galileo Gen 1/2. This differs from the reference EFI image that is shipped with Poky as follows. * Removed the swap partition. * Change to Kernel Cmd Line for Galileo, updating console etc. Signed-off-by: Ray Kinsella Signed-off-by: Saul Wold --- scripts/lib/wic/canned-wks/mkgalileodisk.wks | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/lib/wic/canned-wks/mkgalileodisk.wks (limited to 'scripts') diff --git a/scripts/lib/wic/canned-wks/mkgalileodisk.wks b/scripts/lib/wic/canned-wks/mkgalileodisk.wks new file mode 100644 index 00000000..e587e293 --- /dev/null +++ b/scripts/lib/wic/canned-wks/mkgalileodisk.wks @@ -0,0 +1,9 @@ +# short-description: Create an Galileo Gen 1/2 disk image +# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2, +# that the user can directly dd to boot media. + +part /boot --source bootimg-efi --sourceparams="loader=gummiboot" --ondisk mmcblk0 --label msdos --active --align 1024 + +part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024 + +bootloader --timeout=0 --append="console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5" -- cgit v1.2.3-54-g00ecf