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>
This commit is contained in:
Rahul Kumar Gupta 2016-11-11 17:38:03 +08:00 committed by Saul Wold
parent 35d60f13bb
commit 2c0811eab3
7 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,2 @@
boot.conf
install.conf

View File

@ -0,0 +1,3 @@
# Keep rmc Mohonpeak boot.conf instead of meta-intel default
efi_entry_dir:root:disk:770:/boot/loader/entries/
boot.conf:root:disk:770:/boot/loader/entries/boot.conf

View File

@ -0,0 +1 @@
console=ttyS1,115200 console=tty1

View File

@ -0,0 +1,3 @@
# Mohonpeak uses only S1 for serial, so remove S0 and S2
sed -i '/start_getty.\+ttyS0/d' /tgt_root/etc/inittab
sed -i '/start_getty.\+ttyS2/d' /tgt_root/etc/inittab

View File

@ -0,0 +1,4 @@
title Mohon Peak boot
linux /vmlinuz
initrd /initrd
options LABEL=boot

View File

@ -0,0 +1,4 @@
title Mohon Peak Install
linux /vmlinuz
initrd /initrd
options LABEL=install-efi rootwait

Binary file not shown.