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

2019-03-28 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 v3 3/7] tools: add cbootimage-configs for tegra

2019-03-28 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 v3 2/7] tools: add cbootimage for tegra

2019-03-28 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 v3 5/7] kernel: package rtc-em3027 module

2019-03-28 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 v3 0/7] tegra: add new target with support for CompuLab TrimSlice

2019-03-28 Thread Tomasz Maciej Nowak
interact with the device OOTB 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: add kernel 4.19

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

2019-03-28 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 v3 1/7] tegra: add new target

2019-03-28 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 v3 7/7] tegra: add kernel 4.19 support

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

[OpenWrt-Devel] [PATCH v2 0/7] mvebu: SD card image and other improvements

2019-03-28 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 series, one at a time. Changes in v2: - rebase Tomasz Maciej Nowak (7): mvebu: make bootfs siz

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

2019-03-28 Thread Tomasz Maciej Nowak
This will allow to drop additional packages and 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/linux/mvebu

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

2019-03-28 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 v2 4/7] mvebu: base-files: autodetect upgrade device

2019-03-28 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 v2 5/7] mvebu: sysupgrade: sdcard: keep user added partitons

2019-03-28 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

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

2019-03-28 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 v2 6/7] mvebu: espressobin: add node for eMMC in dts

2019-03-28 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 v2 3/7] mvebu: shrink amount of packages and reorganize them

2019-03-28 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

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

2019-03-31 Thread Tomasz Maciej Nowak
W dniu 31.03.2019 o 00:01, Hauke Mehrtens pisze: > On 3/28/19 5:20 PM, Tomasz Maciej Nowak wrote: >> 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 Macie

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

2019-03-31 Thread Tomasz Maciej Nowak
W dniu 31.03.2019 o 14:12, Tomasz Maciej Nowak pisze: > W dniu 31.03.2019 o 00:01, Hauke Mehrtens pisze: >> On 3/28/19 5:20 PM, Tomasz Maciej Nowak wrote: >>> Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab >>> TrimSlice. This is part of ini

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

2019-03-31 Thread Tomasz Maciej Nowak
Hi Jo, W dniu 31.03.2019 o 14:30, Jo-Philipp Wich pisze: > Hi Tomasz, > >> BTW Is there somewhere a list of packages installed on buildbots and is the >> list consistent across all of them? > > we're slowly converging towards this: > > apt-get install -y \ > pwgen \ > locales

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

2019-04-01 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 | 64 +++ .../tegra/base-files/lib/upgrade/platform.sh | 2

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

2019-04-01 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 v4 3/7] tools: add cbootimage-configs for tegra

2019-04-01 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 v4 6/7] tegra: add support for CompuLab TrimSlice

2019-04-01 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 v4 0/7] tegra: add new target with support for CompuLab TrimSlice

2019-04-01 Thread Tomasz Maciej Nowak
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 tools: add cbootimage for tegra tools: add cbootimage

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

2019-04-01 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 v4 1/7] tegra: add new target

2019-04-01 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 v4 7/7] tegra: add kernel 4.19 support

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

[OpenWrt-Devel] [PATCH] tools: cbootimage: depend on automake

2019-04-07 Thread Tomasz Maciej Nowak
Fix missing aclocal reported by buildbot. Fixes: 8595bb0 ("tools: add cbootimage for tegra") Signed-off-by: Tomasz Maciej Nowak --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index cee9c0bf8a..d7207ba89d 100644 -

[OpenWrt-Devel] [PATCH] x86: disable kmod-drm-radeon and kmod-drm-amdgpu for geode

2019-04-07 Thread Tomasz Maciej Nowak
ckage") Fixes: 2f6918e ("x86: video: add radeon DRM module support") Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/video.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/mo

Re: [OpenWrt-Devel] [PATCH] x86: disable kmod-drm-radeon and kmod-drm-amdgpu for geode

2019-04-08 Thread Tomasz Maciej Nowak
Hi Petr, Alberto, W dniu 08.04.2019 o 14:34, Alberto Bursi pisze: > > On 08/04/19 11:42, Petr Štetiar wrote: >> Tomasz Maciej Nowak [2019-04-07 18:35:01]: >> >> Hi, >> >> thanks for trying to unbreak currently failing Geode builds. >> >>> Bu

Re: [OpenWrt-Devel] [PATCH] x86: disable kmod-drm-radeon and kmod-drm-amdgpu for geode

2019-04-08 Thread Tomasz Maciej Nowak
W dniu 08.04.2019 o 23:56, Lucian Cristian pisze: > On 08.04.2019 20:19, Tomasz Maciej Nowak wrote: >> Hi Petr, Alberto, >> >> W dniu 08.04.2019 o 14:34, Alberto Bursi pisze: >>> On 08/04/19 11:42, Petr Štetiar wrote: >>>> Tomasz Maciej Nowak [2019-04-07

Re: [OpenWrt-Devel] [PATCH 1/2] base-files: improve lib/upgrade/common.sh

2019-04-24 Thread Tomasz Maciej Nowak
Hi Klaus. W dniu 23.04.2019 o 21:59, Klaus Kudielka pisze: > Recently, upgrade device autodetection has been added to the mvebu target. > This exposes some shortcomings of the generic export_bootdevice function, > e.g. on the Turris Omnia: export_bootdevice silently reports the root > partition to

Re: [OpenWrt-Devel] [PATCH v2 1/2] base-files: improve lib/upgrade/common.sh

2019-04-25 Thread Tomasz Maciej Nowak
todetect upgrade device") > > Signed-off-by: Klaus Kudielka Acked-by: Tomasz Maciej Nowak Thanks. > --- > .../base-files/files/lib/upgrade/common.sh| 27 +-- > .../apm821xx/base-files/lib/upgrade/wdbook.sh | 11 +++- > .../base-files/lib/upgrade/pla

Re: [OpenWrt-Devel] [PATCH v2 2/2] mvebu: fix board_name condition in 79_move_config

2019-04-25 Thread Tomasz Maciej Nowak
W dniu 24.04.2019 o 21:14, Klaus Kudielka pisze: > The correct board_name for the Turris Omnia is armada-385-turris-omnia. > > Fixes: 4e8345ff68 ("mvebu: base-files: autodetect upgrade device") > > Signed-off-by: Klaus Kudielka Acked-by: Tomasz Maciej Nowak Thank

[OpenWrt-Devel] [PATCH] uboot-tegra: bump to 2019.04

2019-04-25 Thread Tomasz Maciej Nowak
This version has important change for tegra boards which is reserving 32MB memory for Linux kernel instead of current 16MB. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-tegra/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/boot/uboot-tegra

[OpenWrt-Devel] [PATCH 1/8] mvebu: remove unnecessary code building dtbs

2019-05-01 Thread Tomasz Maciej Nowak
Even if dts is not included in upstream Makefile, it is built anyway by recipe specified in include/image.mk. Also remove Build/dtb, it's not used since 3f72f3a ("mvebu: clearfog: include DTB for all variants in image"). Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu

[OpenWrt-Devel] [PATCH 2/8] mvebu: image: stack repeated variables

2019-05-01 Thread Tomasz Maciej Nowak
All of arm64 devices have part of variables repeatedly defined. Stack them to common define, and reference it in each device recipe. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 8 target/linux/mvebu/image/cortex-a53.mk | 12 ++-- target

[OpenWrt-Devel] [PATCH 4/8] mvebu: image: improve readability of device recipes

2019-05-01 Thread Tomasz Maciej Nowak
Drop overly complex amount of defines wich are referenced in the same devices pool and move image recipes to common define, since devices not using them overwrite it. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 21 --- target/linux/mvebu/image

[OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-01 Thread Tomasz Maciej Nowak
Replace SoC names with vendors in device names, in few cases, and add vendor to developemnt boards for easier identyfying potential firmware to flash. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-mvebu/Makefile | 2 +- target/linux/mvebu/image/Makefile | 1 - target

[OpenWrt-Devel] [PATCH 3/8] mvebu: image: introduce BOOT_SCRIPT variable

2019-05-01 Thread Tomasz Maciej Nowak
same script by many device recipes. This will allow to slim down the ammount of files in buildroot tree and avoid needlessly incrementing amount of boot scripts if new devices will be added. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 10

[OpenWrt-Devel] [PATCH 7/8] mvebu: use device-tree board detection

2019-05-01 Thread Tomasz Maciej Nowak
Convert whole target to Device Tree based board detection instead of identifying devices by dts file name. With this we can drop mvebu.sh translation script and rely on common method for model detection. Signed-off-by: Tomasz Maciej Nowak --- .../mvebu/base-files/etc/board.d/01_leds | 22

[OpenWrt-Devel] [PATCH 5/8] mvebu: image: don't create unnecessarily shell variables

2019-05-01 Thread Tomasz Maciej Nowak
Use make syntax to pass the U-Boot image location and boot and root partitions size, instead of relying on shell functions and variables. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 18 ++ .../linux/mvebu/image/gen_mvebu_sdcard_img.sh

[OpenWrt-Devel] [PATCH 8/8] mvebu: add images for additional ESPRESSObin boards

2019-05-01 Thread Tomasz Maciej Nowak
: 584d7c5 ("mvebu: new subtarget cortex A53") for instruction how to boot OpenWrt image placed on SD card. It is advised for owners of V5 and previous to upgrade bootloader based on U-Boot 2015.01, to the latest version available at: http://espressobin.net/tech-spec. Signed-off-by: Tomasz Ma

[OpenWrt-Devel] [PATCH 0/8] mvebu: cleanups, improvments and new ESPRESSObin variants

2019-05-01 Thread Tomasz Maciej Nowak
Klaus Kudielka. https://patchwork.ozlabs.org/patch/1090367 Tomasz Maciej Nowak (8): mvebu: remove unnecessary code building dtbs mvebu: image: stack repeated variables mvebu: image: introduce BOOT_SCRIPT variable mvebu: image: improve readability of device recipes mvebu: imag

[OpenWrt-Devel] [PATCH] tegra: add vendor string to device name

2019-05-01 Thread Tomasz Maciej Nowak
for better identification. Also create SUPPORTED_DEVICES string from it which corresponds to dts compatible string. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-tegra/Makefile | 2 +- target/linux/tegra/image/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions

Re: [OpenWrt-Devel] [PATCH] tegra: add vendor string to device name

2019-05-04 Thread Tomasz Maciej Nowak
Hi, W dniu 03.05.2019 o 13:21, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-05-01 19:43:54]: > > Hi, > >> for better identification. Also create SUPPORTED_DEVICES string from it >> which corresponds to dts compatible string. >> >> Signed-off-by: Tomasz Ma

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-04 Thread Tomasz Maciej Nowak
Hi, W dniu 04.05.2019 o 00:04, Hauke Mehrtens pisze: > On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: >> Replace SoC names with vendors in device names, in few cases, and add >> vendor to developemnt boards for easier identyfying potential firmware to >> flash. >> >

Re: [OpenWrt-Devel] [PATCH 8/8] mvebu: add images for additional ESPRESSObin boards

2019-05-04 Thread Tomasz Maciej Nowak
W dniu 04.05.2019 o 00:11, Hauke Mehrtens pisze: > On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: >> This commit adds support for different iterations of ESPRESSObin. >> The added variants are: >> >> ESPRESSObin with soldered eMMC, >> >> ESPRESSObin V7, compa

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-04 Thread Tomasz Maciej Nowak
Hi Hauke, Petr, W dniu 04.05.2019 o 00:38, Petr Štetiar pisze: > Hauke Mehrtens [2019-05-04 00:00:25]: > > Hi, > >> On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: >>> Replace SoC names with vendors in device names, in few cases, and add >>> vendor to devel

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-06 Thread Tomasz Maciej Nowak
W dniu 05.05.2019 o 22:42, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-05-04 16:01:11]: > >> W dniu 04.05.2019 o 00:38, Petr Štetiar pisze: >>> >>> SUPPORTED_DEVICES variable is used for this, so it's probably going to work, >>> but if we're

Re: [OpenWrt-Devel] [PATCH] tegra: add vendor string to device name

2019-05-06 Thread Tomasz Maciej Nowak
W dniu 05.05.2019 o 09:16, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-05-04 14:39:38]: > >> W dniu 03.05.2019 o 13:21, Petr Štetiar pisze: >>> Tomasz Maciej Nowak [2019-05-01 19:43:54]: >>> >>> Hi, >>> >>>> for better identificat

[OpenWrt-Devel] [PATCH v2 4/8] mvebu: image: improve readability of device recipes

2019-05-09 Thread Tomasz Maciej Nowak
Drop overly complex amount of defines wich are referenced in the same devices pool and move image recipes to common define, since devices not using them overwrite it. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 21 --- target/linux/mvebu/image

[OpenWrt-Devel] [PATCH v2 3/8] mvebu: image: introduce BOOT_SCRIPT variable

2019-05-09 Thread Tomasz Maciej Nowak
same script by many device recipes. This will allow to slim down the ammount of files in buildroot tree and avoid needlessly incrementing amount of boot scripts if new devices will be added. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 10

[OpenWrt-Devel] [PATCH v2 1/8] mvebu: remove unnecessary code building dtbs

2019-05-09 Thread Tomasz Maciej Nowak
Even if dts is not included in upstream Makefile, it is built anyway by recipe specified in include/image.mk. Also remove Build/dtb, it's not used since 3f72f3a ("mvebu: clearfog: include DTB for all variants in image"). Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu

[OpenWrt-Devel] [PATCH v2 2/8] mvebu: image: stack repeated variables

2019-05-09 Thread Tomasz Maciej Nowak
All of arm64 devices have part of variables repeatedly defined. Stack them to common define, and reference it in each device recipe. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 8 target/linux/mvebu/image/cortex-a53.mk | 12 ++-- target

[OpenWrt-Devel] [PATCH v2 8/8] mvebu: add images for additional ESPRESSObin boards

2019-05-09 Thread Tomasz Maciej Nowak
: 584d7c5 ("mvebu: new subtarget cortex A53") for instruction how to boot OpenWrt image placed on SD card. It is advised for owners of V5 and previous with bootloader based on U-Boot 2015.01, to upgrade the latest version available at: http://espressobin.net/tech-spec. Signed-off-by: Tomasz Ma

[OpenWrt-Devel] [PATCH v2 5/8] mvebu: image: don't create unnecessarily shell variables

2019-05-09 Thread Tomasz Maciej Nowak
Use make syntax to pass the U-Boot image location and boot with root partitions size, instead of relying on shell functions and variables. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 18 ++ .../linux/mvebu/image/gen_mvebu_sdcard_img.sh

[OpenWrt-Devel] [PATCH v2 7/8] mvebu: use device-tree board detection

2019-05-09 Thread Tomasz Maciej Nowak
Convert whole target to Device Tree based board detection instead of identifying devices by dts file name. With this we can drop mvebu.sh translation script and rely on common method for model detection. Signed-off-by: Tomasz Maciej Nowak --- .../mvebu/base-files/etc/board.d/01_leds | 22

[OpenWrt-Devel] [PATCH v2 6/8] mvebu: align device names to vendor_device format

2019-05-09 Thread Tomasz Maciej Nowak
marketing names. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-mvebu/Makefile | 2 +- target/linux/mvebu/image/Makefile | 1 - target/linux/mvebu/image/cortex-a53.mk | 8 +-- target/linux/mvebu/image/cortex-a72.mk | 12 ++-- target/linux/mvebu/image/cortex-a9.mk | 76

[OpenWrt-Devel] [PATCH v2 0/8] mvebu: cleanups, improvments and new ESPRESSObin variants

2019-05-09 Thread Tomasz Maciej Nowak
st device names to pattern found in dts compatible string, suggested by Petr ??tetiar. mvebu: use device-tree board detection adjusted to changes in mvebu: align device names to vendor_device format Tomasz Maciej Nowak (8): mvebu: remove unnecessary code building dtbs mvebu: image: stack rep

Re: [OpenWrt-Devel] [PATCH RESEND V3 1/2] base-files: improve lib/upgrade/common.sh

2019-05-09 Thread Tomasz Maciej Nowak
vebu: base-files: autodetect upgrade device") > Signed-off-by: Klaus Kudielka Tested-by: Tomasz Maciej Nowak on GlobalScale ESPRESSObin. > --- > v2: > > Remove workarounds for the old, inconsistent behaviour from the following > targets: apm821xx, brcm2708, omap, sunxi.

Re: [OpenWrt-Devel] Build system puzzles: PCI_SUPPORT not being set for subtarget

2019-05-09 Thread Tomasz Maciej Nowak
Hi Jeff, W dniu 09.05.2019 o 18:25, Jeff Kletsky pisze: > On 5/9/19 12:04 PM, Petr Štetiar wrote: > >> Jeff Kletsky [2019-05-09 11:23:18]: >> >>> I reconfirmed that >>> >>>    openwrt/target/linux/ath79$ cp generic/config-default nand/config-default >>>    openwrt$ cat /dev/null > .config >>>   

[OpenWrt-Devel] [PATCH v3 5/8] mvebu: image: don't create unnecessarily shell variables

2019-05-11 Thread Tomasz Maciej Nowak
Use make syntax to pass the U-Boot image location and boot with root partitions size, instead of relying on shell functions and variables. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 18 ++ .../linux/mvebu/image/gen_mvebu_sdcard_img.sh

[OpenWrt-Devel] [PATCH v3 1/8] mvebu: remove unnecessary code building dtbs

2019-05-11 Thread Tomasz Maciej Nowak
Even if dts is not included in upstream Makefile, it is built anyway by recipe specified in include/image.mk. Also remove Build/dtb, it's not used since 3f72f3a ("mvebu: clearfog: include DTB for all variants in image"). Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu

[OpenWrt-Devel] [PATCH v3 2/8] mvebu: image: stack repeated variables

2019-05-11 Thread Tomasz Maciej Nowak
All of arm64 devices have part of variables repeatedly defined. Stack them to common define, and reference it in each device recipe. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 8 target/linux/mvebu/image/cortex-a53.mk | 12 ++-- target

[OpenWrt-Devel] [PATCH v3 0/8] mvebu: cleanups, improvments and new ESPRESSObin variants

2019-05-11 Thread Tomasz Maciej Nowak
n dts compatible string, suggested by Petr ??tetiar. mvebu: use device-tree board detection adjusted to changes in mvebu: align device names to vendor_device format Tomasz Maciej Nowak (8): mvebu: remove unnecessary code building dtbs mvebu: image: stack repeated variables mvebu: image: intr

[OpenWrt-Devel] [PATCH v3 7/8] mvebu: use device-tree board detection

2019-05-11 Thread Tomasz Maciej Nowak
Convert whole target to Device Tree based board detection instead of identifying devices by dts file name. With this we can drop mvebu.sh translation script and rely on common method for model detection. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-envtools/files/mvebu | 26

[OpenWrt-Devel] [PATCH v3 6/8] mvebu: align device names to vendor_device format

2019-05-11 Thread Tomasz Maciej Nowak
marketing names. Signed-off-by: Tomasz Maciej Nowak --- package/boot/uboot-mvebu/Makefile | 2 +- target/linux/mvebu/image/Makefile | 1 - target/linux/mvebu/image/cortex-a53.mk | 8 +-- target/linux/mvebu/image/cortex-a72.mk | 12 ++-- target/linux/mvebu/image/cortex-a9.mk | 76

[OpenWrt-Devel] [PATCH v3 3/8] mvebu: image: introduce BOOT_SCRIPT variable

2019-05-11 Thread Tomasz Maciej Nowak
same script by many device recipes. This will allow to slim down the ammount of files in buildroot tree and avoid needlessly incrementing amount of boot scripts if new devices will be added. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 10

[OpenWrt-Devel] [PATCH v3 8/8] mvebu: add images for additional ESPRESSObin boards

2019-05-11 Thread Tomasz Maciej Nowak
: 584d7c5 ("mvebu: new subtarget cortex A53") for instruction how to boot OpenWrt image placed on SD card. It is advised for owners of V5 and previous with bootloader based on U-Boot 2015.01, to upgrade the latest version available at: http://espressobin.net/tech-spec. Signed-off-by: Tomasz Ma

[OpenWrt-Devel] [PATCH v3 4/8] mvebu: image: improve readability of device recipes

2019-05-11 Thread Tomasz Maciej Nowak
Drop overly complex amount of defines wich are referenced in the same devices pool and move image recipes to common define, since devices not using them overwrite it. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 21 --- target/linux/mvebu/image

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-16 Thread Tomasz Maciej Nowak
yshire-Bryant > Cc: Koen Vandeputte > Cc: Michael Gray > Cc: Rosen Penev > Cc: Ryan Mounce > Cc: Stijn Segers > Cc: Stijn Tintel > Cc: Tomasz Maciej Nowak Regards -- TMN ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-17 Thread Tomasz Maciej Nowak
W dniu 16.05.2019 o 23:47, Marek Behun pisze: > On Thu, 16 May 2019 22:35:35 +0200 > Tomasz Maciej Nowak wrote: > >> Hi Marek, >> >> W dniu 16.05.2019 o 20:38, Marek Behún pisze: >>> Add support for kernel 4.19 to the mvebu target. >>> >>>

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-17 Thread Tomasz Maciej Nowak
W dniu 16.05.2019 o 23:41, Marek Behun pisze: > On Thu, 16 May 2019 22:35:35 +0200 > Tomasz Maciej Nowak wrote: > >> What I would like to ask is if You've had also link training issues with >> PCIe port >> and particular Atheros/Qualcomm (AR3890, QCA9890) wifi c

[OpenWrt-Devel] [PATCH 0/3] x86: upgrade bootloader on sysupgrade

2019-05-27 Thread Tomasz Maciej Nowak
es in near future. https://patchwork.ozlabs.org/cover/1024165 Tomasz Maciej Nowak (3): x86: image: cleanup before creating image x86: add bootloader upgrade on sysupgrade x86: add preinit hook for bootloader upgrade package/boot/grub2/Makefile | 5 + .../lib/pr

[OpenWrt-Devel] [PATCH 1/3] x86: image: cleanup before creating image

2019-05-27 Thread Tomasz Maciej Nowak
There can be some leftovers from other image recipes, if the same directory names are used and multiply image types are selected. Therefore remove directories used in the recipe, before contents for the image are prepared. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile

[OpenWrt-Devel] [PATCH 3/3] x86: add preinit hook for bootloader upgrade

2019-05-27 Thread Tomasz Maciej Nowak
The current OpenWrt installations lack the necessary bits to upgrade bootloader on sysupgrade, therefore add preinit hook which will perform upgrade of the bootloader on first boot after sysupgrade. Signed-off-by: Tomasz Maciej Nowak --- .../lib/preinit/81_upgrade_bootloader | 19

[OpenWrt-Devel] [PATCH 2/3] x86: add bootloader upgrade on sysupgrade

2019-05-27 Thread Tomasz Maciej Nowak
previous system configuration. To fix these, this commit adds additional routine to sysupgrade which upgrades unconditionally the bootloader to the latest state provided by OpenWrt. Signed-off-by: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 5 + .../x86/base-files

[OpenWrt-Devel] [PATCH 2/2] kernel: package module for SafeXcel crypto engine

2019-06-05 Thread Tomasz Maciej Nowak
Maciej Nowak --- package/kernel/linux/modules/crypto.mk | 28 ++ 1 file changed, 28 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 9cab04c6ed..ed2ab6aed7 100644 --- a/package/kernel/linux/modules/crypto.mk

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: add kernel 4.19 support

2019-06-05 Thread Tomasz Maciej Nowak
W dniu 05.06.2019 o 16:31, Tomasz Maciej Nowak pisze: > From: Marko Ratkaj > > Cc: Vladimir Vid > Signed-off-by: Marko Ratkaj > [added sfp related patches from Russell King] > Signed-off-by: Marek Behún > [rebase; rework patches; separate and cleanup kernel configs;

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: package module for SafeXcel crypto engine

2019-06-10 Thread Tomasz Maciej Nowak
Hi Jonas. W dniu 05.06.2019 o 17:45, Jonas Gorski pisze: > On Wed, 5 Jun 2019 at 16:32, Tomasz Maciej Nowak wrote: >> >> Supports EIP97 and EIP197 found on Armada 37xx, 7k and 8k SoCs. >> Unfortunately firmware for EIP197 is not easily obtainable, therefore >> to not

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: add kernel 4.19 support

2019-06-10 Thread Tomasz Maciej Nowak
W dniu 09.06.2019 o 09:29, Hauke Mehrtens pisze: > On 6/5/19 4:31 PM, Tomasz Maciej Nowak wrote: >> From: Marko Ratkaj >> >> Cc: Vladimir Vid >> Signed-off-by: Marko Ratkaj >> [added sfp related patches from Russell King] >> Signed-off-by: Marek Behún &

Re: [OpenWrt-Devel] [PATCH 3/3] x86: add preinit hook for bootloader upgrade

2019-06-10 Thread Tomasz Maciej Nowak
Hi Petr. W dniu 27.05.2019 o 18:17, Petr Štetiar pisze: > Tomasz Maciej Nowak [2019-05-27 14:46:30]: > > Hi, > >> new file mode 100644 >> index 00..3a4e756b1e >> --- /dev/null >> +++ b/target/linux/x86/base-files/lib/preinit/81_upgrade_bootloader &

[OpenWrt-Devel] [PATCH v2 2/2] kernel: package module for SafeXcel crypto engine

2019-06-13 Thread Tomasz Maciej Nowak
Maciej Nowak --- v1 -> v2: add proper dependencies and extend module description in result of review by Jonas Gorski package/kernel/linux/modules/crypto.mk | 25 + 1 file changed, 25 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/li

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: kernel: bump 4.19 ready targets to 4.19

2019-06-18 Thread Tomasz Maciej Nowak
qemu) > > brcm47xx and bcm53xx weren't bumped as they didn't passed build testing > and needs more work regarding 4.19 support. > > Signed-off-by: Stijn Tintel > Signed-off-by: Petr Štetiar For mvebu and tegra targets: Tested-by: Tomasz Maciej Nowak > ---

[OpenWrt-Devel] [PATCH v2 1/3] x86: image: cleanup before creating image

2019-07-18 Thread Tomasz Maciej Nowak
There can be some leftovers from other image recipes, if the same directory names are used and multiply image types are selected. Therefore remove directories used in the recipe, before contents for the image are prepared. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile

[OpenWrt-Devel] [PATCH v2 0/3] x86: upgrade bootloader on sysupgrade

2019-07-18 Thread Tomasz Maciej Nowak
es in near future. https://patchwork.ozlabs.org/cover/1024165 Changes in v2: x86: add bootloader upgrade on sysupgrade: move bootloader upgrade to function as suggested by Petr ??tetiar, extend commit message x86: add preinit hook for bootloader upgrade rewrite commit message Tomasz Maciej Now

[OpenWrt-Devel] [PATCH v2 3/3] x86: add preinit hook for bootloader upgrade

2019-07-18 Thread Tomasz Maciej Nowak
for bootloader upgrade in place. Signed-off-by: Tomasz Maciej Nowak --- .../lib/preinit/81_upgrade_bootloader | 19 +++ .../x86/base-files/lib/upgrade/platform.sh| 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 target/linux/x86/base-fi

[OpenWrt-Devel] [PATCH v2 2/3] x86: add bootloader upgrade on sysupgrade

2019-07-18 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 5 .../x86/base-files/lib/upgrade/platform.sh| 24 +++ target/linux/x86/image/Makefile | 7 +++--- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/package/boot/grub2/Makefile

[OpenWrt-Devel] [PATCH] grub2: bump to 2.04

2019-07-18 Thread Tomasz Maciej Nowak
. * Many ARM and ARM64 fixes. * Many SPARC fixes. * Many IEEE 1275 fixes. * ...and tons of other fixes and cleanups... Signed-off-by: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 7 +- ...ix-packed-not-aligned-error-on-GCC-8.patch | 71 -- .../grub2

[OpenWrt-Devel] [PATCH] mvebu: remove support for deprecated DSA bindings

2019-07-18 Thread Tomasz Maciej Nowak
These legacy bindings were removed long time ago from dts, so there's no need to keep support for them. Spotted-by: Hauke Mehrtens Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/config-4.19 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/mvebu/config-4.19 b/t

[OpenWrt-Devel] [PATCH] mvebu: enable xHCI USB controller connected to PCIe

2019-07-18 Thread Tomasz Maciej Nowak
from kmod-usb3. Fixes: 4ccad92 ("mvebu: Add support for kernel 4.14") Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/usb.mk | 1 - target/linux/generic/config-4.14| 1 + target/linux/generic/config-4.19| 1 + target/linux/generic/config-4.9 | 1 + tar

[OpenWrt-Devel] [PATCH v2] mvebu: enable xHCI USB controller connected to PCIe

2019-07-25 Thread Tomasz Maciej Nowak
for kernel 4.14") Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 move unrelated to fix change in kmod-usb3 package to separate patch target/linux/mvebu/config-4.14 | 1 + target/linux/mvebu/config-4.19 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/mvebu/config-4.14 b/

[OpenWrt-Devel] [PATCH] kernel: drop mvebu support in kmod-usb3

2019-07-25 Thread Tomasz Maciej Nowak
This is already enabled as kernel built-in feature in mvebu target and none other target will use it. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/usb.mk | 1 - target/linux/generic/config-4.14| 1 + target/linux/generic/config-4.19| 1 + target/linux/generic

[OpenWrt-Devel] [PATCH 3/7] ar71xx: sysupgrade: accept ath79 combined-image

2019-08-22 Thread Tomasz Maciej Nowak
metadata before calculating md5 sum for whole image. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx

[OpenWrt-Devel] [PATCH 0/7] ath79: fixes for devices with RedBoot bootloader

2019-08-22 Thread Tomasz Maciej Nowak
e for few devices and which I don't have knowledge to tackle. Hope someone will help. 1. https://bugs.openwrt.org/index.php?do=details&task_id=2428 Tomasz Maciej Nowak (7): ath79: dts: fix ja76pf2 spi frequency ath79: image: retire combined-image for Adtran/Bluesocket devices ar71

[OpenWrt-Devel] [PATCH 1/7] ath79: dts: fix ja76pf2 spi frequency

2019-08-22 Thread Tomasz Maciej Nowak
. Fixes: b3a0c97 ("ath79: add support for jjPlus JA76PF2") Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts b/target/linux

[OpenWrt-Devel] [PATCH 6/7] ath79: fix FIS partition detection for 4.19 kernel

2019-08-22 Thread Tomasz Maciej Nowak
When bumping to 4.19 the patch responsible for scaning flash for FIS partition got left out. Without it devices with RedBoot bootloader using automatic partitions detection in dts won't boot with the new kernel. Fixes: 3771176 ("ath79: add support for linux 4.19") Signed-off-by

[OpenWrt-Devel] [PATCH 4/7] ath79: image: append metadata to routerstations and ja76pf2 images

2019-08-22 Thread Tomasz Maciej Nowak
This target enforces metadata check so add the necessary information. It was previously removed because md5 sum check. When using these sysupgrade images on ar71xx target the check would complain about them not matching. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic

[OpenWrt-Devel] [PATCH 2/7] ath79: image: retire combined-image for Adtran/Bluesocket devices

2019-08-22 Thread Tomasz Maciej Nowak
images for now so no reression should occur. Cc: Brian Gonyer Cc: Daniel Gimpelevich Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/

<    1   2   3   4   5   6   >