Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-28 Thread Torsten Duwe
On Tue, 25 Oct 2022 00:24:49 +0200
Hauke Mehrtens  wrote:

> On 10/23/22 13:19, Torsten Duwe wrote:

> > Changes from v1:
> > 
> > 
> > * return to squashfs for the rootfs; ubifs causes too much
> > complexity esp. for updates, when even the same model can be
> > equipped with varying flash chip geometries. UBI partitioning and
> > volumes are kept though.
> 
> Hi,
> 
> How is this related to the pull request adding support for these
> devices on github?
> https://github.com/openwrt/openwrt/pull/5075
> 
> The pull request on github looks mostly ok to me, I just had some
> minor questions.

There's 2 major differences: most importantly, I ignore the secondary
system for the WiFi, which I do not need. And secondly, see above, I
returned the build to squashfs, which eliminates the need to look at
the actual flash geometry (the -micron.dts variants in Daniel's
version).

Daniel goes for the 100% solution, including WiFi. My patch set is thus
smaller, and IMHO suited for 22.03, whereas Daniel correctly targets
master. Maybe we can at least unify the device tree source.

Torsten




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: AW: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-26 Thread Hauke Mehrtens

Hi,

I am also fine if the user has to use image builder. This board is a bit 
special.
Maybe we should allow board specific initram fs root file systems in the 
future. This would also help in other cases where the user has to bot an 
initramfs system for initial flashing. We can do this later.


Hauke

On 10/25/22 08:50, kestrel1...@t-online.de wrote:

Hi,

I can understand that it took a long time. The wasp loader kernel module v5 is 
the next in the review list of the remoteproc-linux kernel list.
I will try to deal with Haukes suggestions by the end of the week. With regards 
to the packages, I think wpad is a left over from my tests and I can remove it 
and I will rework the kernel patches.
But for the special packages that are not honored by the build bots, I do not 
really have a solution. For now I was thinking of instructions to use the image 
builder, which also means, that as a start there will not be any downloadable 
images that cover all possible functionality.

Daniel.


-Original-Nachricht-
Betreff: Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes
Datum: 2022-10-25T00:24:57+0200
Von: "Hauke Mehrtens" 
An: "Torsten Duwe" , "openwrt-devel@lists.openwrt.org" 


On 10/23/22 13:19, Torsten Duwe wrote:

Hi all,

Here is my second attempt for initial FritzBox x490 support. 22.03 now
has all the necessary prerequisites, so support can be added according
to the rules.

The original code snippets were submitted by John Crispin (IIRC),
Andreas Böhler and Daniel Kestrel. I carved out the changes I
considered necessary, integrated and tested them and cleaned them up
(hopefully ;)

These are the minimal changes required to run the FB {3,7}490 as DSL
router (tested!). The 5490 is reported to be similar, so I included
it, but could not test it due to lack of hardware.

The wireless on these boxes is offloaded to a secondary SoC which
needs to be provided its own OS. This feature is explicitly left out
here in order to go step by step. I kept some loose ends where they
don't hurt, for future reference.

Changes from v1:


* return to squashfs for the rootfs; ubifs causes too much complexity
esp. for updates, when even the same model can be equipped with
varying flash chip geometries. UBI partitioning and volumes are kept
though.


Hi,

How is this related to the pull request adding support for these devices
on github?
https://github.com/openwrt/openwrt/pull/5075

The pull request on github looks mostly ok to me, I just had some minor
questions.

Hauke





___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


AW: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-24 Thread kestrel1...@t-online.de
Hi,

I can understand that it took a long time. The wasp loader kernel module v5 is 
the next in the review list of the remoteproc-linux kernel list.
I will try to deal with Haukes suggestions by the end of the week. With regards 
to the packages, I think wpad is a left over from my tests and I can remove it 
and I will rework the kernel patches.
But for the special packages that are not honored by the build bots, I do not 
really have a solution. For now I was thinking of instructions to use the image 
builder, which also means, that as a start there will not be any downloadable 
images that cover all possible functionality.

Daniel.


-Original-Nachricht-
Betreff: Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes
Datum: 2022-10-25T00:24:57+0200
Von: "Hauke Mehrtens" 
An: "Torsten Duwe" , "openwrt-devel@lists.openwrt.org" 


On 10/23/22 13:19, Torsten Duwe wrote:
> Hi all,
> 
> Here is my second attempt for initial FritzBox x490 support. 22.03 now
> has all the necessary prerequisites, so support can be added according
> to the rules.
> 
> The original code snippets were submitted by John Crispin (IIRC),
> Andreas Böhler and Daniel Kestrel. I carved out the changes I
> considered necessary, integrated and tested them and cleaned them up
> (hopefully ;)
> 
> These are the minimal changes required to run the FB {3,7}490 as DSL
> router (tested!). The 5490 is reported to be similar, so I included
> it, but could not test it due to lack of hardware.
> 
> The wireless on these boxes is offloaded to a secondary SoC which
> needs to be provided its own OS. This feature is explicitly left out
> here in order to go step by step. I kept some loose ends where they
> don't hurt, for future reference.
> 
> Changes from v1:
> 
> 
> * return to squashfs for the rootfs; ubifs causes too much complexity
>esp. for updates, when even the same model can be equipped with
>varying flash chip geometries. UBI partitioning and volumes are kept
>though.

Hi,

How is this related to the pull request adding support for these devices 
on github?
https://github.com/openwrt/openwrt/pull/5075

The pull request on github looks mostly ok to me, I just had some minor 
questions.

Hauke



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-24 Thread Hauke Mehrtens

On 10/23/22 13:19, Torsten Duwe wrote:

Hi all,

Here is my second attempt for initial FritzBox x490 support. 22.03 now
has all the necessary prerequisites, so support can be added according
to the rules.

The original code snippets were submitted by John Crispin (IIRC),
Andreas Böhler and Daniel Kestrel. I carved out the changes I
considered necessary, integrated and tested them and cleaned them up
(hopefully ;)

These are the minimal changes required to run the FB {3,7}490 as DSL
router (tested!). The 5490 is reported to be similar, so I included
it, but could not test it due to lack of hardware.

The wireless on these boxes is offloaded to a secondary SoC which
needs to be provided its own OS. This feature is explicitly left out
here in order to go step by step. I kept some loose ends where they
don't hurt, for future reference.

Changes from v1:


* return to squashfs for the rootfs; ubifs causes too much complexity
   esp. for updates, when even the same model can be equipped with
   varying flash chip geometries. UBI partitioning and volumes are kept
   though.


Hi,

How is this related to the pull request adding support for these devices 
on github?

https://github.com/openwrt/openwrt/pull/5075

The pull request on github looks mostly ok to me, I just had some minor 
questions.


Hauke


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-23 Thread Torsten Duwe
git neatly preserved all the time stamps :(

patchwork however got the series:
https://patchwork.ozlabs.org/project/openwrt/list/?series=324150

Sorry for the confusion.

Torsten

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-23 Thread Torsten Duwe
Hi all,

Here is my second attempt for initial FritzBox x490 support. 22.03 now
has all the necessary prerequisites, so support can be added according
to the rules.

The original code snippets were submitted by John Crispin (IIRC),
Andreas Böhler and Daniel Kestrel. I carved out the changes I
considered necessary, integrated and tested them and cleaned them up
(hopefully ;)

These are the minimal changes required to run the FB {3,7}490 as DSL
router (tested!). The 5490 is reported to be similar, so I included
it, but could not test it due to lack of hardware.

The wireless on these boxes is offloaded to a secondary SoC which
needs to be provided its own OS. This feature is explicitly left out
here in order to go step by step. I kept some loose ends where they
don't hurt, for future reference.

Changes from v1:


* return to squashfs for the rootfs; ubifs causes too much complexity
  esp. for updates, when even the same model can be equipped with
  varying flash chip geometries. UBI partitioning and volumes are kept
  though.


Torsten Duwe (7):
  lantiq: fix endianess for PCIe slave XBAR
  lantiq: add common device tree template for x490 Fritzboxes
  lantiq: add DTS for Fritzbox 3490
  lantiq: add DTS for Fritzbox 5490
  lantiq: add DTS for Fritzbox 7490
  lantiq: add image handling for x490 Fritzboxes
  lantiq: add renesas USB3 support

 package/kernel/linux/modules/usb.mk   |   1 +
 target/linux/lantiq/config-5.10   |   2 +
 .../boot/dts/lantiq/vr9_avm_fritz3490.dts |  58 +
 .../boot/dts/lantiq/vr9_avm_fritz5490.dts |  98 +++
 .../boot/dts/lantiq/vr9_avm_fritz7490.dts |  61 +
 .../boot/dts/lantiq/vr9_avm_fritzx490.dtsi| 240 ++
 target/linux/lantiq/image/vr9.mk  |  30 +++
 ...q-ifxmips_pcie-fix-slave-XBAR-endian.patch |  45 
 .../xrx200/base-files/etc/board.d/01_leds |   3 +-
 .../xrx200/base-files/etc/board.d/02_network  |  10 +-
 .../xrx200/base-files/lib/upgrade/platform.sh |   3 +
 11 files changed, 549 insertions(+), 2 deletions(-)
 create mode 100644 
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts
 create mode 100644 
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz5490.dts
 create mode 100644 
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts
 create mode 100644 
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritzx490.dtsi
 create mode 100644 
target/linux/lantiq/patches-5.10/0156-lantiq-ifxmips_pcie-fix-slave-XBAR-endian.patch

-- 
2.35.3


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel