Failed to flash `ERROR: Exception reason=0 syndrome=0xbe000011` in r36.4

Hi guys! I try to upgrade my SDK from r35.5.0 to r36.4, but I failed with following error in debug serial:

  ERROR:   Exception reason=0 syndrome=0xbe000011
ERROR:   **************************************
ERROR:   RAS Uncorrectable Error in IOB, base=0xe010000:
ERROR:          Status = 0xec000612
ERROR:   SERR = Error response from slave: 0x12
ERROR:          IERR = CBB Interface Error: 0x6
ERROR:          Overflow (there may be more errors) - Uncorrectable
ERROR:          MISC0 = 0xc4560040
ERROR:          MISC1 = 0x1a4c860000000000
ERROR:          MISC2 = 0x0
ERROR:          MISC3 = 0x0
ERROR:          ADDR = 0x8000000003f300c0
ERROR:   **************************************
ERROR:   sdei_dispatch_event returned -1
ERROR:   **************************************
ERROR:   RAS Uncorrectable Error in ACI, base=0xe01a000:
ERROR:          Status = 0xe8000904
ERROR:   SERR = Assertion failure: 0x4
ERROR:          IERR = FillWrite Error: 0x9
ERROR:          Overflow (there may be more errors) - Uncorrectable
ERROR:          ADDR = 0x8000000003f300c0
ERROR:   **************************************
ERROR:   sdei_dispatch_event returned -1
ERROR:   Powering off core

I’ve check the stmm_sp.c. The stmm_heap_size has been changed from 512 to 1024 in r36.4, which should be modified in r35.5.0.

Could you guys help me to fix the problem?

My flash environment:

  • Customized board (we do not have devkit)
  • SDK version: r36.4
  • host system: Arch Linux

Here is the flash_command.log (290.8 KB) and debug_serial.log (48.7 KB) in which the flash command is

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 nano-usb-client external

And here is our flash config and device tree

// nano-usb-client.conf
source "${LDK_DIR}/jetson-orin-nano-devkit.conf";

PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3767-hdmi-a03.dtsi";    # hdmi
PMC_CONFIG="tegra234-mb1-bct-padvoltage-p3767-hdmi-a03.dtsi";   # hdmi
EMMC_CFG="flash_t234_qspi_nvme.xml";

UPHYLANE="c7x2"
if [ "${UPHYLANE}" = "c7x1" ]; then
	UPHYLANE_CONFIG="tegra234-mb1-bct-uphylane-si-c7x1.dtsi";
	EMMC_CFG="flash_t234_qspi_nvme_c7.xml";
elif [ "${UPHYLANE}" = "c7x2" ]; then
	UPHYLANE_CONFIG="tegra234-mb1-bct-uphylane-si-c7x2.dtsi";
	EMMC_CFG="flash_t234_qspi_nvme_c7.xml";
fi


update_flash_args()
{
	# All updates should go into update_flash_args_common to allow
	# for other files to include this file and override variables.
	update_flash_args_common "$@"

	if [ "${board_sku}" = "0001" ]; then
		DTB_FILE="kenexs-v700-usb-client.dtb";
	elif [ "${board_sku}" = "0003" ]; then
		DTB_FILE="kenexs-v700-nano-usb-client.dtb";
	else
		echo "Error: Unrecognized module SKU ${board_sku}";
		exit 1;
	fi
	TBCDTB_FILE="${DTB_FILE}";
}
// kenexs-v700-nano-usb-client.dts
/dts-v1/;

#include "../nv-platform/tegra234-p3768-0000+p3767-0003-nv.dts"

/{
	display@13800000 {
		status = "okay";
		os_gpio_hotplug_a = <&gpio TEGRA234_MAIN_GPIO(M, 0) GPIO_ACTIVE_HIGH>;
	};
};

/ {
	bus@0 {

		/* C1 - PCIe1 GigE RTL8111H */
		pcie@14100000 {
			status = "okay";
		};

		/* C7 - PCIe2 M.2 Key-M */
		pcie@141e0000 {
			status = "okay";

			vddio-pex-ctl-supply = <&vdd_1v8_ao>;

			phys = <&p2u_gbe_0>;
			phy-names = "p2u-0";
		};

		/* C9 - PCIe3 GigE RTL8111H */
		pcie@140c0000 {
			status = "okay";

			vddio-pex-ctl-supply = <&vdd_1v8_ao>;

			phys = <&p2u_gbe_1>;
			phy-names = "p2u-1";
		};

		/* enable usb 3-2: padctl node */
		padctl@3520000 {
			pads {
				usb3 {
					lanes {
						usb3-2 {
							nvidia,function = "xusb";
							status = "okay";
						};
					};
				};
			};
			ports {
				usb3-0 {
					nvidia,usb2-companion = <2>;
					status = "okay";
				};
				usb3-1 {
					nvidia,usb2-companion = <1>;
					status = "okay";
				};
				usb3-2 {
					nvidia,usb2-companion = <0>;
					status = "okay";
				};
			};
		};

		/* enable usb 3-2: xHCI Node */
		usb@3610000 {
			status = "okay";

			phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>,
			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
			phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0",
				    "usb3-1", "usb3-2";
		};
		//xudc@3550000 {
		usb@3550000 {
			status = "okay";
			phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
				<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
			phy-names = "usb2-0", "usb3-2";
			nvidia,xusb-padctl = <&xusb_padctl>;
			status = "disabled"; // as otg is disabled in usb2-0, so here disable it
		};
	};
};

/ {
	model = "KENEXS V700 NANO USB UDC flash";

	//tegra_xudc: 
	//xudc@3550000 {
	usb@3550000 {
		status = "okay";
	};

	//xusb_padctl@3520000 {
	padctl@3520000{
		ports {
			usb2-0 {/* Goes to recovery port */
				mode = "otg";
			};
		};
	};


	bus@0 {
		/* C4 - PCIe0 10GigE AQC113-B1-I */
		pcie@14160000 {
			status = "disabled";
		};
	};
};

Hi, has anyone met the same problem?

ADDR = 0x8000000003f300c0

Pick the last few byte from this Addr. → 3f300c0

0x3f300c0 is a register from P2U_GBE_1 which is on your C7/C9.

Are you sure this part of ODMDATA/device tree are correctly set?

1 Like

Very professional! Problem comes from that I forgot to config ODMDATA.( I’m not sure if the num-lanes is necessary in dts. In my impression, it is not necessary in r36.2, but necessary in r35.5.0. Anyway, after configured the ODMDATA and num-lanes it works, and does not stuck anymore.)

Besides, there are some problems in my dts example. The usb@3550000 and padctl@3520000 should under bus@0 node.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.