conf/machine: trim entries from TEGRA_BUPGEN_SPECS

Unlike stock L4T, which has to handle multiple BOARDSKUs for each
module with its prebuilt binary distribution, we can reduce the
number of BUP entries we build per machine, since we have to target
specific BOARDSKUs at build time.

Orin Nano configurations should need to handle only BOARDSKUs 0003
(8GiB) and 0004 (4GiB).

The p3768-0000-p3767-0000 configuration was already trimmed to cover
just the 0000 (16GiB) SKU, so the p3509-a02-p3767-0000 configuration
is updated to match that, since it's just the carrier that's different.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2024-04-10 04:28:35 -07:00
parent 95456f2f3a
commit b077b5b3eb
2 changed files with 3 additions and 17 deletions

View File

@@ -9,16 +9,10 @@ NVFANCONTROL ?= "nvfancontrol_p3767_0000"
MACHINEOVERRIDES =. "orin-nano:"
require conf/machine/include/tegra234.inc
TEGRA_BUPGEN_SPECS ?= "fab=000;boardsku=0000;boardrev=;bup_type=bl \
fab=000;boardsku=0000;boardrev=;bup_type=kernel \
fab=000;boardsku=0001;boardrev=;bup_type=bl \
fab=000;boardsku=0001;boardrev=;bup_type=kernel \
fab=000;boardsku=0003;boardrev=;bup_type=bl \
TEGRA_BUPGEN_SPECS ?= "fab=000;boardsku=0003;boardrev=;bup_type=bl \
fab=000;boardsku=0003;boardrev=;bup_type=kernel \
fab=000;boardsku=0004;boardrev=;bup_type=bl \
fab=000;boardsku=0004;boardrev=;bup_type=kernel \
fab=000;boardsku=0005;boardrev=;bup_type=bl \
fab=000;boardsku=0005;boardrev=;bup_type=kernel"
fab=000;boardsku=0004;boardrev=;bup_type=kernel"
KERNEL_DEVICETREE ?= "tegra234-p3767-0003-p3768-0000-a0.dtb"
KERNEL_ARGS ?= "mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 nospectre_bhb"

View File

@@ -20,15 +20,7 @@ require conf/machine/include/tegra234.inc
require conf/machine/include/devkit-wifi.inc
TEGRA_BUPGEN_SPECS ?= "fab=000;boardsku=0000;boardrev=;bup_type=bl \
fab=000;boardsku=0000;boardrev=;bup_type=kernel \
fab=000;boardsku=0001;boardrev=;bup_type=bl \
fab=000;boardsku=0001;boardrev=;bup_type=kernel \
fab=000;boardsku=0003;boardrev=;bup_type=bl \
fab=000;boardsku=0003;boardrev=;bup_type=kernel \
fab=000;boardsku=0004;boardrev=;bup_type=bl \
fab=000;boardsku=0004;boardrev=;bup_type=kernel \
fab=000;boardsku=0005;boardrev=;bup_type=bl \
fab=000;boardsku=0005;boardrev=;bup_type=kernel"
fab=000;boardsku=0000;boardrev=;bup_type=kernel"
KERNEL_DEVICETREE ?= "tegra234-p3767-0000-p3509-a02.dtb"
KERNEL_ARGS ?= "mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 nospectre_bhb"