Re: [OpenWrt-Devel] [PATCH] e2fsprogs: Update to 1.43.5

2019-01-13 Thread Rosen Penev
On Sun, Jan 13, 2019 at 3:50 AM Jo-Philipp Wich wrote: > > Hi, > > > Remove patch 000-relocatable.patch as it seems to be no longer needed. > > did you verify that the generated compile_et and make_cmds scripts are > installed without absolute paths in the host staging directory? This is what I

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: move HARDEN_BRANCH_PREDICTOR to common config

2019-01-13 Thread Rosen Penev
On Sun, Jan 13, 2019 at 12:29 PM Tomasz Maciej Nowak wrote: > > This symbol is enabled in all subtargets, move it to common kernel > config. > > Signed-off-by: Tomasz Maciej Nowak > --- > target/linux/mvebu/config-4.14 | 1 + > target/linux/mvebu/cortexa53/config-default | 1 - >

[OpenWrt-Devel] Notes on (dangerous ?) sysupgrade

2019-01-13 Thread Reiner Karlsberg
I am an unhappy user of sysupgrade for remote installed devices. (Besides these ones: https://forum.openwrt.org/t/sysupgrade-return-code-in-18-06-vs-17-01/22316/9) After having several unpleasant encounters using sysupgrade, I had a quick glance at the code, after more or less successfully

Re: [OpenWrt-Devel] [PATCH] e2fsprogs: Update to 1.43.5

2019-01-13 Thread Jo-Philipp Wich
Hi, > Remove patch 000-relocatable.patch as it seems to be no longer needed. did you verify that the generated compile_et and make_cmds scripts are installed without absolute paths in the host staging directory? If not, then removing this path will result in very hard to debug SDK build

Re: [OpenWrt-Devel] Notes on (dangerous ?) sysupgrade

2019-01-13 Thread Jo-Philipp Wich
Hi Reiner, > After having several unpleasant encounters using sysupgrade, I had a > quick glance at the code, after more or less successfully implementing > workarounds for incomplete sysupgrades, resulting in inconsistent systems. > My questions are: > - Is it safe, simply to kill running

Re: [OpenWrt-Devel] Notes on (dangerous ?) sysupgrade

2019-01-13 Thread Sebastian Moeller
Mmmh, I have a hunch a recent observation of mine might be related (unfortunately I have no log data): Within a set of recent master builds, sysupgrade from a system running for a few days resulted in the expected behavior in that sysupgrade disconnected the current ssh connection and the LED

Re: [OpenWrt-Devel] Notes on (dangerous ?) sysupgrade

2019-01-13 Thread Reiner Karlsberg
Am 13.01.2019 um 14:31 schrieb Jo-Philipp Wich: Hi Reiner, After having several unpleasant encounters using sysupgrade, I had a quick glance at the code, after more or less successfully implementing workarounds for incomplete sysupgrades, resulting in inconsistent systems. My questions are: -

Re: [OpenWrt-Devel] Add Support for 2nd USB Port of Fritz!Box 7320 and 7330

2019-01-13 Thread Robert Resch
Hi, Please don't commit this patch as i want do do some further checks if there is no problem with the 7320. i only could test at a 7330 for now. Sorry Yours, Robert Am 13.01.2019 um 17:08 schrieb Robert Resch: > Hi, > > I managed to get the second USB Port of my FritzBox working with >

[OpenWrt-Devel] Add Support for 2nd USB Port of Fritz!Box 7320 and 7330

2019-01-13 Thread Robert Resch
Hi, I managed to get the second USB Port of my FritzBox working with OpenWRT. The dts File only enabled one port but the Box has two. Find attached a simple Patch adding support. commit subject: lantiq: add support for 2nd USB Port for FRITZ7320 description: adds support for the 2nd USB Port

[OpenWrt-Devel] [PATCH 2/3] kexec-tools: change kdump.init STOP index

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow additional STOP indexes after umount, so that other block devices may stop cleanly. kdumpinit is now STOP=90 Signed-off-by: Joseph Tingiris --- package/boot/kexec-tools/Makefile | 2 +- package/boot/kexec-tools/files/kdump.init | 2 +- 2 files

[OpenWrt-Devel] [PATCH 3/3] rssileds: change rssileds.init STOP index

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow additional STOP indexes after umount, so that other block devices may stop cleanly. rssileds.init is now STOP=89 Signed-off-by: Joseph Tingiris --- package/network/utils/rssileds/Makefile| 2 +- package/network/utils/rssileds/files/rssileds.init |

[OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-13 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 bootloader on first boot. Signed-off-by: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 6 ++

[OpenWrt-Devel] [PATCH 1/3] base-files: change boot & umount STOP indexes

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow additional STOP indexes after umount, so that other block devices may stop cleanly. boot is now STOP=90 umount is now STOP=90 After this patch series, the resulting STOP indexes in the 80s & 90s will be: STOP=85 odhcpd.init STOP=89 conntrackd.init STOP=89

[OpenWrt-Devel] [RFC 5/6] x86/grub2: add bootloader upgrade on sysupgrade

2019-01-13 Thread Tomasz Maciej Nowak
Enable bootloader upgrade on sysupgrade for all x86 subtargets to keep it up to date. To achieve this grub2 user installable packages are created, with appropriate variant added to subtarget default packages. The bootloader upgrade is performed on each sysupgrade process. Signed-off-by: Tomasz

[OpenWrt-Devel] [RFC 3/6] x86: remove obsolete profiles

2019-01-13 Thread Tomasz Maciej Nowak
Rely on device profiles instead for packages selection. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/profiles/000-Generic.mk | 15 -- .../linux/x86/generic/profiles/000-Generic.mk | 18 - .../linux/x86/geode/profiles/000-Generic.mk | 20

[OpenWrt-Devel] [RFC 2/6] x86: switch image generation to new code

2019-01-13 Thread Tomasz Maciej Nowak
This commit introduces few related changes which need to be done in single commit to keep images buildable between git revisions. In result it retains all previous image creation possibilities with slight name change of generated images. Brief summary of the commit: * Split up image generation

[OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-13 Thread Tomasz Maciej Nowak
Drop excesive amount of default packages, instead, rely on packages specified in device definitions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/geode/target.mk | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/target/linux/x86/geode/target.mk

[OpenWrt-Devel] [RFC 0/6] x86: switch to generic image generation code and

2019-01-13 Thread Tomasz Maciej Nowak
This is aftermath of partially failed series [1]. When I was searching for ways to upgrade of bootloader on existing OpenWrt installations, I noticed that it'll be difficult to add this feature within existing code creating x86 target images. I decided to switch this code to generic one, wich is

[OpenWrt-Devel] [RFC 1/6] x86/grub2: move grub2 image creation to grub2 package

2019-01-13 Thread Tomasz Maciej Nowak
Let the grub2 package take care of creating installable grub2 images, this will allow creating grub2 images without first calling x86 image generation recipe. Also as side effect, since those images are now shared, it'll reduce the number of calling grub-mkimage. Signed-off-by: Tomasz Maciej

[OpenWrt-Devel] [PATCH 2/3] mvebu: espressobin: correct spi node in dts

2019-01-13 Thread Tomasz Maciej Nowak
Drop customizations in: 508-arm64-dts-armada-3720-espressobin-wire-up-spi-flash.patch and move them to separate patch, with broader explanation. Signed-off-by: Tomasz Maciej Nowak --- ...a-3720-espressobin-wire-up-spi-flash.patch | 27 ++--- ...da-3720-espressobin-correct-spi-node.patch |

[OpenWrt-Devel] [PATCH 1/3] mvebu: sort armada 37xx upstream patches chronologically

2019-01-13 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- ... => 500-arm64-dts-marvell-Fix-A37xx-UART0-register-size.patch} | 0 ...01-spi-a3700-Change-SPI-mode-before-asserting-chip-sele.patch} | 0 ...tch => 502-arm64-dts-marvell-armada-37xx-add-UART-clock.patch} | 0 ...ch =>

[OpenWrt-Devel] [PATCH 3/3] mvebu: backport upstream fixes for armada 37xx

2019-01-13 Thread Tomasz Maciej Nowak
Upstream patches for processor frequency scaling, which fix possible system hard lockups. Signed-off-by: Tomasz Maciej Nowak --- ...-37xx-periph-Fix-switching-CPU-rate-.patch | 92 +++ ...-37xx-periph-Fix-wrong-return-value-.patch | 33 +++

[OpenWrt-Devel] [PATCH] build: remove leftovers from previous x86 commits

2019-01-13 Thread Tomasz Maciej Nowak
VBoxManage is not used and the image is created with proper permisions: 0f5d0f6 image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox Unreachable config symbols: 9e0759e x86: merge all geode based subtargets into one No need to define

[OpenWrt-Devel] [PATCH] x86: image: add test module to bootloader

2019-01-13 Thread Tomasz Maciej Nowak
It was previously added in 546fced, which was part of "intel-microcode: load as early as possible" series. Unfortunately the conditionals added to GRUB config caused error on boot, because on sysupgrade, bootloader is not updated and is left with old features/modules. Since this module is needed

[OpenWrt-Devel] [PATCH 3/3] kexec-tools: change kdump.init STOP level -2

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow STOP levels after umount, so that other block devices may stop cleanly. kdump.init is now STOP=96 Signed-off-by: Joseph Tingiris --- package/boot/kexec-tools/Makefile | 2 +- package/boot/kexec-tools/files/kdump.init | 2 +- 2 files changed, 2

[OpenWrt-Devel] [PATCH 1/3] base-files: change boot & umount STOP levels -2

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow STOP levels after umount, so that other block devices may stop cleanly. boot is now STOP=96 umount is now STOP=97 Signed-off-by: Joseph Tingiris --- package/base-files/Makefile| 2 +- package/base-files/files/etc/init.d/boot | 2 +-

[OpenWrt-Devel] [RFC] [PATCH] iw: Fix rootfs opkg with PER_DEVICE_ROOTFS and iw

2019-01-13 Thread Daniel Dickinson
From: "Daniel F. Dickinson" With PER_DEVICE_ROOTFS on ath79 and brcm2708 package/install step fails because it cannot satisfy the dependency on iw. The quick solution (this patch) is to add DEFAULT:=y if cfg80211 to Package/iw. A better solution would be to defer installation to imagebuilder,

[OpenWrt-Devel] [PATCH 2/3] rssileds: change rssileds.init STOP level -2

2019-01-13 Thread Joseph Tingiris
This patch is in a series to allow STOP levels after umount, so that other block devices may stop cleanly. rssileds.init is now STOP=94 Signed-off-by: Joseph Tingiris --- package/network/utils/rssileds/Makefile| 2 +- package/network/utils/rssileds/files/rssileds.init | 2 +- 2

[OpenWrt-Devel] [PATCH 2/2] mvebu: remove default profile

2019-01-13 Thread Tomasz Maciej Nowak
When using Image Builder and building image for Cortex A53 or A72 subtargets, it'll fail with following message: Collected errors: * opkg_install_cmd: Cannot install package mwlwifi-firmware-88w8864. * opkg_install_cmd: Cannot install package mwlwifi-firmware-88w8964. make[2]: ***

[OpenWrt-Devel] [PATCH 1/2] mvebu: move HARDEN_BRANCH_PREDICTOR to common config

2019-01-13 Thread Tomasz Maciej Nowak
This symbol is enabled in all subtargets, move it to common kernel config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/config-4.14 | 1 + target/linux/mvebu/cortexa53/config-default | 1 - target/linux/mvebu/cortexa72/config-default | 1 -

Re: [OpenWrt-Devel] [PATCH 1/3] base-files: change boot & umount STOP levels -2

2019-01-13 Thread Jo-Philipp Wich
Hi Joseph, I've been thinking that we maybe should lower the STOP index even further, to at least 90. Apart from that the patch looks good. ~ Jo signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list