DTMERGE(1)

πŸ“¦
version 0-unstable-2024-12 Β· 2 versions
, in nixos 26.05, nixpkgs unstable

🌸 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