From 8dbd551c1ce6d7124f4bf70030415bda5f154030 Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Fri, 14 Oct 2016 14:07:54 -0700 Subject: rmc: Add board data for NUC5i5RYB A particular intention of this change is to remove the serial setting in kernel command line that is hardcoded in core2 and corei7 conf files. However we cannot use KBOOTPARAM because it is designed as a fragment appended to hardcoded part at runtime. This is why we need to create more files in this patch to use cmdline in bootloader entry files to bypass whatever from the build. Once we have a clean base (no any preset console setting) in generic configurations, this change can be dropped. Signed-off-by: Jianxun Zhang Signed-off-by: Saul Wold --- common/recipes-bsp/rmc/boards/NUC5i5RYB/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/NUC5i5RYB/INSTALLER.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/NUC5i5RYB/POSTINSTALL.sh | 2 ++ common/recipes-bsp/rmc/boards/NUC5i5RYB/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/NUC5i5RYB/install.conf | 4 ++++ common/recipes-bsp/rmc/boards/NUC5i5RYB/nuc5i5.fp | Bin 0 -> 149 bytes 6 files changed, 14 insertions(+) create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/INSTALLER.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/POSTINSTALL.sh create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/boot.conf create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/install.conf create mode 100644 common/recipes-bsp/rmc/boards/NUC5i5RYB/nuc5i5.fp diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/NUC5i5RYB/BOOTENTRY.CONFIG new file mode 100644 index 00000000..b2fabe82 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/NUC5i5RYB/BOOTENTRY.CONFIG @@ -0,0 +1,2 @@ +boot.conf +install.conf diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/INSTALLER.CONFIG b/common/recipes-bsp/rmc/boards/NUC5i5RYB/INSTALLER.CONFIG new file mode 100644 index 00000000..ca5f04b9 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/NUC5i5RYB/INSTALLER.CONFIG @@ -0,0 +1,2 @@ +efi_entry_dir:root:disk:770:/boot/loader/entries/ +boot.conf:root:disk:770:/boot/loader/entries/rmcboot.conf diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/POSTINSTALL.sh b/common/recipes-bsp/rmc/boards/NUC5i5RYB/POSTINSTALL.sh new file mode 100644 index 00000000..6694261b --- /dev/null +++ b/common/recipes-bsp/rmc/boards/NUC5i5RYB/POSTINSTALL.sh @@ -0,0 +1,2 @@ +# There is no tty device on this board. +sed -i '/start_getty.\+ttyS.*/d' /tgt_root/etc/inittab diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/boot.conf b/common/recipes-bsp/rmc/boards/NUC5i5RYB/boot.conf new file mode 100644 index 00000000..b29fa45e --- /dev/null +++ b/common/recipes-bsp/rmc/boards/NUC5i5RYB/boot.conf @@ -0,0 +1,4 @@ +title NUC5i5RYB boot +linux /vmlinuz +initrd /initrd +options LABEL=boot rootwait diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/install.conf b/common/recipes-bsp/rmc/boards/NUC5i5RYB/install.conf new file mode 100644 index 00000000..0dca3cae --- /dev/null +++ b/common/recipes-bsp/rmc/boards/NUC5i5RYB/install.conf @@ -0,0 +1,4 @@ +title NUC5i5RYB install +linux /vmlinuz +initrd /initrd +options LABEL=install-efi rootwait diff --git a/common/recipes-bsp/rmc/boards/NUC5i5RYB/nuc5i5.fp b/common/recipes-bsp/rmc/boards/NUC5i5RYB/nuc5i5.fp new file mode 100644 index 00000000..57374779 Binary files /dev/null and b/common/recipes-bsp/rmc/boards/NUC5i5RYB/nuc5i5.fp differ -- cgit v1.2.3-54-g00ecf