From cbf207612cd0661b756cb1bbd5d5f8c8b263a265 Mon Sep 17 00:00:00 2001 From: f43995 Date: Fri, 30 Aug 2024 20:31:42 +0000 Subject: [PATCH 1/2] bug fixes. It is building now. --- kas/include/tegra-jetpack5.yml | 3 ++- .../tegra-binaries/tegra-storage-layout-base_%.bbappend | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kas/include/tegra-jetpack5.yml b/kas/include/tegra-jetpack5.yml index b3a0314c..b82df72a 100644 --- a/kas/include/tegra-jetpack5.yml +++ b/kas/include/tegra-jetpack5.yml @@ -6,7 +6,8 @@ header: repos: meta-tegra: # refers to the scarthgap-l4t-r35.x branch - commit: 972488415a80afebbd652a983a46c2641eed99ad + # commit: 972488415a80afebbd652a983a46c2641eed99ad # this lacks classes/l4t_version.bbclass + commit: 32d86844d857321e1ed137abbdd5a045c6f5cb3f meta-tegra-community: # refers to the scarthgap-l4t-r35.x branch commit: 865561b6d3ba6607a814354c122c91422df720d5 diff --git a/meta-mender-tegra/recipes-bsp/tegra-binaries/tegra-storage-layout-base_%.bbappend b/meta-mender-tegra/recipes-bsp/tegra-binaries/tegra-storage-layout-base_%.bbappend index de1ebb38..2acf01c2 100644 --- a/meta-mender-tegra/recipes-bsp/tegra-binaries/tegra-storage-layout-base_%.bbappend +++ b/meta-mender-tegra/recipes-bsp/tegra-binaries/tegra-storage-layout-base_%.bbappend @@ -29,8 +29,8 @@ do_install:append:tegra194() { # prevents the Mender data partition to use remaining space. sed -i -e 's# 0x708400000 ##g' \ -e 's# 0x710800000 ##g' \ - ${D}${datadir}/tegraflash/${PARTITION_LAYOUT_TEMPLATE} + ${D}${datadir}/l4t-storage-layout/${PARTITION_LAYOUT_TEMPLATE} sed -i -e 's# 0x708400000 ##g' \ -e 's# 0x710800000 ##g' \ - ${D}${datadir}/tegraflash/${PARTITION_LAYOUT_EXTERNAL} + ${D}${datadir}/l4t-storage-layout/${PARTITION_LAYOUT_EXTERNAL} } From f4054f1afb11f201cf2ed2eb17ad4a3626acc942 Mon Sep 17 00:00:00 2001 From: f43995 Date: Sat, 31 Aug 2024 10:48:31 +0000 Subject: [PATCH 2/2] data partition is not 42 but 45 --- meta-mender-tegra/classes-global/tegra-mender-setup.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-mender-tegra/classes-global/tegra-mender-setup.bbclass b/meta-mender-tegra/classes-global/tegra-mender-setup.bbclass index fbec7e39..a102ad8e 100644 --- a/meta-mender-tegra/classes-global/tegra-mender-setup.bbclass +++ b/meta-mender-tegra/classes-global/tegra-mender-setup.bbclass @@ -49,7 +49,7 @@ IMAGE_BOOT_FILES = "u-boot-dtb.bin" # boot into an emergency shell and examine the /dev/mmcblk* devices, # or use the uboot console to look at mtdparts MENDER_DATA_PART_NUMBER_DEFAULT:tegra186 = "34" -MENDER_DATA_PART_NUMBER_DEFAULT:tegra194 = "42" +MENDER_DATA_PART_NUMBER_DEFAULT:tegra194 = "45" MENDER_DATA_PART_NUMBER_DEFAULT:xavier-nx = "23" MENDER_DATA_PART_NUMBER_DEFAULT:tegra210 = "${@'16' if (d.getVar('TEGRA_SPIFLASH_BOOT') or '') == '1' else '23'}" MENDER_DATA_PART_NUMBER_DEFAULT:jetson-nano-emmc = "19"