<?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>LTE572W: From Yocto to OpenWrt on Embedded Field Notes</title>
    <link>https://pdh0085.github.io/series/lte572w-yocto-to-openwrt/</link>
    <description>Recent content in LTE572W: From Yocto to OpenWrt on Embedded Field Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Sep 2026 10:17:29 +0900</lastBuildDate>
    <atom:link href="https://pdh0085.github.io/series/lte572w-yocto-to-openwrt/index.xml" rel="self" type="application/rss+xml" />
    <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>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>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>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>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>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>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 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>
  </channel>
</rss>
