jetsonhacks / buildJetsonTX2Kernel

Build the NVIDIA Jetson TX2 Kernel on the device itself
MIT License
153 stars 116 forks source link

how to compile device tree blobs? #3

Closed TonyMou closed 6 years ago

TonyMou commented 6 years ago

Hi, jetsonhacks! I find that the makeKernel.sh would not make dtbs. If we want to compile device tree and update it,

would adding "make dtbs" in the makeKernel.sh and "sudo cp /arch/arm64/boot/dts/xxxxx.dtb /boot/" in copyKernel.sh files work this out?

jetsonhacks commented 6 years ago

The compiled device tree files are stored on a separate partition on the Jetson eMMC, therefore the method you suggest does not work.

vaibhavviswanathan commented 5 years ago

You mention that we need to compile the device tree separately. How do we do this?

JetsonHacksNano commented 5 years ago

The easiest way is to follow the NVIDIA directions to use a device tree compiler and flash the device tree from a host PC.