[PATCH] treewide: replace my o2.pl email address

2020-11-20 Thread Tomasz Maciej Nowak
I'm still available at the old address. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-tegra/Makefile | 4 ++-- target/linux/tegra/Makefile | 2 +- target/linux/tegra/image/Makefile | 2 +- tools/cbootimage-configs/Makefile | 2 +- tools/cbootimage/Makefile | 2

[PATCH] mvebu: sort patches

2020-11-23 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- The dts changes are treated as arch patches, wonder if it'll be better to move them to 9xx index as uncategorized other patches. ...-for-endpoint-to-be-ready-before-tr.patch} | 0 ...t-rely-on-jiffies-while-holding-spi.patch} | 0 ...troduce-mvneta_update_

[PATCH] mvebu: base-files: move additional files to subtargets

2020-11-23 Thread Tomasz Maciej Nowak
Both of these scripts are only relevant to cortexa9, therefore move them there. Signed-off-by: Tomasz Maciej Nowak --- .../base-files/etc/hotplug.d/ieee80211/00-wifi-config-migrate | 0 target/linux/mvebu/{ => cortexa9}/base-files/sbin/fan_ctrl.sh | 0 2 files changed, 0 inserti

Re: [PATCH] treewide: replace my o2.pl email address

2020-11-25 Thread Tomasz Maciej Nowak
Hi. W dniu 24.11.2020 o 15:42, Adrian Schmutzler pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Freitag, 20. November 2020 19:47 >> To: openwr

[PATCH 2/3] tegra: image: make bootscript standalone

2020-11-25 Thread Tomasz Maciej Nowak
Don't hard-code the PTUUID, use U-Boot commands to determine it, as some partitioning tools could rewrite PTUUID when modifying partitions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/image/Makefile | 5 + target/linux/tegra/image/generic-bootscript | 4 +++- 2

[PATCH 3/3] tegra: image: remove unnecessary assumptions from bootscript

2020-11-25 Thread Tomasz Maciej Nowak
oved. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/image/Makefile | 3 +-- target/linux/tegra/image/generic-bootscript | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/tegra/image/Makefile b/target/linux/tegra/image/Makefile index fbff1c

[PATCH 1/3] uboot-tegra: bump to 2020.04

2020-11-25 Thread Tomasz Maciej Nowak
This fixes error when host GCC >= 10. /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Signed-off-by: Tomasz Maciej Nowak --- package/boot/ubo

[PATCH 1/8] mvebu: sysupgrade: remove MBR check

2020-11-25 Thread Tomasz Maciej Nowak
This is already done by get_partitions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 12 1 file changed, 12 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b/target/linux/mvebu/base-files/lib/upgrade

[PATCH 6/8] tegra: sysupgrade: use v function for writing logs

2020-11-25 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- .../linux/tegra/base-files/lib/upgrade/platform.sh | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/target/linux/tegra/base-files/lib/upgrade/platform.sh index

[PATCH 5/8] tegra: sysupgrade: remove MBR check

2020-11-25 Thread Tomasz Maciej Nowak
This is already done by get_partitions. Signed-off-by: Tomasz Maciej Nowak --- .../linux/tegra/base-files/lib/upgrade/platform.sh | 13 - 1 file changed, 13 deletions(-) diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/target/linux/tegra/base-files/lib/upgrade

[PATCH 4/8] mvebu: sysupgrade: write additional information to log output

2020-11-25 Thread Tomasz Maciej Nowak
This will explain what is actually occuring on dd invocations. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b/target

[PATCH 7/8] tegra: sysupgrade: use get_image_dd wrapper

2020-11-25 Thread Tomasz Maciej Nowak
This function eliminates false-positive erros emited by dd. Also remove check for number of arguments, as that's not needed anymore. Signed-off-by: Tomasz Maciej Nowak --- .../linux/tegra/base-files/lib/upgrade/platform.sh | 14 ++ 1 file changed, 6 insertions(+), 8 dele

[PATCH 8/8] tegra: sysupgrade: write additional information to log output

2020-11-25 Thread Tomasz Maciej Nowak
This will explain what is actually occuring on dd invocations. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/base-files/lib/upgrade/platform.sh | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/target

[PATCH 0/8] mvebu, tegra: sync sysupgrade with x86 changes

2020-11-25 Thread Tomasz Maciej Nowak
Recently (a47279154e08..c02096361c67) there have been changes to sysupgrade, baeutifying its output. Mimic the changes done in x86 target to get consistent output across targets. The same could be probably done in others, but I don't have devices to test these changes. Tomasz Maciej Now

[PATCH 3/8] mvebu: sysupgrade: use get_image_dd wrapper

2020-11-25 Thread Tomasz Maciej Nowak
This function eliminates false-positive erros emited by dd. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b/target

[PATCH 2/8] mvebu: sysupgrade: use v function for writing logs

2020-11-25 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 12 ++-- .../mvebu/cortexa9/base-files/lib/upgrade/linksys.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b

[PATCH] mvebu: macchiatobin-singleshot: enable heartbeat LED

2020-11-25 Thread Tomasz Maciej Nowak
ed-by: Alexandra Alth Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/cortexa72.mk | 2 +- ...s-mcbin-singleshot-add-heartbeat-LED.patch | 59 +++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 target/linux/mvebu/patches-5.4/100-arm64-dts-

[PATCH v2 5/5] mvebu: sysupgrade: write additional information to log output

2020-12-01 Thread Tomasz Maciej Nowak
This will explain what is actually occuring on dd invocations. Additionally remove comments for steps which are described by printed statements anyway. Signed-off-by: Tomasz Maciej Nowak --- v1->v2 Additional remark in commit message. target/linux/mvebu/base-files/lib/upgrade/sdcard.sh

[PATCH v2 3/5] tegra: sysupgrade: write additional information to log output

2020-12-01 Thread Tomasz Maciej Nowak
This will explain what is actually occuring on dd invocations. Additionally remove comments for steps which are described by printed statements anyway. Signed-off-by: Tomasz Maciej Nowak --- v1->v2 Additional remark in commit message target/linux/tegra/base-files/lib/upgrade/platform.sh

[PATCH] ath79: wlr-7100: remove device variant indicator

2020-12-01 Thread Tomasz Maciej Nowak
As reported by user, the same image works on both device variants which are v1 001 and v1 002. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts | 2 +- target/linux/ath79/image/generic.mk| 1 - 2 files changed, 1 insertion(+), 2 deletions

[PATCH v2 1/5] tegra: sysupgrade: use v function for writing logs

2020-12-01 Thread Tomasz Maciej Nowak
Sync with x86 target changes. Signed-off-by: Tomasz Maciej Nowak --- v1->v2 Add commit message. .../linux/tegra/base-files/lib/upgrade/platform.sh | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/tar

[PATCH v2 2/5] tegra: sysupgrade: remove check for number of arguments

2020-12-01 Thread Tomasz Maciej Nowak
This chunk got mistakenly removed from 30c95c4, since the get_image_dd evaluates only first agument, so that check is useless. Fixes: 30c95c4 ("tegra: sysupgrade: use get_image_dd wrapper") Signed-off-by: Tomasz Maciej Nowak --- New patch. target/linux/tegra/base-files/lib/upgrade/p

[PATCH v2 4/5] mvebu: sysupgrade: use v function for writing logs

2020-12-01 Thread Tomasz Maciej Nowak
Sync with x86 target changes. Signed-off-by: Tomasz Maciej Nowak --- v1->v2 Added commit message. target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 12 ++-- .../mvebu/cortexa9/base-files/lib/upgrade/linksys.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --gi

[PATCH] ath79: mojo c-75: use second flash chip

2020-12-01 Thread Tomasz Maciej Nowak
The flash capacity is divided in two flash chips and currently only first is used. Increase available space for OpenWrt by additional 16 MiB using mtd-concat driver. Cc: Vladimir Georgievsky Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/qca9550_mojo_c-75.dts | 24

[PATCH] ath79: restore sysupgrade support for ja76pf2 and routerstations

2020-12-01 Thread Tomasz Maciej Nowak
and ja76pf2") and cc5256a ("ath79: base-files: disable sysupgrade for routerstations and ja76pf2") Signed-off-by: Tomasz Maciej Nowak --- .../ath79/generic/base-files/lib/upgrade/platform.sh | 4 ++-- target/linux/ath79/image/Makefile | 8

[PATCH 2/2] ath79: mojo c-75: use second flash chip

2020-12-01 Thread Tomasz Maciej Nowak
The flash capacity is divided in two flash chips and currently only first is used. Increase available space for OpenWrt by additional 16 MiB using mtd-concat driver. Cc: Vladimir Georgievsky Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/qca9550_mojo_c-75.dts | 24

[PATCH 1/2] ath79: add support for Mojo Networks AirTight C-75

2020-12-01 Thread Tomasz Maciej Nowak
o UART pins (marked J3 on PCB). Cc: Vladimir Georgievsky Signed-of-by: Tomasz Maciej Nowak --- package/boot/uboot-envtools/files/ath79 | 1 + target/linux/ath79/dts/qca9550_mojo_c-75.dts | 173 ++ .../generic/base-files/etc/board.d/02_network | 4 + target/linux/ath79/ima

Re: [PATCH] ath79: mojo c-75: use second flash chip

2020-12-01 Thread Tomasz Maciej Nowak
Please ignore this one, I've resent proper series. -- TMN ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] ath79: restore sysupgrade support for ja76pf2 and routerstations

2020-12-01 Thread Tomasz Maciej Nowak
Hi. W dniu 01.12.2020 o 20:09, Adrian Schmutzler pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Dienstag, 1. Dezember 2020 18:30 >> To: openwr

Re: [PATCH 1/2] ath79: add support for Mojo Networks AirTight C-75

2020-12-08 Thread Tomasz Maciej Nowak
Hi. W dniu 01.12.2020 o 20:47, Adrian Schmutzler pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Dienstag, 1. Dezember 2020 18:36 >> To: o

Re: [PATCH 2/2] ath79: mojo c-75: use second flash chip

2020-12-08 Thread Tomasz Maciej Nowak
W dniu 01.12.2020 o 20:50, Adrian Schmutzler pisze: >> diff --git a/target/linux/ath79/image/generic.mk >> b/target/linux/ath79/image/generic.mk >> index 0f90c00b9c43..b7618a8ab33c 100644 >> --- a/target/linux/ath79/image/generic.mk >> +++ b/target/linux/ath79/image/generic.mk >> @@ -1199,7 +1199,7

Re: [PATCH 1/2] ath79: add support for Mojo Networks AirTight C-75

2020-12-15 Thread Tomasz Maciej Nowak
W dniu 14.12.2020 o 17:28, Adrian Schmutzler pisze: > Hi, > > only have time for a quick subset of answers: > [...] arduino,yun|\ buffalo,bhr-4grv2|\ devolo,magic-2-wifi|\ diff --git a/target/linux/ath79/dts/qca9550_mojo_c-75.dts b/target/linux/ath79/dts/qca9550_mojo

Re: [PATCH 2/2] ath79: mojo c-75: use second flash chip

2020-12-15 Thread Tomasz Maciej Nowak
W dniu 14.12.2020 o 17:30, Adrian Schmutzler pisze: > Hi, > >> -Original Message----- >> From: Tomasz Maciej Nowak [mailto:tmn...@gmail.com] >> Sent: Dienstag, 8. Dezember 2020 18:05 >> To: Adrian Schmutzler ; openwrt- >> de...@lists.openwrt.org >>

[PATCH v2 1/2] ath79: add support for AirTight C-75

2020-12-15 Thread Tomasz Maciej Nowak
RT adapter is attached to UART pins (marked J3 on PCB). Cc: Vladimir Georgievsky Signed-of-by: Tomasz Maciej Nowak --- v1 -> v2 - rename primary device vendor (Mojo -> AirTight) - remove U-Boot environment definition - minor dts adjustments (no functional changes) - add additional D

[PATCH v2 2/2] ath79: airtight c-75: use second flash chip

2020-12-15 Thread Tomasz Maciej Nowak
available on first chip. Cc: Vladimir Georgievsky Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 - add kernel size constraints .../linux/ath79/dts/qca9550_airtight_c-75.dts | 24 +++ target/linux/ath79/image/generic.mk | 3 ++- 2 files changed, 21 insertions(+)

Re: [PATCH v2 2/2] ath79: airtight c-75: use second flash chip

2020-12-17 Thread Tomasz Maciej Nowak
W dniu 16.12.2020 o 16:49, Adrian Schmutzler pisze: > Hi again, > > one comment and a slightly conceptual question: > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >>

[PATCH v3 2/2] ath79: airtight c-75: use second flash chip

2020-12-17 Thread Tomasz Maciej Nowak
available on first first chip. Cc: Vladimir Georgievsky Signed-off-by: Tomasz Maciej Nowak --- v2->v3 - add labels for concatenated partitions - change node name for concatenated mtd .../linux/ath79/dts/qca9550_airtight_c-75.dts | 26 +++ target/linux/ath79/image/generic

[PATCH v3 1/2] ath79: add support for AirTight C-75

2020-12-17 Thread Tomasz Maciej Nowak
RT adapter is attached to UART pins (marked J3 on PCB). Cc: Vladimir Georgievsky Signed-of-by: Tomasz Maciej Nowak --- v2->v3 - minor dts adjustments (no functional changes) - use ct firmware variant .../linux/ath79/dts/qca9550_airtight_c-75.dts | 169 ++ .../generic/b

[PATCH v2] mvebu: macchiatobin-singleshot: enable heartbeat LED

2020-12-18 Thread Tomasz Maciej Nowak
ed-by: Alexandra Alth Signed-off-by: Tomasz Maciej Nowak --- v1->v2 - update patch, as it's now in main tree - change index to "backported patches" - add note to the patch target/linux/mvebu/image/cortexa72.mk | 2 +- ...s-mcbin-singleshot-add-heartbeat-LED.patch | 65 +

Re: [PATCH] mvebu: omnia: make initramfs image usable out of the box

2021-01-30 Thread Tomasz Maciej Nowak
ollowing > commands: > > setenv bootargs earlyprintk console=ttyS0,115200 > tftpboot ${kernel_addr_r} > openwrt-mvebu-cortexa9-cznic_turris-omnia-initramfs-kernel.bin > bootm ${kernel_addr_r} > > Cc: Karel Kočí > Cc: Tomasz Maciej Nowak > Cc: Klaus Kudielka > Si

Re: [PATCH] x86/64: Add CONFIG_DEVMEM=y for targets/x86/64

2021-02-09 Thread Tomasz Maciej Nowak
Hi. W dniu 09.02.2021 o 17:46, Supriya Mane pisze: > Setting 'CONFIG_DEVMEM=y' provides access to /dev/mem. > Fixes "cannot access '/dev/mem' : No such file or directory" > > Signed-off-by: Supriya Mane > --- > target/linux/x86/64/config-5.4 | 1 + > 1 file changed, 1 insertion(+) > > diff --g

[PATCH] mvebu: espressobin: drop COMPHY removement patch

2021-02-11 Thread Tomasz Maciej Nowak
There are proper workarounds merged to 5.4 stable tree for ESPRESSObin boards with older bootloader: 4e1a23779bde ("ata: ahci: mvebu: Make SATA PHY optional for Armada 3720") 40af962eb1d4 ("usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720") Signed-off-by:

Re: [PATCH] mvebu: cortexa9: fix missing wpad and iwinfo in images

2021-02-13 Thread Tomasz Maciej Nowak
x27;t contain >>> wpad and iwinfo as wpad is missing in default package set. Fix it by >>> adding wpad into DEFAULT_PACKAGES and then remove wpad from >>> DEVICE_PACKAGES on devices which likely don't have wireless. >>> >>> Cc: Tomasz Maciej No

Re: [PATCH] mvebu: add linux 5.10 support

2021-02-18 Thread Tomasz Maciej Nowak
Hi Sebastian. W dniu 17.02.2021 o 08:00, Sebastian Careba pisze: > Signed-off-by: Sebastian Careba You have multiply issues with this kernel bump, some I'll write here, some inline. The lack of commit message, explaining why You dropped some patches when transitioning from 5.4 to 5.10. What a

Re: [PATCH v2 4/5] mvebu: add 5.10 kernel config

2021-02-20 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: > Basically make kernel_oldconfig from 5.4. > > CONFIG_ARM_ARCH_TIMER is introduced, a per-core high resolution timer which is > part of newer ARMv7+ CPUs. > > Signed-off-by: Rui Salvaterra The cortexa53 and cortexa72 config refresh are missing,

Re: [PATCH v2 1/5] mvebu: copy 5.4 patches to 5.10

2021-02-20 Thread Tomasz Maciej Nowak
Hi Rui, aside from copying patches also files should be split, since some ESPRESSObin variants are merged upstream and with keeping files as they are now, we will overwrite changes done upstream. Additionally just a small nit inline. W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: > Just a si

Re: [PATCH v2 2/5] mvebu: refresh 5.10 patches

2021-02-20 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: > Also delete already upstreamed patches/changes. > > Signed-off-by: Rui Salvaterra > --- > ...t-for-endpoint-to-be-ready-before-tr.patch | 50 --- > ...-t-rely-on-jiffies-while-holding-spi.patch | 54 --- > ...ntroduce-mvneta_update_stats-routi

Re: [PATCH v2 3/5] mvebu: update the Turris Omnia device tree

2021-02-20 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: > Include support for the multicolor LEDs (software controlled, for now) and fix > the hardware buffer management support, due to a missing mbus window. I see more stuff added then what the message says. Also some of changes are in Linus tree, plea

Re: [PATCH v2 1/5] mvebu: copy 5.4 patches to 5.10

2021-02-21 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 20:46, Rui Salvaterra pisze: > Hi, Tomasz, > > On Sat, 20 Feb 2021 at 16:55, Tomasz Maciej Nowak wrote: >> >> Hi Rui, >> >> aside from copying patches also files should be split, since some >> ESPRESSObin variants are merged upst

Re: [PATCH v2 3/5] mvebu: update the Turris Omnia device tree

2021-02-21 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 21:26, Rui Salvaterra pisze: > Hi, Tomasz, > > On Sat, 20 Feb 2021 at 16:55, Tomasz Maciej Nowak wrote: >> >> W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: >>> Include support for the multicolor LEDs (software controlled, for now) and &

Re: [PATCH v2 4/5] mvebu: add 5.10 kernel config

2021-02-21 Thread Tomasz Maciej Nowak
W dniu 20.02.2021 o 21:39, Rui Salvaterra pisze: > Hi, Tomasz, > > On Sat, 20 Feb 2021 at 16:55, Tomasz Maciej Nowak wrote: >> >> The cortexa53 and cortexa72 config refresh are missing, also some symbols >> could be split from this patch and added to generic config, s

Re: [PATCH v3 4/8] mvebu: remove 5.10 upstreamed device trees

2021-02-22 Thread Tomasz Maciej Nowak
Single comment inline. W dniu 22.02.2021 o 09:59, Rui Salvaterra pisze: > At this point, they're either redundant or obsolete. Factor out common device > trees into the files directory. > > Signed-off-by: Rui Salvaterra > --- > .../boot/dts/armada-370-buffalo-ls421de.dts | 433 ---

Re: [PATCH v3 0/8] mvebu: add support for Linux 5.10

2021-02-22 Thread Tomasz Maciej Nowak
d 5.10 as a testing kernel Also for the whole series: Tested-by: Tomasz Maciej Nowak on ESPRESSObin v5. > > target/linux/generic/config-5.10 | 7 + > target/linux/mvebu/Makefile | 2 +- > target/linux/mvebu/config-5.10| 435 +

[OpenWrt-Devel] [PATCH] ath79: routerstation: prepare to use sysupgrade-tar format image

2019-03-04 Thread Tomasz Maciej Nowak
plan is to keep it until new stable version is released. Then the image recipe should be changed to new format and compatibility code for old image removed. 1. https://github.com/openwrt/openwrt/pull/1237 Signed-off-by: Tomasz Maciej Nowak --- .../ath79/base-files/lib/upgrade/platform.sh | 25

[OpenWrt-Devel] [PATCH] ath79: add support for jjPlus JA76PF2

2019-03-04 Thread Tomasz Maciej Nowak
sysupgrade image to /tmp directory and flash it with: sysupgrade 8. Wait few minutes, after the D2 LED will stop blinking, the board is ready for configuration. Signed-off-by: Tomasz Maciej Nowak --- Patch needs to be applied after: ath79: routerstation: prepare to use sysupgrade-

[OpenWrt-Devel] [PATCH] ath79: add suport for EnGenius EPG5000

2019-03-04 Thread Tomasz Maciej Nowak
OEM firmware shell password is: aigo3d0a0tdagr useful for creating backup of original firmware. When doing upgrade from OpenWrt ar71xx image, it is recomended to not keep the old configuration. Signed-off-by: Tomasz Maciej Nowak --- .../ath79/base-files/etc/board.d/02_network | 16 +- .../

[OpenWrt-Devel] [PATCH 0/7] tegra: add new target with support for CompuLab TrimSlice

2019-03-04 Thread Tomasz Maciej Nowak
-Boot - the SD card creation process is more generic which makes adding basic support for other boards/devices trivial 1. https://github.com/lede-project/source/pull/1252 Tomasz Maciej Nowak (7): tegra: add new target tools: add cbootimage for tegra tools: add cbootimage-configs for tegra

Re: [OpenWrt-Devel] [PATCH] ath79: add support for jjPlus JA76PF2

2019-03-04 Thread Tomasz Maciej Nowak
Hi, W dniu 04.03.2019 o 18:43, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-03-04 15:18:06]: > > Hi, > >> -routerstation_do_upgrade() { >> +redboot_fis_do_upgrade() { >> local append >> local sysup_file="$1" >> local mag

[OpenWrt-Devel] [PATCH 0/7] tegra: add new target with support for CompuLab TrimSlice

2019-03-04 Thread Tomasz Maciej Nowak
://github.com/lede-project/source/pull/1252 Tomasz Maciej Nowak (7): tegra: add new target tools: add cbootimage for tegra tools: add cbootimage-configs for tegra uboot-tegra: add U-Boot for tegra boards kernel: package rtc-em3027 module tegra: add support for CompuLab TrimSlice tegra

[OpenWrt-Devel] [PATCH 3/7] tools: add cbootimage-configs for tegra

2019-03-04 Thread Tomasz Maciej Nowak
This provides board configuraion tables for various Tegra boards needed by cbootimage tool to create flashable bootloader images. Signed-off-by: Tomasz Maciej Nowak --- tools/Makefile| 2 +- tools/cbootimage-configs/Makefile | 32 +++ 2 files

[OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-04 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/input.mk | 18 + package/kernel/linux/modules/netdevices.mk| 4 +- package/kernel/linux/modules/sound.mk | 52 ++ package/kernel/linux/modules/video.mk | 36 ++ target/linux/generic/c

[OpenWrt-Devel] [PATCH 2/7] tools: add cbootimage for tegra

2019-03-04 Thread Tomasz Maciej Nowak
ary image. b) Generate an entire boot image from a previously compiled BCT and a bootloader binary. Signed-off-by: Tomasz Maciej Nowak --- tools/Makefile| 2 ++ tools/cbootimage/Makefile | 31 +++ 2 files changed, 33 insertions(+) create mode 100644 to

[OpenWrt-Devel] [PATCH 5/7] kernel: package rtc-em3027 module

2019-03-04 Thread Tomasz Maciej Nowak
Support for Microelectronic EM3027 real time clock chip. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/other.mk | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index

[OpenWrt-Devel] [PATCH 4/7] uboot-tegra: add U-Boot for tegra boards

2019-03-04 Thread Tomasz Maciej Nowak
Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab TrimSlice. This is part of initial support for this board. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-tegra/Makefile | 59 +++ .../tegra/base-files/lib/upgrade/platform.sh | 2

[OpenWrt-Devel] [PATCH 6/7] tegra: add support for CompuLab TrimSlice

2019-03-04 Thread Tomasz Maciej Nowak
following commands: mtd erase /dev/mtd0 mtd write trimslice-spi.img /dev/mtd0 5. Reboot, now it should boot straigth to OpenWrt, without pressing the recovery-boot button, with proper U-Boot flashed. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/sound.mk

[OpenWrt-Devel] [PATCH 7/7] tegra: add kernel 4.19 support

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

[OpenWrt-Devel] [PATCH v2 0/7] tegra: add new target with support for CompuLab TrimSlice

2019-03-06 Thread Tomasz Maciej Nowak
speciffic modules, build them in the kernel, requested by Felix Fietkau - since video drivers are now built-in I enabled also USB keyboard related drivers, because most users with connected monitors would expect to interact with the device OOTB Tomasz Maciej Nowak (7): tegra: add new target

[OpenWrt-Devel] [PATCH v2 2/7] tools: add cbootimage for tegra

2019-03-06 Thread Tomasz Maciej Nowak
ary image. b) Generate an entire boot image from a previously compiled BCT and a bootloader binary. Signed-off-by: Tomasz Maciej Nowak --- tools/Makefile| 2 ++ tools/cbootimage/Makefile | 31 +++ 2 files changed, 33 insertions(+) create mode 100644 to

[OpenWrt-Devel] [PATCH v2 5/7] kernel: package rtc-em3027 module

2019-03-06 Thread Tomasz Maciej Nowak
Support for Microelectronic EM3027 real time clock chip. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/other.mk | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index

[OpenWrt-Devel] [PATCH v2 7/7] tegra: add kernel 4.19 support

2019-03-06 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- target/linux/generic/config-4.19 | 1 + target/linux/tegra/config-4.19| 565 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ 4 files changed

[OpenWrt-Devel] [PATCH v2 6/7] tegra: add support for CompuLab TrimSlice

2019-03-06 Thread Tomasz Maciej Nowak
following commands: mtd erase /dev/mtd0 mtd write trimslice-spi.img /dev/mtd0 5. Reboot, now it should boot straigth to OpenWrt, without pressing the recovery-boot button, with proper U-Boot flashed. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-4.14

[OpenWrt-Devel] [PATCH v2 1/7] tegra: add new target

2019-03-06 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/netdevices.mk| 4 +- target/linux/generic/config-4.14 | 2 + target/linux/tegra/Makefile | 29 + target/linux/tegra/base-files/etc/inittab | 4 + .../base-files/lib/preinit/79_m

[OpenWrt-Devel] [PATCH v2 4/7] uboot-tegra: add U-Boot for tegra boards

2019-03-06 Thread Tomasz Maciej Nowak
Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab TrimSlice. This is part of initial support for this board. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-tegra/Makefile | 59 +++ .../tegra/base-files/lib/upgrade/platform.sh | 2

[OpenWrt-Devel] [PATCH v2 3/7] tools: add cbootimage-configs for tegra

2019-03-06 Thread Tomasz Maciej Nowak
This provides board configuraion tables for various Tegra boards needed by cbootimage tool to create flashable bootloader images. Signed-off-by: Tomasz Maciej Nowak --- tools/Makefile| 2 +- tools/cbootimage-configs/Makefile | 32 +++ 2 files

[OpenWrt-Devel] [PATCH v2] ath79: add support for jjPlus JA76PF2

2019-03-06 Thread Tomasz Maciej Nowak
sysupgrade image to /tmp directory and flash it with: sysupgrade 8. Wait few minutes, after the D2 LED will stop blinking, the board is ready for configuration. Signed-off-by: Tomasz Maciej Nowak --- Changes in v2 - in sysupgrade function pass kernel partition name as second argument

Re: [OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-06 Thread Tomasz Maciej Nowak
Hi, W dniu 05.03.2019 o 11:36, Felix Fietkau pisze: > On 2019-03-04 19:53, Tomasz Maciej Nowak wrote: >> New target introduces initial support for NVIDIA Tegra SoC based devices. >> It focuses on Tegra 2 CPUs, for successors supporting NEON instruction >> set the target s

Re: [OpenWrt-Devel] [PATCH] ath79: add support for jjPlus JA76PF2

2019-03-06 Thread Tomasz Maciej Nowak
W dniu 04.03.2019 o 20:52, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-03-04 19:25:12]: > >>>>[ -f "$CONF_TAR" -a "$SAVE_CONFIG" -eq 1 ] && append="-j >>>> $CONF_TAR" >>>>dd if=&q

Re: [OpenWrt-Devel] [PATCH] ath79: add suport for EnGenius EPG5000

2019-03-06 Thread Tomasz Maciej Nowak
Hi, W dniu 04.03.2019 o 21:54, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-03-04 15:18:53]: > > Hi, > >> When doing upgrade from OpenWrt ar71xx image, it is recomended to not keep >> the >> old configuration. > > why is that? The sysfs path to 2.4 wi

Re: [OpenWrt-Devel] [PATCH] ath79: add support for jjPlus JA76PF2

2019-03-06 Thread Tomasz Maciej Nowak
W dniu 06.03.2019 o 20:44, Tomasz Maciej Nowak pisze: > W dniu 04.03.2019 o 20:52, Petr Štetiar pisze: >> Tomasz Maciej Nowak [2019-03-04 19:25:12]: >> >>>>> [ -f "$CONF_TAR" -a "$SAVE_CONFIG" -eq 1 ] && append="-j >&

[OpenWrt-Devel] [PATCH 2/4] ath79: qca955x: add wmac migration hotplug event

2019-03-13 Thread Tomasz Maciej Nowak
path and will keep the wrireless interface enabled after upgrade. Signed-off-by: Tomasz Maciej Nowak --- .../etc/hotplug.d/ieee80211/00-wmac-migration | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac

[OpenWrt-Devel] [PATCH 1/4] ath79: fix leds description for EnGenius EPG5000

2019-03-13 Thread Tomasz Maciej Nowak
Align the LEDs deffinition with MACH file present in ar71xx target which has the correct LED functions and colors adescription. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/qca9558_engenius_epg5000.dts | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[OpenWrt-Devel] [PATCH 4/4] ath79: engenius epg5000: add leds migration case

2019-03-13 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- .../linux/ath79/base-files/etc/uci-defaults/04_led_migration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration index

[OpenWrt-Devel] [PATCH 3/4] ath79: add leds migration script

2019-03-13 Thread Tomasz Maciej Nowak
previously working configuration will be automatically adjusted, wihtout user intervention. Signed-off-by: Tomasz Maciej Nowak --- .../etc/uci-defaults/04_led_migration | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 target/linux/ath79/base-files/etc/uci-defaults

Re: [OpenWrt-Devel] [PATCH] ath79: add suport for EnGenius EPG5000

2019-03-13 Thread Tomasz Maciej Nowak
W dniu 06.03.2019 o 21:03, Tomasz Maciej Nowak pisze: > Hi, > > W dniu 04.03.2019 o 21:54, Petr Štetiar pisze: >> Tomasz Maciej Nowak [2019-03-04 15:18:53]: >> >>> + wan { >>> + label = "epg5000:blue:wan"; >>

[OpenWrt-Devel] [PATCH 1/2] base-files: add leds migration

2019-03-18 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- .../files/lib/functions/migrations.sh | 39 ++ .../etc/uci-defaults/04_led_migration | 39 +- .../etc/uci-defaults/01_led_migration | 40 +-- 3 files changed, 43 insertions(+), 75 deletions(-) create

[OpenWrt-Devel] [PATCH 2/2] ath79: engenius epg5000: add leds migration script

2019-03-18 Thread Tomasz Maciej Nowak
Maciej Nowak --- .../base-files/etc/uci-defaults/04_led_migration | 16 1 file changed, 16 insertions(+) create mode 100644 target/linux/ath79/base-files/etc/uci-defaults/04_led_migration diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux

[OpenWrt-Devel] [PATCH v2 2/2] ath79: engenius epg5000: add leds migration script

2019-03-21 Thread Tomasz Maciej Nowak
Maciej Nowak --- No changes. .../base-files/etc/uci-defaults/04_led_migration | 16 1 file changed, 16 insertions(+) create mode 100644 target/linux/ath79/base-files/etc/uci-defaults/04_led_migration diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b

[OpenWrt-Devel] [PATCH v2 1/2] base-files: add leds migration

2019-03-21 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- Changes in v2 to: "base-files: add leds migration" As OpenWrt is close to branch new stable version I removed and postponed the ar71xx and lantiq target migration to not introduce new bugs. .../files/lib/functions/migrations.sh | 39 +++ 1 fi

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: Add kmod-i2c-mux-pca954x

2019-03-21 Thread Tomasz Maciej Nowak
Hi Hauke, W dniu 21.03.2019 o 17:57, Hauke Mehrtens pisze: > This driver is needed for the I2C mux on the board. This symbol CONFIG_I2C_MUX_PCA954x is in target/linux/mvebu/cortexa72/config-default so it should be also deleted in this patch. > > Signed-off-by: Hauke Mehrtens > --- > target/

[OpenWrt-Devel] mvebu: SD card image and other improvements

2019-03-21 Thread Tomasz Maciej Nowak
sobin: add node for eMMC in dts" "mvebu: espressobin: add u-boot environment" If sending this as one series is not acceptable, please speak up, I'll send them in separate, one at a time. Tomasz Maciej Nowak (7): mvebu: make bootfs size for sdcard image configurable mvebu

[OpenWrt-Devel] [PATCH 3/7] mvebu: shrink amount of packages and reorganize them

2019-03-21 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- .../mvebu/base-files/lib/preinit/79_move_config| 14 ++ target/linux/mvebu/cortexa53/target.mk | 1 + target/linux/mvebu/cortexa72/target.mk | 1 + target/linux/mvebu/image/cortex-a53.mk | 2 -- target/linux/mvebu/image

[OpenWrt-Devel] [PATCH 2/7] mvebu: use ext4 for clearfog image bootfs

2019-03-21 Thread Tomasz Maciej Nowak
This will allow to drop additional packages and in result shrink image size. Cc: Jonas Gorski Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/cortex-a9.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mvebu/image/cortex-a9.mk b/target

[OpenWrt-Devel] [PATCH 1/7] mvebu: make bootfs size for sdcard image configurable

2019-03-21 Thread Tomasz Maciej Nowak
Let's take this oportunity to implement boot-part and rootfs-part feature flags. Signed-off-by: Tomasz Maciej Nowak --- config/Config-images.in | 2 +- target/linux/mvebu/Makefile | 2 +- target/linux/mvebu/image/Makefile | 16 ++-- 3 files changed, 8 inser

[OpenWrt-Devel] [PATCH 4/7] mvebu: base-files: autodetect upgrade device

2019-03-21 Thread Tomasz Maciej Nowak
Since some boards could be also booted from other mediums than SD card, lets make the upgrade block device autodetected. Signed-off-by: Tomasz Maciej Nowak --- .../base-files/lib/preinit/79_move_config | 9 + .../mvebu/base-files/lib/upgrade/sdcard.sh| 19 +-- 2

[OpenWrt-Devel] [PATCH 7/7] mvebu: espressobin: add u-boot environment

2019-03-21 Thread Tomasz Maciej Nowak
ddr uEnv.txt env import -t $loadaddr env delete $old_or_temp_vars saveenv reset 4. Now board should automatically find boot medium with OpenWrt installation and boot it. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 10 targ

[OpenWrt-Devel] [PATCH 6/7] mvebu: espressobin: add node for eMMC in dts

2019-03-21 Thread Tomasz Maciej Nowak
Some ESPRESSObin boards come with soldered eMMC flash, backport upstream patches adding this device and add patch to sync sdhci nodes order with U-Boot. Signed-off-by: Tomasz Maciej Nowak --- ...l-armada37xx-Add-emmc-sdio-pinctrl-d.patch | 40 +++ ...l-armada-37xx-Enable-emmc-on

[OpenWrt-Devel] [PATCH 5/7] mvebu: sysupgrade: sdcard: keep user added partitons

2019-03-21 Thread Tomasz Maciej Nowak
Currently sysupgrade overwrites whole disk and destroys partitions added by user. Sync the sysupgrade code with the one present in x86 target to remedy this behaviour. Signed-off-by: Tomasz Maciej Nowak --- .../mvebu/base-files/lib/upgrade/platform.sh | 9 ++- .../mvebu/base-files/lib/upgrade

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: Add kmod-i2c-mux-pca954x

2019-03-21 Thread Tomasz Maciej Nowak
W dniu 21.03.2019 o 19:02, Hauke Mehrtens pisze: > On 3/21/19 6:25 PM, Tomasz Maciej Nowak wrote: >> Hi Hauke, >> >> W dniu 21.03.2019 o 17:57, Hauke Mehrtens pisze: >>> This driver is needed for the I2C mux on the board. >> >> This symbol CONFIG_I2

Re: [OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-27 Thread Tomasz Maciej Nowak
Hi Hauke, W dniu 25.03.2019 o 23:39, Hauke Mehrtens pisze: > Hi Tomasz, > > Soke small comments, this looks mostly ok. > [snip] >> +# CONFIG_ARM_LPAE is not set > > Is LPAE not supported by your SoC? This is needed for KVM support, but > not all CPUs support this. > Not really sure, seems it

Re: [OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-27 Thread Tomasz Maciej Nowak
W dniu 27.03.2019 o 21:31, Christian Lamparter pisze: > On Wednesday, March 27, 2019 3:07:58 PM CET Tomasz Maciej Nowak wrote: >> Hi Hauke, >> >> W dniu 25.03.2019 o 23:39, Hauke Mehrtens pisze: >>> Hi Tomasz, >>> >>> Soke small comments, this looks

  1   2   3   4   5   6   >