[OpenWrt-Devel] [PATCH] lantiq: add support for Fritz!Box 7360v2

Rafał Miłecki zajec5 at gmail.com
Sat Nov 24 04:18:05 EST 2018


On Tue, 20 Nov 2018 at 18:06, Reinhard Max <reinhard at m4x.de> wrote:
> This patch adds support for Fritz!Box 7360 v2 (pollin.de currently
> sells these as refurbished). It has 32 MiB of flash compared to the
> 16 MiB of v1 and SL.
>
> Signed-off-by: Reinhard Max <reinhard at m4x.de>
> Reviewed-by: Torsten Duwe <duwe at lst.de>

Could you provide a part of boot log from this device that includes
mtd messages, please? I'm interested in seeing all those messages
including & around
"Creating n MTD partitions"


> diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360v2.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360v2.dts
> new file mode 100644
> index 0000000000..549b0caa93
> --- /dev/null
> +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360v2.dts
> @@ -0,0 +1,51 @@
> +/dts-v1/;
> +
> +#include "FRITZ7360.dtsi"
> +
> +/ {
> +       compatible = "avm,fritz7360v2", "avm,fritz7360", "lantiq,xway", "lantiq,vr9";
> +       model = "AVM Fritz!Box Fon WLAN 7360 Rev. 2";
> +};
> +
> +&localbus {
> +       nor at 0 {
> +               compatible = "lantiq,nor";
> +               bank-width = <2>;
> +               reg = <0 0x0 0x2000000>;
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +
> +               partitions {
> +                       compatible = "fixed-partitions";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       urlader: partition at 0 {
> +                               label = "urlader";
> +                               reg = <0x00000 0x20000>;
> +                               read-only;
> +                       };
> +
> +                       partition at 20000 {
> +                               label = "firmware";
> +                               reg = <0x20000 0x1e60000>;
> +                       };
> +
> +                       partition at 1e80000 {
> +                               label = "jffs2";
> +                               reg = <0x1e80000 0x100000>;
> +                       };
> +
> +                       partition at 1f80000 {
> +                               label = "tffs (1)";
> +                               reg = <0x1f80000 0x40000>;
> +                               read-only;
> +                       };
> +
> +                       partition at 1fc0000 {
> +                               label = "tffs (2)";
> +                               reg = <0x1fc0000 0x40000>;
> +                               read-only;
> +                       };
> +               };
> +       };
> +};

This file (FRITZ7360v2.dts) seems to be a new one, created by you.
Could you specify its license using a proper SPDX header? GPL 2.0 +
MIT would be perfect if you're OK with it. Something like:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

You can check target/linux/ath79/dts/* files for a reference

_______________________________________________
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