hiseob
February 28, 2025, 11:44am
1
Last year, I’ve used 35.5.0 (orin nano 8g + custom carrier board)
Currently all of my devices suffuring qspi erase fail bug (Flash.sh (and tegraflash.py) fails to erase QSPI on non-SDK modules (P3767 Orin Nano 8GB) ) and uefi assertion bug (Assertion issue in UEFI during boot ) same time
For assertion bug, I’ve mitigated change UEFI binary to r36.4.3 but due to qspi erase fail bug, I cannot reflash the qspi
I need better simple solution, I have almost 50+ device to re-flash, but using l4t_initrd_flash.sh to un-lock then re-flashing qspi is too time wasting
Hi
Do you mean flash only the qspi without flashing APP partition to save time?
If yes, please refer the below example To flash only QSPI on Jetson Orin series:
https://docs.nvidia.com/jetson/archives/r36.4.3/DeveloperGuide/SD/FlashingSupport.html#examples
Thanks
hiseob
March 4, 2025, 8:41am
4
It seems I’m using protection bit enabled module mentioned here (Different charge numbered jetson orin nano's behave differently when writing to QSPI on custom carrier boards - #9 )
Of course qspi-only flashing command not working, on flashed device
(Same problem - Flash.sh (and tegraflash.py) fails to erase QSPI on non-SDK modules (P3767 Orin Nano 8GB) )
Already confirmed on many devices
[ 8.0368 ]
[ 8.0369 ] Start flashing
[ 8.0411 ] tegradevflash_v2 --pt flash.xml.bin --create
[ 8.0446 ] Bootloader version 01.00.0000
[ 8.1542 ] Erasing spi: 0 ......... [Done]
[ 9.1616 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin [ 16896 bytes ]
[ 9.1626 ] [................................................] 100%
[ 9.1664 ] 000000004d4d2c01: E> NV3P_SERVER: Failed to initialize partition table from GPT.
[ 9.3890 ]
[ 9.3890 ]
Error: Return value 1
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.
I> MB2 (version: 0.0.0.0-t234-54845784-934581f8)
I> t234-A01-1-Silicon (0x12347)
I> Boot-mode : RCM Flash
I> Emulation:
I> Entry timestamp: 0x013bdb9a
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x470000000, size:0x800000]
I> Task: ARI update carveout TZDRAM (0x50002050)
I> Task: Check MC errors (0x5000204c)
I> Task: PSC mailbox init (0x50018864)
I> Task: Map CCPLEX_INTERWORLD_SHMEM carveout (0x50001ff8)
I> Task: Program CBB PCIE AMAP regions (0x5001bcf8)
I> Task: Boot device init (0x50001f40)
I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : pllc_out0
I> QSPI-0l initialized successfully
I> Task: Partition Manager Init (0x50001f20)
I> Active chain: 0
I> Found 57 partitions in QSPI_FLASH (instance 0)
I> Task: Check MC errors (0x5000204c)
I> Task: Trigger mailbox for PSC-BL1 exit (0x500188e4)
I> Sending opcode 0x4d420802 to psc
I> Received ACK from psc
I> Task: Enter 3p server (0x500020e8)
I> USB configuration success
I> Populate storage info
I> Erasing device 3: 0
I> QSPI: Erasing entire device
I> Writing device 3: 0.
I> Active chain: 0
W> Cannot find any partition table for 00030000
E> NV3P_SERVER: Failed to initialize partition table from GPT.
l4t_initrd_flash.sh will fix the protection bit
[ 11.613595] ------------[ cut here ]------------
[ 11.623812] r8168 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 11.623812] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
[ 11.623812] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
[ 11.626981] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.626985] Modules linked in: mttcan(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra(+) nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.721023] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G O 5.10.192-tegra #1
[ 11.729768] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.738047] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.744215] pc : 0xffffa3e1a1674960
[ 11.747792] lr : 0xffffa3e1a1674914
[ 11.751370] sp : ffff8000119db650
[ 11.754771] x29: ffff8000119db650 x28: ffffa3e1a1679798
[ 11.760216] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.765662] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.771119] x23: 0000000000000001 x22: ffff8000119db896
[ 11.776576] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.782024] x19: ffff8000119db6a8 x18: 0000000000000010
[ 11.787472] x17: 0000000000000000 x16: ffffa3e213480008
[ 11.792922] x15: ffff41d04e0a22f0 x14: ffffffffffffffff
[ 11.798374] x13: ffff800091a3b597 x12: 0000000000000000
[ 11.803822] x11: 0000000000000008 x10: 0000000000000ab0
[ 11.809274] x9 : ffff8000119db390 x8 : ffff41d04d836390
[ 11.814727] x7 : 00000d01b252ec00 x6 : 0000000000000185
[ 11.820176] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.825627] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.831073] x1 : ffff41d04d835880 x0 : 0000000000000044
[ 11.836523] Call trace:
[ 11.839039] 0xffffa3e1a1674960
[ 11.842261] 0xffffa3e1a16759c8
[ 11.845483] 0xffffa3e1a16760f0
[ 11.848713] spi_drv_probe+0x8c/0xf0
[ 11.852381] really_probe+0xf8/0x3f0
[ 11.856058] driver_probe_device+0x60/0x100
[ 11.860345] device_driver_attach+0x78/0x80
[ 11.864632] __driver_attach+0x74/0x100
[ 11.868562] bus_for_each_dev+0x84/0xe0
[ 11.872492] driver_attach+0x34/0x40
[ 11.876154] bus_add_driver+0x154/0x200
[ 11.880084] driver_register+0x68/0x120
[ 11.884021] __spi_register_driver+0x60/0x70
[ 11.888407] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.893063] do_one_initcall+0x50/0x300
[ 11.896996] do_init_module+0x50/0x200
[ 11.900845] load_module+0x1f74/0x2380
[ 11.904693] __do_sys_finit_module+0xb4/0x100
[ 11.909163] __arm64_sys_finit_module+0x2c/0x40
[ 11.913809] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.918726] do_el0_svc+0x38/0xc0
[ 11.922130] el0_svc+0x1c/0x30
[ 11.925260] el0_sync_handler+0xa8/0xb0
[ 11.929196] el0_sync+0x16c/0x180
[ 11.932594] ---[ end trace 370871c8df28dee4 ]---
[ 11.937596] nvadsp 2993000.adsp: Adding to iommu group 56
[ 11.938330] cv0-throttle-alert cooling device registered.
[ 11.939518] Intel(R) Wireless WiFi driver for Linux
[ 11.939907] iwlwifi 0001:01:00.0: Adding to iommu group 7
[ 11.940242] iwlwifi 0001:01:00.0: enabling device (0000 -> 0002)
[ 11.946010] nvadsp 2993000.adsp: in probe()...
[ 11.947016] qspi_mtd spi6.0: block protection enabled 68
[ 11.952023] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[ 11.952216] qspi_mtd spi6.0: clearing block protect
[ 11.952478] ------------[ cut here ]------------
[ 11.952488] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.952490] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.952529] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.952531] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.952534] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.952536] pc : 0xffffa3e1a1674960
[ 11.952538] lr : 0xffffa3e1a1674914
[ 11.952538] sp : ffff8000119db380
[ 11.952540] x29: ffff8000119db380 x28: ffff8000119db5e8
[ 11.952543] x27: ffff41d04d835880 x26: 0000000000000000
[ 11.952545] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.952547] x23: 0000000000000001 x22: ffff8000119db5e7
[ 11.952548] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.952550] x19: ffff8000119db3d8 x18: 0000000000000010
[ 11.952551] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.952553] x15: ffff41d04e0a22f0 x14: ffffffffffffffff
[ 11.952554] x13: ffff800091a3b597 x12: 0000000000000020
[ 11.952556] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.952558] x9 : ffff8000119db0c0 x8 : ffff41d04d836390
[ 11.952559] x7 : 0000000000000000 x6 : 000000000000015f
[ 11.952561] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.952562] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.952564] x1 : ffff41d04d835880 x0 : 0000000000000046
[ 11.952567] Call trace:
[ 11.952569] 0xffffa3e1a1674960
[ 11.952570] 0xffffa3e1a1674b28
[ 11.952571] 0xffffa3e1a1674cf8
[ 11.952572] 0xffffa3e1a1675ba8
[ 11.952573] 0xffffa3e1a16760f0
[ 11.952582] spi_drv_probe+0x8c/0xf0
[ 11.952590] really_probe+0xf8/0x3f0
[ 11.952592] driver_probe_device+0x60/0x100
[ 11.952593] device_driver_attach+0x78/0x80
[ 11.952595] __driver_attach+0x74/0x100
[ 11.952597] bus_for_each_dev+0x84/0xe0
[ 11.952599] driver_attach+0x34/0x40
[ 11.952600] bus_add_driver+0x154/0x200
[ 11.952602] driver_register+0x68/0x120
[ 11.952603] __spi_register_driver+0x60/0x70
[ 11.952605] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.952609] do_one_initcall+0x50/0x300
[ 11.952614] do_init_module+0x50/0x200
[ 11.952615] load_module+0x1f74/0x2380
[ 11.952617] __do_sys_finit_module+0xb4/0x100
[ 11.952618] __arm64_sys_finit_module+0x2c/0x40
[ 11.952622] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.952624] do_el0_svc+0x38/0xc0
[ 11.952628] el0_svc+0x1c/0x30
[ 11.952629] el0_sync_handler+0xa8/0xb0
[ 11.952630] el0_sync+0x16c/0x180
[ 11.952632] ---[ end trace 370871c8df28dee5 ]---
[ 11.952648] qspi_mtd spi6.0: block protection enabled 70
[ 11.952791] ------------[ cut here ]------------
[ 11.952794] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.952795] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.952812] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.952813] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.952814] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.952815] pc : 0xffffa3e1a1674960
[ 11.952816] lr : 0xffffa3e1a1674914
[ 11.952817] sp : ffff8000119db600
[ 11.952818] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.952819] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.952821] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.952823] x23: 0000000000000001 x22: ffff8000119db837
[ 11.952824] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.952826] x19: ffff8000119db658 x18: 0000000000000000
[ 11.952828] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.952829] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.952831] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.952833] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.952834] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.952836] x7 : 0000000000000000 x6 : 000000000000027f
[ 11.952837] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.952839] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.952840] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.952842] Call trace:
[ 11.952843] 0xffffa3e1a1674960
[ 11.952844] 0xffffa3e1a1674a14
[ 11.952845] 0xffffa3e1a1675bb4
[ 11.952846] 0xffffa3e1a16760f0
[ 11.952848] spi_drv_probe+0x8c/0xf0
[ 11.952850] really_probe+0xf8/0x3f0
[ 11.952852] driver_probe_device+0x60/0x100
[ 11.952853] device_driver_attach+0x78/0x80
[ 11.952855] __driver_attach+0x74/0x100
[ 11.952857] bus_for_each_dev+0x84/0xe0
[ 11.952858] driver_attach+0x34/0x40
[ 11.952859] bus_add_driver+0x154/0x200
[ 11.952861] driver_register+0x68/0x120
[ 11.952862] __spi_register_driver+0x60/0x70
[ 11.952864] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.952866] do_one_initcall+0x50/0x300
[ 11.952868] do_init_module+0x50/0x200
[ 11.952870] load_module+0x1f74/0x2380
[ 11.952871] __do_sys_finit_module+0xb4/0x100
[ 11.952873] __arm64_sys_finit_module+0x2c/0x40
[ 11.952875] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.952876] do_el0_svc+0x38/0xc0
[ 11.952878] el0_svc+0x1c/0x30
[ 11.952879] el0_sync_handler+0xa8/0xb0
[ 11.952880] el0_sync+0x16c/0x180
[ 11.952880] ---[ end trace 370871c8df28dee6 ]---
[ 11.952888] qspi_mtd spi6.0: block protection enabled 71
[ 11.952946] cv1-throttle-alert cooling device registered.
[ 11.953084] ------------[ cut here ]------------
[ 11.953087] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.953087] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.953106] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.953107] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.953108] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.953109] pc : 0xffffa3e1a1674960
[ 11.953110] lr : 0xffffa3e1a1674914
[ 11.953110] sp : ffff8000119db600
[ 11.953111] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.953113] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.953114] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.953116] x23: 0000000000000001 x22: ffff8000119db837
[ 11.953117] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.953119] x19: ffff8000119db658 x18: 0000000000000000
[ 11.953120] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.953121] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.953123] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.953124] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.953126] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.953128] x7 : 0000000000000000 x6 : 000000000000038e
[ 11.953129] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.953131] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.953132] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.953134] Call trace:
[ 11.953135] 0xffffa3e1a1674960
[ 11.953136] 0xffffa3e1a1674a14
[ 11.953136] 0xffffa3e1a1675bb4
[ 11.953137] 0xffffa3e1a16760f0
[ 11.953139] spi_drv_probe+0x8c/0xf0
[ 11.953141] really_probe+0xf8/0x3f0
[ 11.953142] driver_probe_device+0x60/0x100
[ 11.953144] device_driver_attach+0x78/0x80
[ 11.953145] __driver_attach+0x74/0x100
[ 11.953147] bus_for_each_dev+0x84/0xe0
[ 11.953148] driver_attach+0x34/0x40
[ 11.953149] bus_add_driver+0x154/0x200
[ 11.953151] driver_register+0x68/0x120
[ 11.953153] __spi_register_driver+0x60/0x70
[ 11.953154] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.953155] do_one_initcall+0x50/0x300
[ 11.953157] do_init_module+0x50/0x200
[ 11.953159] load_module+0x1f74/0x2380
[ 11.953160] __do_sys_finit_module+0xb4/0x100
[ 11.953162] __arm64_sys_finit_module+0x2c/0x40
[ 11.953164] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.953166] do_el0_svc+0x38/0xc0
[ 11.953167] el0_svc+0x1c/0x30
[ 11.953168] el0_sync_handler+0xa8/0xb0
[ 11.953169] el0_sync+0x16c/0x180
[ 11.953170] ---[ end trace 370871c8df28dee7 ]---
[ 11.953177] qspi_mtd spi6.0: block protection enabled 71
[ 11.953267] ------------[ cut here ]------------
[ 11.953269] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.953269] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.953285] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.953285] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.953286] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.953287] pc : 0xffffa3e1a1674960
[ 11.953288] lr : 0xffffa3e1a1674914
[ 11.953289] sp : ffff8000119db600
[ 11.953289] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.953291] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.953292] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.953294] x23: 0000000000000001 x22: ffff8000119db837
[ 11.953296] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.953297] x19: ffff8000119db658 x18: 0000000000000000
[ 11.953299] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.953300] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.953302] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.953303] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.953305] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.953306] x7 : 0000000000000000 x6 : 0000000000000030
[ 11.953308] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.953309] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.953311] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.953312] Call trace:
[ 11.953313] 0xffffa3e1a1674960
[ 11.953314] 0xffffa3e1a1674a14
[ 11.953315] 0xffffa3e1a1675bb4
[ 11.953316] 0xffffa3e1a16760f0
[ 11.953317] spi_drv_probe+0x8c/0xf0
[ 11.953319] really_probe+0xf8/0x3f0
[ 11.953320] driver_probe_device+0x60/0x100
[ 11.953322] device_driver_attach+0x78/0x80
[ 11.953324] __driver_attach+0x74/0x100
[ 11.953325] bus_for_each_dev+0x84/0xe0
[ 11.953326] driver_attach+0x34/0x40
[ 11.953328] bus_add_driver+0x154/0x200
[ 11.953329] driver_register+0x68/0x120
[ 11.953330] __spi_register_driver+0x60/0x70
[ 11.953332] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.953333] do_one_initcall+0x50/0x300
[ 11.953335] do_init_module+0x50/0x200
[ 11.953336] load_module+0x1f74/0x2380
[ 11.953337] __do_sys_finit_module+0xb4/0x100
[ 11.953339] __arm64_sys_finit_module+0x2c/0x40
[ 11.953341] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.953342] do_el0_svc+0x38/0xc0
[ 11.953344] el0_svc+0x1c/0x30
[ 11.953344] el0_sync_handler+0xa8/0xb0
[ 11.953345] el0_sync+0x16c/0x180
[ 11.953346] ---[ end trace 370871c8df28dee8 ]---
[ 11.953353] qspi_mtd spi6.0: block protection enabled 71
[ 11.953407] cv2-throttle-alert cooling device registered.
[ 11.953510] ------------[ cut here ]------------
[ 11.953513] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.953514] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.953530] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.953530] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.953531] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.953532] pc : 0xffffa3e1a1674960
[ 11.953533] lr : 0xffffa3e1a1674914
[ 11.953534] sp : ffff8000119db600
[ 11.953535] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.953536] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.953538] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.953539] x23: 0000000000000001 x22: ffff8000119db837
[ 11.953541] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.953542] x19: ffff8000119db658 x18: 0000000000000000
[ 11.953543] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.953545] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.953546] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.953548] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.953549] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.953551] x7 : 0000000000000000 x6 : 0000000000000108
[ 11.953552] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.953554] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.953555] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.953557] Call trace:
[ 11.953558] 0xffffa3e1a1674960
[ 11.953559] 0xffffa3e1a1674a14
[ 11.953559] 0xffffa3e1a1675bb4
[ 11.953560] 0xffffa3e1a16760f0
[ 11.953562] spi_drv_probe+0x8c/0xf0
[ 11.953563] really_probe+0xf8/0x3f0
[ 11.953565] driver_probe_device+0x60/0x100
[ 11.953567] device_driver_attach+0x78/0x80
[ 11.953568] __driver_attach+0x74/0x100
[ 11.953569] bus_for_each_dev+0x84/0xe0
[ 11.953571] driver_attach+0x34/0x40
[ 11.953572] bus_add_driver+0x154/0x200
[ 11.953574] driver_register+0x68/0x120
[ 11.953575] __spi_register_driver+0x60/0x70
[ 11.953576] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.953578] do_one_initcall+0x50/0x300
[ 11.953579] do_init_module+0x50/0x200
[ 11.953581] load_module+0x1f74/0x2380
[ 11.953582] __do_sys_finit_module+0xb4/0x100
[ 11.953584] __arm64_sys_finit_module+0x2c/0x40
[ 11.953586] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.953587] do_el0_svc+0x38/0xc0
[ 11.953588] el0_svc+0x1c/0x30
[ 11.953589] el0_sync_handler+0xa8/0xb0
[ 11.953590] el0_sync+0x16c/0x180
[ 11.953591] ---[ end trace 370871c8df28dee9 ]---
[ 11.953624] qspi_mtd spi6.0: block protection enabled 71
[ 11.953702] ------------[ cut here ]------------
[ 11.953704] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.953705] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.953720] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.953721] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.953722] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.953723] pc : 0xffffa3e1a1674960
[ 11.953723] lr : 0xffffa3e1a1674914
[ 11.953724] sp : ffff8000119db600
[ 11.953725] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.953726] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.953728] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.953729] x23: 0000000000000001 x22: ffff8000119db837
[ 11.953731] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.953732] x19: ffff8000119db658 x18: 0000000000000000
[ 11.953734] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.953736] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.953737] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.953739] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.953740] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.953742] x7 : 0000000000000000 x6 : 00000000000001af
[ 11.953743] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.953745] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.953746] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.953748] Call trace:
[ 11.953749] 0xffffa3e1a1674960
[ 11.953750] 0xffffa3e1a1674a14
[ 11.953751] 0xffffa3e1a1675bb4
[ 11.953751] 0xffffa3e1a16760f0
[ 11.953753] spi_drv_probe+0x8c/0xf0
[ 11.953755] really_probe+0xf8/0x3f0
[ 11.953756] driver_probe_device+0x60/0x100
[ 11.953758] device_driver_attach+0x78/0x80
[ 11.953759] __driver_attach+0x74/0x100
[ 11.953761] bus_for_each_dev+0x84/0xe0
[ 11.953762] driver_attach+0x34/0x40
[ 11.953764] bus_add_driver+0x154/0x200
[ 11.953765] driver_register+0x68/0x120
[ 11.953766] __spi_register_driver+0x60/0x70
[ 11.953768] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.953769] do_one_initcall+0x50/0x300
[ 11.953771] do_init_module+0x50/0x200
[ 11.953772] load_module+0x1f74/0x2380
[ 11.953773] __do_sys_finit_module+0xb4/0x100
[ 11.953775] __arm64_sys_finit_module+0x2c/0x40
[ 11.953777] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.953778] do_el0_svc+0x38/0xc0
[ 11.953779] el0_svc+0x1c/0x30
[ 11.953780] el0_sync_handler+0xa8/0xb0
[ 11.953781] el0_sync+0x16c/0x180
[ 11.953782] ---[ end trace 370871c8df28deea ]---
[ 11.953794] qspi_mtd spi6.0: block protection enabled 71
[ 11.953857] soc0-throttle-alert cooling device registered.
[ 11.953964] ------------[ cut here ]------------
[ 11.953967] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.953967] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.953983] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.953983] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.953984] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.953985] pc : 0xffffa3e1a1674960
[ 11.953986] lr : 0xffffa3e1a1674914
[ 11.953987] sp : ffff8000119db600
[ 11.953987] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.953989] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.953990] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.953992] x23: 0000000000000001 x22: ffff8000119db837
[ 11.953993] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.953995] x19: ffff8000119db658 x18: 0000000000000000
[ 11.953996] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.953998] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.954000] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.954001] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.954002] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.954004] x7 : 0000000000000000 x6 : 0000000000000295
[ 11.954006] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.954007] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.954009] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.954010] Call trace:
[ 11.954011] 0xffffa3e1a1674960
[ 11.954012] 0xffffa3e1a1674a14
[ 11.954013] 0xffffa3e1a1675bb4
[ 11.954014] 0xffffa3e1a16760f0
[ 11.954015] spi_drv_probe+0x8c/0xf0
[ 11.954017] really_probe+0xf8/0x3f0
[ 11.954019] driver_probe_device+0x60/0x100
[ 11.954020] device_driver_attach+0x78/0x80
[ 11.954022] __driver_attach+0x74/0x100
[ 11.954023] bus_for_each_dev+0x84/0xe0
[ 11.954024] driver_attach+0x34/0x40
[ 11.954026] bus_add_driver+0x154/0x200
[ 11.954027] driver_register+0x68/0x120
[ 11.954028] __spi_register_driver+0x60/0x70
[ 11.954030] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.954032] do_one_initcall+0x50/0x300
[ 11.954033] do_init_module+0x50/0x200
[ 11.954035] load_module+0x1f74/0x2380
[ 11.954036] __do_sys_finit_module+0xb4/0x100
[ 11.954038] __arm64_sys_finit_module+0x2c/0x40
[ 11.954039] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.954041] do_el0_svc+0x38/0xc0
[ 11.954042] el0_svc+0x1c/0x30
[ 11.954043] el0_sync_handler+0xa8/0xb0
[ 11.954044] el0_sync+0x16c/0x180
[ 11.954045] ---[ end trace 370871c8df28deeb ]---
[ 11.954053] qspi_mtd spi6.0: block protection enabled 71
[ 11.954141] ------------[ cut here ]------------
[ 11.954143] WARNING: CPU: 0 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.954144] Modules linked in: snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi(+) can_dev tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219(+) r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.954159] CPU: 0 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.954159] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.954160] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.954161] pc : 0xffffa3e1a1674960
[ 11.954162] lr : 0xffffa3e1a1674914
[ 11.954163] sp : ffff8000119db600
[ 11.954163] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.954165] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.954166] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.954168] x23: 0000000000000001 x22: ffff8000119db837
[ 11.954169] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.954171] x19: ffff8000119db658 x18: 0000000000000000
[ 11.954172] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.954174] x15: ffff41d04d835df0 x14: ffffffffffffffff
[ 11.954175] x13: ffffa3e2142d9e28 x12: ffffa3e2142d9a72
[ 11.954176] x11: 0000000000000003 x10: 0000000000000ab0
[ 11.954178] x9 : ffff8000119db340 x8 : ffff41d04d836390
[ 11.954179] x7 : 0000000000000000 x6 : 000000000000032f
[ 11.954181] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 11.954182] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.954184] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.954185] Call trace:
[ 11.954186] 0xffffa3e1a1674960
[ 11.954187] 0xffffa3e1a1674a14
[ 11.954188] 0xffffa3e1a1675bb4
[ 11.954189] 0xffffa3e1a16760f0
[ 11.954190] spi_drv_probe+0x8c/0xf0
[ 11.954192] really_probe+0xf8/0x3f0
[ 11.954194] driver_probe_device+0x60/0x100
[ 11.954195] device_driver_attach+0x78/0x80
[ 11.954197] __driver_attach+0x74/0x100
[ 11.954198] bus_for_each_dev+0x84/0xe0
[ 11.954199] driver_attach+0x34/0x40
[ 11.954201] bus_add_driver+0x154/0x200
[ 11.954202] driver_register+0x68/0x120
[ 11.954204] __spi_register_driver+0x60/0x70
[ 11.954205] init_module+0x2c/0x1000 [qspi_mtd]
[ 11.954206] do_one_initcall+0x50/0x300
[ 11.954208] do_init_module+0x50/0x200
[ 11.954209] load_module+0x1f74/0x2380
[ 11.954211] __do_sys_finit_module+0xb4/0x100
[ 11.954212] __arm64_sys_finit_module+0x2c/0x40
[ 11.954214] el0_svc_common.constprop.0+0x80/0x1d0
[ 11.954215] do_el0_svc+0x38/0xc0
[ 11.954216] el0_svc+0x1c/0x30
[ 11.954217] el0_sync_handler+0xa8/0xb0
[ 11.954218] el0_sync+0x16c/0x180
[ 11.954219] ---[ end trace 370871c8df28deec ]---
[ 11.954220] qspi_mtd spi6.0: block protection enabled 71
[ 11.954278] soc1-throttle-alert cooling device registered.
[ 11.957543] ------------[ cut here ]------------
[ 11.962823] soc2-throttle-alert cooling device registered.
[ 11.966484] iwlwifi 0001:01:00.0: api flags index 2 larger than supported by driver
[ 11.966514] iwlwifi 0001:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28
[ 11.966933] iwlwifi 0001:01:00.0: loaded firmware version 59.601f3a66.0 ty-a0-gf-a0-59.ucode op_mode iwlmvm
[ 11.968723] WARNING: CPU: 1 PID: 326 at drivers/mtd/devices/qspi_mtd.c:514 0xffffa3e1a1674960
[ 11.968725] Modules linked in: snd_soc_tegra_utils snd_soc_spdif_tx snd_soc_simple_card_utils mttcan(+) iwlwifi can_dev
[ 11.969244] imx219 10-0010: board setup failed
[ 11.969304] imx219: probe of 10-0010 failed with error -121
[ 11.974390] hot-surface-alert cooling state: 0 -> 1
[ 11.978741] tegra_bpmp_thermal userspace_alert(+) snd_hda_tegra nvadsp(+) snd_hda_codec cfg80211 snd_soc_tegra210_ahub(+) snd_hda_core qspi_mtd(+) tegra210_adma mtd nv_imx219 r8168 spi_tegra114 nvidia(O+) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables
[ 11.978765] CPU: 1 PID: 326 Comm: systemd-udevd Tainted: G W O 5.10.192-tegra #1
[ 11.978766] Hardware name: Orin NX / OrinCB ACU_A V1 (DT)
[ 11.978768] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
[ 11.978770] pc : 0xffffa3e1a1674960
[ 11.978771] lr : 0xffffa3e1a1674914
[ 11.978772] sp : ffff8000119db600
[ 11.978773] x29: ffff8000119db600 x28: ffffa3e1a1679798
[ 11.978774] x27: ffffa3e1a1679618 x26: ffffa3e1a16788b0
[ 11.978776] x25: 0000000000000000 x24: ffff41d04d8e75f8
[ 11.978777] x23: 0000000000000001 x22: ffff8000119db837
[ 11.978779] x21: ffff41d04d8e7080 x20: ffff41d04d835880
[ 11.978780] x19: ffff8000119db658 x18: 0000000000000000
[ 11.978782] x17: 0000000000000000 x16: ffffa3e212d00c60
[ 11.978783] x15: 0000000000000af1 x14: 0000000000001139
[ 11.978785] x13: 0000000000000003 x12: 0000000000063da8
[ 11.988003] NVRM: loading NVIDIA UNIX Open Kernel Module for aarch64 35.5.0 Release Build (buildbrain@mobile-u64-6519-d7000) Mon Feb 19 20:34:12 PST 2024
[ 11.991561]
[ 11.991562] x11: 0000000000000064 x10: 0000000000000ab0
[ 11.991564] x9 : 000000149da7f33c x8 : 0000000000005a91
[ 11.991565] x7 : 000054de49cd443a x6 : 0000000000000003
[ 11.991567] x5 : 0000000000000000 x4 : 0000000000000000
[ 11.991568] x3 : ffff41d04d835880 x2 : 0000000000000000
[ 11.991569] x1 : ffff41d04d835880 x0 : 0000000000000047
[ 11.991572] Call trace:
[ 11.991574] 0xffffa3e1a1674960
[ 11.991575] 0xffffa3e1a1674a14
[ 11.991576] 0xffffa3e1a1675bb4
[ 11.991577] 0xffffa3e1a16760f0
[ 11.991585] spi_drv_probe+0x8c/0xf0
[ 11.991593] really_probe+0xf8/0x3f0
[ 11.991595] driver_probe_device+0x60/0x100
[ 11.991597] device_driver_attach+0x78/0x80
[ 11.991599] __driver_attach+0x74/0x100
[ 11.991600] bus_for_each_dev+0x84/0xe0
[ 11.991602] driver_attach+0x34/0x40
[ 11.991603] bus_add_driver+0x154/0x200
[ 11.991606] driver_register+0x68/0x120
[ 11.997248] hot-surface-alert cooling device registered.
[ 12.001499] Message RAM Configuration
[ 12.001499] | base addr |0x0c312000|
[ 12.001499] | sidfc_flssa |0x00000000|
[ 12.001499] | xidfc_flesa |0x00000040|
[ 12.001499] | rxf0c_f0sa |0x000000c0|
[ 12.001499] | rxf1c_f1sa |0x000009c0|
[ 12.001499] | rxbc_rbsa |0x000009c0|
[ 12.001499] | txefc_efsa |0x000009c0|
[ 12.001499] | txbc_tbsa |0x00000a40|
[ 12.001499] | tmc_tmsa |0x00000ec0|
[ 12.001499] | mram size |0x00001000|
[ 12.002932] Release 3.2.3 from 09.06.2018
[ 12.003236] net can0: mttcan device registered (regs=00000000ae6b7062, irq=112)
[ 12.004724] nvadsp 2993000.adsp: nvadsp_app_module_probe
[ 12.005090] __spi_register_driver+0x60/0x70
[ 12.005092] init_module+0x2c/0x1000 [qspi_mtd]
[ 12.005096] do_one_initcall+0x50/0x300
[ 12.005100] do_init_module+0x50/0x200
[ 12.005103] load_module+0x1f74/0x2380
[ 14.521797] __do_sys_finit_module+0xb4/0x100
[ 14.521798] __arm64_sys_finit_module+0x2c/0x40
[ 14.521801] el0_svc_common.constprop.0+0x80/0x1d0
[ 14.521803] do_el0_svc+0x38/0xc0
[ 14.521806] el0_svc+0x1c/0x30
[ 14.521808] el0_sync_handler+0xa8/0xb0
[ 14.521809] el0_sync+0x16c/0x180
[ 14.521811] ---[ end trace 370871c8df28deed ]---
[ 14.523403] qspi_mtd spi6.0: block protection enabled 71
Is there any method fix the qspi’s block protection bit - without using l4t_initrd_flash.sh ??
Hi,
Just to clarify. Are you talking about you have some totally fresh Orin Nano device there?
I am just not quite sure why you mentioned rel-35.5 thing there. Is that related?
hiseob
March 4, 2025, 9:29am
6
Bought 32 units of fresh Orin Nano 8G last year
all of them assembled to custom carrierboard and flashed bsp based on 35.5
Why I mentioned 35.5 : Due to UEFI assertion issue on ~ 6.1 (Assertion issue in UEFI during boot ) few devices entered fault state, customer complained
so I need to reflash the QSPI - 32 devices, with bug fixed binary
Hi,
If your board was already flashed with rel-35.5 before, then that protection bit issue should not be there anymore.
Could you flash the module with full initrd flash command and see if that can work? Attach the full log but not such partial copy.
I need the log on both host and device side.
hiseob
March 4, 2025, 9:41am
8
Then I need to make initrd flashing work
On my setup, with unknown reason initrd flashing not working… That’s why I was used flash.sh
But I got the point. I will try initrd flash script instead
Thanks!
If initrd flash is not working, please attach logs.