All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse
@ 2020-03-04 19:33 Nikhil Devshatwar
  2020-03-04 19:33 ` [meta-ti][zeus PATCH v1 2/2] conf: j7-evm: Update the secondary console for jailhouse Nikhil Devshatwar
  2020-03-04 19:37 ` [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: Nikhil Devshatwar @ 2020-03-04 19:33 UTC (permalink / raw)
  To: denys; +Cc: meta-ti, meta-ti, Nikhil Devshatwar

From: Nikhil Devshatwar <nikhil.nd@ti.com>

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 <nikhil.nd@ti.com>
---
 recipes-kernel/jailhouse/jailhouse_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
index a4ee2fc7..1273c57d 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -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} ]; 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-ti][zeus PATCH v1 2/2] conf: j7-evm: Update the secondary console for jailhouse
  2020-03-04 19:33 [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Nikhil Devshatwar
@ 2020-03-04 19:33 ` Nikhil Devshatwar
  2020-03-04 19:37 ` [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Denys Dmytriyenko
  1 sibling, 0 replies; 3+ messages in thread
From: Nikhil Devshatwar @ 2020-03-04 19:33 UTC (permalink / raw)
  To: denys; +Cc: meta-ti, meta-ti, Nikhil Devshatwar

From: Nikhil Devshatwar <nikhil.nd@ti.com>

Latest upstream jailhouse uses ttyS3 as console.
Update the conf file so that this reflects correctly in the
tiny rootfs.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
---
 conf/machine/j7-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/j7-evm.conf b/conf/machine/j7-evm.conf
index e73c75bd..9e910067 100644
--- a/conf/machine/j7-evm.conf
+++ b/conf/machine/j7-evm.conf
@@ -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 = " \
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse
  2020-03-04 19:33 [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Nikhil Devshatwar
  2020-03-04 19:33 ` [meta-ti][zeus PATCH v1 2/2] conf: j7-evm: Update the secondary console for jailhouse Nikhil Devshatwar
@ 2020-03-04 19:37 ` Denys Dmytriyenko
  1 sibling, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2020-03-04 19:37 UTC (permalink / raw)
  To: nikhil.nd; +Cc: meta-ti, meta-ti

Thanks.

On Thu, Mar 05, 2020 at 01:03:46AM +0530, nikhil.nd@ti.com wrote:
> From: Nikhil Devshatwar <nikhil.nd@ti.com>
> 
> 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 <nikhil.nd@ti.com>
> ---
>  recipes-kernel/jailhouse/jailhouse_git.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
> index a4ee2fc7..1273c57d 100644
> --- a/recipes-kernel/jailhouse/jailhouse_git.bb
> +++ b/recipes-kernel/jailhouse/jailhouse_git.bb
> @@ -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?


>  do_configure() {
>  	if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ]; 
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-04 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04 19:33 [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Nikhil Devshatwar
2020-03-04 19:33 ` [meta-ti][zeus PATCH v1 2/2] conf: j7-evm: Update the secondary console for jailhouse Nikhil Devshatwar
2020-03-04 19:37 ` [meta-ti][zeus PATCH v1 1/2] recipes-bsp: jailhouse: Update tty for j7-evm jailhouse Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.