summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParesh Bhagat <p-bhagat@ti.com>2024-07-11 15:31:14 +0530
committerRyan Eatmon <reatmon@ti.com>2024-07-11 08:59:13 -0500
commit5292749d249818691a12d9521c7383c10d99b2d8 (patch)
treedd5fa230c4eb193f19749e4868ec1223fbb53114
parentb51d1ac7510c54578519fce7c00111bdcbfbb0d2 (diff)
downloadmeta-ti-5292749d249818691a12d9521c7383c10d99b2d8.tar.gz
recipes-ti: jailhouse: Update jailhouse for scarthgap
- Update SRCREV for jailhouse which incorporates makefile changes for scarthgap. - To handle ${ARAGO_IMAGE_SUFFIX}, add * wherever JH_RAMFS_IMAGE is used in do_install (install or copy) so to pick correct inmate image for RT build. - Skip QA checks for usrmerge and buildpath. This is required to package jailhouse in image. - Update FILES:${PN}. Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb20
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc2
2 files changed, 10 insertions, 12 deletions
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
index 98ec0e9e..38281615 100644
--- a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
+++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
@@ -51,11 +51,11 @@ do_install() {
51 install -d ${D}/boot 51 install -d ${D}/boot
52 if [ -n "${JH_RAMFS_IMAGE}" ] 52 if [ -n "${JH_RAMFS_IMAGE}" ]
53 then 53 then
54 if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ] 54 if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio ]
55 then 55 then
56 install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot 56 install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio ${D}/boot
57 else 57 else
58 bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!" 58 bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio)!"
59 bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES." 59 bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES."
60 fi 60 fi
61 fi 61 fi
@@ -68,7 +68,7 @@ do_install() {
68 ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \ 68 ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
69 -a ${JH_ARCH} -c "${JH_CMDLINE}" \ 69 -a ${JH_ARCH} -c "${JH_CMDLINE}" \
70 -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \ 70 -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
71 -i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \ 71 -i ${D}/boot/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio \
72 ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \ 72 ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
73 ${DEPLOY_DIR_IMAGE}/Image \ 73 ${DEPLOY_DIR_IMAGE}/Image \
74 | tr -cd '\11\12\15\40-\176' \ 74 | tr -cd '\11\12\15\40-\176' \
@@ -96,7 +96,8 @@ RDEPENDS:pyjailhouse = "python3-core python3-ctypes python3-fcntl python3-shell"
96 96
97RRECOMMENDS:${PN} = "${PN}-tools" 97RRECOMMENDS:${PN} = "${PN}-tools"
98 98
99INSANE_SKIP:${PN} = "ldflags" 99INSANE_SKIP:${PN} = "ldflags usrmerge"
100INSANE_SKIP:${PN}-dbg = "usrmerge buildpaths"
100 101
101KERNEL_MODULE_AUTOLOAD += "jailhouse" 102KERNEL_MODULE_AUTOLOAD += "jailhouse"
102 103
@@ -117,10 +118,7 @@ python __anonymous () {
117} 118}
118 119
119FILES:${PN} = " \ 120FILES:${PN} = " \
120 /boot/* \ 121 /boot \
121 /usr/libexec \ 122 /usr \
122 /usr/sbin/* \ 123 /lib \
123 /usr/libexec/* \
124 /usr/share/* \
125 /lib/firmware/* \
126" 124"
diff --git a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
index 6faf16b8..2831e560 100644
--- a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
+++ b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \
14COMPATIBLE_MACHINE = "am62xx|am62pxx" 14COMPATIBLE_MACHINE = "am62xx|am62pxx"
15TARGET_CC_ARCH += "${LDFLAGS}" 15TARGET_CC_ARCH += "${LDFLAGS}"
16PV = "0.12+git" 16PV = "0.12+git"
17SRCREV = "603819ef9a771a3c253a141220daab8e61751a43" 17SRCREV = "9b494ddf4bd8845a2c1063352d08a274ef61777b"
18BRANCH = "master" 18BRANCH = "master"
19SRC_URI = " \ 19SRC_URI = " \
20 git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \ 20 git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \