Hello
I have been experimenting with building a rootfs using the nv_build_samplefs.sh script.
Using
./tools/samplefs/nv_build_samplefs.sh --abi aarch64 --distro ubuntu --flavor minimal --version focal
and than flashing my Jatson Orin Nano devkit with
sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
Worked fine.
I than build a rootfs using the basic flavor:
./tools/samplefs/nv_build_samplefs.sh --abi aarch64 --distro ubuntu --flavor basic --version focal
If I use the mentioned flash command to flash my basic flavored rootfs, I get the error:
cp: cannot stat ‘(…)/rootfs/usr/sbin/flash_erase’: No such file or directory
I found out that flash_erase is part of mtd-utils, which is not included in nvubuntu-focal-basic-aarch64-packages.
Is there another way to flash my device when using the basic flavored rootfs?
Any help is highly appriciated.