<?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>Porting &amp; Bring-up on Embedded Field Notes</title>
    <link>https://pdh0085.github.io/categories/porting/</link>
    <description>Recent content in Porting &amp; Bring-up on Embedded Field Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 29 Oct 2026 09:44:43 +0900</lastBuildDate>
    <atom:link href="https://pdh0085.github.io/categories/porting/index.xml" rel="self" type="application/rss+xml" />
    <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>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>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>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>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>
