[OpenWrt-Devel] [PATCH 2/2] kernel: iio: add fxos8700 driver support

2020-02-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/iio.mk | 50 + 1 file changed, 50 insertions(+) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index cd46697..558abf4 100644 --- a/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH 1/2] kernel: 5.4: backport fxos8700 accel support from 5.5

2020-02-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- ...-iio-imu-Add-support-for-the-FXOS8700-IMU.patch | 912 + 1 file changed, 912 insertions(+) create mode 100644 target/linux/generic/backport-5.4/800-v5.5-iio-imu-Add-support-for-the-FXOS8700-IMU.patch diff --git a/target/linux/generic

[OpenWrt-Devel] [PATCH] imx6: backport lsm9ds1 imu support for GW553x

2020-02-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- ...6qdl-gw553x-add-lsm9ds1-iio-imu-magn-supp.patch | 73 ++ 1 file changed, 73 insertions(+) create mode 100644 target/linux/imx6/patches-5.4/005-ARM-dts-imx6qdl-gw553x-add-lsm9ds1-iio-imu-magn-supp.patch diff --git a/target/linux/imx6

[OpenWrt-Devel] [PATCH] imx6: add support for Gateworks GW5907/GW5910/GW5912/GW5913

2020-02-28 Thread Tim Harvey
/02_network Signed-off-by: Tim Harvey --- .../linux/imx6/base-files/etc/board.d/02_network | 6 +- target/linux/imx6/base-files/lib/imx6.sh | 20 + .../001-ARM-dts-imx-Add-GW5907-board-support.patch | 496 + .../002-ARM-dts-imx-Add-GW5910-board-support.patch | 597

Re: [OpenWrt-Devel] [PATCH] imx6: backport lsm9ds1 imu support for GW553x

2020-02-28 Thread Tim Harvey
On Fri, Feb 28, 2020 at 1:06 PM Petr Štetiar wrote: > > Hi Tim, > > commit description is nice (and required), can you add it next time? No need > for v2, I'll add something myself to all your patches this time. > > BTW it's quite helpful to include the upstream kernel version used for the > backp

Re: [OpenWrt-Devel] [PATCH] imx6: add support for Gateworks GW5907/GW5910/GW5912/GW5913

2020-03-02 Thread Tim Harvey
On Sun, Mar 1, 2020 at 3:02 AM Adrian Schmutzler wrote: > > Hi, > > > --- a/target/linux/imx6/base-files/etc/board.d/02_network > > +++ b/target/linux/imx6/base-files/etc/board.d/02_network > > @@ -13,7 +13,11 @@ case "$board" in > > cubox-i |\ > > *gw51xx |\ > > *gw52xx |\ > > -*gw5904) > > +*

Re: [OpenWrt-Devel] [PATCH] imx6: add support for Gateworks GW5907/GW5910/GW5912/GW5913

2020-03-02 Thread Tim Harvey
On Mon, Mar 2, 2020 at 8:53 AM Tim Harvey wrote: > > On Sun, Mar 1, 2020 at 3:02 AM Adrian Schmutzler > wrote: > > > > Hi, > > > > > --- a/target/linux/imx6/base-files/etc/board.d/02_network > > > +++ b/target/linux/imx6/base-files/etc/board.d/02_netw

[OpenWrt-Devel] [PATCH] imx6: remove unnecessary wildcard from board name mathching

2020-03-02 Thread Tim Harvey
The wildcard used in the network config matching is not necessary given the board names returned by imx6_board_detect() in lib/imx6.sh. Signed-off-by: Tim Harvey --- .../linux/imx6/base-files/etc/board.d/02_network | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions

Re: [OpenWrt-Devel] [PATCH] imx6: add support for Gateworks GW5907/GW5910/GW5912/GW5913

2020-03-06 Thread Tim Harvey
On Thu, Mar 5, 2020 at 3:05 AM Petr Štetiar wrote: > > Gentle ping. > I posted a follow-up in patchwork that removes the wildcards from the board name matching. Any changes needed? Tim ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org ht

Re: [OpenWrt-Devel] [PATCH] octeontx: add support for Linux 5.4

2020-03-06 Thread Tim Harvey
On Wed, Feb 26, 2020 at 12:40 PM Tim Harvey wrote: > > Signed-off-by: Tim Harvey > --- > target/linux/octeontx/config-5.4 | 634 > + > ...nderx-use-proper-interface-type-for-RGMII.patch | 47 ++ > ...hunderx-workaround-BGX-TX-Underf

[OpenWrt-Devel] [PATCH] kernel: fix lib-xor for ARM64

2020-03-06 Thread Tim Harvey
use LINUX_KARCH in directory path to avoid failures in non-arm targets. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/lib.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index

[OpenWrt-Devel] [PATCH] kernel: 5.4: add missing symbols

2020-03-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-5.4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 0c246ee..597cd8e 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4

[OpenWrt-Devel] [OpenWrt-devel][PATCH] kernel: iio: fix iio-st_sensors-spi missing dependency

2020-03-06 Thread Tim Harvey
Fixes following build error on octeontx: Package kmod-iio-st_sensors-spi is missing dependencies for the following libraries: regmap-spi.ko Fixes: 2d8f4c4fbd46 ("kernel: iio: add st-accel driver modules") Signed-off-by: Tim Harvey --- package/kernel/linux/modules/iio.mk | 2 +- 1 fi

[OpenWrt-Devel] [PATCH] kernel: 5.4: add unconfigured symbols

2020-03-09 Thread Tim Harvey
This patch adds a few symbols that I found that need disabling in order to not break the build of octeontx Signed-off-by: Tim Harvey --- target/linux/generic/config-5.4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index

[OpenWrt-Devel] [PATCH] imx6: remove unnecessary wildcard from board name matching

2020-03-10 Thread Tim Harvey
The wildcard used in the network config matching is not necessary given the board names returned by imx6_board_detect() in lib/imx6.sh. Signed-off-by: Tim Harvey --- v2: - fixed typo in commit log - rebase on current master --- target/linux/imx6/base-files/etc/board.d/02_network | 14

Re: [OpenWrt-Devel] [PATCH] kernel: can: add MCP251x CAN controller module support

2020-03-10 Thread Tim Harvey
On Tue, Mar 3, 2020 at 2:49 AM Stijn Tintel wrote: > > On 28/02/2020 18:56, Tim Harvey wrote: > > Signed-off-by: Tim Harvey > > --- > > package/kernel/linux/modules/can.mk | 17 + > > 1 file changed, 17 insertions(+) > > > > diff -

[OpenWrt-Devel] [PATCH v2] imx6: add support for GW5907/GW5910/GW5912/GW5913

2020-03-11 Thread Tim Harvey
d.ubi - 4KiB page size http://trac.gateworks.com/wiki/linux/ubi Using Gateworks JTAG dongle: - Use Gateworks mkimage_jtag script to create a JTAG image comprised of pre-built bootloader and ubi image: http://trac.gateworks.com/wiki/jtag_instructions Signed-off-by: Tim Harvey -

[OpenWrt-Devel] [PATCH] imx6: bootscript: use partition UUID for rootfs if possible

2020-04-01 Thread Tim Harvey
depending on kernel versions. It is recommended to use partition UUID Signed-off-by: Tim Harvey --- target/linux/imx6/image/bootscript-ventana | 34 ++ 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/target/linux/imx6/image/bootscript-ventana b/target

[OpenWrt-Devel] [PATCH] octeontx: switch to kernel 5.4

2020-04-01 Thread Tim Harvey
5.4 is stable on Gateworks Newport GW610x/GW620x/GW630x/GW640x Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index 19a264d..67addbd 100644 --- a

[OpenWrt-Devel] [PATCH] imx6: backport v5.8 imx6qdl-gw dt patches

2020-05-28 Thread Tim Harvey
- add fxos8700 support to GW52xx/GW53xx/GW54xx - add USB_OTG support to GW552x - add LSM9DS1 IMU support to GW560x - add LSM9DS1 IMU support to GW5904 - add CC1352 UART to GW5910 - add BCM4330 support to GW5910 - fix wlan regulator for GW5910 Signed-off-by: Tim Harvey --- ...-ventana-add

[OpenWrt-Devel] [PATCH] imx6: add I2C retries for ventana i2c1

2020-05-28 Thread Tim Harvey
The GSC sitting on i2c1 can NAK I2C transactions if it is busy performing an ADC cycle. Allow enough retries to work around this. Signed-off-by: Tim Harvey --- ...x-add-retries-for-NAK-s-on-ventana-boards.patch | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[OpenWrt-Devel] [PATCH] imx6: image: increase max ubifs file-system size

2020-05-28 Thread Tim Harvey
The latest 2GiB NAND flash parts used by Gateworks ventana are 2K page-size. Signed-off-by: Tim Harvey --- target/linux/imx6/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 232dc42

[OpenWrt-Devel] [PATCH] octeontx: fix mcp251x can controller

2020-05-28 Thread Tim Harvey
was still relying on a full-duplex transfer where bits were being shifted on MOSI at the same time as MISO. After splitting the transaction into a spi_write_then_read() care must be taken to ignore the first byte. Signed-off-by: Tim Harvey --- ...03-can-mcp251x-convert-to-half-duplex-SPI.patch

[OpenWrt-Devel] [PATCH] octeontx: fix gpio irq request

2020-05-28 Thread Tim Harvey
This fixes a regression in 5.4 that causes a crash when a driver requests an ARM GPIO for an IRQ. Signed-off-by: Tim Harvey --- ...2-gpio-thunderx-fix-irq_request_resources.patch | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 target/linux/octeontx/patches-5.4

[OpenWrt-Devel] [PATCH] kernel: iio: fix st_accel_{i2c, spi} driver

2020-05-28 Thread Tim Harvey
Add missing kernel module and rename driver Signed-off-by: Tim Harvey --- package/kernel/linux/modules/iio.mk | 46 - 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk

[OpenWrt-Devel] [PATCH] kernel: iio: add drivers for st_lsm6dsx IMU MEMS sensors

2020-05-28 Thread Tim Harvey
Add kmod for the ST LSM6DSX IMU driver. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/iio.mk | 48 + 1 file changed, 48 insertions(+) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index b52ec8c..5fbe2ee

[OpenWrt-Devel] [PATCH] octeontx: enable Cavium CPT and ZIP drivers

2020-06-01 Thread Tim Harvey
The CPT module requires firmware which we add here as well. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-5.4 | 11 +++ target/linux/octeontx/files/firmware/cpt8x-mc-ae.out | Bin 0 -> 9760 bytes target/linux/octeontx/files/firmware/cpt8x-mc-se.

[OpenWrt-Devel] [PATCH v2 2/2] octeontx: enable Cavium CPT and ZIP drivers

2020-06-02 Thread Tim Harvey
The CPT module requires firmware which we add here as well. Signed-off-by: Tim Harvey --- v2: added license file for firmware --- target/linux/octeontx/config-5.4 | 11 +++ target/linux/octeontx/files/firmware/cpt8x-mc-ae.out | Bin 0 -> 9760 bytes target/li

[OpenWrt-Devel] [PATCH v2 1/2] octeontx: refresh kernel 5.4 config

2020-06-02 Thread Tim Harvey
refresh kernel config by running make kernel_menuconfig and saving changes Signed-off-by: Tim Harvey --- v2: added kernel config refresh patch --- target/linux/octeontx/config-5.4 | 29 ++--- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/target/linux

Re: [OpenWrt-Devel] [PATCH] imx6: add I2C retries for ventana i2c1

2020-06-03 Thread Tim Harvey
On Wed, Jun 3, 2020 at 5:24 AM Petr Štetiar wrote: > > Tim Harvey [2020-05-28 06:56:44]: > > Hi, > > > The GSC sitting on i2c1 can NAK I2C transactions if it is busy > > performing an ADC cycle. Allow enough retries to work around this. > > this looks like yo

Re: [OpenWrt-Devel] [PATCH v2 2/2] octeontx: enable Cavium CPT and ZIP drivers

2020-06-03 Thread Tim Harvey
On Tue, Jun 2, 2020 at 3:21 PM Hauke Mehrtens wrote: > > On 6/2/20 7:05 PM, Tim Harvey wrote: > > The CPT module requires firmware which we add here as well. > > > > Signed-off-by: Tim Harvey > > --- > > v2: added license file for firmware > >

Re: [OpenWrt-Devel][PATCH v2 2/2] octeontx: enable Cavium CPT and ZIP drivers

2020-06-24 Thread Tim Harvey
On Thu, Jun 11, 2020 at 5:22 AM Hauke Mehrtens wrote: > > On 6/3/20 10:16 PM, Tim Harvey wrote: > > On Tue, Jun 2, 2020 at 3:21 PM Hauke Mehrtens wrote: > >> > >> On 6/2/20 7:05 PM, Tim Harvey wrote: > >>> The CPT module requires firmware which we add he

[PATCH] octeontx: switch to Kernel 5.15

2023-02-16 Thread Tim Harvey
Switch over from testing version. Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index 50c5cd6d217d..5260291d0504 100644 --- a/target/linux

[PATCH 2/2] imx: image: ventana: add blkdev compressed disk image

2023-02-17 Thread Tim Harvey
Add a ventana-img.gz compressed disk image to support squashfs+ext4 on a block storage device such as USB/MMC/SATA. The Ventana bootloader expects the bootscript to be boot/6x_bootscript-ventana therefore we must create a bootfs that matches this. Signed-off-by: Tim Harvey --- target/linux/imx

[PATCH 1/2] imx: image: ventana: use squashfs rootfs for non NAND devices

2023-02-17 Thread Tim Harvey
In order to support squashfs+ext4 define rootfstype=squashfs and use P2 as P1 is boot filesystem. Signed-off-by: Tim Harvey --- target/linux/imx/image/bootscript-ventana | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/imx/image/bootscript-ventana b/target

[PATCH] kernel: replace out-of-tree hwmon-gsc driver with in-tree

2023-02-17 Thread Tim Harvey
The Gateworks GSC drivers were merged in Linux v5.8: - remove the old out-of-tree module - add configuration for the in-tree modules Signed-off-by: Tim Harvey --- package/kernel/hwmon-gsc/Makefile | 28 --- package/kernel/hwmon-gsc/src/Makefile | 1 - package/kernel/hwmon-gsc/src/gsc.c

[PATCH] kernel: can: fix MCP251x CAN controller module autoload

2023-02-17 Thread Tim Harvey
Fix autoload module name for can-mcp251x kmod. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/can.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index 9cdebb9091a6..4ff85d1c0137 100644

[PATCH] octeontx: add default packages for on-board devices

2023-02-17 Thread Tim Harvey
The Gateworks Newport boards supported by the octeontx target have the following on-board devices: - Gateworks System Controller - GPIO buttons - GPIO leds - GPS PPS - Accelerometer - MCP251X CAN controller Add kernel drivers for these devices in DEFAULT_PACKAGES Signed-off-by: Tim Harvey

[PATCH-22.03] kernel: can: fix MCP251x CAN controller module autoload

2023-02-21 Thread Tim Harvey
Fix autoload module name for can-mcp251x kmod. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/can.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index 9cdebb9091a6..4ff85d1c0137 100644

[v2 PATCH] octeontx: switch to Kernel 5.15

2023-02-21 Thread Tim Harvey
Switch over from testing version. Signed-off-by: Tim Harvey --- v2: also remove config-5.10 and patches-5.10 --- target/linux/octeontx/Makefile| 3 +- target/linux/octeontx/config-5.10 | 413 -- ...r-Gateworks-PLX-PEX860x-switch-with-.patch | 59

[PATCH] octeontx: add f2fs and ext4 support

2023-02-21 Thread Tim Harvey
Add both ext4 and f2fs support for overlayfs. The fstools mount_root application will choose f2fs if the overlay volume space available exceeds 100MB, otherwise ext4 is used. Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile| 3 ++- target/linux/octeontx/config-5.15 | 2 ++ 2

[PATCH] octeontx: kernel: add USB storage boot support

2023-02-23 Thread Tim Harvey
Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass Storage device. This increases the kernel Image by 66KiB Signed-off-by: Tim Harvey --- target/linux/octeontx/config-5.15 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/octeontx/config-5.15 b/target/linux

[PATCH] imx: kernel: add USB storage boot support

2023-02-23 Thread Tim Harvey
Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass Storage device. This adds 23KiB to the compressed kernel size Signed-off-by: Tim Harvey --- target/linux/imx/config-5.15 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/imx/config-5.15 b/target/linux/imx

[PATCH-22.03] kernel: fix hwmon-gsc driver by replacing out-of-tree driver with in-tree

2023-02-23 Thread Tim Harvey
The Gateworks GSC drivers were merged in Linux v5.8: - remove the old out-of-tree module - add configuration for the in-tree modules Signed-off-by: Tim Harvey --- package/kernel/hwmon-gsc/Makefile | 29 --- package/kernel/hwmon-gsc/src/Makefile | 1 - package/kernel/hwmon-gsc/src/gsc.c

[PATCH-22.03 2/3] octeontx: fix overlay support by adding f2fs and ext4

2023-02-23 Thread Tim Harvey
Add both ext4 and f2fs support for overlayfs. The fstools mount_root application will choose f2fs if the overlay volume space available exceeds 100MB, otherwise ext4 is used. This fixes overlay support. This increases the kernel by 782KiB Signed-off-by: Tim Harvey --- target/linux/octeontx

[PATCH-22.03 1/3] octeontx: add default packages for on-board devices

2023-02-23 Thread Tim Harvey
The Gateworks Newport boards supported by the octeontx target have the following on-board devices: - Gateworks System Controller - GPIO buttons - GPIO leds - GPS PPS - Accelerometer - MCP251X CAN controller Add kernel drivers for these devices in DEFAULT_PACKAGES Signed-off-by: Tim Harvey

[PATCH-22.03 3/3] octeontx: kernel: add USB storage boot support

2023-02-23 Thread Tim Harvey
Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass Storage device. This increases the kernel by about 64KiB Signed-off-by: Tim Harvey --- target/linux/octeontx/config-5.10 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/octeontx/config-5.10 b/target/linux

Re: [PATCH] octeontx: kernel: add USB storage boot support

2023-02-24 Thread Tim Harvey
On Fri, Feb 24, 2023 at 12:16 AM Rafał Miłecki wrote: > > 24 lut 2023 o 00:28 Tim Harvey napisał(a): > > Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass > > Storage device. > > > > This increases the kernel Image by 66KiB > > Do

Re: [PATCH] kernel: replace out-of-tree hwmon-gsc driver with in-tree

2023-02-27 Thread Tim Harvey
On Sun, Feb 26, 2023 at 9:24 AM Hauke Mehrtens wrote: > > On 2/18/23 01:24, Tim Harvey wrote: > > The Gateworks GSC drivers were merged in Linux v5.8: > > - remove the old out-of-tree module > > - add configuration for the in-tree modules > > > > Signed-off-b

[PATCH v2] kernel: fix hwmon-gsc driver

2023-02-27 Thread Tim Harvey
Fix hwmon-gsc driver by replacing out-of-tree hwmon-gsc driver with in-tree driver that was merged in Linux v5.8: - remove the old out-of-tree module - add configuration for the in-tree modules Signed-off-by: Tim Harvey --- v2: - build both CONFIG_MFD_GATEWORKS_GSC and CONFIG_SENSORS_GSC as

[PATCH] kernel: add kmod-hwmon-max6642 support

2023-02-27 Thread Tim Harvey
Add package for Maxim MAX6642 i2c based temperature sensor. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/hwmon.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 79df0471ed51

[PATCH] gpio-button-hotplug: do not error on interrupt attached keys

2023-02-27 Thread Tim Harvey
the case of interrupt attached keys to resolve this. Signed-off-by: Tim Harvey --- .../kernel/gpio-button-hotplug/src/gpio-button-hotplug.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button

config_default vs subtargets having their own config_?

2023-03-03 Thread Tim Harvey
Greetings, I'm working on cortexa53 support for target/linux/imx for imx8 support and am not quite clear how best to take care of kernel config. There is a lot of differences in kernel config for cortexa7/cortexa9/cortexa53 with regards to IMX SoC's. I see some targets have config_default files i

Re: [EXT] config_default vs subtargets having their own config_?

2023-03-06 Thread Tim Harvey
saw your patches and what followed. My solution is to eliminate the boot firmware which also removes the added complication that the various imx8 soc's have binary incompatible firmware and locations that it needs to be flashed to. Best Regards, Tim > BR, > Andy > > > -Orig

[PATCH] kernel: modules: package Microchip LAN743x PCIe gigE driver

2023-03-07 Thread Tim Harvey
Package the Microchip LAN743x PCIe gigE driver Signed-off-by: Tim Harvey --- package/kernel/linux/modules/netdevices.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index

Re: [PATCH] octeontx: kernel: add USB storage boot support

2023-03-07 Thread Tim Harvey
On Thu, Feb 23, 2023 at 3:23 PM Tim Harvey wrote: > > Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass > Storage device. > > This increases the kernel Image by 66KiB > > Signed-off-by: Tim Harvey > --- > target/linux/octeontx/config-5.15

[PATCH] imx: add imx8 support

2023-03-08 Thread Tim Harvey
openwrt-imx-cortexa53-vmlinux-initramfs has been booted on Gateworks Venice boards and the imx8mm-evk using dtb's from $LINUX_DIR and verifying usb, pci, mmc, and fec networking work. Signed-off-by: Tim Harvey --- target/linux/imx/Makefile | 7 +- target/linux/imx/config

Re: [PATCH] imx: add imx8 support

2023-03-09 Thread Tim Harvey
On Thu, Mar 9, 2023 at 3:37 AM Petr Štetiar wrote: > > Tim Harvey [2023-03-08 16:20:31]: > > Hi Tim, > Petr, Thanks for the quick review! > > Add imx8 support: > > - add a cortexa53 subtarget > > - move ARCH, KERNELNAME, and some FEATURES to cortexa7/corte

Re: [PATCH] imx: add imx8 support

2023-03-10 Thread Tim Harvey
On Fri, Mar 10, 2023 at 2:21 AM Petr Štetiar wrote: > > Tim Harvey [2023-03-09 12:19:24]: > > Hi, > > > Is there any reason to move them into target/linux/generic/backport-5.15? > > sorry for confusing you, but I've just meant to rename the patch files itself, &g

[PATCH] scripts/gen_image_generic.sh: allow passing in partition offset

2023-03-22 Thread Tim Harvey
Allow passing in an optional offset (PARTOFFSET) for the first partition. If not specified this will default to 256K (512 blocks) as it has before. For example if you want to start partition data at a 16M offset instead of 256K, specify 'PARTOFFSET=16M'. Signed-off-by: Tim Harvey --

[PATCH 1/4] imx: copy patches 5.15 to 6.1

2024-01-08 Thread Tim Harvey
copy 5.15 patches excluding some that need manual rework touching non-upstream led props. Signed-off-by: Tim Harvey --- .../linux/imx/patches-6.1/100-bootargs.patch | 11 + ...-pico-pi.dts-add-default-stdout-path.patch | 23 +++ 2 files changed, 34 insertions(+) create

[PATCH 4/4] imx: add 6.1 kernel as testing

2024-01-08 Thread Tim Harvey
allow to test 6.1 kernel for imx Signed-off-by: Tim Harvey --- target/linux/imx/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/imx/Makefile b/target/linux/imx/Makefile index 5fb7a4d339ef..5f7f9db58959 100644 --- a/target/linux/imx/Makefile +++ b/target/linux/imx

[PATCH 2/4] imx: copy config from 5.15 to 6.1

2024-01-08 Thread Tim Harvey
Copy the 5.15 config to 6.1 Signed-off-by: Tim Harvey --- target/linux/imx/config-6.1 | 447 1 file changed, 447 insertions(+) create mode 100644 target/linux/imx/config-6.1 diff --git a/target/linux/imx/config-6.1 b/target/linux/imx/config-6.1 new file

[PATCH 3/4] imx: 6.1: refresh kernel config

2024-01-08 Thread Tim Harvey
done via 'make kernel_oldconfig' Signed-off-by: Tim Harvey --- target/linux/imx/config-6.1 | 51 + 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/target/linux/imx/config-6.1 b/target/linux/imx/config-6.1 index d3291a599739..a3

[PATCH] imx: image: add gpio-button-hotplug to ventana images

2024-01-08 Thread Tim Harvey
Add the gpio-button-hotplug to Gateworks ventana images to support the on-board user pushbutton. Signed-off-by: Tim Harvey --- target/linux/imx/image/cortexa9.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/imx/image/cortexa9.mk b/target/linux/imx/image

[PATCH] imx: update default network config for ventana

2024-01-08 Thread Tim Harvey
update the default network configuration for Gateworks Ventana boards such that the left-most front-panel NIC is WAN and any additional are in LAN bridge Signed-off-by: Tim Harvey --- target/linux/imx/cortexa9/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 1/4] imx: copy patches 5.15 to 6.1

2024-01-16 Thread Tim Harvey
On Sat, Jan 13, 2024 at 5:26 PM Lech Perczak wrote: > > W dniu 2024-01-08 o 22:25, Tim Harvey pisze: > > copy 5.15 patches excluding some that need manual rework touching > > non-upstream led props. > > > > Signed-off-by: Tim Harvey > > --- > > ..

makefile debugging

2024-01-18 Thread Tim Harvey
Greetings, I seem to recall a way to ask OpenWrt's build system to output a list of all variable values used in the build but can't find it documented or in my notes. Does anyone know how to do that? Also, is there a way to output a post-processed Makefile after all the define foo gets done? I fi

[PATCH v2] imx: add imx8m support (pull-request; reviewers needed)

2024-01-19 Thread Tim Harvey
Greetings, I've sent a v2 of my patch to add imx8m/cortexta53 support to the mailing list but it got caught needing moderator approval due to 'Too many recipients to the message' (I cc'd merely 8 people that had participated in the previous discussions). It seems these days that patch submission

kernel config files and subtarget config-default files

2024-01-22 Thread Tim Harvey
Greetings, What is the best known method to add items to config-$KVER when you have subtargets with individual config-default files - specifically how are the items in this file ordered properly? Maybe the norm is to put them alphabetically (even though the kernel doesn't always do this) or to put

Re: [PATCH v2] imx: add imx8m support (pull-request; reviewers needed)

2024-01-29 Thread Tim Harvey
On Fri, Jan 19, 2024 at 1:59 PM Tim Harvey wrote: > > Greetings, > > I've sent a v2 of my patch to add imx8m/cortexta53 support to the > mailing list but it got caught needing moderator approval due to 'Too > many recipients to the message' (I cc'd merely 8

github CI workflow question

2024-05-21 Thread Tim Harvey
Greetings, I have a fork of https://github.com/openwrt/openwrt on github (https://github.com/Gateworks/openwrt_upstream) that I use to create feature branches to submit pull requests from for upstream OpenWrt. I notice that if I enable actions on my fork I get build failures for a branch that bui

[PATCH v2] imx: add imx8m support

2024-05-25 Thread Tim Harvey
which has been successfully booted on an imx8mm-evk using the following: u-boot=> tftpboot $fdt_addr_r image-imx8mm-evk.dtb && \ tftpboot $kernel_addr_r openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin && \ booti $kernel_addr_r - $fdt_addr_r Signed-off-by: Tim Harvey --- v2:

[OpenWrt-Devel] [PATCH] cns3xxx: fix USB ehci/ohci platform driver

2013-04-09 Thread Tim Harvey
Update ehci/ohci driver registration to conform to the new platform drivers. This fixes missing USB host support in 3.8.x Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 54 ++- 1 files changed, 51 insertions(+), 3 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH] uboot-envtools: add Gateworks Laguna board support

2013-04-10 Thread Tim Harvey
This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically. Signed-off-by: Tim Harvey --- package/boot/uboot-envtools/Makefile |4 package/boot/uboot-envtools/files

Re: [OpenWrt-Devel] Convert cambria-setup.c to use ehci-platform driver

2013-10-28 Thread Tim Harvey
On Thu, Oct 24, 2013 at 1:12 PM, Michael Weiser wrote: > Hi, > > I have a Cambria board and roll my own kernels for it using patches from > OpenWrt. Recent kernels (3.10/11) compile and start up fine but no longer > find the USB ports. Upon investigation I stumbled across Florian's > patchset rem

[OpenWrt-Devel] [PATCH] cns3xxx: add pushbutton GPIO for GW2380/82/83

2013-10-29 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 9c835f3..267b4c1 100644 --- a

[OpenWrt-Devel] [PATCH] cns3xxx: add uImage image build

2013-10-29 Thread Tim Harvey
p.b 0x80 0x6000 $(filesize) Laguna> reset Signed-off-by: Tim Harvey --- target/linux/cns3xxx/image/Makefile | 42 +-- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/target/linux/cns3xxx/image/Makefile b/target/linux/cns3xxx/image/Makef

[OpenWrt-Devel] QMI support in netifd?

2013-11-05 Thread Tim Harvey
uqmi. What is the status of QMI in OpenWrt? Thanks, Tim Tim Harvey - Principal Software Engineer Gateworks Corporation 3026 S. Higuera St. San Luis Obispo CA 93401 805-781-2000 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[OpenWrt-Devel] [PATCH] [usb] Add support for new Option modules

2012-10-01 Thread Tim Harvey
Add support for new Option modules (GTM66xxWFS/GTM67xxWFS) Add new device ID's for the hso driver as well as usb storage Signed-off-by: Tim Harvey target/linux/generic/patches-3.3/060-hso_devices.patch | 36 + 1 file changed, 36 insertions(+) Index: trunk/target/

[OpenWrt-Devel] [PATCH] [video] gspca: JPEG improvements for sn9c20x

2012-10-01 Thread Tim Harvey
SN9C20x/GSPCA JPEG improvements This increases the JPEG buffersize and adds JPEG quality set/get methods. The largest framesize I've encountered was 230KB resulting from quality=95 (and a complex/blury image). This also fixes a bug in the mode selection. Signed-off-by: Tim Harvey t

[OpenWrt-Devel] [PATCH] [cns3xxx] FIQ: update header file and disable RWFO

2012-10-02 Thread Tim Harvey
Update header file appropriately and disable read for ownership Note that the FIQ support implements a workaround that provides a performance boost over the traditional upstream workaround which ensures cache lines are exclusive on driver CPU using 'read for ownership'. Signed-o

[OpenWrt-Devel] [PATCH] [cns3xxx] add GW2383 board support

2012-10-02 Thread Tim Harvey
Add GPIO/LED support for Gateworks GW2383 Signed-off-by: Tim Harvey target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) Index: trunk/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch

[OpenWrt-Devel] [PATCH] [cns3xxx] GPIO: add gpio IRQ support

2012-10-02 Thread Tim Harvey
Fix cns3xxx gpio recursion and add gpio IRQ support Signed-off-by: Tim Harvey target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch | 536 1 file changed, 536 insertions(+) Index: trunk/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch

Re: [OpenWrt-Devel] [PATCH] [video] gspca: JPEG improvements for sn9c20x

2012-10-02 Thread Tim Harvey
John, Not yet - but I'll put that together. Thanks, Tim On Mon, Oct 1, 2012 at 10:49 AM, John Crispin wrote: > On 01/10/12 19:50, Tim Harvey wrote: > >> >> SN9C20x/GSPCA JPEG improvements >> >> This increases the JPEG buffersize and adds JPEG quality set/ge

[OpenWrt-Devel] [PATCH] [cns3xxx] add sysupgrade support

2012-10-04 Thread Tim Harvey
Add sysupgrade support for cns3xxx Signed-off-by: Tim Harvey target/linux/cns3xxx/base-files/lib/cns3xxx.sh | 22 ++ target/linux/cns3xxx/base-files/lib/upgrade/platform.sh | 122 target/linux/cns3xxx/image/Makefile | 19 +- 3 files changed

[OpenWrt-Devel] [PATCH] [ixp4xx] mtd: allow partial block unlock

2012-10-04 Thread Tim Harvey
Allow unlocking MTD partitions that exist within a partial eraseblock This allows sysupgrade for devices such as the Gateworks Avila/Cambria product families based on the ixp4xx using the redboot bootloader with combined FIS directory and RedBoot config partitions Signed-off-by: Tim Harvey

[OpenWrt-Devel] [PATCH] [ixp4xx] add sysupgrade support

2012-10-04 Thread Tim Harvey
Add sysupgrade support for ixp4xx platform Signed-off-by: Tim Harvey target/linux/ixp4xx/base-files/lib/ixp4xx.sh | 25 ++ target/linux/ixp4xx/base-files/lib/upgrade/platform.sh | 156 + target/linux/ixp4xx/image/Makefile | 11 + 3 files

[OpenWrt-Devel] [PATCH 1/4] ixp4xx: add 8250 delayed_uart I/O

2012-10-04 Thread Tim Harvey
Add a new UART I/O type for slow busses such as the ixp4xx Signed-off-by: Tim Harvey target/linux/ixp4xx/patches-3.3/160-delayed_uart.patch | 121 + 1 file changed, 121 insertions(+) Index: trunk/target/linux/ixp4xx/patches-3.3/160-delayed_uart.patch

[OpenWrt-Devel] [PATCH 3/4] ixp4xx: gateworks cambria board support update

2012-10-04 Thread Tim Harvey
Update Gateworks Cambria board support This rolls several patches into one which affect only the avila cambria support. In addition support for more recent boards is added. Signed-off-by: Tim Harvey target/linux/ixp4xx/patches-3.3/190-cambria_support.patch | 594 +- target

[OpenWrt-Devel] [PATCH 4/4] ixp4xx: gateworks avila board support udpate

2012-10-04 Thread Tim Harvey
Update Gateworks Avila board support This patch rolls several patches that affect only avila board support into one. In addition support is added for more recent boards. Signed-off-by: Tim Harvey target/linux/ixp4xx/patches-3.3/300-avila_fetch_mac.patch | 242 target/linux/ixp4xx

[OpenWrt-Devel] [PATCH] ixp4xx: spread-spectrum clock adjust

2012-10-04 Thread Tim Harvey
spread-spectrum clock do not show clock drift or UART issues. Signed-off-by: Tim Harvey target/linux/ixp4xx/config-3.3 |1 target/linux/ixp4xx/patches-3.3/700-spread-spectrum-adjust.patch | 45 ++ 2 files changed, 46 insertions(+) Index: trunk/target

Re: [OpenWrt-Devel] [PATCH] ixp4xx: spread-spectrum clock adjust

2012-10-05 Thread Tim Harvey
2012 at 1:46 AM, Felix Fietkau wrote: > On 2012-10-05 3:05 AM, Tim Harvey wrote: > > Spread-spectrum clock adjust support > > > > The ixp4xx can be driven from a 2% down spread-spectrum clock. Doing so > > however will cause your UART timing and system clock timing to b

Re: [OpenWrt-Devel] [PATCH 1/4] ixp4xx: add 8250 delayed_uart I/O

2012-10-05 Thread Tim Harvey
Felix, Agreed - I am going to re-post this series. I'll split it into two series: one for cambria cleanup/update and another for avila cleanup/update. Thanks, Tim On Fri, Oct 5, 2012 at 1:50 AM, Felix Fietkau wrote: > On 2012-10-05 3:00 AM, Tim Harvey wrote: > > Add a new UAR

[OpenWrt-Devel] [PATCHv2 3/3] ixp4xx: update Gateworks Cambria board support

2012-10-06 Thread Tim Harvey
configuration - add ENET switch config present on some boards - add support for GSC present on some boards - added per model setup support for newer boards Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.3/190-cambria_support.patch | 458 +++- 1 file changed, 447 insertions

[OpenWrt-Devel] [PATCHv2 0/3] ixp4xx: Gateworks Cambria board support

2012-10-06 Thread Tim Harvey
subsequent patch. I'm trying to stick with a single patch per product family. Tim Harvey (3): split out new UART I/O to its own patch patch cleanup updated Gateworks Cambria board support .../ixp4xx/patches-3.3/160-delayed_uart_io.patch | 122 .../ixp4xx/patches-3.

[OpenWrt-Devel] [PATCHv2 1/3] ixp4xx: split out new UART I/O to its own patch

2012-10-06 Thread Tim Harvey
This is being done for general cleanup Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.3/160-delayed_uart_io.patch | 122 .../patches-3.3/191-cambria_optional_uart.patch| 121 --- 2 files changed, 122 insertions(+), 121 deletions(-) create mode

[OpenWrt-Devel] [PATCHv2 2/3] ixp4xx: patch cleanup

2012-10-06 Thread Tim Harvey
roll all cambria patches into a single patch (no code changes) Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.3/190-cambria_support.patch | 146 +++- .../patches-3.3/191-cambria_optional_uart.patch| 96 - .../patches-3.3/192-cambria_gpio_device.patch

[OpenWrt-Devel] [PATCHv2 0/3] ixp4xx: Gateworks Avila board support

2012-10-06 Thread Tim Harvey
Cleanup and update board support for the Gateworks Avila product family This version fixes previous breakage between series and adds an additional step of merging 3 avila support patches into 1 before adding new board support. I'm trying to stick with a single patch per product family.

[OpenWrt-Devel] [PATCHv2 2/3] ixp4xx: patch cleanup

2012-10-06 Thread Tim Harvey
roll all avila patches into a single patch (no code changes) Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.3/300-avila_fetch_mac.patch | 242 -- .../ixp4xx/patches-3.3/300-avila_support.patch | 346 .../linux/ixp4xx/patches-3.3/301-avila_led.patch

<    1   2   3   >