Sat Dec 15 10:22:11 EST 2012

debian vs. openwrt

Maybe I should just go with the flow..  The main trouble I'm having is
the need of reinstalling the image every time there is a recompile, so
it might be that simply using extroot[1] is already enough.

Actually, the main problem is that I'm running a patched kernel.  It
would be nice to be able to download packages from a precompiled
repo..  The target is brcm4716 which doesn't exist on openwrt.org, but
maybe brcm47xx is good enough?  Doesn't work: opkg complains: "has no
valid architecture".

What about splitting the build into two parts: one for kernel / system
utilities (e.g. robocfg) and one for userspace?

This will do it[4]:

arch all 100
arch brcm4716 200
arch brcm47xx 300

Now to find a way to upgrade kernel without loosing configuration.
This[5] is not what I'm looking for.  Best is probably to figure out
how to use the overlay.  Maybe this can be used to mount Debian too?

[1] http://wiki.openwrt.org/doc/howto/extroot
[2] http://wiki.openwrt.org/doc/howto/extroot/extroot.theory
[3] http://downloads.openwrt.org/snapshots/trunk/brcm47xx/
[4] http://wiki.openwrt.org/doc/techref/opkg
[5] http://stackoverflow.com/questions/9290360/how-to-upgrade-openwrt-without-losing-the-configuration