This patch seriese introduces new RMC project and RMC distro that's developped based on RMC.
The test is done on several boards, including boards checked in examples. (poky:6bb3069; meta-intel: 9bb4622) Some people may have checked implementation before, but I have done a lot refactoring since this week. Now RMC project and RMC distro are splitted and bbclasses are provided for reuse in other clients. These should be the biggest change you didn't see in old code. The last patch in the series adds examples and a new document README.rmc.distro in meta-intel. I think it could make original README too lengthy if we put everyting in README, but let me know if a single readme is still preferred. README.rmc.distro is designed to be the interfce to new users (and myself). Information of RMC project can be obtained from rmc recipes, bbclass and RMC project's README. I should have left traces to these information in code. Known issues: RMC tool crashes on a NUC gen 4 but doesn't on another sample. Other boards work as expected (nuc gen 6, minnowmax, T100,). Default "install" boot option could be seen although RMC distro always has its own installer effective. This could confuse users when both of install and "RMC install" options show up on the board. Jianxun Zhang (6): rmc: Add Runtime Machine Configuration (RMC) project gnu-efi: Add GUID for SMBIOS 3 entry point structure systemd-boot: load board-specific entry and kernel cmdline EFI installer: deploy board-specific data and kernel cmdline rmc: add recipe and bbclass for feature "rmc distro" rmc: document and examples for rmc distro feature README.rmc.distro | 261 +++++++++++++++++ classes/rmc-distro.bbclass | 49 ++++ classes/rmc-native.bbclass | 92 ++++++ ...d-GUID-for-SMBIOS-3-entry-point-structure.patch | 30 ++ common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend | 2 + .../rmc/boards/T100-32bit/BOOTENTRY.CONFIG | 2 + .../rmc/boards/T100-32bit/T100-32bit.fp | Bin 0 -> 116 bytes common/recipes-bsp/rmc/boards/T100-32bit/boot.conf | 4 + .../recipes-bsp/rmc/boards/T100-32bit/install.conf | 4 + .../rmc/boards/minnowmax/BOOTENTRY.CONFIG | 1 + common/recipes-bsp/rmc/boards/minnowmax/boot.conf | 4 + .../recipes-bsp/rmc/boards/minnowmax/minnowmax.fp | Bin 0 -> 143 bytes .../rmc/boards/minnowmaxB3/BOOTENTRY.CONFIG | 1 + .../recipes-bsp/rmc/boards/minnowmaxB3/boot.conf | 4 + .../rmc/boards/minnowmaxB3/minnowmaxB3.fp | Bin 0 -> 148 bytes .../rmc/boards/nucgen6/BOOTENTRY.CONFIG | 2 + .../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 common/recipes-bsp/rmc/rmc-distro.bb | 28 ++ common/recipes-bsp/rmc/rmc-native.bb | 7 + common/recipes-bsp/rmc/rmc.bb | 21 ++ common/recipes-bsp/rmc/rmc.inc | 22 ++ .../recipes-bsp/systemd-boot/systemd-boot.bbappend | 20 ++ ...d-boot-Link-RMC-libraries-into-bootloader.patch | 29 ++ ...d-board-specific-boot-entries-from-RMC-da.patch | 239 ++++++++++++++++ ...pport-global-kernel-command-line-fragment.patch | 64 +++++ .../initrdscripts/files/init-install-efi.sh | 315 +++++++++++++++++++++ .../initramfs-live-install-efi_%.bbappend | 1 + 32 files changed, 1224 insertions(+) create mode 100644 README.rmc.distro create mode 100644 classes/rmc-distro.bbclass create mode 100644 classes/rmc-native.bbclass create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend 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 create mode 100644 common/recipes-bsp/rmc/rmc-distro.bb create mode 100644 common/recipes-bsp/rmc/rmc-native.bb create mode 100644 common/recipes-bsp/rmc/rmc.bb create mode 100644 common/recipes-bsp/rmc/rmc.inc create mode 100644 common/recipes-bsp/systemd-boot/systemd-boot.bbappend create mode 100644 common/recipes-bsp/systemd-boot/systemd-boot/0001-sd-boot-Link-RMC-libraries-into-bootloader.patch create mode 100644 common/recipes-bsp/systemd-boot/systemd-boot/0002-sd-boot-Load-board-specific-boot-entries-from-RMC-da.patch create mode 100644 common/recipes-bsp/systemd-boot/systemd-boot/0003-sd-boot-Support-global-kernel-command-line-fragment.patch create mode 100644 common/recipes-core/initrdscripts/files/init-install-efi.sh create mode 100644 common/recipes-core/initrdscripts/initramfs-live-install-efi_%.bbappend -- 2.7.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
