Problem when flashing jetson nano jetson-nano-emmc (p3449-0000 + p3448-0002)

Hello everyone, thank you in advance for your kind help

I’m experiencing an issue when attempting to flash the jetson nano module using the flash.sh script contained in the linux 4 tegra package version 32.7.4 (which according to the archive seems to be the latest version compatible with my module.

the problem is that when i run ./flash.sh jetson-nano-emmc mmcblk0p1

i receive the following error:

###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.4
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/rampage/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0012 ] Generating RCM messages
[   0.0034 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/rampage/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[   0.0040 ] RCM 0 is saved as rcm_0.rcm
[   0.0043 ] RCM 1 is saved as rcm_1.rcm
[   0.0044 ] List of rcm files are saved in rcm_list.xml
[   0.0044 ] 
[   0.0044 ] Signing RCM messages
[   0.0063 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0069 ] Assuming zero filled SBK key
[   0.0103 ] 
[   0.0103 ] Copying signature to RCM mesages
[   0.0124 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0135 ] 
[   0.0135 ] Boot Rom communication
[   0.0154 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.0160 ] RCM version 0X210001
[   0.2746 ] Boot Rom communication completed
[   1.3015 ] 
[   1.3016 ] dump EEPROM info
[   1.3045 ] tegrarcm --oem platformdetails eeprom /home/rampage/Linux_for_Tegra/bootloader/cvm.bin
[   1.3051 ] Applet version 00.01.0000
[   1.5858 ] Saved platform info in /home/rampage/Linux_for_Tegra/bootloader/cvm.bin
[   1.7176 ] 
[   1.7204 ] tegrarcm --reboot recovery
[   1.7210 ] Applet version 00.01.0000
[   1.8876 ] 
Board ID(3448) version(401) 
copying bctfile(/home/rampage/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/rampage/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/rampage/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
Existing sosfile(/home/rampage/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/rampage/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/rampage/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/rampage/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
copying wb0boot(/home/rampage/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/rampage/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/rampage/Linux_for_Tegra/bootloader/eks.img) reused.
./flash.sh: line 2661: [: : integer expression expected
copying dtbfile(/home/rampage/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done.
Copying nv_boot_control.conf to rootfs
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done.
Making system.img... 
/home/rampage/Linux_for_Tegra/rootfs/boot/extlinux/extlinux.conf is not found, exiting...

I honestly don’t understand what i might be doing wrong.

I’m running on ubuntu 18.04 LTS, i’ve downloaded the Linux 4 tegra package from here: https://developer.nvidia.com/embedded/jetson-linux-archive
as well as the sample rootfs

unpacked everything and then ran the command as mentioned above.

looking forward for your help as i’m stuck on this!

thank you

Please read this document.

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3273/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/quick_start.html#

You have missing steps.

thank you very much, i think i’ve solved it, now i can flash.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.