OE4T / meta-tegra

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

Add optional TBCDTB file #1572

Closed TB-ME closed 3 weeks ago

TB-ME commented 1 month ago

Add the ability to users to specify a TBCDTB_FILE in the flashvars so that a different device tree can be used during UEFI than the kernel. This is helpful to stop other devices connected over UART from interrupting the boot process as listed here https://github.com/OE4T/meta-tegra/discussions/1510. I can only test on a tegra194 not a tegra234, meaning that this PR does not add the TBCDTB_FILE variable to tegra234 boards.

madisongh commented 1 month ago

Basically looks OK, but it should cover the t234 platforms, too. If you could update the tegra234 helper script, even if you can't actually test it, that would help. I'll run through some manual tests before merging.

Also, could you add a Signed-off-by line to your commit message(s), per our contributing guidelines?

TB-ME commented 1 month ago

I've updated the tegra234 helper script. I've added bootloader_dtb argument to BINSARGS because it was present in the tegra194 helper script.

madisongh commented 3 weeks ago

I have merged this manually, with a small tweak for the t234 helper script. Thanks!

madisongh commented 3 weeks ago

I've also adapted this change to the master, scarthgap, and scarthgap-l4t-r35.x branches.

TB-ME commented 3 weeks ago

Thank you