OE4T / tegra-demo-distro

Reference/demonstration distro for meta-tegra
MIT License
73 stars 74 forks source link

meta-tegrademo: add tegrademo-devicetree recipes #229

Closed kekiefer closed 1 year ago

kekiefer commented 1 year ago

This recipe adds a couple example devicetree files to demonstrate the use of the virtual/dtb provider. To use these device trees in a build, something like the following can be added to the local.conf:

PREFERRED_PROVIDER_virtual/dtb = "tegrademo-devicetree"
DTBFILE:jetson-xavier-nx-devkit = "tegra194-p3668-all-p3509-0000-oe4t.dtb"
DTBFILE:jetson-xavier-nx-devkit-emmc = "tegra194-p3668-all-p3509-0000-oe4t.dtb"
DTBFILE:jetson-agx-xavier-devkit = "tegra194-p2888-0001-p2822-0000-oe4t.dtb"

Note that in order to build this, the changes from https://github.com/OE4T/linux-tegra-5.10/pull/3 are required, at least as far as I could tell. If there is a better way to handle this, please let me know.

kekiefer commented 1 year ago

Thanks for looking at this, it's working now without the kernel patches.