<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Posts on Embedded Field Notes</title>
    <link>https://pdh0085.github.io/posts/</link>
    <description>Recent content in Posts on Embedded Field Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 17 Nov 2026 19:16:23 +0900</lastBuildDate>
    <atom:link href="https://pdh0085.github.io/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A GUI Instead of the route Command: DHRouteView, a Windows Routing Table Tool</title>
      <link>https://pdh0085.github.io/posts/dhrouteview-windows-routing-table-gui/</link>
      <pubDate>Tue, 17 Nov 2026 19:16:23 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/dhrouteview-windows-routing-table-gui/</guid>
      <description>When an on-site worker plugs a router into a PC, the routing table changes and remote support drops. A small Windows tool written in Rust that lets people check and fix the routing table on screen without knowing any commands.</description>
    </item>
    <item>
      <title>Dhonomos: An Open-Source TR-069 ACS and USP Controller in One Rust Binary</title>
      <link>https://pdh0085.github.io/posts/dhonomos-open-source-acs-and-usp-controller/</link>
      <pubDate>Fri, 06 Nov 2026 19:00:00 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/dhonomos-open-source-acs-and-usp-controller/</guid>
      <description>I have released Dhonomos, a TR-069 (CWMP) ACS and a TR-369 (USP) Controller in one Rust program, under Apache-2.0. Why it exists, what it does today, and what it does not do yet.</description>
    </item>
    <item>
      <title>From Linux 3.2 to OpenWrt 25.12: Porting the MA-2080X Cellular Router</title>
      <link>https://pdh0085.github.io/posts/from-linux-3-2-to-openwrt-25-12/</link>
      <pubDate>Thu, 29 Oct 2026 09:44:43 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/from-linux-3-2-to-openwrt-25-12/</guid>
      <description>About seven weeks moving the MA-2080X industrial cellular router off its vendor Linux 3.2 firmware and onto OpenWrt 25.12.5: one irreversible change at a time, feature parity with the vendor firmware, the bugs that failed silently, and why the result will not ship.</description>
    </item>
    <item>
      <title>Chasing 320MHz Into the Kernel</title>
      <link>https://pdh0085.github.io/posts/chasing-320mhz-into-the-kernel/</link>
      <pubDate>Fri, 02 Oct 2026 10:52:15 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/chasing-320mhz-into-the-kernel/</guid>
      <description>The AP, the regulatory rules and the adapter all said 320MHz, and the negotiation still stopped at 160. The kernel message blamed regulatory; every tool I had said there was no restriction on the channel. Neither was true. The culprit was a country restriction table living in the firmware, and the flag it led to never showed up in my user-space tools.</description>
    </item>
    <item>
      <title>What Dropping LuCI Bought Us</title>
      <link>https://pdh0085.github.io/posts/openwrt-webui-without-luci/</link>
      <pubDate>Wed, 30 Sep 2026 10:43:53 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/openwrt-webui-without-luci/</guid>
      <description>On an MT7628 router (580 MHz MIPS, 8 MB flash), the LuCI dispatcher was charging 430 ms per page navigation. We removed LuCI from the image entirely and rewrote the runtime on nothing but static files and /ubus JSON-RPC. Login went from 459 ms to 48 ms, and all 57 existing views run unmodified.</description>
    </item>
    <item>
      <title>Epilogue: Hardware Is the Truth</title>
      <link>https://pdh0085.github.io/posts/hardware-is-the-truth/</link>
      <pubDate>Mon, 28 Sep 2026 10:17:29 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/hardware-is-the-truth/</guid>
      <description>The port ended with the 3.0.0 release. Looking back, the most expensive thing was never a hard bug. It was wrong records like &amp;ldquo;freed about 147 MB&amp;rdquo; and &amp;ldquo;verified&amp;rdquo;. The four beliefs this series disproved, and the habits that replaced them.</description>
    </item>
    <item>
      <title>Rebuilding the Web UI on LuCI</title>
      <link>https://pdh0085.github.io/posts/rebuilding-the-web-ui/</link>
      <pubDate>Fri, 25 Sep 2026 10:00:38 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/rebuilding-the-web-ui/</guid>
      <description>We rebuilt the LTE572W&amp;rsquo;s web UI on top of LuCI. The screens themselves are the short part of the story. The real content is a secret value with all three delivery paths blocked, custom UI that vanished on every save, and a counter bug that inflated data usage by exactly 2^32 bytes (4 GiB) per reboot.</description>
    </item>
    <item>
      <title>The Config File Nobody Read</title>
      <link>https://pdh0085.github.io/posts/the-config-file-nobody-read/</link>
      <pubDate>Wed, 23 Sep 2026 10:02:14 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/the-config-file-nobody-read/</guid>
      <description>Saving OSPF settings in the web UI succeeded without a single error, and the routing daemons never heard about any of it, because the file the pages wrote to was never read by anyone. This is the story of rebuilding that pipeline on UCI, and of a detached restart that inherited fd 1000 and froze every start/reload forever.</description>
    </item>
    <item>
      <title>The Real Reason RS-232 Was Dead</title>
      <link>https://pdh0085.github.io/posts/the-real-reason-rs232-was-dead/</link>
      <pubDate>Mon, 21 Sep 2026 09:38:17 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/the-real-reason-rs232-was-dead/</guid>
      <description>The industrial serial port produced no RS-232 signal, and the internal docs blamed a dead charge pump in the transceiver. Then we read the three mode GPIOs from the known-good Yocto firmware: 0/0/1. Ours were driving 1/0/0. The chip was fine.</description>
    </item>
    <item>
      <title>When the Modem Says &#39;Connected&#39;</title>
      <link>https://pdh0085.github.io/posts/when-the-modem-says-connected/</link>
      <pubDate>Fri, 18 Sep 2026 09:53:20 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/when-the-modem-says-connected/</guid>
      <description>The modem reported connected, and wwan0 had an IP address and a default route. Not a single packet went out. Two silent failure modes of an LTE modem on a 400 MHz single-core board, both with perfectly green status indicators, both only detectable by pushing real traffic.</description>
    </item>
    <item>
      <title>Dissecting a 190-Second Boot (and Disproving My Own Hypothesis)</title>
      <link>https://pdh0085.github.io/posts/dissecting-a-190-second-boot/</link>
      <pubDate>Wed, 16 Sep 2026 09:52:56 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/dissecting-a-190-second-boot/</guid>
      <description>The LTE572W takes about 190 seconds to reach init complete. Profiling showed usb-modeswitch eating 25 of them, and the modem&amp;rsquo;s power rail wired to the very end of boot. A code comment gave a &amp;lsquo;verified&amp;rsquo; reason why the modem couldn&amp;rsquo;t be powered earlier. The experiment said otherwise.</description>
    </item>
    <item>
      <title>Four Grades of &#39;It Works&#39;: measured, armed, inference, gap</title>
      <link>https://pdh0085.github.io/posts/four-grades-of-evidence/</link>
      <pubDate>Mon, 14 Sep 2026 13:33:13 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/four-grades-of-evidence/</guid>
      <description>The real value of an FWA device isn&amp;rsquo;t its spec sheet; it&amp;rsquo;s the fraction of incidents that end without a truck roll. So we built a table of truck-roll causes and their defenses, and graded every row measured, armed, inference, or gap. A zombie modem recovered unattended in 104 seconds. The table still has gap rows, and we wrote them down instead of erasing them.</description>
    </item>
    <item>
      <title>Code That Never Updates in the Field</title>
      <link>https://pdh0085.github.io/posts/code-that-never-updates-in-the-field/</link>
      <pubDate>Mon, 14 Sep 2026 13:21:50 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/code-that-never-updates-in-the-field/</guid>
      <description>Every boot on a fresh overlay, about 25 bytes of binary garbage hit the serial console around the 185-second mark. The culprit was ModemManager probing the console UART as if it were a modem. I wrote a filter and put it in uci-defaults, and it did nothing, for two separate reasons.</description>
    </item>
    <item>
      <title>Engineering Away the Truck Roll</title>
      <link>https://pdh0085.github.io/posts/engineering-away-the-truck-roll/</link>
      <pubDate>Fri, 11 Sep 2026 12:33:38 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/engineering-away-the-truck-roll/</guid>
      <description>We worked backwards from every situation that forces a field visit and built five guards into our 5G CPE. The hard part was never the fixing logic; it was the stopping conditions. A recovery feature that doesn&amp;rsquo;t know when to stop isn&amp;rsquo;t recovery, it&amp;rsquo;s a new outage.</description>
    </item>
    <item>
      <title>Two Recovery Paths That Were Silently Dead</title>
      <link>https://pdh0085.github.io/posts/silently-dead-recovery-paths/</link>
      <pubDate>Wed, 09 Sep 2026 08:11:06 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/silently-dead-recovery-paths/</guid>
      <description>&lt;code&gt;sysupgrade -n&lt;/code&gt; had never once wiped the configuration, and factory reset was broken twice, for two different reasons. Both reported success without doing anything. One died at a process boundary; the other because a volume abstraction confidently declared 256 KB of alignment padding to be rootfs_data.</description>
    </item>
    <item>
      <title>Honest Router Numbers</title>
      <link>https://pdh0085.github.io/posts/honest-router-numbers/</link>
      <pubDate>Mon, 07 Sep 2026 11:13:12 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/honest-router-numbers/</guid>
      <description>On our gateway, IPsec and WireGuard push almost the same throughput, but one uses 1.54 cores and the other 2.51. And our first IPsec &amp;lsquo;success&amp;rsquo; returned pings in 0.74 ms while the SA counters read zero bytes: the tunnel wasn&amp;rsquo;t encrypting anything. After that day, no number got recorded until a counter proved the traffic actually took the path.</description>
    </item>
    <item>
      <title>The Boot Escalation Ladder</title>
      <link>https://pdh0085.github.io/posts/boot-escalation-ladder/</link>
      <pubDate>Fri, 04 Sep 2026 09:15:11 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/boot-escalation-ladder/</guid>
      <description>Once the root filesystem became a file on eMMC, sysupgrade became the act of replacing that file. So what happens when the new root fails to boot? We built a five-rung fallback ladder driven by a single boot_state file, and validated it by literally pulling the 12V supply mid-sysupgrade. Result: 144 modules loaded, no brick. The rung that actually matters was found in review, not testing.</description>
    </item>
    <item>
      <title>From Sealed Box to In Service in 101 Seconds</title>
      <link>https://pdh0085.github.io/posts/zero-touch-in-101-seconds/</link>
      <pubDate>Wed, 02 Sep 2026 08:27:06 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/zero-touch-in-101-seconds/</guid>
      <description>A factory-fresh router found the carrier&amp;rsquo;s management server on its own, pulled its configuration, and was in service in 101.5 seconds, 100.9 of which were boot time. On the way to that number, we discovered a feature that our docs said we supported but that had never once executed.</description>
    </item>
    <item>
      <title>Getting the Root Filesystem Out of RAM</title>
      <link>https://pdh0085.github.io/posts/getting-the-rootfs-out-of-ram/</link>
      <pubDate>Fri, 28 Aug 2026 15:18:38 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/getting-the-rootfs-out-of-ram/</guid>
      <description>Firmware uploads through the web UI were dying with HTTP 502. The web server was innocent. The root filesystem was sitting in RAM, with about 70 MB of /rom pinned and unreclaimable, and zram didn&amp;rsquo;t help. The fix was moving the root onto a loop-mounted squashfs, and along the way admitting that an old claim of &amp;lsquo;~147 MB freed&amp;rsquo; had never been true.</description>
    </item>
    <item>
      <title>We Pulled the Plug Mid-Flash</title>
      <link>https://pdh0085.github.io/posts/closing-the-brick-window/</link>
      <pubDate>Wed, 26 Aug 2026 13:49:37 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/closing-the-brick-window/</guid>
      <description>If power fails mid-flash, the device is a brick. We had no room for A/B partitions: a second slot needs 226MB and the 1024MB of storage had none to spare. So we closed the window with the recovery partition that ships from the factory anyway, and then we actually pulled the plug to prove it. Back to a healthy boot in about 2 minutes 30 seconds, no human hands.</description>
    </item>
    <item>
      <title>Four Walls on the Way to First Boot</title>
      <link>https://pdh0085.github.io/posts/four-walls-to-first-boot/</link>
      <pubDate>Mon, 24 Aug 2026 10:31:59 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/four-walls-to-first-boot/</guid>
      <description>The kernel came up fine. There was just no console, no disk, and no ethernet. Four walls stood between our Quark X1000 board and a working OpenWrt first boot, and three of the symptoms turned out to converge on a single disabled kernel option: CONFIG_ACPI.</description>
    </item>
    <item>
      <title>One USB-C Port, Three Operating Systems</title>
      <link>https://pdh0085.github.io/posts/one-usb-c-three-operating-systems/</link>
      <pubDate>Mon, 24 Aug 2026 08:11:52 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/one-usb-c-three-operating-systems/</guid>
      <description>Our 5G CPE had to enumerate as a network device on Windows, macOS, and Linux, driver-free. ECM covered Mac and Linux, RNDIS covered Windows, and putting both in made the hardware refuse. This is the story of finding the one answer that satisfies all three, and of distrusting our own first benchmark: 900 Mbit/s that turned out to be a lie. The real numbers were 315/365 Mbit/s, the practical ceiling of USB 2.0.</description>
    </item>
    <item>
      <title>Building an i586 Toolchain in 2026</title>
      <link>https://pdh0085.github.io/posts/i586-toolchain-in-2026/</link>
      <pubDate>Fri, 21 Aug 2026 08:10:06 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/i586-toolchain-in-2026/</guid>
      <description>The Quark X1000 is an i586 with no MMX, no SSE, and an x87 FPU. The first OpenWrt toolchain build for it broke not in the compiler but in libc&amp;rsquo;s fabs(). The problem wasn&amp;rsquo;t a missing instruction; it was a wrong default. Verification meant scanning 285 build artifacts.</description>
    </item>
    <item>
      <title>We Stopped Trusting &#39;Verified by Design&#39;</title>
      <link>https://pdh0085.github.io/posts/ab-rollback-drills/</link>
      <pubDate>Wed, 19 Aug 2026 11:07:09 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/ab-rollback-drills/</guid>
      <description>The A/B rollback on our 5G FWA router had never actually fired in three years, and the docs graded it &amp;lsquo;verified by design.&amp;rsquo; So we broke the router two different ways on purpose. It came back on its own in 26.5 and 43.5 seconds, and along the way we found two places where our documentation was wrong.</description>
    </item>
    <item>
      <title>We Threw Away Firmware That Worked</title>
      <link>https://pdh0085.github.io/posts/why-we-left-yocto/</link>
      <pubDate>Wed, 19 Aug 2026 10:06:49 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/why-we-left-yocto/</guid>
      <description>The LTE572W runs on an Intel Quark X1000: a single 400 MHz core and 256 MB of RAM. Its shipping firmware was a Yocto image that worked fine. We replaced all of it with OpenWrt 25.12. This is why, and these are the three constraints that would go on to shape everything that followed.</description>
    </item>
    <item>
      <title>It Was Never the Hardware</title>
      <link>https://pdh0085.github.io/posts/it-was-never-the-hardware/</link>
      <pubDate>Mon, 17 Aug 2026 09:51:00 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/it-was-never-the-hardware/</guid>
      <description>A 5G CPE in the field reported zero GPS satellites. Every value we could read matched a healthy unit, so the case was closed as a hardware fault. The problem was the values we couldn&amp;rsquo;t read: one AT command later, the &amp;lsquo;dead&amp;rsquo; board was tracking 22 satellites.</description>
    </item>
    <item>
      <title>The Port Forwarding Bug That Wasn&#39;t: A Silent MTU Failure on an LTE Link</title>
      <link>https://pdh0085.github.io/posts/lte-port-forwarding-silent-mtu-failure/</link>
      <pubDate>Sun, 16 Aug 2026 16:20:00 +0900</pubDate>
      <guid>https://pdh0085.github.io/posts/lte-port-forwarding-silent-mtu-failure/</guid>
      <description>External access to an IP camera behind our LTE router kept dying while the router&amp;rsquo;s own web UI worked fine from outside. The port forwarding rules were innocent: large TCP segments were coming off the LTE link damaged, and forcing the WAN MTU down to 1400 made the whole thing work.</description>
    </item>
  </channel>
</rss>
