DTC(1)

πŸ’– NAME πŸ’–

fdtput β€” bestie, this is the little icon that writes a property value into a device-tree 🌳✨


πŸ¦‹ SYNOPSIS πŸ¦‹

/usr/bin/fdtput <options> <dt file> <<node> <property> [<value>...]

🌸 DESCRIPTION 🌸

Okay so real talk: fdtput writes a property value to a device-tree. And here's the part that lowkey matters β€” all the command line arguments get joined together into a single value. Like, they're not separate things, they're one thing. Periodt. πŸ’…


✨ OPTIONS ✨

  • -h β€” prints this help, that's it, that's the whole job 🫢
  • -v β€” verbose mode, and it's giving receipts: it displays each value decoded from the command line πŸ‘‘
  • -t <type> β€” the type of data. Main character energy right here, choose wisely 🌈

<type> can be:

  • s = string
  • i = int
  • u = unsigned
  • x = hex

And there's an optional modifier prefix you can slap on the front:

  • hh or b = byte
  • h = 2 byte
  • l = 4 byte β€” and heads up bestie, this one is the default πŸ’–
ngl, the modifier prefix is optional but the type itself is the whole vibe check β€” pick the wrong one and your bytes will simply not be slaying. 😭

πŸ’œ AUTHOR πŸ’œ

fdtput was written by The Chromium OS Authors. Iconic of them, fr fr. πŸŽ€

This manual page was written by HΓ©ctor OrΓ³n <zumbi@debian.org>, for the Debian project (but may be used by others). No cap, that's genuinely so generous of him πŸ¦‹πŸ’–


And that's the whole page, bestie! This one came out on Linux, dated 30 January 2012, filed under the manual section DTC(1) β€” the general commands manual, obviously. Go forth and set some properties, you absolute legend πŸ‘‘βœ¨πŸŒΈ