From 8bad3a5c04154332f44d41900a1de9ec0b9167e5 Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Wed, 19 Oct 2016 15:07:28 -0700 Subject: rmc: Add example for Galileo Gen 2 (Quark) This is an experimental RMC sample for quark. At runtime, a boot option with board name will be available for user to boot the Galileo. Note: The supported image type is hddimg instead of the direct- boot image type usually used on quark. Use a USB stick flashed with the image to boot the Galileo Gen 2 board. Signed-off-by: Jianxun Zhang Signed-off-by: Saul Wold --- common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/Galileo2/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp | Bin 0 -> 109 bytes documentation/rmc/README | 9 ++++++++- 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/Galileo2/boot.conf create mode 100755 common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp diff --git a/common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG new file mode 100644 index 00000000..06c5a747 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG @@ -0,0 +1,2 @@ +boot.conf + diff --git a/common/recipes-bsp/rmc/boards/Galileo2/boot.conf b/common/recipes-bsp/rmc/boards/Galileo2/boot.conf new file mode 100644 index 00000000..580ea486 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/Galileo2/boot.conf @@ -0,0 +1,4 @@ +title Galileo Gen 2 boot +linux /vmlinuz +initrd /initrd +options LABEL=boot rootwait console=ttyS1,115200 diff --git a/common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp b/common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp new file mode 100755 index 00000000..fe77d4d1 Binary files /dev/null and b/common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp differ diff --git a/documentation/rmc/README b/documentation/rmc/README index c392eb2d..2427ffd2 100644 --- a/documentation/rmc/README +++ b/documentation/rmc/README @@ -275,7 +275,14 @@ common/recipes-bsp/rmc/boards/T100-32bit This example is provided for validation on 32 bit X86 architecture. It doesn't provide any new function not mentioned in above examples. - +EXAMPLE 5: RMC for quark +Galileo Gen 2 +common/recipes-bsp/rmc/boards/Galileo2 +This example doesn't show any feature not covered in the above examples. Note +RMC only supports hddimg image format so far. Please refer to the section II.c +in README in meta-intel for how to boot Galileo with images in hddimg format. +Bootloader should show a board-specific boot option "Galileo Gen 2 boot" when +the board boots off. Troubleshooting -------------------------------------------------------------------------------- -- cgit v1.2.3-54-g00ecf