Skip to content
Contents
GuidesOpenWrt

Which OpenWrt x86 image fits your CPU: 64, generic, legacy or geode?

Filter layer by layer from CPU instructions, official sub-target directories, and boot methods, then use release.target, storage, and manage port acceptance.

The old industrial controller can boot 32-bit Linux, but it's not yet clear which OpenWrt image to use. First, check which instructions the CPU can execute, then select the boot method. On the download page, two names may be easily confused: the x86/generic in the directory is a subtarget, while the generic in the file name within the x86/64 directory is a device configuration name.

On the machine preparing for system installation, check the CPU

Boot from an existing Linux or rescue USB drive. When running in a virtual machine, observe it within the guest OS; instructions supported by the host are not necessarily passed through to the guest.

uname -m
grep -m1 -E '^(model name|Hardware)' /proc/cpuinfo
grep -m1 '^flags' /proc/cpuinfo

uname -m shows the current kernel architecture. If it displays i686, but the flags include the independent lm, the CPU still supports 64-bit long mode. For conventional 64-bit PCs, check for x86/64. For 32-bit machines, the generic target definition requires Pentium 4-level instructions, including MMX, SSE, and SSE2. Older AMD Geode GX/LX boards must be checked for geode. Other older x86 boards also require verification against legacy board types and drivers; "32-bit" alone is insufficient to confirm bootability.

Select boot mode again, and keep the original disk intact

The official directory for version 25.12.6 lists the aforementioned four sub-targets. After selecting the sub-targets, separately verify the BIOS or UEFI, storage controller, and management network port. Boot using a backup medium or a virtual machine with the same CPU configuration, keeping it separate from the original disk. From the console, execute ubus call system board, record the release.target, and confirm that management is accessible via the expected network port. If the kernel boots but the network port is missing, first check the driver; if the bootloader does not appear at all, first verify the boot mode. Exit the test and restore the original boot order.

Reference

Related guide · Use OpenWrt's Table of Hardware to match your revision to the right image

Explore hardware

Comments