minimal rootfs
So, I have used these commands below to set up minimal rootfs first, and it is working perfectly.
sudo ./nv_build_samplefs.sh --abi aarch64 --distro ubuntu --flavor minimal --version jammy
sudo tar -xpf /path/to/sample_fs.tbz2 -C Linux_for_Tegra/rootfs/
sudo ./apply_binaries.sh
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 p3509-a02-p3767-0000 internal
Flashing with modified defconfig
Then, I have changed defconfig from the source file of kernel and followed the additional commands as below,
./generic_rt_build.sh "enable"
$ export CROSS_COMPILE=<toolchain-path>/bin/aarch64-buildroot-linux-gnu-
$ make -C kernel
$ export INSTALL_MOD_PATH=<install-path>/Linux_for_Tegra/rootfs/
$ sudo -E make install -C kernel
$ cp kernel/kernel-jammy-src/arch/arm64/boot/Image \
<install-path>/Linux_for_Tegra/kernel/Image
And for the next part, I followed steps from the Building the NVIDIA Out-of-Tree Modules and updated the initramfs by the command,
$ cd <install-path>/Linux_for_Tegra
$ sudo ./tools/l4t_update_initrd.sh
Then, Flashed nvidia with the same command used before.
Interestingly, I can see login prompt when the device connected via uart to my PC.
But the monitor connected to it via HDMI is stuck on the boot page.
If I am doing mistake in the process while flashing with the kernel customization please point me out where the mistake is.
The bootlog is attached for your better understanding of the issue.
Thanks… :-)
bootlogMinimalOS.log (155.8 KB)