This is a continuation of this issue; I had to start a new one because that one was locked after no answers for too long, and @prlawrence kindly jumped in, and asked we continue in the forum.
@prlawrence wrote:
Until JetPack 6, the main answer we’ve had for custom Linux distro is Yocto – we and Jetson partners have put effort into enabling Yocto support for Jetson. Other than that, NVIDIA simply offers a reference filesystem based on Ubuntu.
Neither of those is great if you have a custom OS build you are using in an enterprise.
The Jetson Linux page has the files available for download, e.g., the BSP package which includes conf files for the various combinations of Jetson reference carrier board + Jetson module.
I downloaded the BSP. The conf files (which we have been using) mainly reference xml files, e.g. here is p3509-0000+p3668-0001-qspi-emmc.conf, which matches my board:
source "${LDK_DIR}/p3668.conf.common";
EMMC_CFG=flash_l4t_t194_spi_emmc_p3668.xml;
DTB_FILE=tegra194-p3668-0001-p3509-0000.dtb;
EMMCSIZE=17179869184;
RECROOTFSSIZE=100MiB;
# Rootfs A/B:
if [[ "${ROOTFS_AB}" == 1 && "${ROOTFS_ENC}" == "" ]]; then
rootfs_ab=1;
EMMC_CFG=flash_l4t_t194_spi_emmc_p3668_rootfs_ab.xml;
# Disk encryption support:
elif [[ "${ROOTFS_AB}" == "" && "${ROOTFS_ENC}" == 1 ]]; then
disk_enc_enable=1;
EMMC_CFG=flash_l4t_t194_spi_emmc_p3668_enc_rfs.xml;
# Rootfs A/B + Disk encryption support:
elif [[ "${ROOTFS_AB}" == 1 && "${ROOTFS_ENC}" == 1 ]]; then
rootfs_ab=1;
disk_enc_enable=1;
EMMC_CFG=flash_l4t_t194_spi_emmc_p3668_enc_rootfs_ab.xml;
fi;
If I look at that xml, a lot there, but I don’t see anything about, “here are the libraries to install,” or even, “for this board, here is the repo and deb packages to install.” If I had that, I probably could map them, download the package, extract the files, and then make them available to mount inside containers.
JetPack 6 will enable customers and partners to bring their own kernel and will better enable custom distro support. We will continue to provide an Ubuntu-based reference filesystem and Debian packages. If you need to use a custom distro, part of the task will be as you said above, getting specific files from our reference approved for repackaging and adding to your “blessed golden image.”
Yeah, I am really looking forward to seeing what I can do with that. If that helps, all the better.