[OpenWrt-Devel] [lantiq] help in supporting FRITZ!BOX 3272 (Fritz_Box_HW198))
Bjørn Mork
bjorn at mork.no
Wed Aug 28 12:52:38 EDT 2019
Enrico Mioso <mrkiko.rs at gmail.com> writes:
> I am still trying to port a FRITZ!BOX3272 device to OpenWRt.
> I tried to grab as much informations as I could, but I am arriving to the conclusion I hould be doing something really wrong.
>
> First of all, the kernel panics due to a data abort at
> linux-4.19.66/arch/mips/lantiq/xway/sysctrl.c, line 478
> /* make sure to unprotect the memory region where flash is located */
> ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0);
..
> [SYSTEM:] AR10 on 500MHz/250MHz/250MHz
>
> ..
> Eva_AVM >
>
>
>
>
>
>
>
> ......................................................................................[ 0.000000] Linux version 4.19.66 (mrkiko at mStation) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10863-e1dcfe02b2)) #0 SMP Mon Aug 26 16:21:13 2019
> [ 0.000000] SoC: xRX300 rev 1.2
Right, so this is AR10/xRX300. Been there, trying to get a D-Link
DWR-956 running, and gave up without getting the T-Shirt ;-)
I believe the problem you are hitting right now is caused by wrong
address for the EBU. It is not at 0x1E105300 like for the VR9 etc, but
at 0x16000000 on the AR10.
So change this:
ebu0: ebu at e105300 {
compatible = "lantiq,ebu-xway";
reg = <0xe105300 0x100>;
};
into
ebu0: ebu at 6000000 {
compatible = "lantiq,ebu-xway";
reg = <0x6000000 0x100>;
};
I was stuck the same place for quite some time....
I pushed my abandoned DWR-956 branch here now:
https://github.com/bmork/OpenWrt/tree/dwr-956-wip
in case it is of any use to you.
Note that this branch is a terrible mess of Work-in-Progress, meant for
my eyes only. And even I can't make much sense out of it anymore. So
you might be better off just ignoring it. Your call.
Bjørn
_______________________________________________
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