Another boot from ssd + spi thread

I am trying use my Jetson Nano 4GB Devkit (B revision) in combination with a Duet3 cnc controller board at least that is part the end goal.

For now I want to achieve two things (in that order if possible):

  1. Boot the nano from a Samung T5 500GB usb ssd.
  2. Make the required changes to the devicetree so the Duet can communicatie via SPI

Running L4T 4.5.1 and a .dtbo I got from the Duet forums I got 2) working and via a couple of different routes I got 1) working as well (athough never without the sd card present). Though never 1) and 2) at the same time.

Instead writing all the things I tried the past 2 weeks and attaching boot logs. I suggest/hope someone points me in the right direct for what should work and I start from there with a clean slate.

Other pieces of information:

  • Jetson Nano 4GB Devkit (B revision) on the default carrier
  • I have no requirements as which L4T is used (4.5.1 or 4.6.x)
  • Samung T5 500GB
  • x86 latop running native Ubuntu 18 available
  • Serial converter available for logs
  • The device tree that I know works (tested on 4.5.1) tegra210-p3448-0000-p3449-0000-b00-single-spidev.dtbo (2.9 KB) Although I must admit I do not know/understand yet how it was created, one step at a time :)

To boot from usb drive, you can check below page.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E01O0HA

Thanks for your reply.

I followed that guide, note that in step one it says the nano must be bootable from eMMC, but the devkit version does not have that. I assume just booting from sd-card is ok as well.

Here are the exact steps I took, following the guide:

sudo umount /media/arne/xxx
sudo parted /dev/sdc mklabel gpt -> Yes
sudo parted /dev/sdc mkpart APP 0GB 16GB
sudo mkfs.ext4 /dev/sdc1 -> overwrite existing FS
sudo mount /dev/sdc1 /mnt

cd ~/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra
sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1
sudo mkdir tmp_system
sudo mount bootloader/system.img.raw ./tmp_system
* Placed the jumper for recovery mode, powered using 2A barel jack, connected usb to laptop
sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1 -> again because I forgot to connect the jetson
sudo rsync -axHAWX --numeric-ids --info=progress2 --exclude=/proc ./tmp_system/ /mnt
sudo umount /mnt
sudo umount ./tmp_system

* Removed power and the recovery jumper
* Removed the sd-card and connect the usb-ssd
* Powered via 2A barel jack
* Stuck on nvidia logo screen

Boot logs comming up in a minute

EDIT here are two logs. The 1st is the one from during the .flash.sh command. Interesting to me here is that the A02 bootrom is mentioned while the both the carrier and module are never separated and does have 2 CSI ports, so the B01 revision.

[0348.093] Enabled early print

[0348.095] [L4T TegraBoot] (version [0348.099] Processing in recovery mode

[0348.102] A02 Bootrom Patch rev = 1023

[0348.106] Power-up reason: pmc por

[0348.109] Established communication link with host

[0349.099] NvTbootI2cWrite(): error code 0x00045100 Error while starting write transaction

[0349.107] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave

[0349.115] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00045001
[0000.125] [L4T TegraBoot] (version 00.00.2018.01-l4t-8728f3cb)

[0000.130] Processing in cold boot mode Bootloader 2

[0000.135] A02 Bootrom Patch rev = 1023

[0000.138] Power-up reason: pmc por

[0000.141] No Battery Present

[0000.144] pmic max77620 reset reason

[0000.147] pmic max77620 NVERC : 0x40

[0000.151] RamCode = 0

[0000.153] Platform has DDR4 type RAM

[0000.156] max77620 disabling SD1 Remote Sense

[0000.161] Setting DDR voltage to 1125mv

[0000.165] Serial Number of Pmic Max77663: 0x405f5

[0000.172] Entering ramdump check

[0000.175] Get RamDumpCarveOut = 0x0

[0000.178] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8

[0000.184] Last reboot was clean, booting normally!

[0000.188] Sdram initialization is successful 

[0000.192] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000

[0000.198] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000

[0000.204] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000

[0000.210] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000

[0000.216] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000

[0000.222] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000

[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000

[0000.233] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000

[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000

[0000.256] Platform-DebugCarveout: 0

[0000.259] Nck Carveout Base=0x00000000ff080000 Size=0x00200000

[0000.265] Non secure mode, and RB not enabled.

[0000.269] BoardID = 3448, SKU = 0x0

[0000.272] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.276] Nano-SD: checking PT table on QSPI ...

[0000.280] Initialize FailControl

[0000.283] Read PT from (2:0)

[0000.314] PT crc32 and magic check passed.

[0000.318] Using BFS PT to query partitions 

[0000.324] Loading Tboot-CPU binary

[0000.352] Verifying TBC in OdmNonSecureSBK mode

[0000.362] Bootloader load address is 0xa0000000, entry address is 0xa0000258

[0000.369] Bootloader downloaded successfully.

[0000.373] Downloaded Tboot-CPU binary to 0xa0000258

[0000.378] MAX77620_GPIO5 configured

[0000.381] CPU power rail is up

[0000.384] CPU clock enabled

[0000.388] Performing RAM repair

[0000.391] Updating A64 Warmreset Address to 0xa00002e9

[0000.396] BoardID = 3448, SKU = 0x0

[0000.399] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.403] Nano-SD: checking PT table on QSPI ...

[0000.407] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.413] Loading NvTbootBootloaderDTB

[0000.480] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode

[0000.551] Bootloader DTB Load Address: 0x83000000

[0000.556] BoardID = 3448, SKU = 0x0

[0000.559] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.563] Nano-SD: checking PT table on QSPI ...

[0000.567] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.573] Loading NvTbootKernelDTB

[0000.639] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode

[0000.711] Kernel DTB Load Address: 0x83100000

[0000.715] BoardID = 3448, SKU = 0x0

[0000.718] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.722] Nano-SD: checking PT table on QSPI ...

[0000.726] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.734] Loading cboot binary

[0000.850] Verifying EBT in OdmNonSecureSBK mode

[0000.892] Bootloader load address is 0x92c00000, entry address is 0x92c00258

[0000.899] Bootloader downloaded successfully.

[0000.903] BoardID = 3448, SKU = 0x0

[0000.906] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.910] Nano-SD: checking PT table on QSPI ...

[0000.914] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.920] PT: Partition NCT NOT found ! 

[0000.924] Warning: Find Partition via PT Failed

[0000.928] Next binary entry address: 0x92c00258 

[0000.933] BoardId: 3448

[0000.937] Overriding pmu board id with proc board id

[0000.942] Display board id is not available 

[0000.947] BoardID = 3448, SKU = 0x0

[0000.950] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.954] Nano-SD: checking PT table on QSPI ...

[0000.958] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.065] Verifying SC7EntryFw in OdmNonSecureSBK mode

[0001.121] /bpmp deleted

[0001.123] SC7EntryFw header found loaded at 0xff700000

[0001.310] OVR2 PMIC

[0001.312] Bpmp FW successfully loaded

[0001.316] BoardID = 3448, SKU = 0x0

[0001.319] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0001.323] Nano-SD: checking PT table on QSPI ...

[0001.327] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.334] WB0 init successfully at 0xff780000

[0001.338] Verifying NvTbootWb0 in OdmNonSecureSBK mode

[0001.344] Set NvDecSticky Bits

[0001.347] GSC2 address ff53fffc value c0edbbcc

[0001.353] GSC MC Settings done

[0001.356] BoardID = 3448, SKU = 0x0

[0001.360] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0001.363] Nano-SD: checking PT table on QSPI ...

[0001.368] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.375] TOS Image length 53680

[0001.378]  Monitor size 53680

[0001.381]  OS size 0

[0001.396] Secure Os AES-CMAC Verification Success!

[0001.400] TOS image cipher info: plaintext

[0001.404] Loading and Validation of Secure OS Successful

[0001.420] SC7 Entry Firmware - 0xff700000, 0x4000

[0001.425] NvTbootPackSdramParams: start. 

[0001.430] NvTbootPackSdramParams: done. 

[0001.434] Tegraboot started after 51856 us

[0001.438] Basic modules init took 935894 us

[0001.442] Sec Bootdevice Read Time = 12 ms, Read Size = 61 KB

[0001.447] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB

[0001.453] Next stage binary read took 102859 us

[0001.457] Carveout took -132463 us

[0001.460] CPU initialization took 510361 us

[0001.464] Total time taken by TegraBoot 1416651 us



[0001.469] Starting CPU & Halting co-processor 



64NOTICE:  BL31: v1.3(release):b5eeb33f7

NOTICE:  BL31: Built : 12:09:37, Jul 26 2021

ERROR:   Error initializing runtime service trusty_fast

[0001.591] RamCode = 0

[0001.596] LPDDR4 Training: Read DT: Number of tables = 2

[0001.601] EMC Training (SRC-freq: 204000; DST-freq: 1600000)

[0001.614] EMC Training Successful

[0001.617] 408000 not found in DVFS table

[0001.623] RamCode = 0

[0001.626] DT Write: emc-table@204000 succeeded

[0001.632] DT Write: emc-table@1600000 succeeded

[0001.636] LPDDR4 Training: Write DT: Number of tables = 2

[0001.684] 

[0001.685] Debug Init done

[0001.688] Marked DTB cacheable

[0001.691] Bootloader DTB loaded at 0x83000000

[0001.696] Marked DTB cacheable

[0001.699] Kernel DTB loaded at 0x83100000

[0001.702] DeviceTree Init done

[0001.715] Pinmux applied successfully

[0001.720] gicd_base: 0x50041000

[0001.723] gicc_base: 0x50042000

[0001.726] Interrupts Init done

[0001.730] Using base:0x60005090 & irq:208 for tick-timer

[0001.736] Using base:0x60005098 for delay-timer

[0001.740] platform_init_timer: DONE

[0001.743] Timer(tick) Init done

[0001.747] osc freq = 38400 khz

[0001.751] 

[0001.752] Welcome to L4T Cboot

[0001.755] 

[0001.756] Cboot Version: 00.00.2018.01-t210-c952b4e6

[0001.761] calling constructors

[0001.764] initializing heap

[0001.767] initializing threads

[0001.770] initializing timers

[0001.773] creating bootstrap completion thread

[0001.777] top of bootstrap2()

[0001.780] CPU: ARM Cortex A57

[0001.783] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000

[0001.788] initializing platform

[0001.795] Manufacturer: MF = 0xc2, ID MSB = 0x25

[0001.799] ID LSB = 0x36, ID-CFI len = 194 bytes

[0001.804] Macronix QSPI chip present

[0001.807] SPI device register

[0001.810] init boot device

[0001.813] allocating memory for boot device(SPI)

[0001.817] registering boot device

[0001.836] QSPI bdev is already initialized

[0001.840] Enable APE clock

[0001.842] Un-powergate APE partition

[0001.846] of_register: registering tegra_udc to of_hal

[0001.851] of_register: registering inv20628-driver to of_hal

[0001.856] of_register: registering ads1015-driver to of_hal

[0001.862] of_register: registering lp8557-bl-driver to of_hal

[0001.868] of_register: registering bq2419x_charger to of_hal

[0001.873] of_register: registering bq27441_fuel_gauge to of_hal

[0001.885] gpio framework initialized

[0001.888] of_register: registering tca9539_gpio to of_hal

[0001.894] of_register: registering tca9539_gpio to of_hal

[0001.899] of_register: registering i2c_bus_driver to of_hal

[0001.904] of_register: registering i2c_bus_driver to of_hal

[0001.910] of_register: registering i2c_bus_driver to of_hal

[0001.916] pmic framework initialized

[0001.919] of_register: registering max77620_pmic to of_hal

[0001.925] regulator framework initialized

[0001.928] of_register: registering tps65132_bl_driver to of_hal

[0001.934] initializing target

[0001.940] gpio_driver_register: register 'tegra_gpio_driver' driver

[0001.948] board ID = D78, board SKU = 0

[0001.952] Skipping Z3!

[0001.957] fixed regulator driver initialized

[0001.974] initializing OF layer

[0001.977] NCK carveout not present

[0001.980] Skipping dts_overrides

[0001.984] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.001] I2C Bus Init done

[0002.003] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.014] I2C Bus Init done

[0002.016] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.026] I2C Bus Init done

[0002.029] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.039] I2C Bus Init done

[0002.042] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.052] I2C Bus Init done

[0002.055] of_children_init: Ops found for compatible string maxim,max77620

[0002.065] max77620_init using irq 118

[0002.070] register 'maxim,max77620' pmic

[0002.074] gpio_driver_register: register 'max77620-gpio' driver

[0002.080] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.091] I2C Bus Init done

[0002.094] NCK carveout not present

[0002.104] Find /i2c@7000c000's alias i2c0

[0002.107] get eeprom at 1-a0, size 256, type 0

[0002.116] Find /i2c@7000c500's alias i2c2

[0002.120] get eeprom at 3-a0, size 256, type 0

[0002.124] get eeprom at 3-ae, size 256, type 0

[0002.129] pm_ids_update: Updating 1,a0, size 256, type 0

[0002.134] I2C slave not started

[0002.137] I2C write failed

[0002.140] Writing offset failed

[0002.143] eeprom_init: EEPROM read failed

[0002.147] pm_ids_update: eeprom init failed

[0002.151] pm_ids_update: Updating 3,a0, size 256, type 0

[0002.181] pm_ids_update: The pm board id is 3448-0000-402

[0002.188] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0002.196] pm_ids_update: pm id update successful

[0002.201] pm_ids_update: Updating 3,ae, size 256, type 0

[0002.231] pm_ids_update: The pm board id is 3449-0000-400

[0002.237] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0002.245] pm_ids_update: pm id update successful

[0002.275] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0002.281] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB

[0002.289] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0002.295] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB

[0002.303] updating /chosen/nvidia,ethernet-mac node 48:b0:2d:3d:3e:e4

[0002.309] Plugin Manager: Parse ODM data 0x000a4000

[0002.322] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 

[0002.336] Find /i2c@7000c000's alias i2c0

[0002.340] get eeprom at 1-a0, size 256, type 0

[0002.349] Find /i2c@7000c500's alias i2c2

[0002.352] get eeprom at 3-a0, size 256, type 0

[0002.357] get eeprom at 3-ae, size 256, type 0

[0002.361] pm_ids_update: Updating 1,a0, size 256, type 0

[0002.367] I2C slave not started

[0002.370] I2C write failed

[0002.372] Writing offset failed

[0002.375] eeprom_init: EEPROM read failed

[0002.379] pm_ids_update: eeprom init failed

[0002.383] pm_ids_update: Updating 3,a0, size 256, type 0

[0002.413] pm_ids_update: The pm board id is 3448-0000-402

[0002.420] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0002.427] pm_ids_update: pm id update successful

[0002.431] pm_ids_update: Updating 3,ae, size 256, type 0

[0002.461] pm_ids_update: The pm board id is 3449-0000-400

[0002.467] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0002.474] pm_ids_update: pm id update successful

[0002.505] Add serial number:1421021082488 as DT property

[0002.512] Applying platform configs

[0002.519] platform-init is not present. Skipping

[0002.523] calling apps_init()

[0002.529] Couldn't find GPT header

[0002.534] Proceeding to Cold Boot

[0002.537] starting app android_boot_app

[0002.541] Device state: unlocked

[0002.544] display console init

[0002.552] could not find regulator

[0002.555] hdmi cable connected

[0002.571] edid read success

[0002.586] DT entry for leds-pwm not found

[0002.590] edid read success

[0002.592] width = 640, height = 480, frequency = 25174825

[0002.598] width = 640, height = 480, frequency = 25174825

[0002.603] width = 640, height = 480, frequency = 25174825

[0002.609] width = 640, height = 480, frequency = 25174825

[0002.614] width = 1920, height = 1080, frequency = 148500000

[0002.620] width = 720, height = 480, frequency = 27000000

[0002.625] width = 1920, height = 1080, frequency = 148351648

[0002.631] width = 1920, height = 1080, frequency = 148351648

[0002.636] width = 1280, height = 720, frequency = 74175824

[0002.642] width = 1280, height = 720, frequency = 74175824

[0002.647] width = 720, height = 480, frequency = 26973026

[0002.653] width = 720, height = 576, frequency = 26973026

[0002.658] width = 720, height = 480, frequency = 26973026

[0002.663] width = 720, height = 576, frequency = 26973026

[0002.669] width = 640, height = 480, frequency = 25174825

[0002.674] Best mode Width = 1920, Height = 1080, freq = 148351648

[0002.682] tmds-config node not found

[0002.686] pmc_set_io_pad_voltage: Error -2 retrieving platform-io-pad-voltagepropsetting 'avdd-io-hdmi-dp' regulator to 1050000 micro volts

[0002.701] setting 'vdd-1v8' regulator to 1800000 micro volts

[0002.708] could not find regulator

[0002.711] could not find regulator

[0002.715] could not find regulator

[0002.743] using default cmu settings

[0002.747] dc_hdmi_enable, starting HDMI initialisation

[0002.753] dc_hdmi_enable, HDMI initialisation complete

[0002.758] list and configure display window

[0002.767] display console init completed

[0002.777] subnode volume_up is not found !

[0002.781] subnode back is not found !

[0002.785] subnode volume_down is not found !

[0002.789] subnode menu is not found !

[0002.793] Gpio keyboard init success

[0002.873] found decompressor handler: lz4-legacy

[0002.888] decompressing blob (type 1)...

[0002.958] load_bmp_blob: panelresolution=1080 type=3

[0003.033] decompressor handler not found

[0003.037] load_firmware_blob: Firmware blob loaded, entries=2

[0003.043] XUSB blob version 0 size 126464 @ 0x934ae28c

[0003.049] -------> se_aes_verify_sbk_clear: 747

[0003.053] se_aes_verify_sbk_clear: Error

[0003.057] SE operation failed

[0003.060] bl_battery_charging: connected to external power supply

[0003.072] device_query_partition_size: failed to open partition spiflash0:MSC !

[0003.079] MSC Partition not found

[0003.086] device_query_partition_size: failed to open partition spiflash0:USP !

[0003.093] USP partition read failed!

[0003.097] blob_init: blob-partition USP header read failed

[0003.102] android_boot Unable to update recovery partition

[0003.107] kfs_getpartname: name = LNX

[0003.111] Loading kernel from LNX

[0003.120] Found 19 BFS partitions in "spiflash0"

[0003.446] load kernel from storage

[0003.451] decompressor handler not found

[0003.720] Successfully loaded kernel and ramdisk images

[0003.725] board ID = D78, board SKU = 0

[0003.730] sdmmc node status = okay

[0003.733] sdcard instance = 0

[0003.736] sdmmc cd-inverted

[0003.739] sdcard gpio handle 0x5b

[0003.742] sdcard gpio pin 0xc9

[0003.745] sdcard gpio flags 0x0

[0003.748] vmmc-supply 0x9d

[0003.751] cd_gpio_pin = 201

[0003.753] pin_state = 1

[0003.756] No sdcard

[0003.758] SD-card NOT present ...

[0003.761] load_and_boot_kernel: SD card not detected!

[0003.767] load_bmp_blob: panelresolution=1080 type=3

[0004.263] display bmp image done

[0009.267] load_bmp_blob: panelresolution=1080 type=3

[0009.760] display bmp image done

[0009.763] NCK carveout not present

[0009.766] Skipping dts_overrides

[0009.770] NCK carveout not present

[0009.779] Find /i2c@7000c000's alias i2c0

[0009.783] get eeprom at 1-a0, size 256, type 0

[0009.791] Find /i2c@7000c500's alias i2c2

[0009.795] get eeprom at 3-a0, size 256, type 0

[0009.800] get eeprom at 3-ae, size 256, type 0

[0009.804] pm_ids_update: Updating 1,a0, size 256, type 0

[0009.809] I2C slave not started

[0009.812] I2C write failed

[0009.815] Writing offset failed

[0009.818] eeprom_init: EEPROM read failed

[0009.822] pm_ids_update: eeprom init failed

[0009.826] pm_ids_update: Updating 3,a0, size 256, type 0

[0009.856] pm_ids_update: The pm board id is 3448-0000-402

[0009.863] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0009.872] pm_ids_update: pm id update successful

[0009.876] pm_ids_update: Updating 3,ae, size 256, type 0

[0009.906] pm_ids_update: The pm board id is 3449-0000-400

[0009.912] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0009.920] pm_ids_update: pm id update successful

[0009.951] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0009.956] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB

[0009.964] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0009.970] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB

[0009.978] updating /chosen/nvidia,ethernet-mac node 48:b0:2d:3d:3e:e4

[0009.985] Plugin Manager: Parse ODM data 0x000a4000

[0009.997] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 

[0010.005] Add serial number:1421021082488 as DT property

[0010.014] "bpmp" doesn't exist, creating 

[0010.020] Updated bpmp info to DTB

[0010.025] Updated initrd info to DTB

[0010.028] "proc-board" doesn't exist, creating 

[0010.034] Updated board info to DTB

[0010.037] "pmu-board" doesn't exist, creating 

[0010.043] Updated board info to DTB

[0010.047] "display-board" doesn't exist, creating 

[0010.053] Updated board info to DTB

[0010.056] "reset" doesn't exist, creating 

[0010.061] Updated reset info to DTB

[0010.064] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 consol 

[0010.103] DTB cmdline: earlycon=uart8250,mmio32,0x70006000 

[0010.109] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 

[0010.122] Updated bootarg info to DTB

[0010.126] Adding uuid 00000001642e12c11800000007fd8200 to DT

[0010.132] Adding eks info 0 to DT

[0010.137] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7

[0010.143] Updated memory info to DTB

[0010.151] set vdd_core voltage to 1075 mv

[0010.154] setting 'vdd-core' regulator to 1075000 micro volts

[0010.160] Found secure-pmc; disable BPMP





U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:09:42 -0700)



SoC: tegra210

Model: NVIDIA Jetson Nano Developer Kit

Board: NVIDIA P3450-0000

DRAM:  4 GiB

MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0

Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB

OK

In:    serial

Out:   serial

Err:   serial

Net:   No ethernet found.

Hit any key to stop autoboot:  0 

starting USB...

Bus usb@7d000000: tegrausb: Invalid dr_mode 2 for host mode

probe failed, error -1

Bus xusb@70090000: 

Firmware size 126464

Firmware timestamp: 0x5f23e558, Version: 50.26 release



Register HCSParams1: 9000124 NbrPorts: 9

Starting the controller

USB XHCI 1.00

scanning bus xusb@70090000 for devices... 3 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found



Device 0: unknown device

MMC: no card present

Card did not respond to voltage select!



Device 0: unknown device



Warning: eth_rtl8169 using MAC address from ROM

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

BOOTP broadcast 6

BOOTP broadcast 7

@WayneWWW Is there something else I should be reporting appart from my last reply?

Are you talking about you tried ./flash.sh --no-flash jetson-nano-devkit and it gives you an error in the uart console?

BTW, if everything is set ideally, you don’t need sdcard connected, just the usb drive when it boots.

Yes, I ran sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1. The full list of actions I took is in the first part of my reply. The second block is the uart log from when running said commands. The 3rd part is the uart log from when (trying to) boot from usb.

Well, yes. The whole point of this thread is that it’s not working for me :)

Just wonder, did you ever flash your sdcard/board with flash.sh?

The last flash I did was certainly using the sdkmanager. I have tried quite a few thing the last month, I am not sure if I ever tried using flash.sh.

Just firstly make sure below command can flash things to your sdcard and boot from sdcard first.

sudo ./flash.sh jetson-nano-devkit mmcblk0p1

If even this failed, then that --no-flash case for usb drive may not succeed either.

BTW, this command will erase the sdcard, so you should back up if something important is on it.

Just to confirm all that needs to be done is:

  1. Insert the sd-card
  2. Place the force recovery jumper + barel jack jumper
  3. Attach usb cable and barel jack
  4. Run sudo ./flash.sh jetson-nano-devkit mmcblk0p1

Yes, and share error log if it happens.

This worked without issue. I now have a jetson running/booting from sd-card (jp 4.6)

Ok, then please move to that one and see if it can succeed or not.

sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1

I don’t really understand what you mean by “move to that one”. I assume you want me to:

  1. Insert the sd-card
  2. Place the force recovery jumper + barel jack jumper
  3. Attach usb cable and barel jack
  4. Attach the usb-sdd to the host (laptop)
  5. Run sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1 on the laptop

If this is the case, no need for all the other step described in Another boot from ssd + spi thread - #4 by Nxt-1 ?

You still need to copy those files to your usb drive. Do the whole steps.

Sadly it seems like I got the same result
Bootlogs:

[0000.125] [L4T TegraBoot] (version 00.00.2018.01-l4t-8728f3cb)

[0000.130] Processing in cold boot mode Bootloader 2

[0000.135] A02 Bootrom Patch rev = 1023

[0000.138] Power-up reason: pmc por

[0000.141] No Battery Present

[0000.144] pmic max77620 reset reason

[0000.147] pmic max77620 NVERC : 0x40

[0000.151] RamCode = 0

[0000.153] Platform has DDR4 type RAM

[0000.156] max77620 disabling SD1 Remote Sense

[0000.161] Setting DDR voltage to 1125mv

[0000.165] Serial Number of Pmic Max77663: 0x405f5

[0000.172] Entering ramdump check

[0000.175] Get RamDumpCarveOut = 0x0

[0000.178] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8

[0000.184] Last reboot was clean, booting normally!

[0000.188] Sdram initialization is successful 

[0000.192] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000

[0000.198] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000

[0000.204] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000

[0000.210] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000

[0000.216] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000

[0000.222] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000

[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000

[0000.233] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000

[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000

[0000.256] Platform-DebugCarveout: 0

[0000.259] Nck Carveout Base=0x00000000ff080000 Size=0x00200000

[0000.265] Non secure mode, and RB not enabled.

[0000.269] BoardID = 3448, SKU = 0x0

[0000.272] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.276] Nano-SD: checking PT table on QSPI ...

[0000.280] Initialize FailControl

[0000.283] Read PT from (2:0)

[0000.314] PT crc32 and magic check passed.

[0000.318] Using BFS PT to query partitions 

[0000.323] Loading Tboot-CPU binary

[0000.352] Verifying TBC in OdmNonSecureSBK mode

[0000.362] Bootloader load address is 0xa0000000, entry address is 0xa0000258

[0000.369] Bootloader downloaded successfully.

[0000.373] Downloaded Tboot-CPU binary to 0xa0000258

[0000.378] MAX77620_GPIO5 configured

[0000.381] CPU power rail is up

[0000.384] CPU clock enabled

[0000.388] Performing RAM repair

[0000.391] Updating A64 Warmreset Address to 0xa00002e9

[0000.396] BoardID = 3448, SKU = 0x0

[0000.399] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.403] Nano-SD: checking PT table on QSPI ...

[0000.407] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.413] Loading NvTbootBootloaderDTB

[0000.480] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode

[0000.551] Bootloader DTB Load Address: 0x83000000

[0000.556] BoardID = 3448, SKU = 0x0

[0000.559] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.563] Nano-SD: checking PT table on QSPI ...

[0000.567] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.573] Loading NvTbootKernelDTB

[0000.639] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode

[0000.711] Kernel DTB Load Address: 0x83100000

[0000.715] BoardID = 3448, SKU = 0x0

[0000.718] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.722] Nano-SD: checking PT table on QSPI ...

[0000.726] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.734] Loading cboot binary

[0000.850] Verifying EBT in OdmNonSecureSBK mode

[0000.892] Bootloader load address is 0x92c00000, entry address is 0x92c00258

[0000.899] Bootloader downloaded successfully.

[0000.903] BoardID = 3448, SKU = 0x0

[0000.906] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.910] Nano-SD: checking PT table on QSPI ...

[0000.914] NvTbootFailControlDoFailover: No failover; Continuing ...

[0000.920] PT: Partition NCT NOT found ! 

[0000.924] Warning: Find Partition via PT Failed

[0000.928] Next binary entry address: 0x92c00258 

[0000.933] BoardId: 3448

[0000.937] Overriding pmu board id with proc board id

[0000.942] Display board id is not available 

[0000.947] BoardID = 3448, SKU = 0x0

[0000.950] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0000.954] Nano-SD: checking PT table on QSPI ...

[0000.958] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.065] Verifying SC7EntryFw in OdmNonSecureSBK mode

[0001.121] /bpmp deleted

[0001.123] SC7EntryFw header found loaded at 0xff700000

[0001.310] OVR2 PMIC

[0001.312] Bpmp FW successfully loaded

[0001.316] BoardID = 3448, SKU = 0x0

[0001.319] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0001.323] Nano-SD: checking PT table on QSPI ...

[0001.327] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.334] WB0 init successfully at 0xff780000

[0001.338] Verifying NvTbootWb0 in OdmNonSecureSBK mode

[0001.344] Set NvDecSticky Bits

[0001.347] GSC2 address ff53fffc value c0edbbcc

[0001.353] GSC MC Settings done

[0001.356] BoardID = 3448, SKU = 0x0

[0001.360] QSPI-ONLY: SkipQspiOnlyFlag = 0

[0001.363] Nano-SD: checking PT table on QSPI ...

[0001.368] NvTbootFailControlDoFailover: No failover; Continuing ...

[0001.375] TOS Image length 53680

[0001.378]  Monitor size 53680

[0001.381]  OS size 0

[0001.396] Secure Os AES-CMAC Verification Success!

[0001.400] TOS image cipher info: plaintext

[0001.404] Loading and Validation of Secure OS Successful

[0001.420] SC7 Entry Firmware - 0xff700000, 0x4000

[0001.425] NvTbootPackSdramParams: start. 

[0001.430] NvTbootPackSdramParams: done. 

[0001.434] Tegraboot started after 51865 us

[0001.438] Basic modules init took 935883 us

[0001.442] Sec Bootdevice Read Time = 12 ms, Read Size = 61 KB

[0001.447] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB

[0001.453] Next stage binary read took 102860 us

[0001.457] Carveout took -132462 us

[0001.460] CPU initialization took 510362 us

[0001.464] Total time taken by TegraBoot 1416643 us



[0001.469] Starting CPU & Halting co-processor 



64NOTICE:  BL31: v1.3(release):b5eeb33f7

NOTICE:  BL31: Built : 12:09:37, Jul 26 2021

ERROR:   Error initializing runtime service trusty_fast

[0001.591] RamCode = 0

[0001.596] LPDDR4 Training: Read DT: Number of tables = 2

[0001.601] EMC Training (SRC-freq: 204000; DST-freq: 1600000)

[0001.614] EMC Training Successful

[0001.617] 408000 not found in DVFS table

[0001.623] RamCode = 0

[0001.626] DT Write: emc-table@204000 succeeded

[0001.632] DT Write: emc-table@1600000 succeeded

[0001.636] LPDDR4 Training: Write DT: Number of tables = 2

[0001.684] 

[0001.685] Debug Init done

[0001.688] Marked DTB cacheable

[0001.691] Bootloader DTB loaded at 0x83000000

[0001.696] Marked DTB cacheable

[0001.698] Kernel DTB loaded at 0x83100000

[0001.702] DeviceTree Init done

[0001.715] Pinmux applied successfully

[0001.720] gicd_base: 0x50041000

[0001.723] gicc_base: 0x50042000

[0001.726] Interrupts Init done

[0001.730] Using base:0x60005090 & irq:208 for tick-timer

[0001.736] Using base:0x60005098 for delay-timer

[0001.740] platform_init_timer: DONE

[0001.743] Timer(tick) Init done

[0001.747] osc freq = 38400 khz

[0001.751] 

[0001.752] Welcome to L4T Cboot

[0001.755] 

[0001.756] Cboot Version: 00.00.2018.01-t210-c952b4e6

[0001.761] calling constructors

[0001.764] initializing heap

[0001.767] initializing threads

[0001.770] initializing timers

[0001.773] creating bootstrap completion thread

[0001.777] top of bootstrap2()

[0001.780] CPU: ARM Cortex A57

[0001.783] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000

[0001.788] initializing platform

[0001.795] Manufacturer: MF = 0xc2, ID MSB = 0x25

[0001.799] ID LSB = 0x36, ID-CFI len = 194 bytes

[0001.804] Macronix QSPI chip present

[0001.807] SPI device register

[0001.810] init boot device

[0001.813] allocating memory for boot device(SPI)

[0001.817] registering boot device

[0001.826] QSPI bdev is already initialized

[0001.830] Enable APE clock

[0001.832] Un-powergate APE partition

[0001.836] of_register: registering tegra_udc to of_hal

[0001.841] of_register: registering inv20628-driver to of_hal

[0001.846] of_register: registering ads1015-driver to of_hal

[0001.852] of_register: registering lp8557-bl-driver to of_hal

[0001.858] of_register: registering bq2419x_charger to of_hal

[0001.863] of_register: registering bq27441_fuel_gauge to of_hal

[0001.875] gpio framework initialized

[0001.878] of_register: registering tca9539_gpio to of_hal

[0001.884] of_register: registering tca9539_gpio to of_hal

[0001.889] of_register: registering i2c_bus_driver to of_hal

[0001.894] of_register: registering i2c_bus_driver to of_hal

[0001.900] of_register: registering i2c_bus_driver to of_hal

[0001.906] pmic framework initialized

[0001.909] of_register: registering max77620_pmic to of_hal

[0001.915] regulator framework initialized

[0001.918] of_register: registering tps65132_bl_driver to of_hal

[0001.924] initializing target

[0001.930] gpio_driver_register: register 'tegra_gpio_driver' driver

[0001.938] board ID = D78, board SKU = 0

[0001.942] Skipping Z3!

[0001.947] fixed regulator driver initialized

[0001.964] initializing OF layer

[0001.967] NCK carveout not present

[0001.970] Skipping dts_overrides

[0001.974] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0001.991] I2C Bus Init done

[0001.993] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.004] I2C Bus Init done

[0002.006] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.016] I2C Bus Init done

[0002.019] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.029] I2C Bus Init done

[0002.032] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.042] I2C Bus Init done

[0002.045] of_children_init: Ops found for compatible string maxim,max77620

[0002.055] max77620_init using irq 118

[0002.060] register 'maxim,max77620' pmic

[0002.064] gpio_driver_register: register 'max77620-gpio' driver

[0002.070] of_children_init: Ops found for compatible string nvidia,tegra210-i2c

[0002.081] I2C Bus Init done

[0002.084] NCK carveout not present

[0002.094] Find /i2c@7000c000's alias i2c0

[0002.097] get eeprom at 1-a0, size 256, type 0

[0002.106] Find /i2c@7000c500's alias i2c2

[0002.110] get eeprom at 3-a0, size 256, type 0

[0002.114] get eeprom at 3-ae, size 256, type 0

[0002.119] pm_ids_update: Updating 1,a0, size 256, type 0

[0002.124] I2C slave not started

[0002.127] I2C write failed

[0002.130] Writing offset failed

[0002.133] eeprom_init: EEPROM read failed

[0002.137] pm_ids_update: eeprom init failed

[0002.141] pm_ids_update: Updating 3,a0, size 256, type 0

[0002.171] pm_ids_update: The pm board id is 3448-0000-402

[0002.178] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0002.186] pm_ids_update: pm id update successful

[0002.191] pm_ids_update: Updating 3,ae, size 256, type 0

[0002.221] pm_ids_update: The pm board id is 3449-0000-400

[0002.227] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0002.235] pm_ids_update: pm id update successful

[0002.265] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0002.271] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB

[0002.279] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0002.285] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB

[0002.293] updating /chosen/nvidia,ethernet-mac node 48:b0:2d:3d:3e:e4

[0002.299] Plugin Manager: Parse ODM data 0x000a4000

[0002.312] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 

[0002.326] Find /i2c@7000c000's alias i2c0

[0002.330] get eeprom at 1-a0, size 256, type 0

[0002.339] Find /i2c@7000c500's alias i2c2

[0002.342] get eeprom at 3-a0, size 256, type 0

[0002.347] get eeprom at 3-ae, size 256, type 0

[0002.351] pm_ids_update: Updating 1,a0, size 256, type 0

[0002.357] I2C slave not started

[0002.360] I2C write failed

[0002.362] Writing offset failed

[0002.365] eeprom_init: EEPROM read failed

[0002.369] pm_ids_update: eeprom init failed

[0002.373] pm_ids_update: Updating 3,a0, size 256, type 0

[0002.403] pm_ids_update: The pm board id is 3448-0000-402

[0002.410] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0002.416] pm_ids_update: pm id update successful

[0002.421] pm_ids_update: Updating 3,ae, size 256, type 0

[0002.451] pm_ids_update: The pm board id is 3449-0000-400

[0002.457] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0002.464] pm_ids_update: pm id update successful

[0002.495] Add serial number:1421021082488 as DT property

[0002.502] Applying platform configs

[0002.509] platform-init is not present. Skipping

[0002.513] calling apps_init()

[0002.519] Couldn't find GPT header

[0002.524] Proceeding to Cold Boot

[0002.527] starting app android_boot_app

[0002.531] Device state: unlocked

[0002.534] display console init

[0002.542] could not find regulator

[0002.545] hdmi cable connected

[0002.561] edid read success

[0002.576] DT entry for leds-pwm not found

[0002.580] edid read success

[0002.582] width = 640, height = 480, frequency = 25174825

[0002.588] width = 640, height = 480, frequency = 25174825

[0002.593] width = 640, height = 480, frequency = 25174825

[0002.599] width = 640, height = 480, frequency = 25174825

[0002.604] width = 1920, height = 1080, frequency = 148500000

[0002.610] width = 720, height = 480, frequency = 27000000

[0002.615] width = 1920, height = 1080, frequency = 148351648

[0002.621] width = 1920, height = 1080, frequency = 148351648

[0002.626] width = 1280, height = 720, frequency = 74175824

[0002.632] width = 1280, height = 720, frequency = 74175824

[0002.637] width = 720, height = 480, frequency = 26973026

[0002.643] width = 720, height = 576, frequency = 26973026

[0002.648] width = 720, height = 480, frequency = 26973026

[0002.653] width = 720, height = 576, frequency = 26973026

[0002.659] width = 640, height = 480, frequency = 25174825

[0002.664] Best mode Width = 1920, Height = 1080, freq = 148351648

[0002.672] tmds-config node not found

[0002.676] pmc_set_io_pad_voltage: Error -2 retrieving platform-io-pad-voltagepropsetting 'avdd-io-hdmi-dp' regulator to 1050000 micro volts

[0002.691] setting 'vdd-1v8' regulator to 1800000 micro volts

[0002.698] could not find regulator

[0002.701] could not find regulator

[0002.705] could not find regulator

[0002.733] using default cmu settings

[0002.737] dc_hdmi_enable, starting HDMI initialisation

[0002.743] dc_hdmi_enable, HDMI initialisation complete

[0002.748] list and configure display window

[0002.757] display console init completed

[0002.767] subnode volume_up is not found !

[0002.771] subnode back is not found !

[0002.775] subnode volume_down is not found !

[0002.779] subnode menu is not found !

[0002.783] Gpio keyboard init success

[0002.863] found decompressor handler: lz4-legacy

[0002.878] decompressing blob (type 1)...

[0002.948] load_bmp_blob: panelresolution=1080 type=3

[0003.024] decompressor handler not found

[0003.027] load_firmware_blob: Firmware blob loaded, entries=2

[0003.033] XUSB blob version 0 size 126464 @ 0x934ae28c

[0003.039] -------> se_aes_verify_sbk_clear: 747

[0003.043] se_aes_verify_sbk_clear: Error

[0003.047] SE operation failed

[0003.050] bl_battery_charging: connected to external power supply

[0003.062] device_query_partition_size: failed to open partition spiflash0:MSC !

[0003.069] MSC Partition not found

[0003.076] device_query_partition_size: failed to open partition spiflash0:USP !

[0003.083] USP partition read failed!

[0003.087] blob_init: blob-partition USP header read failed

[0003.092] android_boot Unable to update recovery partition

[0003.098] kfs_getpartname: name = LNX

[0003.101] Loading kernel from LNX

[0003.110] Found 19 BFS partitions in "spiflash0"

[0003.432] load kernel from storage

[0003.437] decompressor handler not found

[0003.704] Successfully loaded kernel and ramdisk images

[0003.709] board ID = D78, board SKU = 0

[0003.714] sdmmc node status = okay

[0003.717] sdcard instance = 0

[0003.720] sdmmc cd-inverted

[0003.722] sdcard gpio handle 0x5b

[0003.726] sdcard gpio pin 0xc9

[0003.729] sdcard gpio flags 0x0

[0003.732] vmmc-supply 0x9d

[0003.734] cd_gpio_pin = 201

[0003.737] pin_state = 1

[0003.739] No sdcard

[0003.741] SD-card NOT present ...

[0003.745] load_and_boot_kernel: SD card not detected!

[0003.750] load_bmp_blob: panelresolution=1080 type=3

[0004.246] display bmp image done

[0009.250] load_bmp_blob: panelresolution=1080 type=3

[0009.744] display bmp image done

[0009.747] NCK carveout not present

[0009.750] Skipping dts_overrides

[0009.753] NCK carveout not present

[0009.763] Find /i2c@7000c000's alias i2c0

[0009.767] get eeprom at 1-a0, size 256, type 0

[0009.775] Find /i2c@7000c500's alias i2c2

[0009.779] get eeprom at 3-a0, size 256, type 0

[0009.783] get eeprom at 3-ae, size 256, type 0

[0009.788] pm_ids_update: Updating 1,a0, size 256, type 0

[0009.793] I2C slave not started

[0009.796] I2C write failed

[0009.799] Writing offset failed

[0009.802] eeprom_init: EEPROM read failed

[0009.806] pm_ids_update: eeprom init failed

[0009.810] pm_ids_update: Updating 3,a0, size 256, type 0

[0009.840] pm_ids_update: The pm board id is 3448-0000-402

[0009.847] Adding plugin-manager/ids/3448-0000-402=/i2c@7000c500:module@0x50

[0009.855] pm_ids_update: pm id update successful

[0009.860] pm_ids_update: Updating 3,ae, size 256, type 0

[0009.890] pm_ids_update: The pm board id is 3449-0000-400

[0009.896] Adding plugin-manager/ids/3449-0000-400=/i2c@7000c500:module@0x57

[0009.904] pm_ids_update: pm id update successful

[0009.934] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0009.940] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB

[0009.948] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)

[0009.954] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB

[0009.962] updating /chosen/nvidia,ethernet-mac node 48:b0:2d:3d:3e:e4

[0009.968] Plugin Manager: Parse ODM data 0x000a4000

[0009.981] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 

[0009.989] Add serial number:1421021082488 as DT property

[0009.998] "bpmp" doesn't exist, creating 

[0010.003] Updated bpmp info to DTB

[0010.008] Updated initrd info to DTB

[0010.012] "proc-board" doesn't exist, creating 

[0010.018] Updated board info to DTB

[0010.021] "pmu-board" doesn't exist, creating 

[0010.027] Updated board info to DTB

[0010.030] "display-board" doesn't exist, creating 

[0010.036] Updated board info to DTB

[0010.040] "reset" doesn't exist, creating 

[0010.044] Updated reset info to DTB

[0010.048] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 consol 

[0010.087] DTB cmdline: earlycon=uart8250,mmio32,0x70006000 

[0010.093] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 

[0010.106] Updated bootarg info to DTB

[0010.109] Adding uuid 00000001642e12c11800000007fd8200 to DT

[0010.115] Adding eks info 0 to DT

[0010.121] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7

[0010.127] Updated memory info to DTB

[0010.134] set vdd_core voltage to 1075 mv

[0010.138] setting 'vdd-core' regulator to 1075000 micro volts

[0010.144] Found secure-pmc; disable BPMP





U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:09:42 -0700)



SoC: tegra210

Model: NVIDIA Jetson Nano Developer Kit

Board: NVIDIA P3450-0000

DRAM:  4 GiB

MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0

Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB

*** Warning - bad CRC, using default environment



In:    serial

Out:   serial

Err:   serial

Net:   No ethernet found.

Hit any key to stop autoboot:  0 

MMC: no card present

Card did not respond to voltage select!

starting USB...

Bus usb@7d000000: tegrausb: Invalid dr_mode 2 for host mode

probe failed, error -1

Bus xusb@70090000: 

Firmware size 126464

Firmware timestamp: 0x5f23e558, Version: 50.26 release



Register HCSParams1: 9000124 NbrPorts: 9

Starting the controller

USB XHCI 1.00

scanning bus xusb@70090000 for devices... 3 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found



Device 0: unknown device



Device 0: unknown device



Warning: eth_rtl8169 using MAC address from ROM

BOOTP broadcast 1

BOOTP broadcast 2

Hi,

Just to clarify. What you post is the boot log.

But what I want to know first is whether “sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1” has any error or not.

Also, just want to know, if you boot from sdcard, are you able to see this usb drive in file system?

And do you have other usb drive that can test?

You are right, what I posted were bootlogs, my mistake. Below you can find the terminal output from the flash command and the uart logs from the flash command.

Terminal output from the host:

sudo BOOTDEV=sda1 ./flash.sh --no-flash jetson-nano-devkit sda1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 6.1
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/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.0036 ] Generating RCM messages
[   0.0060 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[   0.0069 ] RCM 0 is saved as rcm_0.rcm
[   0.0082 ] RCM 1 is saved as rcm_1.rcm
[   0.0082 ] List of rcm files are saved in rcm_list.xml
[   0.0082 ] 
[   0.0083 ] Signing RCM messages
[   0.0102 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0112 ] Assuming zero filled SBK key
[   0.0245 ] 
[   0.0245 ] Copying signature to RCM mesages
[   0.0273 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0294 ] 
[   0.0295 ] Boot Rom communication
[   0.0326 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.0342 ] RCM version 0X210001
[   0.0795 ] Boot Rom communication completed
[   1.0864 ] 
[   1.0866 ] dump EEPROM info
[   1.0907 ] tegrarcm --oem platformdetails eeprom /home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   1.0927 ] Applet version 00.01.0000
[   1.0956 ] Saved platform info in /home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   1.1726 ] 
[   1.1763 ] tegrarcm --reboot recovery
[   1.1782 ] Applet version 00.01.0000
[   1.1807 ] 
Board ID(3448) version(402) 
copying bctfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
Existing sosfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
copying wb0boot(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-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-0000-p3449-0000-b00.dtb to rootfs... done.
Making system.img... 
	populating rootfs from /home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/rootfs ... 	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/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done.
copying cfgfile(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done.
copying flasher(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct  P3448_A00_lpddr4_204Mhz_P987.cfg --odmdata 0xa4000 --bldtb kernel_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/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/arne/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flash_win.bat
assign_value: crc-flash.xml.bin 1 65520 1
printf '\x1' | dd of=crc-flash.xml.bin bs=1 seek=65520 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 9.3457e-05 s, 10.7 kB/s
assign_value: crc-flash.xml.bin 0 65521 1
printf '\x0' | dd of=crc-flash.xml.bin bs=1 seek=65521 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 8.7305e-05 s, 11.5 kB/s
assign_string: crc-flash.xml.bin PTHD 65528 4
echo PTHD | dd of=crc-flash.xml.bin bs=1 seek=65528 count=4 conv=notrunc
4+0 records in
4+0 records out
4 bytes copied, 9.8675e-05 s, 40.5 kB/s
*** no-flash flag enabled. Exiting now... ***

Uartlog from the nano:

[0153.735] Enabled early print

[0153.738] [L4T TegraBoot] (version [0153.741] Processing in recovery mode

[0153.744] A02 Bootrom Patch rev = 1023

[0153.748] Power-up reason: pmc por

[0153.751] Established communication link with host

[0154.742] NvTbootI2cWrite(): error code 0x00045100 Error while starting write transaction

[0154.750] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave

[0154.758] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00045001

I can confirm that the ssd does connect and mount as expected on the nano when it is booted from sd-card. Sadly at this point I don’t have another ssd/usbstick available. What I could try is a 2nd sd-card in a sd to usb adapter.