Unable to flash Thor module with custom carrier board

Hi Nvidia Team,

I am trying to flash a fresh nvidia thor module with my custom carrier board with JP 7.2. The custom carrier board has an epprom and 2 i2c based gpio expanders on the same i2c bus as the CVB eeprom.

Flash command used is:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t264_nvme.xml --showlogs --network usb0 jetson-agx-thor-devkit external

I am facing below error:

flash_error.txt (30.8 KB)

Can you please help in resolving this error at the earliest.

Regards,

please still set the cvb_eeprom_read_size to 0 in the t264 mb2 bct config dtsi file.

Hi @WayneWWW , Let me check with this, also in debug logs seeing following error

"I> Populate chip info
C> RAM_CODE 0xc
I> Populate Boot device info
I> Boot device type information 0x3
I> boot device info return size =0x2
I> Populate eeprom info
I> Populate eeprom info for module cvm
I> command: dump sub-command: 0
I> dump bct
E> LOADER: Invalid value Header magic.
E> Validation failed for 1 copy of BRBCT @ 0
E> LOADER: Invalid value Header magic.
E> Validation failed for 2 copy of BRBCT @ 262144
E> LOADER: Invalid value Header magic.
E> Validation failed for 3 copy of BRBCT @ 524288
E> LOADER: Invalid value Header magic.
E> Validation failed for 4 copy of BRBCT @ 786432
E> NV3P_SERVER: Failed to get address for br bct from nv3p helper."

Please make sure you did these steps mentioned in document.

Hi @WayneWWW , i was able to resolve the eeprom related error, but currently facing error following:

[0006.291] I> NVRNG: Health check success
[0006.303] I> Task: Prepare Hafnium params
[0006.314] I> haf_params = 0x1f9b000000
[0006.323] I> BL32 EP param-hdr (type: 0x1, version: 0x1, size: 0x58, attr: 0x0)
[0006.330] I> BL32 EP   PC: 0x1f9b010000
[0006.333] I> BL32 EP SPSR: 0x3c9
[0006.336] I> BL32 EP   X0: 0x1f9ce10000
[0006.340] I> BL32 EP   X1: 0x0
[0006.343] I> BL32 EP   X2: 0x1f9b000000
[0006.347] I> BL32 EP   X3: 0xcafebabe
[0006.350] I> BL32 EP   X4: 0x0
[0006.353] I> BL32 EP   X5: 0x0
[0006.356] I> BL32 EP   X6: 0x0
[0006.359] I> BL32 EP   X7: 0x0
[0006.362] I> PC INFO from epinfo = 0x14000010
[0006.366] I> BL32 IMG param-hdr (type: 0x0, version: 0x0, size: 0x0, attr: 0x0)
[0006.373] I> BL32 IMG image base: 0x1f9b010000
[0006.377] I> BL32 IMG image size: 0x395c0
[0006.381] I> Task: Prepare ATF params
[0006.384] I> NVRNG: Health check success
[0006.391] I> NVRNG: Health check success
[0006.392] I> Skipping 'tid-table-addr' update in ATF DTB
[0006.397] I> BL31 param-hdr (type: 0x0, version: 0x0, size: 0x0, attr: 0x0)
[0006.404] I> BL31 IMG param-hdr (type: 0x0, version: 0x0, size: 0x0, attr: 0x0)
[0006.411] I> Task: OEM SC7 context save
[0006.415] W> DRAM bad page list is empty!
[0006.472] I> OEM_SC7 context data saved
[0006.472] I> Task: Clear dec source key
[0006.472] I> Task: Apply HWPM conf��init��ig
��2] I��[000��zed ��6.47��emc
        ��> Skipping - not in ODM prod mode
[0006.472] I> Task: Program OEM firewalls - late boot
[0006.478] I> OEM firewalls configured
[0006.484] I> Task: SMMU restore
[0006.487] I> Task: Program GICv3 registers
[0006.491] I> Task: Disable Interrupt for NSR IP's
[0006.495] I> Task: Audit firewall settings
[0006.499] I> Task: Trigger tsec mailbox for PSC-fw exit
[0006.509] I> Task: Compute cpubl params hash
[0006.510] I> Added cpubl params hash.
[0006.513] I> MB2 finished

��initialized avfs_clk_platform
initialized powergate
initialized dvs
initialized clk_mach_config
suspend progress: 0x0
initialized suspend
initialized strap
initialized emc_late
initialized emc_mrq
��[TS:5857831484705996800]Admin Task Init
[TS:5859189927027146752]Admin Task Init complete
[TS:5860352866731950080]Print Task Init
[TS:5861722445903298560]RM Task Init
[TS:5671099008]Admin Task Started
��sabl��34619��init��3]DC��iali��E SC��zed ��7 SH��clk_��A Di��cal
        ini��ed
��tial��[TS:��ized��5672�� uph��0868��y_dt��41]R��
in��M Ta��itia��sk S��lize��tart��d pc��ed
��ie_d��[TS:��t
��5672232350]RM Task Running [id:2]
��Enable UPHY1 PLL 3 timeout UPHY_PLL_STATUS 0xa00
in��

I am not sure which config leads to this error, can you help the earliest

check if you are the same design as this post.