-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors building an image for jetson-xavier-nx-devkit-emmc on kirkstone and scarthgap-l4t-r35.x #1827
Comments
Hi @jdiez17 |
@ichergui Thank you for the very fast response! I was able to build on kirkstone with the following patch: diff --git a/recipes-bsp/tegra-binaries/tegra-nvphs_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-nvphs_35.6.0.bb
index 4f74fd84..ee8e86b2 100644
--- a/recipes-bsp/tegra-binaries/tegra-nvphs_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-nvphs_35.6.0.bb
@@ -21,6 +21,7 @@ do_install() {
inherit systemd update-rc.d
+INSANE_SKIP:${PN} = "installed-vs-shipped"
INITSCRIPT_NAME = "nvphs"
INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE:${PN} = "nvphs.service"
diff --git a/recipes-bsp/tegra-binaries/tegra-nvpmodel_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-nvpmodel_35.6.0.bb
index bbd76acf..e60f6072 100644
--- a/recipes-bsp/tegra-binaries/tegra-nvpmodel_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-nvpmodel_35.6.0.bb
@@ -21,7 +21,9 @@ do_install() {
inherit systemd update-rc.d
+
+INSANE_SKIP:${PN} = "installed-vs-shipped"
INITSCRIPT_NAME = "nvpmodel"
INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE:${PN} = "nvpmodel.service"
-RDEPENDS:${PN} = "tegra-nvpmodel-base tegra-nvpower"
+RDEPENDS:${PN} = "tegra-nvpmodel-base tegra-nvpower"
\ No newline at end of file
diff --git a/recipes-bsp/tegra-binaries/tegra-nvs-service_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-nvs-service_35.6.0.bb
index 23e0028f..0db9f0d7 100644
--- a/recipes-bsp/tegra-binaries/tegra-nvs-service_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-nvs-service_35.6.0.bb
@@ -21,6 +21,7 @@ do_install() {
inherit systemd update-rc.d
+INSANE_SKIP:${PN} = "installed-vs-shipped"
INITSCRIPT_NAME = "nvs-service"
INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE:${PN} = "nvs-service.service"
diff --git a/recipes-bsp/tegra-binaries/tegra-nvsciipc_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-nvsciipc_35.6.0.bb
index 7d326694..7687c9e5 100644
--- a/recipes-bsp/tegra-binaries/tegra-nvsciipc_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-nvsciipc_35.6.0.bb
@@ -29,3 +29,4 @@ INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE:${PN} = "nv_nvsciipc_init.service"
RDEPENDS:${PN} = "tegra-nvsciipc-base"
+INSANE_SKIP:${PN} = "installed-vs-shipped"
\ No newline at end of file
diff --git a/recipes-bsp/tegra-binaries/tegra-nvstartup_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-nvstartup_35.6.0.bb
index 509ed0e3..05515b34 100644
--- a/recipes-bsp/tegra-binaries/tegra-nvstartup_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-nvstartup_35.6.0.bb
@@ -20,6 +20,7 @@ do_install() {
inherit systemd update-rc.d
+INSANE_SKIP:${PN} = "installed-vs-shipped"
INITSCRIPT_NAME = "nvstartup"
INITSCRIPT_PARAMS = "defaults 00"
SYSTEMD_SERVICE:${PN} = "nvstartup.service"
diff --git a/recipes-bsp/tegra-binaries/tegra-redundant-boot_35.6.0.bb b/recipes-bsp/tegra-binaries/tegra-redundant-boot_35.6.0.bb
index bf09938e..d669c1b5 100644
--- a/recipes-bsp/tegra-binaries/tegra-redundant-boot_35.6.0.bb
+++ b/recipes-bsp/tegra-binaries/tegra-redundant-boot_35.6.0.bb
@@ -22,6 +22,7 @@ do_install() {
inherit update-rc.d systemd
+INSANE_SKIP:${PN} = "installed-vs-shipped"
ALLOW_EMPTY:${PN} = "1"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME = "nv_update_verifier" (basically just skipping the I also got the following error trying to clone
Very strange. The workaround I used to fix it is also unusual: diff --git a/recipes-kernel/linux/linux-tegra_5.10.bb b/recipes-kernel/linux/linux-tegra_5.10.bb
index e787ee64..fab81578 100644
--- a/recipes-kernel/linux/linux-tegra_5.10.bb
+++ b/recipes-kernel/linux/linux-tegra_5.10.bb
@@ -24,7 +24,7 @@ SCMVERSION ??= "y"
SRCBRANCH = "oe4t-patches${LINUX_VERSION_EXTENSION}"
SRCREV = "4bce4d148ef3ff159ab55c127d8761aeaac5cc28"
KBRANCH = "${SRCBRANCH}"
-SRC_REPO = "github.com/OE4T/linux-tegra-5.10.git;protocol=https"
+SRC_REPO = "github.com/OE4T/linux-tegra-5.10;protocol=https"
KERNEL_REPO = "${SRC_REPO}"
SRC_URI = "git://${KERNEL_REPO};name=machine;branch=${KBRANCH} \
${@'file://localversion_auto.cfg' if d.getVar('SCMVERSION') == 'y' else ''} \ Would be good to know why this is happening :) Or if it's just a problem on my setup. But I don't think so. |
I started building |
I think maybe it is your setup. You could compare yours with a build using our demo distro setup to see what's different. |
Hi, sorry I haven’t had a chance to run more test builds to troubleshoot this. I suspect we may be using an older/different commit of poky or meta-oe in our setup. I will post a reproducer config next time I have a chance to run some more builds. To be continued… |
Describe the bug
I get the following errors trying to build an image using the meta-tegra layer:
This happens on the
kirkstone
branch andscarthgap
.MACHINE=jetson-xavier-nx-devkit-emmc
The text was updated successfully, but these errors were encountered: