Last active
September 11, 2024 07:08
-
-
Save TobidieTopfpflanze/c162f551ffc4a2be21dbd168371ef347 to your computer and use it in GitHub Desktop.
Decompile DTB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Decompile | |
dtc -I dtb -O dts -o devicetree.dts /boot/dtb/<your_devicetree_file_name>.dtb | |
# Compile | |
dtc -I dts -O dtb devicetree.dts -o <your_devicetree_file_name>.dtb | |
# Merge with DTBO | |
fdtoverlay -i modified-base.dtb -o modified-full.dtb /boot/tegra194-p3668-all-p3509-0000-user-custom.dtbo | |
# DTS from fs | |
dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment