Skip to contentSkip to conversation

Remove Jailhouse support

PATCH In review Nikhil Devshatwar 1 participant 4 messages Jun 16, 2021 – Jun 22, 2021

lore
Share & tools
lore
#0 lore raw

cover Remove Jailhouse support

This series removes the Jailhouse and corresponding recipes from meta-arago

Nikhil Devshatwar (2):
recipes-tisdk: tisdk-makefile: Remove Jailhouse snippet
conf: arago: Remove jailhouse references

 meta-arago-distro/conf/distro/arago.conf      |  3 --
 .../conf/distro/include/arago-source-ipk.inc  |  7 ---
 .../ti-tisdk-makefile/Makefile_jailhouse      | 44 -------------------
 3 files changed, 54 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 recipes-tisdk: tisdk-makefile: Remove Jailhouse snippet

Jailhouse support is dropped for K3 platforms. This will not be packaged in the SDK any more. Drop the Makefile snippet for Jailhouse.

---
 .../ti-tisdk-makefile/Makefile_jailhouse      | 44 -------------------
 1 file changed, 44 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse deleted +0 -44
deleted file mode 100644
index 8e70fd9d..00000000
@@ -1,44 +0,0 @@
-# jailhouse module
-JH_ARCH = "__KERNEL_ARCH__"
-JH_PLATFORM = "__JH_PLATFORM__"
-
-jailhouse_config:
-	@echo =====================================
-	@echo      Configuring jailhouse
-	@echo =====================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \
-	echo "#define CONFIG_TRACE_ERROR    1" >> include/jailhouse/config.h
-
-jailhouse: linux jailhouse_config
-	@echo =====================================
-	@echo      Building jailhouse
-	@echo =====================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \
-	make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR}
-
-jailhouse_clean:
-	@echo =====================================
-	@echo      Cleaning jailhouse
-	@echo =====================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \
-	make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR} clean
-
-jailhouse_distclean: jailhouse_clean
-	@echo =====================================
-	@echo      Distclean jailhouse
-	@echo =====================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \
-	rm -vf ./hypervisor/include/jailhouse/config.h
-
-jailhouse_install:
-	@echo ================================
-	@echo      Installing jailhouse
-	@echo ================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \
-	make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR} DESTDIR=$(DESTDIR) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) prefix=/usr install
-
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 conf: arago: Remove jailhouse references

In reply to Nikhil Devshatwar

Jailhouse support for K3 platforms is dropped. Remove the refences to Jailhouse and IVSHMEM in the arago conf files.

---
 meta-arago-distro/conf/distro/arago.conf                   | 3 ---
 meta-arago-distro/conf/distro/include/arago-source-ipk.inc | 7 -------
 2 files changed, 10 deletions(-)
meta-arago-distro/conf/distro/arago.conf +0 -3
index 206e65ef..508b636d 100644
@@ -158,9 +158,6 @@ PACKAGECONFIG_append_pn-openssl = " cryptodev-linux"
 PACKAGECONFIG_remove_pn-alsa-plugins = "pulseaudio"
 RDEPENDS_pulseaudio-server_remove = "alsa-plugins-pulseaudio-conf"
 
-# Configure RAMFS for jailhouse linux-demo
-JH_RAMFS_IMAGE = "tisdk-tiny-image"
-
 # Enable UI and scripting for perf
 PERF_FEATURES_ENABLE ?= "perf-scripting perf-tui"
 
meta-arago-distro/conf/distro/include/arago-source-ipk.inc +0 -7
index 232cd4c3..d4122339 100644
@@ -373,10 +373,6 @@ SRCIPK_INSTALL_DIR_pn-hplib-mod ?= "board-support/extra-drivers/${PN}-${PV}"
 CREATE_SRCIPK_pn-uio-module-drv ?= "1"
 SRCIPK_INSTALL_DIR_pn-uio-module-drv ?= "board-support/extra-drivers/${PN}-${PV}"
 
-CREATE_SRCIPK_pn-ivshmem-uio-driver ?= "1"
-SRCIPK_INSTALL_DIR_pn-ivshmem-uio-driver ?= "board-support/extra-drivers/${PN}-${PV}"
-SRCIPK_PRESERVE_GIT_pn-ivshmem-uio-driver ?= "true"
-
 CREATE_SRCIPK_pn-ipsecmgr-mod ?= "1"
 SRCIPK_INSTALL_DIR_pn-ipsecmgr-mod ?= "board-support/extra-drivers/${PN}-${PV}"
 
@@ -397,6 +393,3 @@ SRCIPK_INSTALL_DIR_pn-vlib-c66x ?= "component-sources/vlib_c66x_${PV}"
 
 CREATE_SRCIPK_pn-big-data-ipc-demo-linux ?= "1"
 SRCIPK_INSTALL_DIR_pn-big-data-ipc-demo-linux ?= "example-applications/${PN}-${PV}"
-
-CREATE_SRCIPK_pn-jailhouse ?= "1"
-SRCIPK_INSTALL_DIR_pn-jailhouse ?= "board-support/extra-drivers/${PN}-${PV}"
Signature · 1 line
2.17.1
#3 lore raw
In reply to Nikhil Devshatwar
Quoted 7 lines · Nikhil Devshatwar

This series removes the Jailhouse and corresponding recipes from meta-arago

Nikhil Devshatwar (2):
recipes-tisdk: tisdk-makefile: Remove Jailhouse snippet
conf: arago: Remove jailhouse references

ping on this and other series for meta-ti as well

Regards,
Nikhil D

Quoted 9 lines
 meta-arago-distro/conf/distro/arago.conf      |  3 --
 .../conf/distro/include/arago-source-ipk.inc  |  7 ---
 .../ti-tisdk-makefile/Makefile_jailhouse      | 44 -------------------
 3 files changed, 54 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse
Signature · 1 line
2.17.1