logo

blog

My website can't be that messy, right? git clone https://anongit.hacktivis.me/git/blog.git/

firmware-broken-terminology.xml (3735B)


  1. <entry>
  2. <title>Firmware is broken Terminology</title>
  3. <link rel="alternate" type="text/html" href="https://hacktivis.me/articles/firmware-broken-terminology"/>
  4. <id>https://hacktivis.me/articles/firmware-broken-terminology</id>
  5. <published>2023-06-01T00:00:00Z</published>
  6. <updated>2023-06-08T00:00:00Z</updated>
  7. <link rel="external replies" type="application/activity+json" href="https://queer.hacktivis.me/objects/bcf1e1ba-a560-4347-9a04-9ca8088e4a93" />
  8. <link rel="external replies" type="text/html" href="https://queer.hacktivis.me/objects/bcf1e1ba-a560-4347-9a04-9ca8088e4a93" />
  9. <content type="xhtml">
  10. <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="h-entry">
  11. <p>
  12. Software and Hardware have pretty clear definitions, but when it comes to firmware… I ended up with the horribly vague definition that it's about software that's usually hard to modify or just external to the OS or just scary to update in case of failure. And I wouldn't be surprised to discover yet another common usage that would require to update this definition as it's pretty much a kitchen-sink. And I could bet that no one could say that some software definitely isn't firmware.<br />
  13. The annoying part is seems to serve as a way of hiding that it is in fact just plain software, meaning something you can modify, rewrite, audit, … albeit sometimes with the hardware putting some limits but that says more about the hardware than the software.<br/>
  14. In fact you can sometimes avoid such hardware limitations with some flash storage instead, see <a href="https://en.wikipedia.org/wiki/Flash_cartridge">Flash Cartridges</a> for example, where you can even use data that used to be on a ROM on those, with no modifications to be done but then made easy.
  15. </p>
  16. <p>
  17. And in a case that happened to me quite few times, what's the firmware of a smartphone or home-router? Is it the whole software that runs on it (usually a Linux-based system stored on flash storage) except some user applications, or it is some parts of the software that runs on it and so which?<br />
  18. If you ask around, you'll get all kinds of answers, meaning that when you say "my phone/router's firmware" it ends up needing clarification, a difficult task if you never thought of alternative ways and near impossible if you're not so sure what the software in question is for.<br />
  19. The fun part of those devices, is how the software they run (main OS, bootloader, software for periperals, …) is almost entirely hosted on a single <a href="https://en.wikipedia.org/wiki/MMC#eMMC">eMMC</a>, sometimes through the aid of partitions and/or hardcoded offsets+length, meaning you can modify all that software from the OS without the need of dedicated flashing software (like <a href="https://flashrom.org/">flashrom</a>) or dedicated hardware like an <a href="https://en.wikipedia.org/wiki/Programmer_(hardware)">external programmer</a>.
  20. </p>
  21. <p>
  22. So as you might have noticed, I just avoid the use of the term firmware as much as possible to prefer using something more precise, a rather usual one ended up being "embedded software". I don't expect everyone to do it, but I would appreciate technical people doing so, specially in the libre software community.
  23. </p>
  24. <p>Update to address feedback from a <a href="https://lobste.rs/s/p9t2mx/firmware_is_broken_terminology#c_sgb3kp">comment on lobsters</a>: Right, "embedded software" isn't more precise, but I still find it a better description than "firmware" is, should probably also have given examples of the other cases it encourages: Citing existing implementations (say uboot-like); Directly the name of the software involved, like OpenWRT instead of "router firmware"; …</p>
  25. </div>
  26. </content>
  27. </entry>