I am trying to build the kernel and rootfs from source. (Why? To better understand how the OS, bootloader, rootfs and other components are put together. ). I started with the sample L4T BSP and rootfs sources here: https://developer.nvidia.com/embedded/linux-tegra
There are ample instructions for building the kernel as well as merging the custom built kernel w/ the rootfs image available at the same link above. However, I couldnt find instructions for building the entire BSP. When I untar the BSP sources from https://developer.nvidia.com/embedded/L4T/r32_Release_v4.2/Sources/T186/public_sources.tbz2 , I get a script file :
and a bunch of other packages including the kernel sources. Running the script and setting the appropriate env variables, I am able to successfully build atf, kernet, trusty, and u-boot. However the other packages are not built.
Is there a way to build the entire BSP and supporting tools from source to essentially create the equivalent of the L4T BSP binary package at: https://developer.nvidia.com/embedded/L4T/r32_Release_v4.2/t186ref_release_aarch64/Tegra186_Linux_R32.4.2_aarch64.tbz2
Or, are there proprietary blobs that will prevent building the full BSP from source?
Is there a way to build the rootfs image from the source archive: https://developer.nvidia.com/embedded/L4T/r32_Release_v4.2/Sources/samplefs/ubuntu_bionic-l4t_aarch64_src.tbz2
? Inside that file, I couldn’t find any helper scripts to build the rootfs from scratch. I did find several posts here and on other sites to create a rootfs using Ubuntu repos, however, I couldnt find anything on building the rootfs from the nVidia sources. So - are there instructions/is it possible to build the rootfs image from nVidia sources?
Apologies if this question was asked / answered before: I tried to search the forum and google before posting - however, couldnt find anything specific to what I am trying to do.
Thanks in advance.