[OpenWrt-Devel] ar71xx Vs ath79 -- sysupgrade

Tom Psyborg pozega.tomislav at gmail.com
Sun Dec 23 17:45:42 EST 2018


On 04/12/2018, Henrique de Moraes Holschuh <henrique at nic.br> wrote:
>
>
> Em 03/12/2018 21:32, David Bauer escreveu:
>> Hello Henrique,
>>
>> On 03.12.18 19:04, Henrique de Moraes Holschuh wrote:
>>> Is there a viable way to "sysupgrade" from ar71xx to ath79?
>
>> First things first - sysupgrade is possible (be it with -F option).
>>
>> The wmac path however changed, it has to be adjusted from "qca95xx_wmac"
>> to "platform/ahb/ahb:apb/18100000.wmac".
>
> Yeah, this is troublesome, but at least it can be automated...
>
>> Another aspect was the LED configuration, as LED naming is very
>> inconsistent and often differs from ar71xx. Some LEDs are now not
>> included in UCI configuration. >
>> So you either need to delete (and recreate) them ore just dump your
>> '/etc/config/system' and recreate it using "config_generate".
>
> Is it possible to have uci-defaults/ to fix those on upgrade (i.e. when
> it detects ar71xx-style traces in the system)?  As well as the wmac path?
>
> Because a _lot_ of people will need to do ar71xx->ath79.
>
> Of course, it could be config-based, so that those who don't need it,
> don't waste any FLASH/RAM.
>
>> For anyone interested, there is a downstream issue at the Gluon project
>> regarding this topic. [1]
>>
>> [1] https://github.com/freifunk-gluon/gluon/issues/1570
>
> Thanks
>
> --
> Henrique de Moraes Holschuh
> Analista de Projetos
> Centro de Estudos e Pesquisas em Tecnologias de Redes e Operações
> (Ceptro.br)
> +55 11 5509-3537 R.:4023
> INOC 22548*625
> www.nic.br
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>

Hi
AFAIR, OpenWrt always recommends reseting configuration on major
upgrades. Otherwise you easily run into config bugs especially on
complex setups.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list