On Wed, 2020-09-02 at 02:14 +0300, Stijn Tintel wrote:
> And since we are using mac80211 5.8, let's also switch the ath10k-ct
> driver to the new 5.8 version.
>
> Signed-off-by: Stijn Tintel
Built and run-tested on ath79 (TP-Link EAP245 v3: qca9563+qca9982)
Tested-by: San
Hi Adrian,
On Sun, 2020-08-30 at 22:43 +0200, Adrian Schmutzler wrote:
> Hi,
>
> while increasing the kernel partition for the TP-Link CPE devices, I
> found that the partitions called "soft-version" and "support-list"
> are handled as a part of the file-system/firmware partition, in
> contrast
[Sander Vanheule:
Minor code style fixes,
Remove hunk adding qca956x-serdes-fixup to a missing DTS,
Remove variable err that was only assigned,
Rename function to sgmii_serdes_init,
Lower priority of serdes call message to pr_debug]
Signed-off-by: Sander Vanheule
---
.../net
quot; are based on that work.
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap245-v1.dts| 44 +++
.../generic/base-files/etc/board.d/02_network | 1 +
.../etc/hotplug.d/firmware/11-ath10k-caldata | 11 ++---
target/linux/ath79/image/generic-tp-link.mk | 11 +++
with hwaddr b0:...:3e and ssid "..."
Using interface ath10 with hwaddr b0:...:3f and ssid "..."
Tested by forum user blinkstar88
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap225-v3.dts| 30 +++
.../generic/base-files/etc/boa
D8:...:2E
Tested by forum user PolynomialDivision on firmware v1.7.0.
UART access tested by forum user arinc9.
Signed-off-by: Sander Vanheule
---
.../dts/qca9563_tplink_eap225-outdoor-v1.dts | 30 +++
.../generic/base-files/etc/board.d/02_network | 1 +
.../etc/hotplug.d/firmw
on PCIe
* Ethernet: AR8033-AL1A, one 1GbE port (802.3at PoE)
Signed-off-by: Sander Vanheule
---
.../dts/qca9563_tplink_eap2x5-1port.dtsi | 135 ++
1 file changed, 135 insertions(+)
create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi
diff --git
on-tp-link-eap225/33956/105
Julien Dusser (1):
ath79: add QCA956x SERDES init workaround
Sander Vanheule (5):
ath79: ensure QCA956x gmac0 mux selects sgmii
ath79: prepare for 1-port TP-Link EAP2x5 devices
ath79: support for TP-Link EAP245 v1
ath79: support for TP-Link EAP225-Outdoor
Some bootloaders do not set up gmac0 properly, leaving it disconnected
from the sgmii interface. If the user specificies phy-mode sgmii, then
use the gmac-config/device node to ensure the mux is configured
correctly.
Signed-off-by: Sander Vanheule
---
.../net/ethernet/atheros/ag71xx
On Mon, 2020-08-17 at 21:19 +0200, Nick wrote:
> Logs AVM Fritz!Box:
> -
> https://gist.github.com/PolynomialDivision/96bfd98d723f288c617fd96f8ff04c22
>
> I think many more devices are affected. Keep an eye out for jffs2
> errors.
>
> We believe that the mx25l12835f (16-pin package) chip is
be
aligned to an erase-block after the loader and kernel image.
In case section header table is empty, determine the elf loader size by
finding the end of the last segment, as defined by the program header
table.
Signed-off-by: Sander Vanheule
---
This patch was tested on a number of ath79 devices
-netgear.mk does it.
Signed-off-by: Sander Vanheule
---
target/linux/rtl838x/image/Makefile | 24 ++--
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/target/linux/rtl838x/image/Makefile
b/target/linux/rtl838x/image/Makefile
index eef1fe0a33..0174e47449 100644
Hi Adrian,
On Tue, 2020-09-29 at 19:44 +0200, Adrian Schmutzler wrote:
> > -define Build/custom-uimage
> > - mkimage -A $(LINUX_KARCH) \
> > - -O linux -T kernel \
> > - -C gzip -a $(KERNEL_LOADADDR) $(if $(UIMAGE_MAGIC),-M
> > $(UIMAGE_MAGIC),) \
> > - -e $(if
> >
on the new tplink-safeloader-elf base device.
Signed-off-by: Sander Vanheule
---
I've build tested this patch for all affected devices, but I cannot test
these new images on the CPE/WBS devices as I do not have these. Any
volunteer willing to test this patch on their device would be welcome to
do so
Hi David,
On Sat, 2020-07-18 at 21:45 +0200, David Bauer wrote:
> > + gmac-config {
> > + device = <>;
> > +
> > + rgmii-ge0 = <1>;
> > + ge0-sgmii = <1>;
> > + rxdv-delay = <3>;
> > + rxd-delay = <3>;
>
> This does not make a lot of sense to
Hi Adrian,
On Sun, 2020-07-19 at 23:24 +0200, Sander Vanheule wrote:
> TP-Link EAP245 v1 is an AC1750 (802.11ac Wave-1) ceiling mount access
> point.
>
> Device specifications:
> * SoC: QCA9563 @ 775MHz
> * RAM: 128MiB DDR2
> * Flash: 16MiB SPI-NOR
> * Wireless
By using localtime() to determine the timestamp that goes into factory
images, the resulting image depends on the timezone of the build system.
Use gmtime() instead, which results in more reproducible images.
Signed-off-by: Sander Vanheule
---
Tested by building factory images with tplink
By using localtime() to determine the timestamp that goes into factory
images, the resulting image depends on the timezone of the build system.
Use gmtime() instead, which results in more reproducible images.
Signed-off-by: Sander Vanheule
---
tools/firmware-utils/Makefile| 2
Hi Paul,
Following our brief discussion on IRC, here are my remarks again, so
others can also comment on them. I'm still pretty new to this packaging
stuff, so some arguments may already have been made in the past.
On Fri, 2020-08-07 at 12:32 -1000, Paul Spooren wrote:
> Hi team,
>
> currently
at some
offset behind the loader (OKLI-style loader), the rootfs must be
aligned to an erase-block after the loader and kernel image.
Some improvements were suggested by Julien Dusser.
Signed-off-by: Sander Vanheule
---
.../files/drivers/mtd/mtdsplit/Kconfig| 5 +
.../files/drivers/mtd
with squashfs rootfs).
Sander Vanheule (1):
kernel: mtdsplit: support ELF loader splitting
.../files/drivers/mtd/mtdsplit/Kconfig| 5 +
.../files/drivers/mtd/mtdsplit/Makefile | 1 +
.../files/drivers/mtd/mtdsplit/mtdsplit_elf.c | 216 ++
3 files changed, 222
with squashfs root).
Changes since v1:
- Fix whitespace issues
- Rename elf_header.class* to elf_header.elf*
- Use stack for elf header instead of vmalloc
mtdsplit_tplink uses a much larger header on the stack, so using
vmalloc doesn't seem justified.
Sander Vanheule (1):
kernel
be
aligned to an erase-block after the loader and kernel image.
Includes some suggestions by Julien Dusser.
Signed-off-by: Sander Vanheule
Tested-by: Julien Dusser
---
.../files/drivers/mtd/mtdsplit/Kconfig| 5 +
.../files/drivers/mtd/mtdsplit/Makefile | 1 +
.../files
* Ethernet: AR8033-AL1A, one 1GbE port (802.3at PoE)
This patch was originally developed by Julien Dusser for the EAP245 v1,
and was adapted by Sander Vanheule to support more devices.
Signed-off-by: Julien Dusser
Signed-off-by: Sander Vanheule
---
.../dts/qca9563_tplink_eap2x5_1port.dtsi | 174
ath79: add QCA956x SERDES init workaround
Sander Vanheule (4):
ath79: prepare for 1-port TP-Link EAP2x5 devices
ath79: support for TP-Link EAP245 v1
ath79: support for TP-Link EAP225-Outdoor v1
ath79: support for TP-Link EAP225 v3
.../ath79/dts/qca9563_tplink_eap225-v3.dts| 21
ted by forum user PolynomialDivision on firmware v1.7.0.
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap225od-v1.dts | 21 ++
.../generic/base-files/etc/board.d/02_network | 1 +
.../etc/hotplug.d/firmware/11-ath10k-caldata | 6
target/linux/ath79/image/generic
-by: Sander Vanheule
---
.../920-qca956x-add-more-registers.patch | 186 ++
.../920-qca956x-add-more-registers.patch | 186 ++
2 files changed, 372 insertions(+)
create mode 100644
target/linux/ath79/patches-4.19/920-qca956x-add-more-registers.patch
address incremented by 1.
From OEM boot log:
Using interface ath0 with hwaddr b0:...:3e and ssid "..."
Using interface ath10 with hwaddr b0:...:3f and ssid "..."
Tested by forum user blinkstar88
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_e
Allow configuration of rgmii-ge0, mii-ge0, gmii-ge0, mii-ge0-master,
mii-ge0-slave, ge0-sgmii, txen-delay, txd-delay, rxdv-delay and
rxd-delay in device-tree for qca956x SoCs.
Signed-off-by: Julien Dusser
Signed-off-by: Sander Vanheule
---
.../net/ethernet/atheros/ag71xx/ag71xx_gmac.c
for QCA956x.
Note that reset is the same on QCA955x and QCA956x, same register offset
and values.
Auto calibration is done on u-boot, but always fall back to default value
0x7. Add a DTS entry serdes-cal in case a device require another value.
Signed-off-by: Julien Dusser
Signed-off-by: Sander
during boot
* tftp initramfs to flash via Luci web-interface
Tested on the EAP245v1 running the latest firmware (v1.4.0). The binary
patch might not apply to uclited from other firmware versions.
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap245-v1.dts| 26 +
Hi Adrian,
On Fri, 2020-07-17 at 15:01 +0200, m...@adrianschmutzler.de wrote:
> Hi,
>
> > diff --git a/target/linux/ath79/dts/qca9563_tplink_eap225od-v1.dts
> > b/target/linux/ath79/dts/qca9563_tplink_eap225od-v1.dts
> > new file mode 100644
> > index 00..dcfdb7e524
> > --- /dev/null
> >
Hi Adrian,
On Fri, 2020-07-17 at 14:54 +0200, m...@adrianschmutzler.de wrote:
> Hi,
>
> > diff --git a/target/linux/ath79/dts/qca9563_tplink_eap245-v1.dts
> > b/target/linux/ath79/dts/qca9563_tplink_eap245-v1.dts
> > new file mode 100644
> > index 00..8a11d2e469
> > --- /dev/null
> > +++
On Fri, 2020-07-17 at 14:49 +0200, m...@adrianschmutzler.de wrote:
> Hi,
Hi Adrian,
Thanks for the quick feedback.
> > diff --git
> > a/target/linux/ath79/dts/qca9563_tplink_eap2x5_1port.dtsi
> > b/target/linux/ath79/dts/qca9563_tplink_eap2x5_1port.dtsi
> > new file mode 100644
> > index
ted by forum user PolynomialDivision on firmware v1.7.0.
Signed-off-by: Sander Vanheule
---
.../dts/qca9563_tplink_eap225-outdoor-v1.dts | 31 +++
.../generic/base-files/etc/board.d/02_network | 1 +
.../etc/hotplug.d/firmware/11-ath10k-caldata | 6
target/linux/ath79/image/gene
on PCIe
* Ethernet: AR8033-AL1A, one 1GbE port (802.3at PoE)
This patch was originally developed by Julien Dusser for the EAP245 v1,
and was adapted by Sander Vanheule to support more devices.
Signed-off-by: Julien Dusser
Signed-off-by: Sander Vanheule
---
.../dts
Some bootloaders do not set up gmac0 properly, leaving it disconnected
from the sgmii interface. If the user specificies phy-mode sgmii, then
use the gmac-config/device node to ensure the mux is configured
correctly.
Signed-off-by: Sander Vanheule
Cc: David Bauer
---
.../net/ethernet/atheros
incremented by 1.
From OEM boot log:
Using interface ath0 with hwaddr b0:...:3e and ssid "..."
Using interface ath10 with hwaddr b0:...:3f and ssid "..."
Tested by forum user blinkstar88
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_e
Signed-off-by: Sander Vanheule
---
.../net/ethernet/atheros/ag71xx/ag71xx_main.c | 78 +++
1 file changed, 78 insertions(+)
diff --git
a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx
during boot
* tftp initramfs to flash via the LuCI web interface
Tested on the EAP245 v1 running the latest firmware (v1.4.0). The binary
patch might not apply to uclited from other firmware versions.
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap245-v1.dts| 36 ++
in the correct device node (eth0, not phy4)
* Ensure QCA956X_ETH_CFG_GE0_SGMII is set when required. Removes the need for
the device tree extension patch.
Julien Dusser (1):
ath79: add QCA956x SERDES init workaround
Sander Vanheule (5):
ath79: ensure QCA956x gmac0 mux selects sgmii
ath79
are
> > > versions.
> > >
> > > Signed-off-by: Sander Vanheule
> >
> > Seems like I was overdue on a proper read of the kernel patch
> > submission
> > guidelines. My understanding from the guidelines and your previous
> > mail [1],
> > is that t
Hi David,
On Wed, 2020-07-22 at 12:28 +0200, David Bauer wrote:
> Hi Sander,
>
> this looks good, however there are two minor improvements still open.
>
> > + int err = 0;
>
> Remove this, as it is only assigned but never accessed.
>
> > + u32 serdes_cal;
>
> This is never used.
>
I
On Sat, 2020-07-18 at 13:03 +0200, m...@adrianschmutzler.de wrote:
> > I tried 80MHz and 65MHz, but that didn't result in proper reads.
> > 50MHz,
> > 55MHz, and 60MHz do appear to work on my eap245-v1, so I really
> > wouldn't
> > risk going above 50MHz.
>
> If you've taken the 25 MHz somewhere
Hi Adrian,
On Mon, 2020-07-20 at 00:25 +0200, m...@adrianschmutzler.de wrote:
> Hi,
>
> > Signed-off-by: Julien Dusser
> > Signed-off-by: Sander Vanheule
>
> technically, if Julien is first SoB, you should also put him in the
> author (From:) field.
The DTSI i
Hi Bjørn,
Just some thoughts in addition to what was already mentioned about the
property names.
On Wed, 2020-11-25 at 12:45 +0100, Bjørn Mork wrote:
> This ended up a bit more invasive than I imagined, but here goes..
>
> I wanted to add a couple of new rtl83xx devices. They both use
>
custom-initramfs-uimage was replaced by calls to uImage, but apparently
mtc_wr1201 was missed in the transistion. Use uImage for this device
too.
Fixes: 9f574b1b875c "ramips: mt7621: drop custom uImage function"
Signed-off-by: Sander Vanheule
---
target/linux/ramips/image/mt7621.mk
Hi,
On Tue, 2020-12-22 at 12:21 +0100, Petr Štetiar wrote:
>
> does not apply anymore, so you should rebase and resend.
I was actually made aware that my approach is not recommended, so I'm
just going to retract this patch.
As described in commit 0c0bb6299 [1], the bootloader on these devices
Hi Adrian,
On Wed, 2020-11-04 at 14:42 +0100, Adrian Schmutzler wrote:
> Hi Sander,
>
> > -Original Message-
> > From: openwrt-devel
> > [mailto:openwrt-devel-boun...@lists.openwrt.org]
> > On Behalf Of Sander Vanheule
> > Sent: Mittwoch, 4. Novem
of the call arguments to
override the provided defaults. Only the input file name (-d) and the
output file name cannot overriden.
Signed-off-by: Sander Vanheule
---
include/image-commands.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/image-commands.mk b
...
endef
Fixes df8e6be59a "rtl838x: add new architecture" where UIMAGE_MAGIC was
not declared as a device variable.
Signed-off-by: Sander Vanheule
---
include/image-commands.mk | 2 +-
include/image.mk | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/inc
Replace NETGEAR_KERNEL_MAGIC by UIMAGE_MAGIC to better match the
variable's purpose. This allows to drop UIMAGE_MAGIC where it equals the
default for uImages, and remove the custom Build/netgear-uImage.
Signed-off-by: Sander Vanheule
---
Build tested for Netgear WNDR3700v2 and EX6400.
target
UIMAGE_MAGIC is now supported by Build/uImage, in addition to
UIMAGE_NAME. This removes the need for a custom mkimage call, so let's
remove it.
Signed-off-by: Sander Vanheule
---
target/linux/rtl838x/image/Makefile | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Use the mkimage argument overrides provided by uImage to implement the
customisations required for the initramfs, instead of the near-identical
custom function.
Signed-off-by: Sander Vanheule
---
Build tested for iodata_wn1167gr2, where
uImage lzma -M 0x434f4d42 -n '3.10(XBC.1)b10
:
https://patchwork.ozlabs.org/project/openwrt/patch/20200929162006.236206-1-san...@svanheule.net/
Sander Vanheule (5):
build: uImage: allow override of default arguments
ramips: mt7621: drop custom uImage function
build: add UIMAGE_MAGIC to device variables
ath79: netgear: trim down u
Hi Stijn,
On Fri, 2021-01-08 at 14:32 +0100, Stijn Segers wrote:
> diff --git a/target/linux/realtek/image/Makefile
> b/target/linux/realtek/image/Makefile
> index 765e516a0a..39b28b6c67 100644
> --- a/target/linux/realtek/image/Makefile
> +++ b/target/linux/realtek/image/Makefile
> @@ -65,11
r's builds and my own builds, I've run-tested this on my
WNDR3700v2 (ath79/generic). Flashing first Petr's build, I ended up in
a boot loop, although booting only failed after the partitions were
correctly processed, similar to [1]. My own build and a second flash
with ynezz's test build have produce
from mips-next to allow control of
the "mcm" reset line.
Signed-off-by: Sander Vanheule
---
The devices this is currently required for are:
* TP-Link Archer C6U v1: https://github.com/openwrt/openwrt/pull/3757
* TP-Link Archer A6 v3: https://github.com/openwrt/openwrt/pull/3786
* TP-L
Hi Ilya,
On Mon, 2021-04-05 at 22:53 -0700, Ilya Lipnitskiy wrote:
> DTS properties that match *-gpios are treated specially.
>
> Use ngpios instead, as most GPIO drivers upstream do.
>
> Fixes 5.10 DTS errors such as:
> OF: /palmbus@30/gpio@600: could not find phandle
>
> Fixes DTC
Hi Stijn
On Sat, 2021-02-27 at 23:05 +0100, Stijn Segers wrote:
> The Netgear GS108T v3 and its GS110TPP v1 sibling apparently label
> their u-boot environment parition 'bdinfo' instead of 'u-boot-env'.
Alternatively, the u-boot data partition could also just be renamed to
'u-boot-env', to match
Hi Bjørn,
On Mon, 2021-04-12 at 14:27 +0200, Bjørn Mork wrote:
> Mac adresses are assigned in the order given by the port list. The
> interfaces are also brought up in this order. This target supports
> devices with up to 52 ports. Sorting these alphabetically is very
> confusing, and
Hi Rafał,
This looks like a useful addition to the safeloader tool.
On Thu, 2021-04-08 at 23:49 +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> Add "-i" option for reading & displaying firmware info. First it lists
> in-firmware partitions ("fwup-ptn"). Then it checks for human
>
Hi Adrian,
Thanks for the review. I'll fix the naming issues in a v2, some extra
comments below.
On Wed, 2021-02-17 at 01:47 +0100, Adrian Schmutzler wrote:
> > Known issues with this device:
> > The MT7613BE radio is currently not well supported by the mt7615
> > driver:
> > - The EEPROM blob
r into its shell
* Change default 'serverip' and 'ipaddr' variables (optional)
* Download initramfs with `tftpboot`, and boot image with `bootm`
# tftpboot 8400 openwrt-initramfs.bin
# bootm
Hardware was kindly provided for porting by Stijn Segers.
Tested-by: Stijn Segers
Signed-off-
devices.
Run-tested on a Netgear R6800.
Cc: Stijn Segers
Cc: Hauke Mehrtens
Signed-off-by: Sander Vanheule
---
target/linux/ramips/mt7621/config-5.4 | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ramips/mt7621/config-5.4
b/target/linux/ramips/mt7621/config-5.4
index
e improved/disappeared with bc3963764d.
Error notice example:
[ 7099.554067] mt7615e :02:00.0: Message 73 (seq 1) timeout
Hardware was kindly provided for porting by Stijn Segers.
Tested-by: Stijn Segers
Signed-off-by: Sander Vanheule
---
Changes in v2:
- Added instructions on how to rever
-defined types of
soft-version overwrites, and provide a few macros for easy value
initialisation. Requires all existing values to be updated to match the
new structure.
Signed-off-by: Sander Vanheule
---
tools/firmware-utils/Makefile| 2 +-
tools/firmware-utils/src/tplink-safeloader.c
d to first install a snapshot
image before they can install a 21.02 release image. How would PKG_RELEASE
conflicts be avoided for backported patches?
Sander Vanheule (2):
firmware-utils: tplink-safeloader: improve soft-version customisation
firmware-utils: tplink-safeloader: set EAP235-Wall v1 so
can install OpenWrt
on their devices.
Signed-off-by: Sander Vanheule
---
tools/firmware-utils/src/tplink-safeloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/firmware-utils/src/tplink-safeloader.c
b/tools/firmware-utils/src/tplink-safeloader.c
index 9349173e59
On Fri, 2021-08-27 at 11:38 +0200, Sander Vanheule wrote:
> Starting with v3 of the vendor firmware for the TP-Link EAP235-Wall v1,
> downgrades to firmware versions below v3 as not allowed. Since OpenWrt
> uses version 0.0.0 as a default, this causes the factory install to fail
>
On Sat, 2021-08-28 at 10:24 -0300, Henrique de Moraes Holschuh wrote:
> On 27/08/2021 06:38, Sander Vanheule wrote:
> >
> > EAP235-Wall support will be included in the 21.02 release, but users who
> > have a v3 (or later) firmware installed, will not be able to install
this revision number when printing
image info.
Fixes: 1a211af2cb3b ("firmware-utils: tplink-safeloader: refactor
meta-partition generation")
Signed-off-by: Sander Vanheule
---
This patch conflicts with my other tplink-safeloader patch [1] due to the
PKG_RELEASE version bump. Dependin
then changes the (structured) soft-version override for the
EAP235-WALL v1 to support recent vendor firmwares.
Series v1:
https://lists.infradead.org/pipermail/openwrt-devel/2021-August/036170.html
Sander Vanheule (2):
firmware-utils: tplink-safeloader: improve soft-version customisation
can install OpenWrt
on their devices.
Reported-by: Colton Conor
Tested-by: Colton Conor
Signed-off-by: Sander Vanheule
---
v2: Add Colton Conor's tags
tools/firmware-utils/src/tplink-safeloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/firmware-utils/src/tplink
-defined types of
soft-version overwrites, and provide a few macros for easy value
initialisation. Requires all existing values to be updated to match the
new structure.
Signed-off-by: Sander Vanheule
---
v2: Rebase for PKG_RELEASE bump
tools/firmware-utils/Makefile| 2 +-
tools
Hi Paul,
Thanks for the patch. One comment below.
On Fri, 2021-09-17 at 16:11 +0300, Paul Fertser wrote:
> GPIOs > 31 require special handling. This patch fixes both the
> initialisation (defaulting to input) and direction get/set operations.
>
> Runtime-tested on D-Link DGS-1210-10P-R1 which
bootelf $fileaddr
Tested by forum user KernelMaker.
Signed-off-by: Sander Vanheule
---
.../ath79/dts/qca9563_tplink_eap225-v1.dts| 44 +++
.../generic/base-files/etc/board.d/02_network | 1 +
.../etc/hotplug.d/firmware/11-ath10k-caldata | 1 +
target/linux/ath79/image/generic
he boot in case the bootloader left direction and
> data registers in an inconsistent state (e.g. pulling SoC's reset to 0)
> reconfigure everything as input.
>
> Thanks to Sander Vanheule for telling about LED_Start.
>
> Signed-off-by: Paul Fertser
> ---
>
> My previou
no effect.
>
> To avoid disrupting the boot in case the bootloader left direction and
> data registers in an inconsistent state (e.g. pulling SoC's reset to 0)
> reconfigure everything as input.
>
> Signed-off-by: Paul Fertser
Reviewed-by: San
dify high GPIOs direction bits on init
Thanks for the update.
Reviewed-by: Sander Vanheule
>
> .../realtek/files-5.4/drivers/gpio/gpio-rtl8231.c | 13 -
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/target/linux/realtek/files-5.4/drivers/gpio/gpio
Hi Paul,
On Tue, 2021-10-05 at 16:35 +0300, Paul Fertser wrote:
> Most boards supported by this target have a dedicated GPIO line
> connected to SoC's /RESET to allow full clean reliable reboot.
>
> Use regular kernel notifier methods for default restart routines to
> allow higher-priority
Hi Hiroshi,
Thanks for the update. Some inline comments below.
On Tue, 2021-11-30 at 19:43 +0900, INAGAKI Hiroshi wrote:
> Panasonic Switch-M8eG PN28080K is a 8 + 1 port gigabit switch, based on
> RTL8380M.
>
> Specification:
>
> - SoC : Realtek RTL8380M
> - RAM : DDR3 128
Hi,
On Sun, 2021-12-26 at 20:41 +0200, Oskari Lemmela wrote:
> RFC patchset because of following open questions:
>
> ---
[...]
> POE driver is implemented as a kernel module. Every port is separate
> hwmon device with same label as the DSA port.
[...]
>
> Should this be implemented in Realtek
]
- Verify chip presence when probing, and fail if it cannot be found [4/4]
Main changes since v1:
- Add chip detection patch
These patches were tested on my GS110TPP.
Sander Vanheule (4):
realtek: fix RTL8231 gpio count
realtek: use automatic GPIO numbering for RTL8231
realtek: always require SMI
Set the gpio_chip.base to -1 to use automatic GPIO line indexing.
Setting base to 0 or a positive number is deprecated and should not be
used.
Signed-off-by: Sander Vanheule
---
target/linux/realtek/files-5.10/drivers/gpio/gpio-rtl8231.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
two lines will be logged:
[0.453698] Probing RTL8231 GPIOs
[0.457312] rtl8231_init called, MDIO bus ID: 31
Signed-off-by: Sander Vanheule
---
.../files-5.10/drivers/gpio/gpio-rtl8231.c| 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/target
;
property, as there is no real reason to use 0 as default, and perform a
sanity check on the value when probing. This allows the other parts of
the driver to be simplified a bit.
Signed-off-by: Sander Vanheule
---
.../files-5.10/drivers/gpio/gpio-rtl8231.c| 33 +--
1 file changed, 16
The RTL8231's gpio_chip.ngpio was set to 36, which is the largest valid
GPIO index. Fix the allowed number of GPIOs by setting ngpio to 37, the
actual line count.
Reported-by: INAGAKI Hiroshi
Signed-off-by: Sander Vanheule
---
target/linux/realtek/files-5.10/drivers/gpio/gpio-rtl8231.c | 2
to unresponsive network after the restart. By
resetting both the ethernet NIC and queues, networking always comes up
reliably.
Suggested-by: Birger Koblitz
Signed-off-by: Sander Vanheule
---
v1 -> v2:
- Reword commit message
- Introduce reset_mask variable
---
.../files-5.10/drivers/net/ether
On Fri, 2021-11-12 at 23:46 +0100, Sander Vanheule wrote:
> > diff --git
> > a/target/linux/realtek/dts-5.10/rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi
> > b/target/linux/realtek/dts-5.10/rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi
> > new file mode 100644
> > index 00
The RTL8231 driver is currently not setting the maximum number of GPIOs
correctly, so this needs to be fixed. While we're at it, add some other small
improvements to the driver.
These patches were tested on my GS110TPP.
Sander Vanheule (3):
realtek: Fix RTL8231 gpio count
realtek: Use
The RTL8231's gpio_chip.ngpio was set to 36, which is the largest valid
GPIO index. Fix the allowed number of GPIOs by setting ngpio to 37, the
actual line count.
Reported-by: INAGAKI Hiroshi
Signed-off-by: Sander Vanheule
---
target/linux/realtek/files-5.10/drivers/gpio/gpio-rtl8231.c | 2
;
property, and perform a sanity check when probing the device. This
allows the other parts of the driver to be simplified a bit.
Signed-off-by: Sander Vanheule
---
.../files-5.10/drivers/gpio/gpio-rtl8231.c| 33 +--
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/ta
Set the gpio_chip.base to -1 to use automatic GPIO line indexing.
Setting base to 0 or a positive number is deprecated and should not be
used.
Signed-off-by: Sander Vanheule
---
target/linux/realtek/files-5.10/drivers/gpio/gpio-rtl8231.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Hi Hiroshi,
On Sun, 2021-11-14 at 14:32 +0900, INAGAKI Hiroshi wrote:
> Hi Sander,
>
> Thank you for your review.
>
> On 2021/11/13 7:46, Sander Vanheule wrote:
> > Hi Hiroshi,
> >
> > On Sun, 2021-10-03 at 15:53 +0900, INAGAKI Hiroshi wrote:
> > &g
Add patch submitted upstream to linux-watchdog and replace the MIPS
architecture symbols. Requires one extra patch for the DIV_ROUND_*
macros, which have moved to a different header since 5.10.
Signed-off-by: Sander Vanheule
--
v3:
- Fix watchdog Kconfig modifation patch
v2:
- Remove kernel
tware| reboot=software
Preferrably, these devices should use an alternative restart method like
gpio-restart to provide reliable restarts.
Note that watchdog restarts are not yet exposed, since the
_machine_restart override is still present.
Signed-off-by: Sander Vanheule
--
v4:
-
timer"). Let's remove it again.
Signed-off-by: Sander Vanheule
---
.../files-5.10/arch/mips/rtl838x/setup.c | 85 ---
1 file changed, 85 deletions(-)
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c
b/target/linux/realtek/files-5.10/arch/mips/r
All current devices use identical bootargs, so let's move that to the
common devicetree includes.
Signed-off-by: Sander Vanheule
--
v4:
- Drop stdout-path and earlycon again, to limit scope of patch
v2:
- Add stdout-path node, and earlycon to bootargs
---
target/linux/realtek/dts-5.10
, Zyxel GS1900-8,
and Zyxel XGS1250-12. Testers with other devices should ensure that their
system can still restart after applying the complete series.
Main changes in v4:
- Use cold restart (full SoC reset) on all devices by default
Sander Vanheule (5):
realtek: Consolidate bootargs
realtek: Add
1 - 100 of 437 matches
Mail list logo