mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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:
parent
35d60f13bb
commit
2c0811eab3
2
common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG
Normal file
2
common/recipes-bsp/rmc/boards/mohonpeak/BOOTENTRY.CONFIG
Normal file
|
@ -0,0 +1,2 @@
|
|||
boot.conf
|
||||
install.conf
|
3
common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG
Normal file
3
common/recipes-bsp/rmc/boards/mohonpeak/INSTALLER.CONFIG
Normal 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
|
1
common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM
Normal file
1
common/recipes-bsp/rmc/boards/mohonpeak/KBOOTPARAM
Normal file
|
@ -0,0 +1 @@
|
|||
console=ttyS1,115200 console=tty1
|
3
common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh
Normal file
3
common/recipes-bsp/rmc/boards/mohonpeak/POSTINSTALL.sh
Normal 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
|
4
common/recipes-bsp/rmc/boards/mohonpeak/boot.conf
Normal file
4
common/recipes-bsp/rmc/boards/mohonpeak/boot.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
title Mohon Peak boot
|
||||
linux /vmlinuz
|
||||
initrd /initrd
|
||||
options LABEL=boot
|
4
common/recipes-bsp/rmc/boards/mohonpeak/install.conf
Normal file
4
common/recipes-bsp/rmc/boards/mohonpeak/install.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
title Mohon Peak Install
|
||||
linux /vmlinuz
|
||||
initrd /initrd
|
||||
options LABEL=install-efi rootwait
|
BIN
common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp
Normal file
BIN
common/recipes-bsp/rmc/boards/mohonpeak/mohonpeak.fp
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user