Re: New layerscape/aarch64 board

2021-02-14 Thread Mathew McBride
On Sat, Feb 13, 2021, at 2:13 AM, Michael Walle wrote: > Hi, > > I am looking into how to bring openwrt support for my board > (Kontron sl28) upstream. The board has upstream support in > both vanilla linux (since 5.8) and vanilla u-boot. Someone > in IRC told me there will be a new release based

[PATCH procd] inittab: detect active console from kernel if no console= specified

2021-03-04 Thread Mathew McBride
The default serial console can be set in the device tree using the linux,stdout-path parameter (or equivalent from ACPI). This is important for universal booting (EFI/EBBR) on ARM platforms where the default console can be different (e.g ttyS0 vs ttyAMA0). Signed-off-by: Mathew McBride

Re: [OpenWrt-Devel] Understanding Ethernet Architecture (I/O --> MDIO --> MII vs I/O --> MAC) for mt7620 (OpenWRT)

2019-06-14 Thread Mathew McBride
Hi Daniel, MDIO is a low-speed management bus to talk between the CPU and the Ethernet PHY's, it's best thought of as "I2C for Ethernet PHYs" (the concepts between the two are similar). Like I2C there can be multiple devices on the MDIO bus so each PHY needs an address, and in cases where multi

Re: ath11k - pci - backports/.config issue

2021-10-24 Thread Mathew McBride
Hello Janusz, On Fri, Oct 22, 2021, at 1:39 AM, Janusz Dziedzic wrote: > Hello, > > Hit some issue with my ath11k card, so maybe someone already fix > it/know what I missed? > > My card (pcie): > root@OpenWrt:~# lspci > :00:00.0 PCI bridge: MEDIATEK Corp. Device 3258 > :01:00.0 Unassigne

Re: Best VSDL modem-router to target?

2022-01-09 Thread Mathew McBride
On Mon, Jan 10, 2022, at 10:14 AM, David Woodhouse wrote: > On Wed, 2022-01-05 at 18:05 -0700, Philip Prindeville wrote: > > Have you looked at the Traverse Geos2? > > That's kind of dated now (ADSL2+ only) but Traverse seem to have a > new toy now: > > https://traverse.com.au/products/ten64-

Re: Best VSDL modem-router to target?

2022-01-10 Thread Mathew McBride
Hi David, On Mon, Jan 10, 2022, at 11:46 AM, David Woodhouse wrote: [snip] > > Our VDSL card is just a Lantiq/MaxLinear GRX gateway with an Ethernet > > uplink to host. > > Is that a GRX300, with VRX318? It's a GRX300 + VRX518. > Wonder what it would take to get OpenWrt running directly on it :

[PATCH procd] utils: fix get_active_console when kernel returns multiple values

2022-01-24 Thread Mathew McBride
ances, use the last console device shown in the sysfs active file. Fixes: 2cfc26f ("inittab: detect active console from kernel if no console= specified") Signed-off-by: Mathew McBride --- utils/utils.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) dif

Re: [PATCH procd] utils: fix get_active_console when kernel returns multiple values

2022-01-31 Thread Mathew McBride
Hi Daniel, On Mon, Jan 31, 2022, at 10:58 AM, Daniel Golle wrote: > Hi Mathew, > > On Tue, Jan 25, 2022 at 03:12:08AM +0000, Mathew McBride wrote: > > /sys/class/tty/console/active may return multiple values on > > kernels where framebuffer support is enabled but the system

Re: Best VSDL modem-router to target?

2022-08-10 Thread Mathew McBride
(resend as plain text) Hi Philip, On Sat, Jul 30, 2022, at 5:24 AM, Philip Prindeville wrote: > [snip] > > What was the conclusion about VDSL2 PCIe cards? I'm looking for a VDSL/2 > card that does bonding/vectoring for use with CenturyLink DSLAM's... Unfortunately our (Traverse) card is "on ic

EFI / SystemReady support for OpenWrt on arm64

2023-05-25 Thread Mathew McBride
Hi all, For some time now I have had a pull request open to add EFI boot support to the armvirt target: https://github.com/openwrt/openwrt/pull/4996 I recently did some revision to ensure sysupgrade does not affect any system firmware, files (e.g U-Boot ubootefi.var) and/or partitions already re

[PATCH fstools] block: autofs: do not generate events for the root partition

2023-06-06 Thread Mathew McBride
tem mounts), it was generating a "remove" hotplug event for the root device, causing the system to try to unmount the root partition. To resolve this issue, ensure no hotplug events are generated for the "/", just as we don't for the extroot usecases. Signed-

Re: Bringing up new hardware, and GPIO definitions

2023-08-21 Thread Mathew McBride
Hi Philip, On Tue, Aug 22, 2023, at 5:49 AM, Philip Prindeville wrote: > On a somewhat related note, I got into my /etc/board.d/02_network file and > made this change: > [snip] > board_config_update > > +logger -p daemon.info "board_name: $(board_name)" > > case "$(board_n

Re: Adding a new platform: renesas rz

2023-11-01 Thread Mathew McBride
Hi Michele, On Mon, Oct 30, 2023, at 8:39 PM, Michele Bisogno wrote: > Hi, > > I've been a happy OpenWRT user for many years now, always buying > routers that could allow me to run it easily. > > I've been working (actually only in my free time as a hobby) on > porting OpenWRT onto this Renesas

GPIO numbering and ucidef_add_gpio_switch in kernel 6.6

2024-03-17 Thread Mathew McBride
Hi all, A change in kernel 6.2 ("gpio: Get rid of ARCH_NR_GPIOS (v2)") [1] resulted in the GPIO chip base numbers changing on some architectures (x86, arm and arm64 were directly modified in that series). This may cause issues with /etc/board.d/03_gpio_switches scripts as the GPIO numbers will