Skip to content
Contents
GuidesOpenWrt

WS-AP3825i fails to boot an OpenWrt image built with GCC 15

After compiling a custom firmware with an upgraded GCC, the system fails to boot. To ensure boot differences are attributable solely to the compiler, the two builds must differ only in the compiler used.

Applies to · WS-AP3825i · mpc85xx/p1020 · GCC 15 · SNAPSHOT

What to check

Save source code revisions that successfully boot and fail to boot, target configurations, GCC versions, and the first serial log.

How to interpret the result

Align target, source code commit, kernel configuration, and toolchain version. Compare existing serial output. When build conditions differ, first establish a comparable baseline. When conditions match but anomalies appear only with a new toolchain, retain the old image as the boot and recovery baseline.

Verify and recover

Verify complete startup and network management using a supported temporary boot path or spare device. Keep the known-working image.

Related guide · Choose serial logs or TFTP when an OpenWrt router cannot boot

Explore hardware

Devices mentioned

Comments