[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:

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

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

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

[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

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

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 > > --- > > ..

[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

[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 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 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 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] 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 --

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

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

[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] 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] 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: [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

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

[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

[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 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

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

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

[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

[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 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] 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] 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] 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

[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-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

[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] 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] 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 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 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] 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 22.03] octeontx: add sqaushfs and ramdisk to features

2023-01-13 Thread Tim Harvey
Add squashfs and ramdisk to features as these are commonly used images for the octeontx. Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index

[PATCH] octeontx: add sqaushfs and ramdisk to features

2022-12-28 Thread Tim Harvey
Add squashfs and ramdisk to features as these are commonly used images for the octeontx. Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index

how to add to list of Image files or supplementary files?

2022-10-20 Thread Tim Harvey
Greetings, How would I go about getting a file added to the list of Image Files or Supplementary Files made by the auto-builder? For the octeontx target the kernel should be provided as a downloadable as well. Best Regards, Tim ___ openwrt-devel mail

Re: Unknown licensing terms for binary blobs [Was: Re: [PATCH 1/2] firmware: Add cavium CPT hardware crypto firmware]

2022-02-22 Thread Tim Harvey
On Sat, Feb 19, 2022 at 11:22 PM Daniel Danzberger wrote: > > On Sat, 2022-02-19 at 20:21 +0100, Petr Štetiar wrote: > > Hauke Mehrtens [2021-05-22 20:31:27]: > > > > Hi Daniel, Tim, > > > > > On 4/18/21 9:46 AM, Daniel Danzberger wrote: > > > > The firmware consists of 2 images: > > > > - cpt8

Re: octeontx kernel 5.10

2022-02-04 Thread Tim Harvey
On Thu, Feb 3, 2022 at 3:54 PM Hauke Mehrtens wrote: > > Hi, > > We would like to switch the octeontx target to kernel 5.10. Paul created > a pull request for that: > https://github.com/openwrt/openwrt/pull/4609 > > Could you please test this target and report back if it works for you > with kerne

Re: OpenWrt imx split status?

2021-10-05 Thread Tim Harvey
On Tue, Oct 5, 2021 at 8:42 AM Piotr Dymacz wrote: > > Hi Tim, > > On 04.10.2021 00:22, Tim Harvey wrote: > > Piotr, > > > > How is your progress regarding submitting patches to OpenWrt to split > > the imx target into multiple arch related subtargets (l

OpenWrt imx split status?

2021-10-03 Thread Tim Harvey
Piotr, How is your progress regarding submitting patches to OpenWrt to split the imx target into multiple arch related subtargets (like cortexa7, cortexa9)? Is anyone working on i.MX8 support that you know of? I have seen people ask for it in the past but nobody has been persistent about it. Bes

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

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] 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

[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

[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] 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] 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] 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] 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] 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] 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] 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: 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] 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: 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 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 -

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] 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

[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] [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: 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

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

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

[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-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

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: 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

[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

[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 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 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] kernel: can: add MCP251x CAN controller module support

2020-02-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/can.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index c2c7411..3bf0359 100644 --- a/package/kernel/linux/modules/can.mk +++ b

[OpenWrt-Devel] [PATCH] kernel: iio: add st-accel driver modules

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

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

2020-02-26 Thread Tim Harvey
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-Underflow-issue.patch | 150 + ...03-can-mcp251x-convert-to-half-duplex-SPI.patch | 51

Re: [OpenWrt-Devel] [PATCH] octeontx: move to 4.19 kernel

2020-02-26 Thread Tim Harvey
On Wed, Feb 26, 2020 at 5:27 AM John Crispin wrote: > > On 25.02.20 22:58, Tim Harvey wrote: > > Hi Tim, > thanks for the patch, we are in the process of bumping to v5.4. Would > you have time to also try bumping octeontx to v5.4 ? staging tree is > located here -> >

[OpenWrt-Devel] [PATCH] octeontx: move to 4.19 kernel

2020-02-25 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 2 +- target/linux/octeontx/config-4.19 | 573 + ...nderx-use-proper-interface-type-for-RGMII.patch | 47 ++ ...hunderx-workaround-BGX-TX-Underflow-issue.patch | 150

Re: [OpenWrt-Devel] [PATCH] octeontx: fix thunderx BGX underflow irq name

2019-10-28 Thread Tim Harvey
On Sun, Oct 27, 2019 at 6:33 AM Hauke Mehrtens wrote: > > On 10/25/19 11:27 PM, Tim Harvey wrote: > > request_irq requires irq names to be static/allocated and not on the stack > > It would be nice if this patch could also go to the mainline Linux > kernel, so we do not ha

[OpenWrt-Devel] [PATCH] octeontx: fix thunderx BGX underflow irq name

2019-10-25 Thread Tim Harvey
request_irq requires irq names to be static/allocated and not on the stack Signed-off-by: Tim Harvey --- ...1-net-thunderx-workaround-BGX-TX-Underflow-issue.patch | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/target/linux/octeontx/patches-4.14/0001-net

[OpenWrt-Devel] troubleshooting kernel bump from 4.14 to 4.19 causing userspace crash with libgcc_s.so.1 missing

2019-10-07 Thread Tim Harvey
Greetings, I'm trying to bump the octeontx kernel from 4.14 to 4.19 which it seems should be trivial but I keep ending up with userspace failing with: [7.080332] Run /init as init process Error loading shared library libgcc_s.so.1: No such file or directory (needed by /init) [7.120297] Ke

[OpenWrt-Devel] [PATCH] uboot-envtools: remove erasesize from MMC config

2019-10-02 Thread Tim Harvey
Erasesize doesn't belong in the u-boot env config for block devices as it is known to be 512 byte aligned. Signed-off-by: Tim Harvey --- package/boot/uboot-envtools/files/imx6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/boot/uboot-envtools/files/im

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

2019-10-02 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 1/2] imx6: bootscript: enable UBI fastmap support

2019-10-02 Thread Tim Harvey
UBI Fastmap support is stable in the 4.4 kernel so lets take advantage of it to shave off 5-10 seconds of boot time. Signed-off-by: Tim Harvey --- target/linux/imx6/image/bootscript-ventana | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/image/bootscript

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-22 Thread Tim Harvey
On Thu, Feb 22, 2018 at 4:14 AM, Felix Fietkau wrote: > On 2018-02-22 09:34, Felix Fietkau wrote: >> On 2018-02-22 01:12, Tim Harvey wrote: >>> On Wed, Feb 21, 2018 at 2:36 PM, Felix Fietkau wrote: >>>> On 2018-02-20 19:23, Tim Harvey wrote: >>>>> W

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-21 Thread Tim Harvey
On Wed, Feb 21, 2018 at 2:36 PM, Felix Fietkau wrote: > On 2018-02-20 19:23, Tim Harvey wrote: >> We are using F2FS as our overlay read/write FS. Others can be supported >> as modules. >> >> Signed-off-by: Tim Harvey > I think it would be a good idea to leave i

[OpenWrt-Devel] [PATCH 8/8] kernel: add missing symbol

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index f7d9cca..6d3a207 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14

[OpenWrt-Devel] [PATCH 6/8] octeontx: remove unnecessary CONFIG_DEBUG_INFO

2018-02-20 Thread Tim Harvey
Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index 2efac7c..a6f762c 100644 --- a/target/linux/octeontx/config-4.14 +++ b/target/linux

[OpenWrt-Devel] [PATCH 5/8] octeontx: add fpu support

2018-02-20 Thread Tim Harvey
Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index ecac152..e7f6b2d 100644 --- a/target/linux/octeontx/Makefile +++ b/target

[OpenWrt-Devel] [PATCH 7/8] octeontx: remove undefs of CONFIG_NET_VENDOR_*

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 52 --- 1 file changed, 52 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index a6f762c..114fc38 100644 --- a/target/linux/octeontx/config-4.14

[OpenWrt-Devel] [PATCH 4/8] octeontx: remove CFLAGS

2018-02-20 Thread Tim Harvey
You should not define CFLAGS for the toolchain as this will also leak into other targets if they share the same toolchain. Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target

[OpenWrt-Devel] [PATCH 3/8] octeontx: add FAT FS support to kernel

2018-02-20 Thread Tim Harvey
The CN80XX Boot firmware uses an embedded FAT12 filesystem. For some reason busybox can't mount this unless its enabled static in the kernel. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/octeontx/config

[OpenWrt-Devel] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-20 Thread Tim Harvey
We are using F2FS as our overlay read/write FS. Others can be supported as modules. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 9 - 1 file changed, 9 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index c56a27d

  1   2   3   >