Some additional tweaks to reduce kernel-size and make this boards running more stable.
A smaller binary will use less flash and also less RAM after uncompressing. Less features in the kernel will also free up RAM at runtime.
As some kernel options are not exposed to OpenWrt config, they are changed in the targets configfile directly.
saves around 97k of compressed kernel-size; 384K at runtime
runtime before: Memory: 26920K/32768K available (3542K kernel code, 142K rwdata, 412K rodata, 1208K init, 186K bss, 5848K reserved, 0K cma-reserved)
runtime after: Memory: 27304K/32768K available (3286K kernel code, 128K rwdata, 368K rodata, 1200K init, 121K bss, 5464K reserved, 0K cma-reserved)
Some additional tweaks to reduce kernel-size and make this boards running more stable. A smaller binary will use less flash and also less RAM after uncompressing. Less features in the kernel will also free up RAM at runtime.
As some kernel options are not exposed to OpenWrt config, they are changed in the targets configfile directly.
saves around 97k of compressed kernel-size; 384K at runtime runtime before: Memory: 26920K/32768K available (3542K kernel code, 142K rwdata, 412K rodata, 1208K init, 186K bss, 5848K reserved, 0K cma-reserved) runtime after: Memory: 27304K/32768K available (3286K kernel code, 128K rwdata, 368K rodata, 1200K init, 121K bss, 5464K reserved, 0K cma-reserved)