artem@LAPTOP-R4C8T0OB:~/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 p3509-a02+p3767-0000 internal /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p -c bootloader/t186ref/cfg/flash_t234_qspi.xml --showlogs --network usb0 p3509-a02+p3767-0000 internal * Stopping NFS kernel daemon [ OK ] * Unexporting directories for NFS kernel daemon... [ OK ] * Not starting NFS kernel daemon: no exports. clnt_create: RPC: Timed out /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/rootfs and /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/tools/kernel_flash are not exported You can export them by adding entries into /etc/exports For examples: /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/tools/kernel_flash *(rw,nohide,insecure,no_subtree_check,async,no_root_squash) /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/rootfs *(rw,nohide,insecure,no_subtree_check,async,no_root_squash) Note that these entries exposes the folders to requests from any IPs ************************************ * * * Step 1: Generate flash packages * * * ************************************ Create folder to store images to flash Generate image for internal storage devices Generate images to be flashed ADDITIONAL_DTB_OVERLAY="" /home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/flash.sh --no-flash --sign -c bootloader/t186ref/cfg/flash_t234_qspi.xml p3509-a02+p3767-0000 internal ############################################################################### # L4T BSP Information: # R35 , REVISION: 2.1 # User release: 0.0 ############################################################################### Error: missing readinfofile (/home/artem/Downloads/nvidia/sdkm_downloads/Linux_for_Tegra/bootloader/readinfo_t234_min_dev.xml). Usage: sudo ./flash.sh [options] t186ref internal options: -c ---------- Flash partition table config file. -d ---------- device tree file. -f --------- Path to flash application (tegraflash.py) -h -------------------- print this message. -i -- key for disk encryption support. -k ----- partition name or number specified in flash.cfg. -m ------ MTS preboot such as mts_preboot_si. -n --------- Static nfs network assignments ::: -o ---------- ODM data. -r -------------------- skip building and reuse existing system.img. -t -------- tegraboot binary such as nvtboot.bin -u ------ PKC key used for odm fused board. -v ------ Secure Boot Key (SBK) key used for ODM fused board. -w ---------- warm boot binary such as nvtbootwb0.bin -x ---------- Tegra CHIPID. -B ---------- BoardId. -C ---------- Kernel commandline arguments. WARNING: Each option in this kernel commandline gets higher preference over the values set by flash.sh. In case of NFS booting, this script adds NFS booting related arguments, if -i option is omitted. -F ---------- Flash server such as cboot.bin. -G -------- Read partition and save image to file. -I ----------- initrd file. Null initrd is default. -K ----------- Kernel image file such as zImage or Image. -L ------- Bootloader such as cboot.bin or u-boot-dtb.bin. -M --------- MTS boot file such as mts_si. -N ---------- i.e. :/my/exported/nfs/rootfs. -R ------- Sample rootfs directory. -S ------------- Rootfs size in bytes. Valid only for internal rootdev. KiB, MiB, GiB short hands are allowed, for example, 1GiB means 1024 * 1024 * 1024 bytes. -Z -------------------- Print configurations and then exit. --no-flash ------------ perform all steps except physically flashing the board. This will create a system.img. --external-device------ Generate flash images for external devices --sparseupdate--------- only flash partitions that have changed. Currently only support SPI flash memory --no-systemimg -------- Do not create or re-create system.img. --bup ----------------- Generate bootloader update payload(BUP). --multi-spec----------- Enable support for building multi-spec BUP. --clean-up------------- Clean up BUP buffer when multi-spec is enabled. --usb-instance --- Specify the USB instance to connect to; = USB port path (e.g. 3-14). --no-root-check ------- Typical usage of this script require root permissions. Pass this option to allow running the script as a regular user, in which case only specific combinations of command-line options will be functional. --user_key User provided key file (16-byte) to encrypt user images, like kernel, kernel-dtb and initrd. If user_key is specified, SBK key (-v) has to be specified. For now, user_key file must contain all 0's. --uefi-keys Specify UEFI keys configuration file. --rcm-boot ------------ Do RCM boot instead of physically flashing the board. --sign ---------------- Sign images and store them under "bootloader/signed" directory. The board will not be physically flashed. --image --------------- Specify the image to be written into board. --boot-chain-flash Flash only a specific boot chain (ex. "A, "B", "all"). Defaults to "all", inputs are case insensitive. Not suitable for production. --boot-chain-select Specify booting chain (ex. "A" or "B") after the board is flashed. Defaults to "A", inputs are case insensitive. --pv-crt -------------- The certificate for the key that is used to sign cpu_bootloader Error: failed to generate images Cleaning up...