Flash Orin 32G fail

can you comment out these lines in tools/kernel_flash/l4t_network_flash.func

enable_nfs_for_folder ()
{
    set +e
    rpcbind > /dev/null 2>&1
    set -e

    local nfs_dir=$1
    local networkargs=$2

    local arr=
    IFS=':' read -r -a arr <<< "${networkargs}"

    local target_ip=${arr[1]:-fc00:1:1::/48}

    chmod 755 "${nfs_dir}"
    chown root.root "${nfs_dir}"
#   if ! grep -qvE "^\s*#|^\s*$" /etc/exports; then
#           echo "# Entry added by NVIDIA initrd flash tool" >> /etc/exports
#           echo "${nfs_dir} ${target_ip}(${PERMISSION_STR})" >> /etc/exports
#   fi
    if [[ "${target_ip}" =~ : ]]; then
            target_ip="[${target_ip}]"
    fi
    exportfs -o "${PERMISSION_STR}" "${target_ip}:${nfs_dir}"
}

and try these commands instead?

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 jetson-agx-orin-devkit mmcblk0p1

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 5 --network usb0 --showlogs

1 Like