From 381606266d48ea3d34dcd1ed316325eb167acaab Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Wed, 3 Aug 2016 11:04:17 -0700 Subject: rmc: Add documentation and examples for RMC feature Provide a README for RMC feature. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation too. Signed-off-by: Jianxun Zhang Reviewed-by: Saul Wold Signed-off-by: Tom Zanussi --- common/recipes-bsp/rmc/boards/T100-32bit/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/T100-32bit/T100-32bit.fp | Bin 0 -> 116 bytes common/recipes-bsp/rmc/boards/T100-32bit/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/T100-32bit/install.conf | 4 ++++ common/recipes-bsp/rmc/boards/minnowmax/BOOTENTRY.CONFIG | 1 + common/recipes-bsp/rmc/boards/minnowmax/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/minnowmax/minnowmax.fp | Bin 0 -> 143 bytes .../recipes-bsp/rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG | 1 + common/recipes-bsp/rmc/boards/minnowmaxB3/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/minnowmaxB3/minnowmaxB3.fp | Bin 0 -> 148 bytes common/recipes-bsp/rmc/boards/nucgen6/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/nucgen6/INSTALLER.CONFIG | 6 ++++++ common/recipes-bsp/rmc/boards/nucgen6/KBOOTPARAM | 1 + common/recipes-bsp/rmc/boards/nucgen6/boot.conf | 4 ++++ common/recipes-bsp/rmc/boards/nucgen6/install.conf | 4 ++++ common/recipes-bsp/rmc/boards/nucgen6/mylib.conf | 7 +++++++ common/recipes-bsp/rmc/boards/nucgen6/nuc6.fp | Bin 0 -> 149 bytes 17 files changed, 44 insertions(+) create mode 100644 common/recipes-bsp/rmc/boards/T100-32bit/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/T100-32bit/T100-32bit.fp create mode 100644 common/recipes-bsp/rmc/boards/T100-32bit/boot.conf create mode 100644 common/recipes-bsp/rmc/boards/T100-32bit/install.conf create mode 100644 common/recipes-bsp/rmc/boards/minnowmax/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/minnowmax/boot.conf create mode 100644 common/recipes-bsp/rmc/boards/minnowmax/minnowmax.fp create mode 100644 common/recipes-bsp/rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/minnowmaxB3/boot.conf create mode 100644 common/recipes-bsp/rmc/boards/minnowmaxB3/minnowmaxB3.fp create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/BOOTENTRY.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/INSTALLER.CONFIG create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/KBOOTPARAM create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/boot.conf create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/install.conf create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/mylib.conf create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/nuc6.fp (limited to 'common') diff --git a/common/recipes-bsp/rmc/boards/T100-32bit/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/T100-32bit/BOOTENTRY.CONFIG new file mode 100644 index 00000000..b2fabe82 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/T100-32bit/BOOTENTRY.CONFIG @@ -0,0 +1,2 @@ +boot.conf +install.conf diff --git a/common/recipes-bsp/rmc/boards/T100-32bit/T100-32bit.fp b/common/recipes-bsp/rmc/boards/T100-32bit/T100-32bit.fp new file mode 100644 index 00000000..86ecea73 Binary files /dev/null and b/common/recipes-bsp/rmc/boards/T100-32bit/T100-32bit.fp differ diff --git a/common/recipes-bsp/rmc/boards/T100-32bit/boot.conf b/common/recipes-bsp/rmc/boards/T100-32bit/boot.conf new file mode 100644 index 00000000..f1578e0f --- /dev/null +++ b/common/recipes-bsp/rmc/boards/T100-32bit/boot.conf @@ -0,0 +1,4 @@ +title T100T(32bit) boot +linux /vmlinuz +initrd /initrd +options LABEL=boot loglevel=8 diff --git a/common/recipes-bsp/rmc/boards/T100-32bit/install.conf b/common/recipes-bsp/rmc/boards/T100-32bit/install.conf new file mode 100644 index 00000000..67e7eb18 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/T100-32bit/install.conf @@ -0,0 +1,4 @@ +title T100T(32bit) install +linux /vmlinuz +initrd /initrd +options LABEL=install-efi diff --git a/common/recipes-bsp/rmc/boards/minnowmax/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/minnowmax/BOOTENTRY.CONFIG new file mode 100644 index 00000000..cb01ced0 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/minnowmax/BOOTENTRY.CONFIG @@ -0,0 +1 @@ +boot.conf diff --git a/common/recipes-bsp/rmc/boards/minnowmax/boot.conf b/common/recipes-bsp/rmc/boards/minnowmax/boot.conf new file mode 100644 index 00000000..6e789cd8 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/minnowmax/boot.conf @@ -0,0 +1,4 @@ +title Minnow Max boot +linux /vmlinuz +initrd /initrd +options LABEL=boot console=ttyS0,115200n8 diff --git a/common/recipes-bsp/rmc/boards/minnowmax/minnowmax.fp b/common/recipes-bsp/rmc/boards/minnowmax/minnowmax.fp new file mode 100644 index 00000000..3c5a286f Binary files /dev/null and b/common/recipes-bsp/rmc/boards/minnowmax/minnowmax.fp differ diff --git a/common/recipes-bsp/rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG new file mode 100644 index 00000000..cb01ced0 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG @@ -0,0 +1 @@ +boot.conf diff --git a/common/recipes-bsp/rmc/boards/minnowmaxB3/boot.conf b/common/recipes-bsp/rmc/boards/minnowmaxB3/boot.conf new file mode 100644 index 00000000..577e5d6a --- /dev/null +++ b/common/recipes-bsp/rmc/boards/minnowmaxB3/boot.conf @@ -0,0 +1,4 @@ +title Minnow Max B3 boot +linux /vmlinuz +initrd /initrd +options LABEL=boot console=ttyS0,115200n8 diff --git a/common/recipes-bsp/rmc/boards/minnowmaxB3/minnowmaxB3.fp b/common/recipes-bsp/rmc/boards/minnowmaxB3/minnowmaxB3.fp new file mode 100644 index 00000000..ad3f0d6d Binary files /dev/null and b/common/recipes-bsp/rmc/boards/minnowmaxB3/minnowmaxB3.fp differ diff --git a/common/recipes-bsp/rmc/boards/nucgen6/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/nucgen6/BOOTENTRY.CONFIG new file mode 100644 index 00000000..b2fabe82 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/BOOTENTRY.CONFIG @@ -0,0 +1,2 @@ +boot.conf +install.conf diff --git a/common/recipes-bsp/rmc/boards/nucgen6/INSTALLER.CONFIG b/common/recipes-bsp/rmc/boards/nucgen6/INSTALLER.CONFIG new file mode 100644 index 00000000..7d5378b2 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/INSTALLER.CONFIG @@ -0,0 +1,6 @@ +# This file specifies which file or dir RMC will install onto target. +# Note the absolute path is referred from mount points in installation. +efi_entry_dir:root:disk:770:/boot/loader/entries/ +boot.conf:root:disk:770:/boot/loader/entries/rmcboot.conf +mylibdir:root:root:770:/tgt_root/etc/mylib/ +mylib.conf:root:root:660:/tgt_root/etc/mylib/mylib.conf diff --git a/common/recipes-bsp/rmc/boards/nucgen6/KBOOTPARAM b/common/recipes-bsp/rmc/boards/nucgen6/KBOOTPARAM new file mode 100644 index 00000000..27943b49 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/KBOOTPARAM @@ -0,0 +1 @@ +i915.preliminary_hw_support=1 diff --git a/common/recipes-bsp/rmc/boards/nucgen6/boot.conf b/common/recipes-bsp/rmc/boards/nucgen6/boot.conf new file mode 100644 index 00000000..e6ecb029 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/boot.conf @@ -0,0 +1,4 @@ +title NUC Gen6 boot +linux /vmlinuz +initrd /initrd +options LABEL=boot diff --git a/common/recipes-bsp/rmc/boards/nucgen6/install.conf b/common/recipes-bsp/rmc/boards/nucgen6/install.conf new file mode 100644 index 00000000..916bb04b --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/install.conf @@ -0,0 +1,4 @@ +title NUC Gen6 install +linux /vmlinuz +initrd /initrd +options LABEL=install-efi diff --git a/common/recipes-bsp/rmc/boards/nucgen6/mylib.conf b/common/recipes-bsp/rmc/boards/nucgen6/mylib.conf new file mode 100644 index 00000000..fd8357c2 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/mylib.conf @@ -0,0 +1,7 @@ +# This is a demo conf file read by an imagined program or library +# which reads this file at runtime to customize its behavior. +# rmc will deploy it to the location specified in INSTALLER.CONFIG. + +lib.info = "V1.0 for rmc demo" +lib.board = "NUC gen 6" +prog.ui.layout = "minimal" diff --git a/common/recipes-bsp/rmc/boards/nucgen6/nuc6.fp b/common/recipes-bsp/rmc/boards/nucgen6/nuc6.fp new file mode 100644 index 00000000..834f800b Binary files /dev/null and b/common/recipes-bsp/rmc/boards/nucgen6/nuc6.fp differ -- cgit v1.2.3-54-g00ecf