cd $Nvidia_SDK$/Linux_for_Tegra/bootloader/t186ref
# Create BPMP backup
cp tegra186-bpmp-p3636-0001-a00-00.dtb tegra186-bpmp-p3636-0001-a00-00.dtb.bak
# Decompile BPMP
dtc -I dtb -O dts tegra186-bpmp-p3636-0001-a00-00.dtb > bpmp.dts
# Replace serial node port to 0xff:
serial {
port = <0xff>;
has_input;
};
# Recompile BPMP
dtc -I dts -O dtb bpmp.dts > tegra186-bpmp-p3636-0001-a00-00.dtb
Reflash Jetson TX2NX
It does disable the Kernel prints and Ubuntu log-in part but it doesn’t disable the bootup sequence prints (from CBoot, I suppose). How can I disable the bootup sequence? Am I using the wrong ODMDATA value because I have only found it on Jetson Nano subforum and not in TX2 subforum.
Please configure ODMDATA=0x2010000 to disable Debug Console here.
May I know what’s your use case to disable all debug messages?
Are you trying to use debug UART interface as normal UART communicating with other device?
I managed to solve this issue. This issue was actually not a part of Debug UART but instead of a feature in the U-Boot called Autoboot. By default for Nvidia Jetson, it’s set to wait 2 seconds for any input via UART to stop booting up. I had to re-compile U-Boot from sources and disable the Autoboot abortion feature.
Download U-Boot sources & Toolchain
wget https://developer.nvidia.com/embedded/l4t/r32_release_v7.2/sources/t186/public_sources.tbz2
tar -xf public_sources.tbz2
tar -xf Linux_for_Tegra/source/public/u-boot_src.tbz2
wget http://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
tar -xf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
Edit Jetson TX2NX U-Boot configuration file u-boot/configs/p3636-0001_defconfig
There are different CONFIG_BOOTDELAY options but -2 is the one that disables boot interruption entirely. Different defconfig is used for different Jetson’s this one is TX2.