Hi due to DRAM change we are following the below procedure to Flash NVIDIA Jetson SOMs with JetPack 4.6.5 and considering PCN211181 Overlay:
# 1. Prerequisites
# Create a directory to store the necessary files
mkdir -p ~/nvidia/jetson_nano_new_som
cd ~/nvidia/jetson_nano_new_som
# Download the required files from NVIDIA’s website
wget https://developer.nvidia.com/downloads/embedded/l4t/r32_release_v7.5/t210/jetson-210_linux_r32.7.5_aarch64.tbz2
wget https://developer.nvidia.com/downloads/embedded/l4t/r32_release_v7.5/t210/tegra_linux_sample-root-filesystem_r32.7.5_aarch64.tbz2
wget https://developer.nvidia.com/downloads/embedded/L4T/r32_Release_v7.5/overlay_32.7.5_PCN211181.tbz2
# 2. Setup on Linux Host
# Ensure all downloaded files (three tarballs) are in the correct directory
cd ~/nvidia/jetson_nano_new_som
# Extract the BSP package
sudo tar xf jetson-210_linux_r32.7.5_aarch64.tbz2
# Navigate to the root filesystem directory
cd Linux_for_Tegra/rootfs/
# Extract the Sample Root Filesystem
sudo tar xpf ../../tegra_linux_sample-root-filesystem_r32.7.5_aarch64.tbz2
# Apply binaries
cd ..
sudo ./apply_binaries.sh
# Extract and apply the PCN211181 overlay
cd ..
sudo tar xpf overlay_32.7.5_PCN211181.tbz2
# 3. Preparing Jetson SOM for Flashing
# Ensure the Jetson developer kit is connected to the Linux host
# Put the Jetson SOM into Force Recovery Mode by following NVIDIA’s official guide
# Link: https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/IN/QuickStart.html#to-determine-whether-the-developer-kit-is-in-force-recovery-mode
Flashing jetson can be done in 2 different ways depending on the number of Jetson devices to be flashed.
- To Flash a single device:
3A. If the target board has already been flashed, reflash the clone image to the APP partition. Enter this command:
sudo ./flash.sh -r -k APP jetson-nano-emmc mmcblk0p1
3B. If the target board has never been flashed, flash all of the board’s partitions. Enter this command:
sudo ./flash.sh -r jetson-nano-emmc mmcblk0p1
Following was tested by me in different scenarios:
- Above steps were done after SDK manager downloaded 4.6.5 Jetpack
- Above steps were done without anything being present in ~/nvidia folder
And following are my observations and issues for which I am posting this post:
- After running the commands :
apt-get update
sudo reboot
The system works
- But after running
apt-get upgrade -y
sudo reboot
The system doesnt boot up and gets stuck on the NVIDIA logo screen . Please find the logs mentioned below
2. System over all is quite unstable with images getting unresponsive very frequently.
3. In the Host system we cannot get any device in /dev/ttyACM0 neither do we get any USB-OVER-IP feature i.e. in ifconfig the IP 192.168.55.100 is not seen
Kindly help in confirming the issues mentioned in 1,2,3 and the resolution
BELOW ARE THE BOOT LOGS
minicom
Welcome to minicom 2.9
OPTIONS:
Compiled on Sep 22 2023, 21:10:41.
Port /dev/cu.usbmodem554F0115641, 16:24:37
Press Meta-Z for help on special keys
[0000.220] [L4T TegraBoot] (version 00.00.2018.01-l4t-b1625959)
[0000.225] Processing in cold boot mode Bootloader 2
[0000.230por
[0000.237] No Battery Present
[0000.239] pmic max77620 reset reason
[0000.243] pmic max77620 NVERC : 0x40
[0000.246] RamCode = 1
[0000.249] Platform has DDR4 type RAM
[0000.252] max77620 disabling SD1 Remote Sense
[0000.256] Setting DDR voltage to 1125mv
t = 0x0
[0000.274] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8
[0000.279] Last reboot was clean, booting normally!
[0000.284] Sdram initialization is successful
[0000.288] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.294] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.300] BpmpF7] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.[0000.345] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.351] Platform-DebugCarveout: 0
[0000.354] Nck Carveo.367] Initialize FailControl
[0000.370] Read PT from (0:3)
[0000.424] PT crc32 and magic check passed.
[0000.428] Using BF[0000.432] PT: Partition LNX NOT found !
[0000.436] *** Booting KFS0.
[0000.438] NvTbootFailControlDoFailover: No failover; C[0000.473] Loading Tboot-CPU binary
[0000.478] Verifying TBC in OdmNonSecureSBK mode
[0000.506] MAX77620_GPIO5 configured
[0000.509] CPU power rail is up
[0000.512] CPU clock enabled
[0000.516] Performing RAM repair
[0000.519] Updating A64 Warmre
...
[0000.539] Loading NvTbootBootloaderDTB
e
check GPT table first ...
[0000.641] Loading NvTbootKernelDTB
[0000.729] Kernel DTB Load Address: 0x83100000
[0000.733] Board[0000.760] Verifying EBT in OdmNonSecureSBK mode
0000.813] BoardID = 3448, SKU = 0x2
[0000.816] Not Nano-SD or ![0000.829] PT: Partition NCT NOT found !
[0000.832] Warning: Find Partition via PT Failed
[0000.837] Next binary entry address: 0x92c00258
[0000.841] BoardId: 3448
[0000.846] Overriding pmu board id with proc board id
[0000.8510000.855] BoardID = 3448, SKU = 0x2
[0000.858] Not Nano-SD or ![0000.864] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.877] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0000.967] /bpmp deleted
[0000.969] SC7EntryFw header found loaded at 0xff700000
SPI-ONLY, check GPT table first ...
[0001.392] NvTbootFailControlDoFailover: No failover; Continuing[0001.399] WB0 init successfully at 0xff780000
[0001.403] Verifying NvTbootWb0 in OdmNonSecureSBK mode
[0001.408] Set NvDecSticky Bits
= 0x2
[0001.424] Not Nano-SD or !QSPI-ONLY, check GPT table fir0
[0001.437] OS size 0
ion of Secure OS Successful
[0001.467] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.471] NvTbootPackSdramParams: start.
3682 KB
[0001.494] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0001.499] Next stage binary read took 7379 us
[0001.5
[0001.515] Starting CPU & Halting co-processor
6ind emc-table node
[0001.645] LPDDR4 Training: Can't find emc-table node
acheable
[0001.699] Bootloader DTB loaded at 0x83000000
[0001.704] Marked DTB cacheable
[0001.707] Kernel DTB loaded at 0x83100000
[0001.711] DeviceTree Init done
[0001.730] gicd_base: 0x50041000
[0001.734] gicc_base: 0x50042000
[0001.737] Interrupts Init done
.746] Using base:0x60005098 for delay-timer
[0001.751] platformling constructors
[0001.776] initializing heap
[0001.778] initating bootstrap completion thread
[0001.788] top of bootstrap2()
[0001.791] CPU: ARM Cortex A57
[0001.794] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0001.799] initializing platform
[0001.854] Config for emmc ddr50 mode completed
[0001.858] sdmmc bdev is already initialized
[0001.862] Enable APE clock
[000ds1015-driver to of_hal
[0001.884] of_register: registering lp8557-bl-driver to of_hal
[0001.890] of_register: registering bq2egistering tca9539_gpio to of_hal
[0001.917] of_register: registering tca9539_gpio to of_hal
[0001.923] of_register: registering i2c_bus_driver to of_hal
[0001.928] of_register: registering i2c_bus_driver to of_hal
[0001.934] of_register: registering i[0001.943] of_register: registering max77620_pmic to of_hal
[00 registering tps65132_bl_driver to of_hal
[0001.958] initializing target
iver
[0001.974] board ID = D78, board SKU = 2
[0001.980] fixed regulator driver initialized
[0002.012] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.031] I2C Bus Init done
[0002.034] of_children_init: Ops f[0002.044] I2C Bus Init done
[0002.047] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
ound for compatible string nvidia,tegra210-i2c
[0002.086] I2C Bus Init done
[0002.088] of_children_init: Ops f[0002.104] register 'maxim,max77620' pmic
[0002.109] gpio_driver_register: register 'max77620-gpio' driver
[0002.115] of_children_init: Ops found for compatible string nvi[0002.130] NCK carveout not present
[0002.141] Find /i2c@7000c000's alias i2c0
[0002.145] get eeprom at 1-a0, size 256, type 0
[0002.155] Find /i2c@7000c500's alias i2c2
[0002.159] get eeprom at 3-a0, size 256, type 0
[0002.163] get eeprom at 3-ae, sizeed
[0002.190] pm_ids_update: Updating 3,a0, size 256, type 0
:module@0x50
_ids_update: Updating 3,ae, size 256, type 0
.275] pm_ids_update: eeprom init failed
address in DTB
[0002.325] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0002.334] updating /chosen/nvidia,ethernet-mac node 3c:<MAC MASKED BY AUTHOR>
[0002.340] Plugin Manager: Parse ODM data 0x000a4000
[0002.369] Find /i2c@7000c000's alias i2c0
[0002.373] get eeprom at 1-a0, size 256, type 0
256, type 0
[0002.395] pm_ids_update: Updating 1,a0, size 256,[0002.448] pm_ids_update: The pm board id is 3448-0002-402
[0002.454] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500:module@0x50
[0002.496] eeprom_init: EEPROM incompatible version found
[0002.501] pm_ids_update: eeprom init failed
[0002.547] platform-init is not present. Skipping
[0002.551] calling apps_init()
init
[0002.597] could not find regulator
[0002.628] DT entry for leds-pwm not found
23] is_hdmi_needed: HDMI not connected, returning false
[0002.637] hdmi is not connected
[0002.640] sor0 is not supported
[0002.643] display_console_init: no valid display out_type
oard init success
k_clear: 747
[0002.812] se_aes_verify_sbk_clear: Error
[0002.816] SE operation failed
[0002.819] bl_battery_charging: connected to external power supply
[0002.829] display_console_ioctl: No display init
[0002.833] switch_backlight failed
[0002.860] device_query_partition_size: failed to open partition sdmmc3_user:USP !
[0002.867] USP partition read failed!
[00026] android_boot Unable to update recovery partition
[0002.882] [0002.986] decompressor handler not found
ded and initialized
[0003.044] Failed to display boot-logo
[0003.047] NCK carveout not present
[0003.050] Skipping dts_overrides
[0003.054] NCK carveout not present
m at 1-a0, size 256, type 0
ed
[0003.113] pm_ids_update: Updating 3,a0, size 256, type 0
[0003.150] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500:module@0x50
[0003.194] eeprom_init: EEPROM incompatible version found
[0003[0003.229] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0003.249] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
:05:b9
[0003.264] Plugin Manager: Parse ODM data 0x000a4000
[0003.285] Add serial number:1424624333301 as DT property
[0003.315] Updated board info to DTB
[0003.319] "pmu-board" doesn't exist, creating
[0003.334] Updated board info to DTB
[0003.337] "reset" doesn't exist, creating
[0003.342] Updated reset info to DTB
[0003.345] display_consolesplay init
[0003.354] display_console_ioctl: No display init
[art8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 gpt
.ifnames=0 sdhci_tegra.en_boot_part_access=1
[0003.415] Updated bootarg info to DTB
[0003.419] Adding uuid 07
[0003.437] Updated memory info to DTB
ure-pmc; disable BPMP
U-Boot 2020.04-g904285e3a7 (Nov 04 2024 - 23:37:42 -0800)
NVIDIA P3450-0000
DRAM: 2 GiB
*** Warning - bad CRC, using default environment
found.
Hit any key to stop autoboot: 0
MMC: no card present
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extli34707464 bytes read in 788 ms (42 MiB/s)
append: tegraid=21.1.2video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait
d (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
Using Device Tree in place at 0000000083100000,rveout for /host1x@50000000/dc@54240000...
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] SMP PREEMPT Mon Nov 4 23:41:41 PST 2024
[ 0.000000] Boot CP- 80000000 , 3f200000
[ 0.000000] OF: fdt: - c0000000 , 3ee00000
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
0000.233] Platform has DDR4 type RAM] enabl[0000.204] [L4T TegraBoot] (version 00.00.2018.01-l4t-b1625959)
[0000.236] max77620 disabling SD1 Remote Sense
[0000.240] Setting DDR voltage to 1125mv
[0000.244] Serial Number of Pmic Max77663: 0x12126b
f8
[0000.263] Last reboot was clean, booting normally!
[0000.268] Sdram initialization is successful
[0000.272] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.278] Lp0 Caw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.290] G1] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.307] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.419] PT: Partition LNX NOT found ! o failover; Continuing ...
[0000.423] *** Booting KFS0.
[0000.426] NvTbootFailControlDoFailover: No failover; Continuing ...
[0000.432] BoardID = 3448, SKU = 0x2
[0000.435] [0000.454] NvTbootFailControlDoFailover: No failover; Continuing[0000.477] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.484] Bootloader downloaded successfully.
[is up
[0000.499] CPU clock enabled
...
[0000.526] Loading NvTbootBootloaderDTB
[0000.543] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mod[0000.615] Bootloader DTB Load Address: 0x83000000
[0000.619] B[0000.645] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
ID = 3448, SKU = 0x2
[0000.724] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
...
[0000.737] Loading cboot binary
[0000.747] Verifying EBT in OdmNonSecureSBK mode
0000.800] BoardID = 3448, SKU = 0x2
[0000.804] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
ind Partition via PT Failed
[0000.824] Next binary entry address: 0x92c00258
[0000.828] BoardId: 3448
[0000.833] Overriding pmu board id with proc board id
[0000.838QSPI-ONLY, check GPT table first ...
[0000.851] NvTbootFailControlDoFailover: No failover; Continuing[0000.954] /bpmp deleted
[0000.956] SC7EntryFw header found loaded at 0xff700000
001.370] BoardID = 3448, SKU = 0x2
[0001.373] Not Nano-SD or !QSPI-ONLY, check GPT table first ...
[0001.379] NvTbootFailControlDoFailover: No failover; Continuing ...
cky Bits
[0001.399] GSC2 address ff53fffc value c0edbbcc
st ...
[0001.418] TOS Image length 53680
[0001.421] Monitor size 53680
[0001.424] OS size 0
[0001.429] Secure Os AES-CMAC Verification Success!
[0001.434] [0001.454] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.458] NvTbootPackSdramParams: start.
96 us
[0001.475] Sec Bootdevice Read Time = 53 ms, Read Size = 3682 KB
[0001.481] Sec Bootdevice Write Time = 0 ms, Write Size651741 us
[0001.498] Total time taken by TegraBoot 1370147 us
[0001.503] Starting CPU & Halting co-processor
643:37:38, Nov 4 2024
ERROR: Error initializing runtime service trusty_fast
[0001.625] RamCode = 1
[0001.627] get_emc_table_offset: Can't find emc-table node
[0001.632] LPDDR4 Training: Can't find emc-t[0001.679]
[0001.680] Debug Init done
[0001.683] Marked DTB cacheable
[0001.686] Bootloader DTB loaded at 0x83000000
[0001.691] Marked DTB cacheable
[0001.694] Kernel DTB loaded at 0x83100000
[0001.698] DeviceTree Init done
[0001.728] Using base:0x60005090 & irq:208 for tick-timer
[0001.733] Using base:0x60005098 for delay-timer
[0001.738] platform.755] Cboot Version: 00.00.2018.01-t210-acb23272
[0001.759] calling constructors
[0001.762] initializing heap
[0001.765] initializing threads
[0001.768] initializing timers
[0001.771] creating bootstrap completion thread
[0001.775] top of bootstrap2()
[0001.778] CPU: ARM Cortex A57
[0001.781] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0001.786] initializing platform
1.852] Un-powergate APE partition
[0001.855] of_register: regisinv20628-driver to of_hal
[0001.866] of_register: registering ads1015-driver to of_hal
[0001.871] of_register: registering lp8441_fuel_gauge to of_hal
[0001.952] gpio_driver_register: register 'tegra_gpio_driver' dr[0001.967] fixed regulator driver initialized
esent
[0001.994] Skipping dts_overrides
[0001.999] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
ound for compatible string nvidia,tegra210-i2c
[0002.045] I2C Bus Init done
[0002.048] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.072] I2C Bus Init done
[0002.075] of_children_init: Ops fdia,tegra210-i2c
[0002.113] I2C Bus Init done
m at 1-a0, size 256, type 0
256, type 0
[0002.154] pm_ids_update: Updating 1,a0, size 256,ed
[0002.176] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.222] pm_ids_update: pm id update successful
[0002.226] pm_ids_update: Updating 3,ae, size 256, type 0
.262] pm_ids_update: eeprom init failed
[0002.292] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0002.312] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0002.320] updating /chosen/nvidia,ethernet-mac node 3c<MAC MASKED BY AUTHOR>:158250,mmio32,0x70006000
[0002.356] Find /i2c@7000c000's alias i2c0
[0002.360] get eeprom at 1-a0, size 256, type 0
[0002.434] pm_ids_update: The pm board id is 3448-0002-402
[0002.441] Adding plugin-manager/ids/3448-0002-402=/i2c@7000c500[0002.518] Add serial number:1424624333301 as DT property
Proceeding to Cold Boot
[0002.567] starting app android_boot_app
[0002.571] Device state: unlocked
[0002.574] display console init
[0002.607] hdmi cable not connected
[0002.6HDMI not connected, returning false
[0002.624] hdmi is not connected
[0002.627] sor0 is not supported
[0002.630] display_console_init: no valid display out_type
oard init success
[0002.715] decompressing blob (type 1)...
d to retrieve display resolution
[0002.789] Could not load/init02] SE operation failed
[0002.805] bl_battery_charging: connected to external power supply
[0002.829] device_query_partition_size: failed to open partition[0002.846] device_query_partition_size: failed to open partition sdmmc3_user:USP !
[0002.854] USP partition read failed!
[0002.857] blob_init: blob-partition USP header read failed
[0002.863] android_boot Unable to update recovery partition
[0002.868] kfs_getpartname: name = LNX
[0002.964] load kernel from storage
[0002.973] decompressor handler not found
[0003.007] Successfully loaded kernel and ramdisk images
[0003.[0003.017] display_resolution: No display init
[0003.021] Faile03.034] NCK carveout not present
[0003.037] Skipping dts_overri[0003.052] Find /i2c@7000c000's alias i2c0
[0003.055] get eepro[0003.065] Find /i2c@7000c500's alias i2c2
[0003.069] get eepro 256, type 0
[0003.078] pm_ids_update: Updating 1,a0, size 256,ed
[0003.100] pm_ids_update: Updating 3,a0, size 256, type 0
[0003.130] pm_ids_update: The pm board id is 3448-0002-402
_ids_update: Updating 3,ae, size 256, type 0
[0003.180] eeprom_init: EEPROM incompatible version found
[0003[0003.216] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0003.222] shim_eeprom_update_mac:267: Failed to update 0 MAC :05:b9
[0003.251] Plugin Manager: Parse ODM data 0x000a4000
[0003.272] Add serial number:1424624333301 as DT property
[0003.282] "bpmp" doesn't exist, creating
[0003.293] Updated initrd info to DTB
[0003.296] "proc-board" d[0003.302] Updated board info to DTB
[0003.305] "pmu-board" doesn't exist, creating
[0003.321] Updated board info to DTB
[0003.324] "reset" doesn't_ioctl: No display init
[0003.337] display_console_ioctl: No did=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 gpt
[0003.402] Updated bootarg info to DTB
[0003.406] Adding uuid 000000016440b705080000000bff8200 to DT
[0003.412] Adding eks info 0 to DT
[0003.433] set vdd_core voltage to 1125 mv
[0003.437] setting 'vdd-core' regulator to 1125000 micro volts
[0003.443] Found sec
SoC: tegra210
Model: NVIDIA Jetson Nano Developer Kit
Board: MMC: sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
0
MMC: no card present
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
879 bytes read in 44 ms (18.6 KiB/s)
1: primary kernel
Retrieving file: /boot/initrd
34707464 bytes read in 788 ms (42 MiB/s)
append: tegraid=21.1.2.0.0 ddr_die=2048M@2048M section=256M memtype=0 vpr_resize usb_p,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstfdt blob at 0x83100000
ERROR: reserving fdt memory region faile end 000000008317ce8d
copying carveout for /host1x@50000000/dc@54200000...
copying ca Linux version 4.9.337-tegra (buildbrain@mobile-u64-5499-d7000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120acan node memory@80000000, reg size 32,
[ 0.000000] OF: fdt: - 80000000 , 3f200000
[ 0.000000] OF: fdt: - c0000000 , 3eed