recipes-bsp: jailhouse: Update tty for j7-evm jailhouse
PATCH 1/2 recipes-bsp: jailhouse: Update tty for j7-evm jailhouse
From: Nikhil Devshatwar <[email protected]>
Latest upstream jailhouse uses ttyS3 as the console for inmate cell. Update the recipe to pass the correct cmdline.
Override only for j7-evm
--- recipes-kernel/jailhouse/jailhouse_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-kernel/jailhouse/jailhouse_git.bb +2 -1
@@ -59,7 +59,8 @@ INITRAMFS_IMAGE ?= "" JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" JH_CMDLINE ?= "" -JH_CMDLINE_k3 ?= "console=ttyS1,115200n8" +JH_CMDLINE_am65xx ?= "console=ttyS1,115200n8" +JH_CMDLINE_j7-evm ?= "console=ttyS3,115200n8" do_configure() { if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
Signature · 1 line
2.17.1
PATCH 2/2 conf: j7-evm: Update the secondary console for jailhouse
From: Nikhil Devshatwar <[email protected]>
Latest upstream jailhouse uses ttyS3 as console. Update the conf file so that this reflects correctly in the tiny rootfs.
--- conf/machine/j7-evm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/j7-evm.conf +1 -1
@@ -4,7 +4,7 @@ require conf/machine/include/k3.inc -SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" +SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1
Thanks.
Quoted 17 lines · On Thu, Mar 05, 2020 at 01:03:46AM +0530, [email protected] wrote:
From: Nikhil Devshatwar <[email protected]>
Latest upstream jailhouse uses ttyS3 as the console for inmate cell. Update the recipe to pass the correct cmdline.
Override only for j7-evm
Signed-off-by Nikhil Devshatwar <[email protected]>--- recipes-kernel/jailhouse/jailhouse_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)recipes-kernel/jailhouse/jailhouse_git.bb +0
-0
recipes-kernel/jailhouse/jailhouse_git.bb INITRAMFS_IMAGE ?= "" · line 63
Quoted 6 lines
recipes-kernel/jailhouse/jailhouse_git.bb +2
-1@@ -59,7 +59,8 @@ INITRAMFS_IMAGE ?= "" JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" JH_CMDLINE ?= "" -JH_CMDLINE_k3 ?= "console=ttyS1,115200n8" +JH_CMDLINE_am65xx ?= "console=ttyS1,115200n8" +JH_CMDLINE_j7-evm ?= "console=ttyS3,115200n8"
Will this break am65?
Quoted 5 lines
recipes-kernel/jailhouse/jailhouse_git.bb +0
-0do_configure() { if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];Signature · 1 line
2.17.1