AGX Xavier freeze in MAXN mode

Hello Wayne,

Is this patch for JetPack 4.4 or 4.5?
Am I right that I apply the patch to my Tegra_for_Linux installation and then flash my Xavier AGX again?

Both jp4.4.1 or 4.5.1 can apply this. You need to rebuild both kernel image and dtb.

I have a hard time identifying the correct files, which one must be patched?

~/Linux_for_Tegra/sources$ find . -name 'bluedroid_pm.c'
./kernel/kernel-4.9/drivers/misc/bluedroid_pm.c
./kernel/nvidia/drivers/misc/bluedroid_pm.c

Is this the correct file?

~/Linux_for_Tegra/sources$ find . -name 'tegra194-p2888-0001-p2822-0000-common.dtsi'
./hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2888-0001-p2822-0000-common.dtsi

Please use the one in kernel-4.9.

./kernel/kernel-4.9/drivers/misc/bluedroid_pm.c

Yes, this is the correct file.

~/Linux_for_Tegra/sources$ find . -name ‘tegra194-p2888-0001-p2822-0000-common.dtsi’
./hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2888-0001-p2822-0000-common.dtsi

Hello Wayne,
thanks for constant support. (I think) I have build kernel image and dtd by following instructions of Tegra Linux Driver documentation (except the optional step no. 8)

Am I now ready for ./flash and do I have to use -r option or not?

Hi,

Please make sure the dts and image file are put into the Linux_for_Tegra/kernel/dtb and Linux_for_Tegra/kernel/. Running the flash.sh without -r.

The “-r” option is to re-use previous system.img. We should do a clean setup at this moment so do not use -r.

Looks like I have succesfully applied the patch. My Xavier AGX DevKit is now running for more than 3 hours in MAXN mode while performing a CPU&GPU hungry task (Training of a Tacotron2 TTS model). No freeze or shutdowns so far. The “bluetooth hostwake” proc counter, which went up before, is still at “0”.

I will keep this running for another 24h and report back again…

1 Like

Thanks. Waiting for your reply.

My Xavier-AGX is running now for more than 60 hours (about 48h in MAXN mode) without any issues.

Will the Patch be included in a future JetPack Release (4.5.x)?

We will try to merge it so it will be in next release.

1 Like

Did this make it into Jetpack 4.6?

1 Like

same question as snarky, did this make it into 4.6?

thanks

Don’t know who you are adressing. I didn’t install 4.6 yet…

Maybe @WayneWWW can confirm if the bluedroid-patch made it into JetPack 4.6?

Sorry that it looks like those patches are not yet merged…

I will check what is going on internally. Currently still need to manually add this to your driver/dts.

@dkreutz Where did you find the flash.sh script? I’m looking in the Linux for Tegra download and I don’t see it. Thanks!

What does your Linux_for_Tegra look like? If even flash.sh is not there, you probably using the wrong file.