I have been trying to flash the Agx orin with jetpack 35.4.1 and everytime I have been getting this error. Can someone please help me to figure out whats wrong here?
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 76
max_index=75
writing item=59, 1:3:primary_gpt, 512, 19968, gpt_primary_1_3.bin, 16896, fixed--0, a9898d6f0565f1801f722e46015b5bddbb62eab7
Writing primary_gpt partition with gpt_primary_1_3.bin
Offset is not aligned to K Bytes, no optimization is applied
dd if=/mnt/internal/gpt_primary_1_3.bin of=/dev/mmcblk0 bs=1 skip=0 seek=512 count=16896
16896+0 records in
16896+0 records out
16896 bytes (17 kB, 16 KiB) copied, 0.0201594 s, 838 kB/s
Writing primary_gpt partition done
Error: Invalid argument during seek for read on /dev/mmcblk0
[ 9]: l4t_flash_from_kernel: Error: partprobe failed. This indicates that:
the xml indicates the gpt is larger than the device storage
the xml might be invalid
the device might have a problem.
Please make correction.
Flash failure
Cleaning up…
Then you can put this into Linux_for_Tegra/p3701.conf.common:
# update_local_cfgfile
update_local_cfgfile()
{
# Update "num_sectors" in local cfgfile for the device
# with FAB=501 and BOARDSKU=0004/0005
local local_cfgfile="${1}"
if [ "${board_FAB}" == "501" ] && [[ "${board_sku}" == "0004" || "${board_sku}" == "0005" ]]; then
sed -i 's/num_sectors=\"124321792\"/num_sectors=\"124190720\"/' "${local_cfgfile}"
fi
}