diff options
author | Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | 2016-11-11 17:38:03 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-11-28 12:45:06 -0800 |
commit | 2c0811eab3994bae539be25d1b5c74bd6313b148 (patch) | |
tree | 653abe573cbb6f52dfc8612b152d51e16975f206 | |
parent | 35d60f13bbd64d429271b1fbaab03fcc19927433 (diff) | |
download | meta-intel-2c0811eab3994bae539be25d1b5c74bd6313b148.tar.gz |
rmc: Add support for MohonPeak platform
Intel common BSP is using ttyS0 and tty0 for consoles by default. By Adding
support for mohonpeak platforms to rmc, these console port can customized to
ttyS1 and tty1 by detecting the fingerprint file at runtime.
It will use their own boot.conf/install.conf for booting/installing.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG | 2 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG | 3 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM | 1 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh | 3 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/boot.conf | 4 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/install.conf | 4 | ||||
-rw-r--r-- | common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp | bin | 0 -> 121 bytes |
7 files changed, 17 insertions, 0 deletions
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG b/common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG new file mode 100644 index 00000000..b2fabe82 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG | |||
@@ -0,0 +1,2 @@ | |||
1 | boot.conf | ||
2 | install.conf | ||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG b/common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG new file mode 100644 index 00000000..8c5a7678 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG | |||
@@ -0,0 +1,3 @@ | |||
1 | # Keep rmc Mohonpeak boot.conf instead of meta-intel default | ||
2 | efi_entry_dir:root:disk:770:/boot/loader/entries/ | ||
3 | boot.conf:root:disk:770:/boot/loader/entries/boot.conf | ||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM b/common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM new file mode 100644 index 00000000..169056ee --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM | |||
@@ -0,0 +1 @@ | |||
console=ttyS1,115200 console=tty1 | |||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh b/common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh new file mode 100644 index 00000000..5f440c38 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh | |||
@@ -0,0 +1,3 @@ | |||
1 | # Mohonpeak uses only S1 for serial, so remove S0 and S2 | ||
2 | sed -i '/start_getty.\+ttyS0/d' /tgt_root/etc/inittab | ||
3 | sed -i '/start_getty.\+ttyS2/d' /tgt_root/etc/inittab | ||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/boot.conf b/common/recipes-bsp/rmc/boards/mohonpeak/boot.conf new file mode 100644 index 00000000..5b7a0f63 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/boot.conf | |||
@@ -0,0 +1,4 @@ | |||
1 | title Mohon Peak boot | ||
2 | linux /vmlinuz | ||
3 | initrd /initrd | ||
4 | options LABEL=boot | ||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/install.conf b/common/recipes-bsp/rmc/boards/mohonpeak/install.conf new file mode 100644 index 00000000..dde3497d --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/install.conf | |||
@@ -0,0 +1,4 @@ | |||
1 | title Mohon Peak Install | ||
2 | linux /vmlinuz | ||
3 | initrd /initrd | ||
4 | options LABEL=install-efi rootwait | ||
diff --git a/common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp b/common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp new file mode 100644 index 00000000..bc4bdae4 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp | |||
Binary files differ | |||