[OpenWrt-Devel] [PATCH 2/6] layerscape: ls1012afrdm: add uncompressed initramfs

2020-02-25 Thread Tomasz Maciej Nowak
Uncompressing of initramfs image fails on board with U-Boot from "QorIQ SDK (FSL Reference Distro) 2.0". Signed-off-by: Tomasz Maciej Nowak --- target/linux/layerscape/image/armv8_64b.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/layerscape/image/armv8_64b.mk

[OpenWrt-Devel] [PATCH 4/6] layerscape: ls1012afrdm: introduce dynamic partitioning

2020-02-25 Thread Tomasz Maciej Nowak
kernel image format, since splitter only manages kernel and rootfs partitions, the dtb needs to be updated with the kernel, so for convenience, kernel is packed to FIT image. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt | 4 ++-- target/linux/

[OpenWrt-Devel] [PATCH 6/6] layerscape: sysupgrade: require metadata

2020-02-25 Thread Tomasz Maciej Nowak
Require the image metadata check so no invalid image could be fed to sysupgrade without force option. Cc: Mathew McBride Signed-off-by: Tomasz Maciej Nowak --- target/linux/layerscape/base-files/lib/upgrade/platform.sh | 2 ++ target/linux/layerscape/image/armv8_64b.mk | 1 + 2

[OpenWrt-Devel] [PATCH 3/6] layerscape: ls1012afrdm: convert image to squashfs

2020-02-25 Thread Tomasz Maciej Nowak
This commit replaces UBIFS root partition with squashfs+overlay. It's preparation for introducing dynamic partitioning. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt | 2 +- target/linux/layerscape/image/armv8_64b.mk | 5 ++-

[OpenWrt-Devel] [PATCH 5/6] layerscape: ls10121frdm: add sysupgrade

2020-02-25 Thread Tomasz Maciej Nowak
Instead of dangerous rewriting full chip with firmware.bin image to update OpenWrt, add sysupgrade image. This image will be used to update kernel and rootfs, leaving bootloader intact and making recovery possible, without resorting to external hardware tools. Signed-off-by: Tomasz Maciej Nowak

[OpenWrt-Devel] [PATCH 1/6] layerscape: resurrect support for FRDM-LS1012A

2020-02-25 Thread Tomasz Maciej Nowak
Follow the QSPI programing procedure for LS1012AFRWY board in target/linux/layerscape/README, point 3.3. Don't forget about updating U-Boot environment with MAC addresses of ethernet interfaces, variable 'ethaddr' for eth0 and 'eth1addr' for eth1. As the LSDK images do

Re: [OpenWrt-Devel] [PATCH] kernel: drop downstream support for mtd unaligned writes

2020-03-12 Thread Tomasz Maciej Nowak
Hi Rafał. W dniu 09.03.2020 o 12:43, Rafał Miłecki pisze: > From: Rafał Miłecki > > This code was developed 10+ years ago to support few specific devices. > It doesn't match current mtd architecture and is probably/hopefully not > needed anymore. Unfortunately it is needed for currently support

[OpenWrt-Devel] [PATCH 1/4] kernel: move TEO governor to generic config

2020-03-16 Thread Tomasz Maciej Nowak
This new symbol popped up in few places. Disable it in generic config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/armvirt/64/config-5.4 | 1 - target/linux/bcm27xx/bcm2708/config-5.4 | 1 - target/linux/bcm27xx/bcm2709/config-5.4 | 1 - target/linux/bcm27xx/bcm2710/config-5.4 | 1

[OpenWrt-Devel] [PATCH 4/4] tegra: switch to kernel 5.4

2020-03-16 Thread Tomasz Maciej Nowak
Build the latest kernel by default, since testing did not show any regressions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile index 6f7ca1861690

[OpenWrt-Devel] [PATCH 2/4] tegra: copy kernel config and patches for 5.4

2020-03-16 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-5.4 | 559 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ 3 files changed, 682 insertions(+) create mode 100644 target/linux

[OpenWrt-Devel] [PATCH 3/4] tegra: refresh patches and kernel config for 5.4

2020-03-16 Thread Tomasz Maciej Nowak
This commit also disables Trusted Foundations firmware support as this feature won't be used by any device. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 1 + target/linux/tegra/config-5.4 | 47 --- ...interrupts-d

[OpenWrt-Devel] [PATCH] mvebu: cortexa9:, tegra: correct cpu subtype

2020-03-18 Thread Tomasz Maciej Nowak
-broken-on-mvebu-armada-370-device-after-commit-on-2019-03-25/43272 Fixes: 8dcc1087602e ("toolchain: ARM: Fix toolchain compilation for gcc 8.x") Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/cortexa9/target.mk | 2 +- target/linux/tegra/Makefile | 2 +- 2 files chan

[OpenWrt-Devel] [PATCH 1/2] mvebu: cortexa9: correct cpu subtype

2020-03-18 Thread Tomasz Maciej Nowak
-device-after-commit-on-2019-03-25/43272 Fixes: 8dcc1087602e ("toolchain: ARM: Fix toolchain compilation for gcc 8.x") Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/cortexa9/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu

[OpenWrt-Devel] [PATCH 2/2] tegra: correct cpu subtype

2020-03-18 Thread Tomasz Maciej Nowak
e-after-commit-on-2019-03-25/43272 Fixes: 8dcc1087602e ("toolchain: ARM: Fix toolchain compilation for gcc 8.x") Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Make

Re: [OpenWrt-Devel] [PATCH] x86: fix offer f2fs/ext4 based overlays

2020-03-25 Thread Tomasz Maciej Nowak
Hi Paul. W dniu 25.03.2020 o 05:58, Paul Spooren pisze: > With the recent rework of the x86 image creation the f2fs/ext4 based > overlays dissappeared as their are not copied by default. > > This commit follows the implementation of malta and armvirt to copy the > overlays as well. > > Signed-of

Re: [OpenWrt-Devel] [PATCH] x86: fix virutalbox squashfs images

2020-03-25 Thread Tomasz Maciej Nowak
Hi Daniel. W dniu 25.03.2020 o 14:18, Daniel Golle pisze: > Hi, > > On Wed, Mar 25, 2020 at 12:45:08PM +0100, m...@adrianschmutzler.de wrote: >> Hi, >> >>> -Original Message- >>> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >>> On Behalf Of Paul Spooren >>> Sent: M

Re: [OpenWrt-Devel] [PATCH] mvebu: add support for Buffalo LinkStation LS421DE

2020-03-27 Thread Tomasz Maciej Nowak
Hi Daniel. Comments inline. W dniu 26.03.2020 o 02:00, Daniel Gonzalez Cabanelas pisze: > Buffalo LinkStation LS421DE is a dual bay NAS, based on Marvell Armada 370 > > Hardware: >SoC: Marvell 88F6707-A1 >CPU: Cortex-A9 1200 MHz, 1 core >Flash: SPI-NOR 1 MiB, NA

Re: [OpenWrt-Devel] Merged: tegra: correct cpu subtype

2020-03-29 Thread Tomasz Maciej Nowak
W dniu 29.03.2020 o 22:30, Hauke Mehrtens pisze: > On 3/28/20 1:52 PM, Petr Štetiar wrote: >> Thanks! Merged into my staging tree at >> https://git.openwrt.org/openwrt/staging/ynezz.git >> >> ___ >> openwrt-devel mailing list >> openwrt-devel@lists.openw

Re: [OpenWrt-Devel] [PATCH] mvebu/cortexa9: use Linksys codename as PROFILE

2020-04-01 Thread Tomasz Maciej Nowak
W dniu 01.04.2020 o 08:55, Piotr Dymacz pisze: > Hi Paul, > > On 01.04.2020 01:20, Paul Spooren wrote: >> The PROFILE names of mvebu/cortexa9/Linksys devices are based on the >> consumer names (like linksys_wrt1200ac) instead of the vendor codenames >> (like linksys_caiman) which are however used

Re: [OpenWrt-Devel] [PATCH] mvebu/cortexa9: use Linksys codename as PROFILE

2020-04-01 Thread Tomasz Maciej Nowak
W dniu 01.04.2020 o 14:15, Piotr Dymacz pisze: > Hi Tomasz, Paul, > > On 01.04.2020 14:03, Tomasz Maciej Nowak wrote: >> W dniu 01.04.2020 o 08:55, Piotr Dymacz pisze: >>> Hi Paul, >>> >>> On 01.04.2020 01:20, Paul Spooren wrote: >>>> The PRO

Re: [OpenWrt-Devel] [PATCH] mvebu, tegra: make CPU subtype default to vfp3-d16

2020-04-01 Thread Tomasz Maciej Nowak
the above mentioned issue, but on the other end it has resulted in the > need of building packages for this new CPU subtype which is not wanted > due to the increased infrastructure costs, like disk space and > additional build time which is huge for packages feed. > > So lets just take

Re: [OpenWrt-Devel] [PATCH v2] mvebu: add support for Buffalo LinkStation LS421DE

2020-04-01 Thread Tomasz Maciej Nowak
W dniu 29.03.2020 o 18:52, Daniel Gonzalez Cabanelas pisze: > Buffalo LinkStation LS421DE is a dual bay NAS, based on Marvell Armada 370 > > Hardware: >SoC: Marvell Armada-370 88F6707-A1 >CPU: Cortex-A9 1200 MHz, 1 core >Flash: SPI-NOR 1 MiB, NAND 512 MiB >RAM

Re: [OpenWrt-Devel] [PATCH] mvebu, tegra: make CPU subtype default to vfp3-d16

2020-04-01 Thread Tomasz Maciej Nowak
W dniu 01.04.2020 o 16:52, Klaus Kudielka pisze: > Hi Petr & Tomasz, > >> In order to fix those issues Tomas in commit 2d61f8821c7c ("mvebu: >> cortexa9: correct cpu subtype") and commit 43d1d8851062 ("tegra: correct >> cpu subtype") changed the CPU subtype to explicit vfpv3-d16 which fixed >> the

Re: [OpenWrt-Devel] [PATCH v2] mvebu: add support for Buffalo LinkStation LS421DE

2020-04-05 Thread Tomasz Maciej Nowak
t; Is this the righ way to do it?. Looks OK, there's nothing wrong with defining relevant bits in dts, if they are correct. > BTW, the board works ok without it enabled by Openwrt, Maybe the driver already uses it since only one pin is defined as "cpu-pd"? > > Regards >

Re: [OpenWrt-Devel] [PATCH v3] mvebu: add support for Buffalo LinkStation LS421DE

2020-04-06 Thread Tomasz Maciej Nowak
't work, even if the power slide switch is > used. We must first, via MDIO, set the unused LED2 at the ethernet > phy0 to off state. Reboot works ok. > > Signed-off-by: Daniel González Cabanelas Reviewed-by: Tomasz Maciej Nowak > --- > Changes in v2: > - dt

Re: [OpenWrt-Devel] Is it possible to create two images for the same device with a different set of DEVICE_PACKAGES?

2020-04-07 Thread Tomasz Maciej Nowak
Hi Bjørn. W dniu 07.04.2020 o 16:50, Bjørn Mork pisze: > Hannu Nyman writes: > >> I do not think that there is a nice clean solution, as I do not >> remember seeing a solution of different packages for iniramfs, factory >> and sysupgrade images. >> >> I would approach that with a two-step build

Re: [OpenWrt-Devel] [PATCH] mvebu: add support for GL.iNet GL-MV1000

2020-04-13 Thread Tomasz Maciej Nowak
Hi Li Zhang. This version looks much better than the first one, some comments inline. W dniu 13.04.2020 o 12:26, Li Zhang pisze: > This patch adds supports for GL-MV1000. > > Specification: > - SOC: Marvell Armada 88F3720 (1GHz) > - Flash: 16MB (W25Q128FWSIG) > - RAM: 1GB DDR4

Re: [OpenWrt-Devel] [PATCH] mvebu: add support for GL.iNet GL-MV1000

2020-04-14 Thread Tomasz Maciej Nowak
erride IMAGES variable and add multiple IMAGE recipes in device definition, there is no reason to add a common stub used ONLY by one device. > > > Thank you! > > > Li Zhang | Software Engineer > li.zh...@gl-inet.com > GL.iNet WiFi for Things > Website: www.gl-inet.com

[OpenWrt-Devel] [PATCH 3/4] x86: select kmod-button-hotplug by default

2020-04-20 Thread Tomasz Maciej Nowak
This package is useful by all subtargets, therefore move it to default packages selection. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/target.mk | 4 ++-- target/linux/x86/Makefile | 2 +- target/linux/x86/generic/target.mk | 1 - target/linux/x86/geode/target.mk

[OpenWrt-Devel] [PATCH 2/4] x86: fix kmod-forcedeth package selection

2020-04-20 Thread Tomasz Maciej Nowak
There's no such package as forcedeth, threfore the driver is never selected. Fix it by properly specifying package name. Fixes: 35f208d ("x86: add nforce eth to default packages") Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/target.mk | 2 +- target/linux/x86/i

[OpenWrt-Devel] [PATCH 4/4] x86: move packages selection to profiles

2020-04-20 Thread Tomasz Maciej Nowak
ed in kernel config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/target.mk| 2 -- target/linux/x86/geode/target.mk | 10 -- target/linux/x86/image/64.mk | 2 ++ 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/target/linux/x86/64/target.mk b/target/linu

[OpenWrt-Devel] [PATCH 1/4] x86: image: drop dead code

2020-04-20 Thread Tomasz Maciej Nowak
These are remnants of old image generation code, which now serve no purpose. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile | 8 1 file changed, 8 deletions(-) diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 77516a4a9d41

[OpenWrt-Devel] [PATCH] mvebu: espressobin: fix SATA and USB 3.0 ports detection

2020-04-20 Thread Tomasz Maciej Nowak
tested briefly with bootloader with updated ATF and the ports functioned properly. Signed-off-by: Tomasz Maciej Nowak --- ...l-espressobin-remove-COMPHY-nodes-as.patch | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 target/linux/mvebu/patches-5.4/523-arm64-dts

[OpenWrt-Devel] [PATCH v2 1/4] x86: image: drop dead code

2020-04-20 Thread Tomasz Maciej Nowak
These are remnants of old image generation code, which now serve no purpose. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile | 8 1 file changed, 8 deletions(-) diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 77516a4a9d41

[OpenWrt-Devel] [PATCH v2 2/4] x86: fix kmod-forcedeth package selection

2020-04-20 Thread Tomasz Maciej Nowak
There's no such package as forcedeth, threfore the driver is never selected. Fix it by properly specifying package name. Fixes: 35f208d ("x86: add nforce eth to default packages") Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/target.mk | 2 +- target/linux/x86/i

[OpenWrt-Devel] [PATCH v2 4/4] x86: move packages selection to profiles

2020-04-20 Thread Tomasz Maciej Nowak
abled in kernel config. Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 Really remove those packages. target/linux/x86/64/target.mk| 2 -- target/linux/x86/geode/target.mk | 10 -- target/linux/x86/image/64.mk | 2 ++ target/linux/x86/image/geode.mk | 7 +++ 4 files ch

[OpenWrt-Devel] [PATCH v2 3/4] x86: select kmod-button-hotplug by default

2020-04-20 Thread Tomasz Maciej Nowak
This package is useful by all subtargets, therefore move it to default packages selection. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/target.mk | 4 ++-- target/linux/x86/Makefile | 2 +- target/linux/x86/generic/target.mk | 1 - target/linux/x86/geode/target.mk

[OpenWrt-Devel] [19.07] [PATCH] ath79: add support for Sitecom WLR-7100

2020-05-04 Thread Tomasz Maciej Nowak
(U-Boot) command line. OEM firmware shell password is: SitecomSenao useful for creating backup of original firmware. There is also another revision of this device (v1 001), which may or may not work with introduced images. Signed-off-by: Tomasz Maciej Nowak --- .../ath79/base-files/etc/board.d/02

Re: [OpenWrt-Devel] [19.07] [PATCH] ath79: add support for Sitecom WLR-7100

2020-05-04 Thread Tomasz Maciej Nowak
W dniu 04.05.2020 o 20:31, m...@adrianschmutzler.de pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Montag, 4. Mai 2020 19:49 >> To: openwr

Re: [OpenWrt-Devel] [PATCH] mvebu: switch to kernel 5.4

2020-06-02 Thread Tomasz Maciej Nowak
Hi Adrian. W dniu 28.05.2020 o 18:49, Adrian Schmutzler pisze: > Last reports with kernel 5.4 have all been positive [1], so let's open > this to a wider range of testers. Switching kernel version needs this: https://patchwork.ozlabs.org/project/openwrt/patch/20200420174711.52387-1-tome...@o2.pl

[PATCH] mvebu: add support for MACCHIATObin Single Shot

2020-07-09 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- target/linux/mvebu/image/cortexa72.mk | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/target/linux/mvebu/image/cortexa72.mk b/target/linux/mvebu/image/cortexa72.mk index 50233540ed2e..cab2ffcaa251 100644 --- a/target/linux/mvebu

[PATCH] linux-firmware: package EIP197 mini firmware

2020-07-09 Thread Tomasz Maciej Nowak
ide-secure driver and hardware without access to "official" firmware only available under NDA. Signed-off-by: Tomasz Maciej Nowak --- package/firmware/linux-firmware/misc.mk | 9 + package/kernel/linux/modules/crypto.mk | 10 ++ 2 files changed, 15 insertions(+), 4 delet

Re: [PATCH] mvebu: add support for MACCHIATObin Single Shot

2020-07-10 Thread Tomasz Maciej Nowak
Hi. W dniu 10.07.2020 o 10:33, m...@adrianschmutzler.de pisze: >>> -Original Message- >>> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >>> On Behalf Of Tomasz Maciej Nowak >>> Sent: Donnerstag, 9. Juli 2020 21:16 >>>

[PATCH v2] mvebu: add support for MACCHIATObin Single Shot

2020-07-10 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- v1 -> v2 - Rebase onto "mvebu: fix support for Marvell 8040 MACCHIATOBin". - Add missing cases for network, sysupgrade and U-Boot environment location. - Fix Double Shot case in U-Boot evironment location. package/boot/uboot-envtools/files/mve

Re: [PATCH v2] mvebu: add support for MACCHIATObin Single Shot

2020-07-11 Thread Tomasz Maciej Nowak
W dniu 10.07.2020 o 20:04, m...@adrianschmutzler.de pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Freitag, 10. Juli 2020 19:35 >> To: o

Re: [PATCH] mvebu: fix support for Marvell 8040 MACCHIATOBin

2020-07-11 Thread Tomasz Maciej Nowak
or 4.19 with our setup, this adds a > small patch to change the compatible there as well. > > [1] > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b1f0bbe2700051886b954192b6c1751233fe0f52 > > Cc: Tomasz Maciej Nowak > Signed-off-by: Adrian Schmutz

Re: [PATCH] kernel: fix mtd partition erase

2020-08-14 Thread Tomasz Maciej Nowak
escribed Year ago in this bug report: https://bugs.openwrt.org/index.php?do=details&task_id=2428 and this patch fixes it, Thank You very much. Tested-by: Tomasz Maciej Nowak Fixes: FS#2428 > > -- > > 4.19 also requires this fix > > A little discussion here: > ht

[PATCH] ath79: add support for ALLNET ALL-WAP02860AC

2020-08-14 Thread Tomasz Maciej Nowak
o OpenWrt. Wait few minutes, until the Power LED stops blinking, then it's ready for configuration. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-envtools/files/ath79 | 1 + .../dts/qca9558_allnet_all-wap02860ac.dts | 155 ++ .../generic/base

Re: [PATCH] ath79: add support for ALLNET ALL-WAP02860AC

2020-08-14 Thread Tomasz Maciej Nowak
Hi, W dniu 14.08.2020 o 18:30, Adrian Schmutzler pisze: > Hi, > >> +&wmac { >> +status = "okay"; >> + >> +mtd-cal-data = <&art 0x1000>; >> +mtd-mac-address = <&art 0x0>; >> +mtd-mac-address-increment = <1>; > > Caldata does not contain valid addresses? (same for 0x5000) Nope. >

[PATCH 2/2] ipq-wifi: add BDF for Luma WRTQ-329ACN

2020-08-28 Thread Tomasz Maciej Nowak
These are extracted from OEM firmware. Signed-off-by: Tomasz Maciej Nowak --- package/firmware/ipq-wifi/Makefile | 2 ++ .../ipq-wifi/board-luma_wrtq-329acn.qca4019 | Bin 0 -> 24324 bytes .../arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts | 4 target/linux/ipq40xx/im

[PATCH 1/2] ipq40xx: add support for Luma WRTQ-329ACN

2020-08-28 Thread Tomasz Maciej Nowak
R led_ctl fill COLOR ( default is 5 ) led_ctl flashing COLOR (default is 34) ( default is 34 ) led_ctl pulsing COLOR COLOR: red, green, blue, yellow, purple, cyan, white Signed-off-by: Tomasz

[PATCH v2 2/2] ipq-wifi: add BDFs for Luma Home WRTQ-329ACN

2020-08-30 Thread Tomasz Maciej Nowak
These are copied from OEM firmware. Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 - adjust commit title to changes in patch adding the main support - add plural package/firmware/ipq-wifi/Makefile | 2 ++ .../ipq-wifi/board-luma_wrtq-329acn.qca4019 | Bin 0 -> 24324

[PATCH v2 1/2] ipq40xx: add support for Luma Home WRTQ-329ACN

2020-08-30 Thread Tomasz Maciej Nowak
g COLOR led_ctl fill COLOR ( default is 5 ) led_ctl flashing COLOR (default is 34) ( default is 34 ) led_ctl pulsing COLOR COLOR: red, green, blue, yellow, purple, cyan, white Signed-off-

Re: [PATCH v2 1/2] ipq40xx: add support for Luma Home WRTQ-329ACN

2020-09-15 Thread Tomasz Maciej Nowak
Hi Christian, thanks for looking at this. W dniu 13.09.2020 o 00:04, Christian Lamparter pisze: > On 2020-08-30 13:28, Tomasz Maciej Nowak wrote: >> Luma Home WRTQ-329ACN, also known as Luma WiFi System, is a dual-band >> wireless access point. >> >> Specification >&

Re: [PATCH v2 1/2] ipq40xx: add support for Luma Home WRTQ-329ACN

2020-09-22 Thread Tomasz Maciej Nowak
W dniu 18.09.2020 o 20:47, Christian Lamparter pisze: > On 2020-09-15 16:50, Tomasz Maciej Nowak wrote: >> Hi Christian, thanks for looking at this. >> >> W dniu 13.09.2020 o 00:04, Christian Lamparter pisze: >>> On 2020-08-30 13:28, Tomasz Maciej Nowak wrote: &g

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-12 Thread Tomasz Maciej Nowak
Hi. W dniu 12.10.2020 o 16:32, Andre Heider pisze: > On 12/10/2020 12:21, Petr Štetiar wrote: >> Hauke Mehrtens [2020-10-11 20:41:21]: >> >> Hi, >> >>   (I've expressed this already in my initial review[1] which was not >> addressed >>    and pushed anyway.) >> >>> +TFA_MAKE_FLAGS += \ >>> +

[PATCH v2] sdk: expose PATENTED an NLS build options

2023-02-17 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some packages offer functionalities guarded by these options and it'll be impossible to reach them without changing Config-build.in. So allow to toggle these in more friendly way, by exposing them in configuration menu. Signed-off-by: Tomasz Maciej Nowak --- v1

[PATCH 2/6] kernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1

2023-04-27 Thread Tomasz Maciej Nowak
From: Christian Marangi Kernel 6.1 expanded the priv_flags to long bitmap so update and restore it to priv_flags. Signed-off-by: Christian Marangi --- target/linux/ath25/files/drivers/net/phy/mvswitch.c | 8 ++-- target/linux/generic/files/drivers/net/phy/ar8216.c | 8 ++-- 2 files cha

[PATCH 1/6] generic: mtk_wed: correct kernel version

2023-04-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak These patches were accepted during 6.2 merge window, so rename accordingly. Signed-off-by: Tomasz Maciej Nowak --- ...-01-v6.2-net-ethernet-mtk_wed-introduce-wed-mcu-support.patch} | 0 ...9-02-v6.2-net-ethernet-mtk_wed-introduce-wed-wo-support.patch} | 0 2-net

[PATCH 6/6] ubnt-ledbar: depend on mediatek and ramips subtargets

2023-04-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak It's only used on devices in mt7621 and mt7622 subtargets, so no reason to compile it for others. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/ubnt-ledbar/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/ubnt-l

[PATCH 0/6] Preparation for kernel 6.1

2023-04-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Small set of non-invasive compat code preping support for 6.1 kernel with two additional cosmetic commits. Should not break buildability of touched parts. Christian Marangi (2): kernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1 kernel: refresh swconfig_l

[PATCH 5/6] ubnt-ledbar: add kernel 6.1 compat

2023-04-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak As of ed5c2f5fd10d ("i2c: Make remove callback return void") return value of remove function is ignored. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/pack

[PATCH 4/6] kernel: fallback-sprom: rename random_ether_addr

2023-04-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak This helper has been renamed looong time ago, and with ba530fea8ca1 ("ethernet: remove random_ether_addr()") the old name is no longer available, so rename accordingly. Signed-off-by: Tomasz Maciej Nowak --- target/linux/generic/files/drivers/bcma/fallba

[PATCH 3/6] kernel: refresh swconfig_leds to handle new trigger locking

2023-04-27 Thread Tomasz Maciej Nowak
From: Christian Marangi Refresh swconfig_leds source to handle new trigger locking that is now a spinlock. Signed-off-by: Christian Marangi --- .../files/drivers/net/phy/swconfig_leds.c| 16 1 file changed, 16 insertions(+) diff --git a/target/linux/generic/files/driv

[PATCH] download: create immutable subversion checkout archive

2023-05-10 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak On each generation of the archive check sum will differ, because when checking out subversion repository, current date is used for directories creation. Force tar to assign creation date of the last revision for all items inside archive. Signed-off-by: Tomasz Maciej

Re: Non-SoC target for ARM64

2023-06-01 Thread Tomasz Maciej Nowak
W dniu 1.06.2023 o 18:58, Philip Prindeville pisze: > Hi, Hi. > I'm thinking about the utility of being able to build a generalized ARM64 > image (not "armvirt") for bring up on new platforms for testing. > > There are a lot of generalized computing platforms like the Ampere Altra > servers th

[PATCH 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Alter command boot sequence in U-Boot on first boot after upgrade to workaround the kernel size limitation. The kernel size read from flash will be 8MiB, which should suffice for forseable future. As precaution a warning interupting upgrade is emited, explaining what to

[PATCH 1/3] ipq40xx: image: limit kernel size for NOR devices

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak 'bootipq' command, on some devices with kernel on NOR flash chip, read kernel partition size from Qualcomm proprietary partition table, which seems to be stored in MIBIB partition. The partition table can be read by 'smeminfo' command in U-Boot co

[PATCH 0/3] ipq40xx: remedy potential of producing

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some of devices having kernel on NOR flash could reach limit of kernel partition size at 4MiB and soft-brick them. Unfortunately we don't know if all of them are affected, thus kernel size limit is added to all of remaining ones. Later commit allows for some devic

[PATCH 2/3] ipq40xx: dts: allow writing to U-Boot environment

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Devices allowing to boot LZMA compressed kernel or zImage kernel didn't hit yet the 4MiB boundary for kernel size, thus allowing to prepare workaround for the issue, without need for serial console attachment. The workaround is modifying 'bootcmd' var

[PATCH v2 1/3] ipq40xx: image: limit kernel size for NOR devices

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak 'bootipq' command, on some devices with kernel on NOR flash chip, read kernel partition size from Qualcomm proprietary partition table, which seems to be stored in MIBIB partition. The partition table can be read by 'smeminfo' command in U-Boot co

[PATCH v2 0/3] ipq40xx: remedy potential of producing soft-bricking images

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some of devices having kernel on NOR flash could reach limit of kernel partition size at 4MiB and soft-brick them. Unfortunately we don't know if all of them are affected, thus kernel size limit is added to all of remaining ones. Later commit allows for some devic

[PATCH v2 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Alter command boot sequence in U-Boot on first boot after upgrade to workaround the kernel size limitation. The kernel size read from flash will be 8MiB, which should suffice for forseable future. As precaution a warning interupting upgrade is emited, explaining what to

[PATCH v2 2/3] ipq40xx: dts: allow writing to U-Boot environment

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Devices allowing to boot LZMA compressed kernel or zImage kernel didn't hit yet the 4MiB boundary for kernel size, thus allowing to prepare workaround for the issue, without need for serial console attachment. The workaround is modifying 'bootcmd' var

[PATCH] mvebu: mcbin-singleshot: enable hearbeat LED by default

2023-07-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak This has been a part of modified upstream patch but got lost on major kernel bump to 5.15, so bring it back. Signed-off-by: Tomasz Maciej Nowak --- Please backport to 23.05 branch ...vell-enable-heartbeat-LED-by-default.patch | 22 +++ 1 file

Re: [PATCH v2 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-09 Thread Tomasz Maciej Nowak
W dniu 9.07.2023 o 12:43, Felix Baumann pisze: > Am 7. Juli 2023 17:11:43 MESZ schrieb Tomasz Maciej Nowak : >> From: Tomasz Maciej Nowak >> >> Alter command boot sequence in U-Boot on first boot after upgrade to >> workaround the kernel size limitation. The kernel size

Re: [PATCH v2 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-10 Thread Tomasz Maciej Nowak
W dniu 10.07.2023 o 00:16, Felix Baumann pisze: > Am 9. Juli 2023 23:26:13 MESZ schrieb Tomasz Maciej Nowak : >> W dniu 9.07.2023 o 12:43, Felix Baumann pisze: >>> Am 7. Juli 2023 17:11:43 MESZ schrieb Tomasz Maciej Nowak >>> : >>>> From: Tomasz Maciej Nowak

[PATCH] sdk: rename README

2023-07-11 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak 'help' target fails not finding a file, so follow up on a change[2] made as a fix for main README[1]. 1. d0113711a31f ("README: port to 21st century") 2. 751486b31fd9 ("build: fix README.md reference after rename") Signed-off-by: Tomasz

[PATCH] ib: split out processing user provided packages

2023-07-11 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some device recipes remove default target packages. If user tries to add them back they will be ignored, since packages list is processed in one go. Process the device recipe packages first and do user ones later, so additions won't get filtered out. Signed-o

Re: [PATCH] sdk: rename README

2023-07-15 Thread Tomasz Maciej Nowak
W dniu 11.07.2023 o 16:09, Tomasz Maciej Nowak pisze: > From: Tomasz Maciej Nowak > > 'help' target fails not finding a file, so follow up on a change[2] made > as a fix for main README[1]. > > 1. d0113711a31f ("README: port to 21st century") > 2. 7514

[PATCH v3 1/3] ipq40xx: image: limit kernel size for NOR devices

2023-07-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak 'bootipq' command on some devices, with kernel on NOR flash chip, read kernel partition size from Qualcomm proprietary partition table, which seems to be stored in MIBIB partition. The partition table can be read by 'smeminfo' command in U-Boot co

[PATCH v3 2/3] ipq40xx: dts: allow writing to U-Boot environment

2023-07-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Devices allowing to boot LZMA compressed kernel or zImage kernel didn't hit yet the 4MiB boundary for kernel size, thus allowing to prepare workaround for the issue, without need for serial console attachment. The workaround is modifying 'bootcmd' var

[PATCH v3 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Alter booting command in U-Boot on first boot after upgrade to workaround the kernel size limitation. The kernel size read from flash will be 8MiB, which should suffice for forseable future. As precaution a warning interupting upgrade is emited, explaining what to do

[PATCH v3 0/3] ipq40xx: remedy potential of producing soft-bricking images

2023-07-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some of devices having kernel on NOR flash could reach limit of kernel partition size at 4MiB and soft-brick them. Unfortunately we don't know if all of them are affected, thus kernel size limit is added to all of remaining ones. Later commit allows for some devic

Re: [PATCH v3 1/3] ipq40xx: image: limit kernel size for NOR devices

2023-07-25 Thread Tomasz Maciej Nowak
W dniu 25.07.2023 o 12:27, Robert Marko pisze: > On Mon, 24 Jul 2023 at 15:31, Tomasz Maciej Nowak wrote: >> >> From: Tomasz Maciej Nowak >> >> 'bootipq' command on some devices, with kernel on NOR flash chip, read >> kernel partition size from

[PATCH v4 0/3] ipq40xx: remedy potential of producing soft-bricking images

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Some of devices having kernel on NOR flash could reach limit of kernel partition size at 4MiB and soft-brick them. Unfortunately we don't know if all of them are affected, thus kernel size limit is added to all of remaining ones. Later commit allows for some devic

[PATCH v4 2/3] ipq40xx: dts: allow writing to U-Boot environment

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Devices allowing to boot LZMA or GZIP compressed kernel didn't hit yet the 4MiB boundary for kernel size, thus allowing to prepare workaround for the issue, without need for serial console attachment. The workaround is modifying 'bootcmd' variable in U-B

[PATCH v4 1/3] ipq40xx: image: limit kernel size for NOR devices

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak 'bootipq' command on some devices, with kernel on NOR flash chip, read kernel partition size from Qualcomm proprietary partition table, which seems to be stored in MIBIB partition. The partition table can be read by 'smeminfo' command in U-Boot co

[PATCH v4 3/3] ipq40xx: pakedge_wr-1: workaround for kernel bigger than 4MiB

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Alter booting command in U-Boot on first boot after upgrade to workaround the kernel size limitation. The kernel size read from flash will be 8MiB, which should suffice for forseable future. As precaution a warning interupting upgrade is emited, explaining what to do

[PATCH 1/4] kernel: 6.1: move NO_ARRAY_BOUNDS to generic

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Array bounds are disabled for GCC 11 or later. It's better to track it in global (generic) config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/bcm27xx/bcm2708/config-6.1 | 2 -- target/linux/bcm27xx/bcm2709/config-6.1 | 2 -- target/linux/bcm27xx/bc

[PATCH 0/4] tegra: bump to 6.1

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Straightforward update and small generic config modification. Tomasz Maciej Nowak (4): kernel: 6.1: move NO_ARRAY_BOUNDS to generic tegra: copy patches and config for kernel 6.1 tegra: initial kernel 6.1 support tegra: switch to 6.1 kernel package/kernel

[PATCH 2/4] tegra: copy patches and config for kernel 6.1

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Prepare for addition of kernel 6.1 support. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-6.1 | 504 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46

[PATCH 4/4] tegra: switch to 6.1 kernel

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Testing results were all good, so move target to newer kernel by default. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile

[PATCH 3/4] tegra: initial kernel 6.1 support

2023-07-27 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak - refresh patches - adjust kernel config, with main change enabling VIDEO_TEGRA_VDE, necessary for driving power domain responsible for clean reboot - adjust LED patch to changes in LED drivers Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules

[PATCH 22.03] ath79: image: allow changing kernel option in mkubntimage

2023-08-16 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Backport didn't include changes to mkubntimage invocation, which allowed to pass arguments. This in result produces broken routerstation factory images, which have kernel embedded as kernel partition instead of LZMA loader. Fixes: #13260 Fixes: 8e09f9ffc3cc (&

[PATCH 1/2] mvebu: refresh 6.1 configs

2023-09-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak This should be a part of kernel major bump. Fortunately it didn't stall compilation, so no fixes tag. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/config-6.1 | 26 ++--- target/linux/mvebu/cortexa53/config-6.1

[PATCH 2/2] mvebu: cortexa72: enable USB PHY

2023-09-07 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Since kernel 5.13 this is needed to enable USB ports on all devices in subtarget. Previously TF-A and COMPHY driver might have set up this PHY, but not anymore. Signed-off-by: Tomasz Maciej Nowak --- Please backport config-5.15 changes to 23.05 and 22.03 branches

[PATCH 23.05] mvebu: cortexa72: enable USB PHY

2023-09-20 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Since kernel 5.13 this is needed to enable USB ports on all devices in subtarget. Previously TF-A and COMPHY driver might have set up this PHY, but not anymore. Signed-off-by: Tomasz Maciej Nowak Tested-by: Robert Marko (cherry picked from commit

Re: [PATCH v2 5/9] ixp4xx: Resurrect IXP4xx support using device tree

2023-10-04 Thread Tomasz Maciej Nowak
Hi, some comments inline. W dniu 28.09.2023 o 15:28, Linus Walleij pisze: > This resurrects the support for IXP4xx using device tree > rather than the old (deleted) board files. The final pieces > of IXP4xx board files were deleted in Linux v5.19. > > Ext4 root filesystems on CF and USB are suppo

Re: [PATCH v2 0/9] Resurrect OpenWrt IXP4xx support

2023-10-04 Thread Tomasz Maciej Nowak
W dniu 4.10.2023 o 19:11, Jonas Gorski pisze: > Hi, > > On Thu, 28 Sept 2023 at 15:29, Linus Walleij wrote: >> >> XP4xx was deleted because of lack of maintenance in 2020. >> >> In the years since, the upstream Linux support for IXP4xx has >> been rewritten from scratch. It is now pretty well sup

<    1   2   3   4   5   6   >