DTMERGE(1)
πΈ DTMERGE(1) β General Commands Manual, but make it bestie πΈ
Okay so this is dtmerge(1) from the General Commands Manual, and it is literally the friend who merges an overlay and/or device-tree parameters into a base device-tree. Main character merge energy, no cap. π
π NAME π
dtmerge β merge an overlay or parameters into a base device-tree. β¨
π¦ SYNOPSIS π¦
dtmerge [-d] base-dtb merged-dtb overlay-dtb [param=val...]
dtmerge -h
π DESCRIPTION π
dtmerge is a command line utility for merging overlays and/or device-tree parameters with a base device-tree. See [DTREE] for more information. π«Ά
The base device-tree (in dtb format) is always specified as the first (non-option) argument. The second argument is the output filename, which will also be in dtb format. The third argument provides the name of the overlay to merge into the base tree. If this is "-" then no overlay is used and the utility will simply customize the base tree with any parameters given. π
β¨ OPTIONS β¨
-dβ Show debug output during operation. π-hβ Displays help on the application. π
π EXAMPLES π
- First one
dtmerge /boot/bcm2711-rpi-4-b.dtb out.dtb - spi=on i2c=on
Produce a device-tree for the Raspberry Pi 4 in "out.dtb" which has the SPI and I2C interfaces activated. π₯
- Second one
dtmerge /boot/bcm2710-rpi-3-b-plus.dtb out.dtb /boot/overlays/gpio-shutdown.dtbo
Produce a device-tree for the Raspberry Pi 3+ in "out.dtb" which includes the GPIO shutdown overlay (with all parameters set to their default). π
π SEE ALSO π
dtoverlay(1), dtparam(1), [DTREE] β go look at these too, bestie. π«Ά
π§ REFERENCES π§
Sign-off: this page is DTMERGE(1) from the General Commands Manual, and the original footer only says DTMERGE(1) β no date or version line was there to copy, so Iβm not inventing one, bestie. ππ
π¦ where this page comes from
- nixos 26.05: libraspberrypi 0-unstable-2024-12-23
- nixpkgs unstable: libraspberrypi 0-unstable-2024-12-23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms