OE4T / meta-tegra

BSP layer for NVIDIA Jetson platforms, based on L4T
MIT License
384 stars 215 forks source link

tegra-helper-scripts: use separate kernel DTB for RCM booting on t19x #1538

Closed madisongh closed 2 months ago

madisongh commented 2 months ago

In L4T R35.3.1, NVIDIA changed the tegraflash scripts to modify the kernel DTB used during RCM booting to disable the rtcpu node in the device tree on t19x platforms. It does so without making a new copy of the DTB file, which leads to the modified DTB getting written to the kernel-dtb partition when using initrd-flash to flash a Xavier device (in some cases).

Work around this in the helper scripts by copying the kernel DTB to a new file used only for RCM booting.

Fixes #1537