* [PATCH 1/4] ti-display-sharing-fw: Do not strip during staging sysroot stage
@ 2019-07-13 0:43 Khem Raj
2019-07-13 0:43 ` [PATCH 2/4] jailhouse: Limit OE architectures to supported ones Khem Raj
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Khem Raj @ 2019-07-13 0:43 UTC (permalink / raw)
To: meta-ti
Fixes build with non arm architectures
Subprocess output:x86_64-yoe-linux-strip: Unable to recognise the format of the input file `TOPDIR/build/tmpfs/work/qemux86_64-yoe-linux/ti-display-sharing-fw/00.09.00.00-gitAUTOINC+4a86f16df9-r0/sysroot-destdir/lib/firmware/ti-display-sharing-j721e.bin'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
index 675b3f2c..db095d90 100644
--- a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
+++ b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
@@ -36,6 +36,8 @@ ALTERNATIVE_PRIORITY = "9"
# This is used to prevent the build system to strip the executables
INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+
# This is used to prevent the build system to split the debug info in a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
--
2.22.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/4] jailhouse: Limit OE architectures to supported ones
2019-07-13 0:43 [PATCH 1/4] ti-display-sharing-fw: Do not strip during staging sysroot stage Khem Raj
@ 2019-07-13 0:43 ` Khem Raj
2019-07-15 19:52 ` Denys Dmytriyenko
2019-07-13 0:43 ` [PATCH 3/4] jailhouse: Replace tabs with spaces in python code Khem Raj
2019-07-13 0:43 ` [PATCH 4/4] jailhouse: Pin to TI SOCs Khem Raj
2 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2019-07-13 0:43 UTC (permalink / raw)
To: meta-ti
Fixes
ERROR: cannot map 'mips' to a jailhouse supported architecture
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-kernel/jailhouse/jailhouse-arch.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-kernel/jailhouse/jailhouse-arch.inc b/recipes-kernel/jailhouse/jailhouse-arch.inc
index e06ec231..0546fa26 100644
--- a/recipes-kernel/jailhouse/jailhouse-arch.inc
+++ b/recipes-kernel/jailhouse/jailhouse-arch.inc
@@ -18,3 +18,6 @@ def map_jh_arch(a, d):
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
+
+COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
+
--
2.22.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/4] jailhouse: Replace tabs with spaces in python code
2019-07-13 0:43 [PATCH 1/4] ti-display-sharing-fw: Do not strip during staging sysroot stage Khem Raj
2019-07-13 0:43 ` [PATCH 2/4] jailhouse: Limit OE architectures to supported ones Khem Raj
@ 2019-07-13 0:43 ` Khem Raj
2019-07-15 20:12 ` Denys Dmytriyenko
2019-07-13 0:43 ` [PATCH 4/4] jailhouse: Pin to TI SOCs Khem Raj
2 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2019-07-13 0:43 UTC (permalink / raw)
To: meta-ti
Fixes
WARNING: python should use 4 spaces indentation, but found tabs in jailhouse_git.bb, line 85
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-kernel/jailhouse/jailhouse_git.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
index 753664ed..db31bb7d 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -82,10 +82,10 @@ do_compile() {
}
python __anonymous () {
- d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
- initrd = d.getVar('INITRAMFS_IMAGE', True)
- if initrd:
- d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
+ d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
+ initrd = d.getVar('INITRAMFS_IMAGE', True)
+ if initrd:
+ d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
}
do_install() {
--
2.22.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/4] jailhouse: Pin to TI SOCs
2019-07-13 0:43 [PATCH 1/4] ti-display-sharing-fw: Do not strip during staging sysroot stage Khem Raj
2019-07-13 0:43 ` [PATCH 2/4] jailhouse: Limit OE architectures to supported ones Khem Raj
2019-07-13 0:43 ` [PATCH 3/4] jailhouse: Replace tabs with spaces in python code Khem Raj
@ 2019-07-13 0:43 ` Khem Raj
2 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2019-07-13 0:43 UTC (permalink / raw)
To: meta-ti
This needs to be ported and tested with non-TI SOCs
its better to limit this to just TI SOCs as of now
this makes sure that meta-ti can be used in a multi-BSP
distro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-kernel/jailhouse/jailhouse_git.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
index db31bb7d..919c75d9 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -32,6 +32,7 @@ require jailhouse-arch.inc
inherit module pythonnative bash-completion deploy
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(ti-soc)"
JH_DATADIR ?= "${datadir}/jailhouse"
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
--
2.22.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] jailhouse: Limit OE architectures to supported ones
2019-07-13 0:43 ` [PATCH 2/4] jailhouse: Limit OE architectures to supported ones Khem Raj
@ 2019-07-15 19:52 ` Denys Dmytriyenko
0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2019-07-15 19:52 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Fri, Jul 12, 2019 at 05:43:22PM -0700, Khem Raj wrote:
> Fixes
> ERROR: cannot map 'mips' to a jailhouse supported architecture
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes-kernel/jailhouse/jailhouse-arch.inc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/recipes-kernel/jailhouse/jailhouse-arch.inc b/recipes-kernel/jailhouse/jailhouse-arch.inc
> index e06ec231..0546fa26 100644
> --- a/recipes-kernel/jailhouse/jailhouse-arch.inc
> +++ b/recipes-kernel/jailhouse/jailhouse-arch.inc
> @@ -18,3 +18,6 @@ def map_jh_arch(a, d):
> bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
>
> export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
> +
> +COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
> +
Applying: jailhouse: Limit OE architectures to supported ones
.git/rebase-apply/patch:15: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
I'll fix it myself.
> --
> 2.22.0
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] jailhouse: Replace tabs with spaces in python code
2019-07-13 0:43 ` [PATCH 3/4] jailhouse: Replace tabs with spaces in python code Khem Raj
@ 2019-07-15 20:12 ` Denys Dmytriyenko
2019-07-17 1:27 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2019-07-15 20:12 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
I had to do this one differently, all others are now in "next" for testing.
Thanks.
Denys
On Fri, Jul 12, 2019 at 05:43:23PM -0700, Khem Raj wrote:
> Fixes
> WARNING: python should use 4 spaces indentation, but found tabs in jailhouse_git.bb, line 85
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes-kernel/jailhouse/jailhouse_git.bb | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
> index 753664ed..db31bb7d 100644
> --- a/recipes-kernel/jailhouse/jailhouse_git.bb
> +++ b/recipes-kernel/jailhouse/jailhouse_git.bb
> @@ -82,10 +82,10 @@ do_compile() {
> }
>
> python __anonymous () {
> - d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
> - initrd = d.getVar('INITRAMFS_IMAGE', True)
> - if initrd:
> - d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
> + d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
> + initrd = d.getVar('INITRAMFS_IMAGE', True)
> + if initrd:
> + d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
> }
>
> do_install() {
> --
> 2.22.0
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] jailhouse: Replace tabs with spaces in python code
2019-07-15 20:12 ` Denys Dmytriyenko
@ 2019-07-17 1:27 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2019-07-17 1:27 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti
Ok, thanks. it works.
On Mon, Jul 15, 2019 at 1:12 PM Denys Dmytriyenko <denys@ti.com> wrote:
>
> I had to do this one differently, all others are now in "next" for testing.
> Thanks.
>
> Denys
>
>
> On Fri, Jul 12, 2019 at 05:43:23PM -0700, Khem Raj wrote:
> > Fixes
> > WARNING: python should use 4 spaces indentation, but found tabs in jailhouse_git.bb, line 85
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > recipes-kernel/jailhouse/jailhouse_git.bb | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
> > index 753664ed..db31bb7d 100644
> > --- a/recipes-kernel/jailhouse/jailhouse_git.bb
> > +++ b/recipes-kernel/jailhouse/jailhouse_git.bb
> > @@ -82,10 +82,10 @@ do_compile() {
> > }
> >
> > python __anonymous () {
> > - d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
> > - initrd = d.getVar('INITRAMFS_IMAGE', True)
> > - if initrd:
> > - d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
> > + d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
> > + initrd = d.getVar('INITRAMFS_IMAGE', True)
> > + if initrd:
> > + d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
> > }
> >
> > do_install() {
> > --
> > 2.22.0
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-07-17 1:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 0:43 [PATCH 1/4] ti-display-sharing-fw: Do not strip during staging sysroot stage Khem Raj
2019-07-13 0:43 ` [PATCH 2/4] jailhouse: Limit OE architectures to supported ones Khem Raj
2019-07-15 19:52 ` Denys Dmytriyenko
2019-07-13 0:43 ` [PATCH 3/4] jailhouse: Replace tabs with spaces in python code Khem Raj
2019-07-15 20:12 ` Denys Dmytriyenko
2019-07-17 1:27 ` Khem Raj
2019-07-13 0:43 ` [PATCH 4/4] jailhouse: Pin to TI SOCs Khem Raj
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.