[RFC PATCH v2 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-27 Thread Rafaël Carré
TODO: the spi-mt7621 patches will break support for other targets Signed-off-by: Rafaël Carré --- Changes since v1: - Change sysc address, this seems to make resetting devices possible - Remove watchdog driver as it is buggy and maybe not needed? - Use pci-rt3883.c rather than vendor's pci.c

[RFC PATCH v2 1/3] ramips: add support for the RT6855A SoC

2020-12-27 Thread Rafaël Carré
Add Linksys WAP300N target Signed-off-by: Rafaël Carré --- Changes since v1: - Use OpenWrt .dts (CONFIG_MIPS_RAW_APPENDED_DTB) - clean up rt6855a.mk - add case/esac in /etc/board.d/* - tidy up config-5.4 target/linux/ramips/Makefile | 2 +-

[RFC PATCH v2 2/3] ramips: add RT6855A support to ethernet driver

2020-12-27 Thread Rafaël Carré
Signed-off-by: Rafaël Carré --- Changes since v1: - Extend soc_rt3050.c rather than adding a new file - Use .compatible rather than #ifdef in esw_rt3050.c .../files/drivers/net/ethernet/ralink/Kconfig | 2 +- .../drivers/net/ethernet/ralink/esw_rt3050.c | 61 ---

[RFC PATCH v2] RT6855A / Linksys WAP300N support

2020-12-27 Thread Rafaël Carré
Hello, Here is a v2 of the patchset, I worked a bit on PCI, and tried to answer most if not all feedback from Chuanhong Guo. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

RE: [PATCH] scripts/feed: no warn on toolchain/linux overwrite

2020-12-27 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Paul Spooren > Sent: Sonntag, 27. Dezember 2020 22:31 > To: openwrt-devel@lists.openwrt.org > Cc: Paul Spooren ; ~aparcar/openwrt-de...@lists.sr.ht > Subject: [PATCH] scripts/feed: no

Re: [PATCH] glibc: add arc700 patch

2020-12-27 Thread Rosen Penev
On Sat, Dec 26, 2020 at 11:50 AM Hans Dedecker wrote: > > Hi, > > On Fri, Dec 25, 2020 at 1:37 AM Rosen Penev wrote: > > > > glibc does not officially support ARC700 so this adds the missing > > pieces. I looked at uClibc-ng and a patch by Synopsis for glibc. > > > > ran make

Re: [RFC PATCH 1/2] base-files: sysupgrade: add function for conffiles retrieval

2020-12-27 Thread Paul Spooren
On Fr, Jul 10, 2020 at 12:47, Adrian Schmutzler wrote: The find command to retrieve files from /etc/sysupgrade.conf and /lib/upgrade/keep.d/* is used twice in almost similar way. Move it into a function to consolidate, enhance readability and make future adjustments easier. Signed-off-by:

Re: [RFC PATCH 2/2] base-files: sysupgrade: fine-tune preserved files during upgrade

2020-12-27 Thread Paul Spooren
On Fr, Jul 10, 2020 at 12:47, Adrian Schmutzler wrote: For some downstream projects it is desirable not to keep the whole set of configuration files, but to have most of them reset during upgrade (and reconfigured afterwards) and just keep a small subset in /etc/sysupgrade.conf. With this

[PATCH] scripts/feed: no warn on toolchain/linux overwrite

2020-12-27 Thread Paul Spooren
The recent 7f285d "scripts/feeds: warn when skipping core package override" floats SDK output with warning of overwriting "linux" and "toolchain" core packages. This should be ignored as these are not regular packages added via feeds. While at it slightly improve the warning string.

[no subject]

2020-12-27 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Branch: refs/heads/master

ipsec broken

2020-12-27 Thread Mao Mei
It seems that ipsec has been broken for a long time. see https://forum.openwrt.org/t/ipsec-has-been-broken-for-a-while/81120 log on mt7621: 12[CFG] selected proposal: ESP:AES_CBC_128/HMAC_SHA1_96/NO_EXT_SEQ 12[KNL] got SPI cecfbd68 12[KNL] adding SAD entry with SPI cecfbd68 and reqid {1} 12[KNL]

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-27 Thread Chuanhong Guo
Hi! On Sun, Dec 27, 2020 at 8:49 PM Rafaël Carré wrote: > Thanks for the explanation. > > I had a look at the datasheet, also at the commits log of spi-mt7621.c. > This also explains why I had to use dd bs=32 to get correct MTD reads. > > I am still a bit confused by the difference between

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-27 Thread Rafaël Carré
Hi, On 12/24/20 03:39, Chuanhong Guo wrote: On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: diff --git a/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch b/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch new file mode 100644 index

Backport device support for Cudy WR 1300 to 19.07

2020-12-27 Thread Sascha Effert
Hi, on https://forum.openwrt.org/t/cudy-wr1300-support/67593/150 some persons implemented support for The Cudy WR 1300 devices into openwrt 19.07. I would like to get this into the official releases and created a pull request: https://github.com/openwrt/openwrt/pull/3725 I know, adding new