My Nano was working fine, but suddenly it won’t boot from the SD card anymore. I tried many SD cards and power supplies, but nothing seemed to work. So, I tried to flash it thru the USB using recovery mode in hope that this would rebuild everything that might be wrong.
I am getting the following messages (from UART and from the flash command):
[0067.850] [L4T TegraBoot] (version 00.00.2018.01-l4t-7dfcb60a)
[0067.855] Processing in recovery mode
[0067.859] A02 Bootrom Patch rev = 1023
[0067.862] Power-up reason: pmc por
[0067.866] Established communication link with host
[0069.324] NvTbootI2cWrite(): error code 0x00045100 Error while starting write transaction
[0069.332] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave
[0069.341] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00045001
[0214.471] Odmdata from BCT: 0x00094000
[0214.475] DebugPort= 0x3
[0214.484] BoardId read from EEPROM/NCT: 3448
[0214.488] BoardID = 3448, SKU = 0x0
[0214.515] NvTbootInit_Porg: Setting GPIO_A6 for HDMI …
[0214.520] max77620 setting MBLPD bit
[0214.524] No Battery Present
[0214.527] RamCode = 0
[0214.529] Platform has DDR4 type RAM
[0214.532] max77620 disabling SD1 Remote Sense
[0214.536] Setting DDR voltage to 1125mv
[0214.540] Serial Number of Pmic Max77663: 0x193fe9
[0214.548] Entering ramdump check
[0214.551] Get RamDumpCarveOut = 0x0
[0214.555] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8
[0214.560] Last reboot was clean, booting normally!
[0214.564] Sdram initialization is successful
[0214.568] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0214.575] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0214.580] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0214.586] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0214.592] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0214.598] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0214.604] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0214.610] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0214.626] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0214.632] Platform-DebugCarveout: 0
[0214.635] Downloaded BCT successfully
[0215.313] Downloaded Bootloader successfully
[0215.384] Downloaded rp1 successfully
[0215.778] MAX77620_GPIO5 configured
[0215.781] CPU power rail is up
[0215.784] CPU clock enabled
[0215.788] Performing RAM repair
[0215.791] Updating A64 Warmreset Address to 0x92c002e9
[0215.797] Enable APE clock/reset
[0215.800] Error in NvTbootGetTOSBinaryLength: 0x11 !
[0215.805] Loading Secure OS image failed.
[0215.809] Set NvDecSticky Bits
[0215.812] GSC2 address ff53fffc value c0edbbcc
[0215.819] GSC MC Settings done
[0215.823] Next binary entry address: 0x92c00258
[0215.827] BoardId: 3448
[0215.830] Overriding pmu board id with proc board id
[0215.835] Display board id is not available
[0215.839] Starting CPU & Halting co-processor
[0221.030]
[0221.031] Debug Init done
[0221.034] Marked DTB cacheable
[0221.037] Bootloader DTB loaded at 0x83000400
[0221.042] DeviceTree Init done
[0221.054] Pinmux applied successfully
[0221.059] gicd_base: 0x50041000
[0221.062] gicc_base: 0x50042000
[0221.065] Interrupts Init done
[0221.069] Using base:0x60005090 & irq:208 for tick-timer
[0221.075] Using base:0x60005098 for delay-timer
[0221.079] platform_init_timer: DONE
[0221.083] Timer(tick) Init done
[0221.086] osc freq = 38400 khz
[0221.090]
[0221.091] Welcome to L4T Cboot
[0221.094]
[0221.095] Cboot Version: 00.00.2018.01-t210-4686ce50
[0221.100] calling constructors
[0221.103] initializing heap
[0221.106] initializing threads
[0221.109] initializing timers
[0221.112] creating bootstrap completion thread
[0221.116] top of bootstrap2()
[0221.119] CPU: ARM Cortex A57
[0221.122] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0221.127] initializing platform
[0221.134] Manufacturer: MF = 0xc2, ID MSB = 0x25
[0221.139] ID LSB = 0x36, ID-CFI len = 194 bytes
[0221.143] Macronix QSPI chip present
[0221.147] SPI device register
[0221.150] init boot device
[0221.152] allocating memory for boot device(SPI)
[0221.157] registering boot device
[0221.166] sdmmc node status = okay
[0221.169] sdcard instance = 0
[0221.172] sdcard gpio handle 0x5b
[0221.175] sdcard gpio pin 0xc9
[0221.178] sdcard gpio flags 0x0
[0221.181] vmmc-supply 0x9e
[0221.184] Instance: 0
[0221.186] Allocating memory for context
[0221.190] enabling clock
[0221.192] sd card init
[0221.195] Check card present and stable
[0221.198] Send command 0
[0221.205] Error in command_complete 18001 int_status
[0221.212] Error in command_complete 18001 int_status
[0221.219] Error in command_complete 18001 int_status
[0221.224] sending the command failed 0xffffffec in sdmmc_send_command at 109
[0221.231] Sending CMD_SD_SEND_IF_COND failed
[0221.235] Retrying CMD0/CMD8 sequence …
[0221.239] Send command 0
[0221.245] Error in command_complete 18001 int_status
[0221.252] Error in command_complete 18001 int_status
[0221.259] Error in command_complete 18001 int_status
[0221.264] sending the command failed 0xffffffec in sdmmc_send_command at 109
[0221.271] Sending CMD_SD_SEND_IF_COND failed
[0221.275] Identify SD card failed 0xffffffec in sdmmc_init at 1127
[0221.291] error opening sdcard-0
[0221.294] of_register: registering tegra_udc to of_hal
[0221.299] of_register: registering inv20628-driver to of_hal
[0221.305] of_register: registering ads1015-driver to of_hal
[0221.311] of_register: registering lp8557-bl-driver to of_hal
[0221.316] of_register: registering bq2419x_charger to of_hal
[0221.322] of_register: registering bq27441_fuel_gauge to of_hal
[0221.334] gpio framework initialized
[0221.337] of_register: registering tca9539_gpio to of_hal
[0221.342] of_register: registering tca9539_gpio to of_hal
[0221.348] of_register: registering i2c_bus_driver to of_hal
[0221.353] of_register: registering i2c_bus_driver to of_hal
[0221.359] of_register: registering i2c_bus_driver to of_hal
[0221.364] pmic framework initialized
[0221.368] of_register: registering max77620_pmic to of_hal
[0221.373] regulator framework initialized
[0221.377] of_register: registering tps65132_bl_driver to of_hal
[0221.383] initializing target
[0221.389] gpio_driver_register: register ‘tegra_gpio_driver’ driver
[0221.397] board ID = D78, board SKU = 0
[0221.401] Skipping Z3!
[0221.406] fixed regulator driver initialized
[0221.424] initializing OF layer
[0221.428] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.445] I2C Bus Init done
[0221.448] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.458] I2C Bus Init done
[0221.461] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.471] I2C Bus Init done
[0221.474] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.484] I2C Bus Init done
[0221.487] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.497] I2C Bus Init done
[0221.500] of_children_init: Ops found for compatible string maxim,max77620
[0221.510] max77620_init using irq 118
[0221.515] register ‘maxim,max77620’ pmic
[0221.520] gpio_driver_register: register ‘max77620-gpio’ driver
[0221.526] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0221.536] I2C Bus Init done
[0221.540] Applying platform configs
[0221.547] platform-init is not present. Skipping
[0221.551] calling apps_init()
[0221.554] Failed to open “sd0” for publishing partitions
[0221.559] Proceeding to flashing Server
[0221.563] usbdcd_reinit Initialize driver to use already enumerated device
[0221.570] nv3p_priv_usbf_open USB configuration success
[0221.858] populate_storage_info: failed to open sd0 !
[0221.863] populate_platform_info: failed to populate storage info
[0221.869] pre_process_oem_commands: failed to populate platform info
[0221.876] pre_process_oem_commands: failed to process oem commands
[0221.882] oem_commands: processing oem command failed
$> setenv BOARD jetson-nano-devkit
$> sudo ./flash.sh ${BOARD} mmcblk0p1
###############################################################################
L4T BSP Information:
R32 , REVISION: 4.4
###############################################################################
Target Board Information:
Name: jetson-nano-devkit, Board Family: t210ref, SoC: Tegra 210,
OpMode: production, Boot Authentication: ,
###############################################################################
./tegraflash.py --chip 0x21 --applet “/home/retina/gdesouza/Downloads/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.0024 ] Generating RCM messages
[ 0.0033 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0041 ] RCM 0 is saved as rcm_0.rcm
[ 0.0047 ] RCM 1 is saved as rcm_1.rcm
[ 0.0047 ] List of rcm files are saved in rcm_list.xml
[ 0.0047 ]
[ 0.0048 ] Signing RCM messages
[ 0.0056 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0063 ] Assuming zero filled SBK key
[ 0.0116 ]
[ 0.0116 ] Copying signature to RCM mesages
[ 0.0126 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0139 ]
[ 0.0139 ] Boot Rom communication
[ 0.0147 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0156 ] RCM version 0X210001
[ 0.5731 ] Boot Rom communication completed
[ 1.5895 ]
[ 1.5896 ] dump EEPROM info
[ 1.5906 ] tegrarcm --oem platformdetails eeprom /home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 1.5915 ] Applet version 00.01.0000
[ 2.0797 ] Saved platform info in /home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1621 ]
Board ID(3448) version(400)
copying bctfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/retina/gdesouza/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
Existing badpagefile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/retina/gdesouza/Downloads/Linux_for_Tegra/rootfs … done.
populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Existing tbcfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)… done.
copying cfgfile(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_spi_sd_p3448.xml) to flash.xml… done.
copying flasher(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0000-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x21 --bins “EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-b00.dtb”
saving flash command in /home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/retina/gdesouza/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
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.0028 ] tegrasign --key None --getmode mode.txt
[ 0.0047 ] Assuming zero filled SBK key
[ 0.0068 ]
[ 0.0069 ] Generating RCM messages
[ 0.0091 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0103 ] RCM 0 is saved as rcm_0.rcm
[ 0.0124 ] RCM 1 is saved as rcm_1.rcm
[ 0.0124 ] List of rcm files are saved in rcm_list.xml
[ 0.0124 ]
[ 0.0124 ] Signing RCM messages
[ 0.0137 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0147 ] Assuming zero filled SBK key
[ 0.0223 ]
[ 0.0223 ] Copying signature to RCM mesages
[ 0.0239 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0256 ]
[ 0.0256 ] Parsing partition layout
[ 0.0290 ] tegraparser --pt flash.xml.tmp
[ 0.0317 ]
[ 0.0317 ] Creating list of images to be signed
[ 0.0335 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0457 ]
[ 0.0457 ] Generating signatures
[ 0.0470 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0484 ] Assuming zero filled SBK key
[ 0.1139 ]
[ 0.1140 ] Generating br-bct
[ 0.1163 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.1174 ] Copying Sdram info from 2 to 3 set
[ 0.1226 ]
[ 0.1227 ] Updating boot device parameters
[ 0.1238 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.1247 ] Warning: No sdram params
[ 0.1250 ]
[ 0.1250 ] Updating bl info
[ 0.1261 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.1297 ]
[ 0.1298 ] Updating secondary storage information into bct
[ 0.1310 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.1324 ]
[ 0.1324 ] Updating Odmdata
[ 0.1340 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[ 0.1353 ] Warning: No sdram params
[ 0.1356 ]
[ 0.1356 ] Get Signed section of bct
[ 0.1368 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.1381 ]
[ 0.1381 ] Signing BCT
[ 0.1405 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1415 ] Assuming zero filled SBK key
[ 0.1421 ]
[ 0.1422 ] Updating BCT with signature
[ 0.1432 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.1446 ]
[ 0.1446 ] Copying signatures
[ 0.1456 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.1504 ]
[ 0.1504 ] Updating BFS information on BCT
[ 0.1516 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.1529 ]
[ 0.1530 ] Boot Rom communication
[ 0.1539 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.1551 ] BootRom is not running
[ 0.3668 ]
[ 0.3668 ] Sending BCTs
[ 0.3683 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.3697 ] Applet version 00.01.0000
[ 0.8354 ] Sending bct
[ 0.8356 ] […] 100%
[ 1.0182 ]
[ 1.0197 ] tegrahost --chip 0x21 --align cboot.bin
[ 1.0230 ]
[ 1.0248 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 1.0293 ]
[ 1.0313 ] tegrasign --key None --list cboot.bin_list.xml
[ 1.0323 ] Assuming zero filled SBK key
[ 1.0467 ]
[ 1.0484 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 1.0500 ]
[ 1.0523 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-b00.dtb
[ 1.0530 ]
[ 1.0539 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-b00.dtb tegra210-p3448-0000-p3449-0000-b00.dtb_blheader
[ 1.0555 ]
[ 1.0570 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-b00.dtb_list.xml
[ 1.0579 ] Assuming zero filled SBK key
[ 1.0653 ]
[ 1.0669 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 1.0687 ]
[ 1.0691 ] Sending bootloader and pre-requisite binaries
[ 1.0702 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt 0
[ 1.0713 ] Applet version 00.01.0000
[ 1.5772 ] Sending ebt
[ 1.5773 ] […] 100%
[ 1.7078 ] Sending rp1
[ 1.7134 ] […] 100%
[ 1.7844 ]
[ 1.7862 ] tegrarcm --boot recovery
[ 1.7878 ] Applet version 00.01.0000
[ 2.1813 ]
[ 2.1814 ] Retrieving storage infomation
[ 2.1827 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 2.1846 ] Applet is not running on device. Continue with Bootloader
[ 2.8078 ]
[ 2.8101 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 2.8111 ] Cboot version 00.01.0000
[ 3.0828 ] Saved platform info in storage_info.bin