Some essential dependencies are listed as RRECOMMENDS in conf/machine/include/tegra-common.inc:
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "kernel-module-ina3221 kernel-module-lm90 kernel-module-tegra-bpmp-thermal kernel-module-spi-tegra114 kernel-module-pwm-fan \
kernel-module-ucsi-ccg kernel-module-pcie-tegra194 kernel-module-phy-tegra194-p2u \
kernel-module-nvme kernel-module-pwm-tegra kernel-module-tegra-xudc"
For some distros I set NO_RECOMMENDATIONS = "1", which drops all of them, and the board then no longer flashes or boots:
- Essential for flash: kernel-module-tegra-xudc
- Essential for boot: kernel-module-nvme, kernel-module-pcie-tegra194, kernel-module-phy-tegra194-p2u
Moving them to MACHINE_ESSENTIAL_EXTRA_RDEPENDS might not be the right fix either, since the build could fail on kernels where these are =y instead of =m. So perhaps a better mechanism is needed to keep NO_RECOMMENDATIONS = "1" both buildable and runnable.
The flash scripts look like they might suffer from the same issue. tegra-target-flash-scripts lists essential modules under RRECOMMENDS, so the flash scripts might have issues under NO_RECOMMENDATIONS too.
Some essential dependencies are listed as RRECOMMENDS in
conf/machine/include/tegra-common.inc:For some distros I set NO_RECOMMENDATIONS = "1", which drops all of them, and the board then no longer flashes or boots:
Moving them to MACHINE_ESSENTIAL_EXTRA_RDEPENDS might not be the right fix either, since the build could fail on kernels where these are =y instead of =m. So perhaps a better mechanism is needed to keep NO_RECOMMENDATIONS = "1" both buildable and runnable.
The flash scripts look like they might suffer from the same issue.
tegra-target-flash-scriptslists essential modules under RRECOMMENDS, so the flash scripts might have issues under NO_RECOMMENDATIONS too.