SSH ready
mount.nfs: Connection timed out
Flash failure
Either the device cannot mount the NFS server on the host or a flash command has failed. Check your network setting (VPN, firewall,...) to make sure the device can mount NFS server. Debug log saved to /tmp/tmp.oGAfo5vwUT. You can access the target's terminal through "sshpass -p root ssh root@xxxx"
Cleaning up...
And you can access the terminal like it says, but you can’t flash the device. See if you Ubuntu firewall is enabled.
sudo ufw status
# disable if active
sudo ufw disable
# enable after flash
sudo ufw enable
After disabling the firewall I was able to flash successfully.
I have tried more than a dozen times and have been reporting the following error
00:03:56.752 - Debug: Sha1 checksum matched for /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt
00:03:56.755 - Debug: Writing /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt (294912 bytes) into /dev/mtd0:3276800
Copied 294912 bytes from /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt to address 0x00320000 in flash
00:03:57.221 - Debug: Writing mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (parittion: A_mb2) into /dev/mtd0
00:03:57.234 - Debug: Sha1 checksum matched for /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt
00:03:57.237 - Debug: Writing /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (440944 bytes) into /dev/mtd0:4325376
15:35:52.019 - Error: Flash failure.
15:35:52.022 - Error: Either the device cannot mount the NFS server on the host or a flash command has failed. Check your network setting (VPN, firewall,…) to make sure the device can mount NFS server. Debug log saved to /tmp/tmp.1dAJLZr22P. You can access the target’s terminal through “sshpass -p root ssh root@fc00:1:1:0::2”
15:35:52.025 - Debug: The last 5 lines of the debug log are:
00:03:56.755 - Debug: Writing /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt (294912 bytes) into /dev/mtd0:3276800
Copied 294912 bytes from /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt to address 0x00320000 in flash
00:03:57.221 - Debug: Writing mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (parittion: A_mb2) into /dev/mtd0
00:03:57.234 - Debug: Sha1 checksum matched for /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt
00:03:57.237 - Debug: Writing /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (440944 bytes) into /dev/mtd0:4325376
Cleaning up…```
lihao@lihao:~/hello/Nano/orin_bsp_36_4_4/Linux_for_Tegra$ sudo ufw status
Status: inactive
lihao@lihao:~/hello/Nano/orin_bsp_36_4_4/Linux_for_Tegra$ cat 1_flash_image.sh
#!/usr/bin/env bash
set -e
CUR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
cd ${CUR_DIR}
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 upai-pro02-box-a00 internal
Hi @kayccc
Thank you for your reply. I have already resolved that issue. Could you please help me take a look at the SPI slave problem? Thanks in advance.
I am using the latest SDK (36.4.4)and would like to know how to configure the DTS for SPI slave. Which test code should I use to receive data sent from the SPI master?