[OpenWrt-Devel] [PATCH] binutils: break-out libbfd, libopcodes and ar

2014-12-17 Thread Daniel Golle
Package libbfd, libopcodes and ar seperately. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/devel/binutils/Makefile | 50 - 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/package/devel/binutils/Makefile b/package/devel

[OpenWrt-Devel] [PATCH 1/4] oxnas: refresh kernel config-3.1[48]

2014-12-17 Thread Daniel Golle
and no longer compile-in ext4 filesystem now that sata_oxnas is also built as a module. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.14 | 16 +++- target/linux/oxnas/config-3.18 | 25 +++-- 2 files changed, 10 insertions(+), 31

[OpenWrt-Devel] [PATCH 2/4] oxnas: sata_oxnas: refactoring phase 1

2014-12-17 Thread Daniel Golle
locking for 2nd port and hwraid was added from vendor's GPL code which doesn't comply with current kernel coding style. - moved all global variables into host_priv - renamed locks - sanetized acquire() and release() parameter list Signed-off-by: Daniel Golle dan...@makrotopia.org --- target

[OpenWrt-Devel] [PATCH 3/4] oxnas: sata_oxnas: refactoring phase 2

2014-12-17 Thread Daniel Golle
where possible Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/files/drivers/ata/sata_oxnas.c | 287 +- 1 file changed, 175 insertions(+), 112 deletions(-) diff --git a/target/linux/oxnas/files/drivers/ata/sata_oxnas.c b/target/linux/oxnas/files/drivers

[OpenWrt-Devel] [PATCH 4/4] oxnas: sata_oxnas: make irq handler more readable

2014-12-17 Thread Daniel Golle
safed one level of indention by using 'continue' instead of a lengthy if-clause. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/files/drivers/ata/sata_oxnas.c | 26 --- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH v2] uboot-envtools: enable UBI support per default on oxnas

2014-12-13 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Config.in b/package/boot/uboot-envtools/Config.in index 9fd8103..bd3585c 100644 --- a/package/boot/uboot

[OpenWrt-Devel] [PATCH v2 2/2] oxnas: build S-ATA driver as a module

2014-12-12 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/block.mk | 16 target/linux/oxnas/Makefile | 4 ++-- target/linux/oxnas/config-3.14| 2 -- target/linux/oxnas/config-3.18| 2 -- 4 files changed, 18 insertions(+), 6

[OpenWrt-Devel] [PATCH v3 2/2] oxnas: build S-ATA driver as a module

2014-12-12 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/block.mk | 16 target/linux/oxnas/Makefile | 5 +++-- target/linux/oxnas/config-3.14| 2 -- target/linux/oxnas/config-3.18| 2 -- 4 files changed, 19 insertions(+), 6

[OpenWrt-Devel] [PATCH 1/2] kernel/generic: add ledtrig support to libata

2014-12-12 Thread Daniel Golle
on kirkwood, orion, ...) Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../generic/patches-3.14/834-ledtrig-libata.patch | 147 + .../generic/patches-3.18/834-ledtrig-libata.patch | 147 + 2 files changed, 294 insertions(+) create mode 100644 target/linux

[OpenWrt-Devel] [PATCH 2/2] oxnas: use libata ledtrig support for kd20 hdd leds

2014-12-12 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.14| 1 + target/linux/oxnas/config-3.18| 1 + target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 2 ++ target/linux/oxnas/files/arch/arm/mach-oxnas

[OpenWrt-Devel] [PATCH v2 1/2] kernel/generic: add ledtrig support to libata

2014-12-12 Thread Daniel Golle
on kirkwood, orion, ...) Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../generic/patches-3.14/834-ledtrig-libata.patch | 160 + .../generic/patches-3.18/834-ledtrig-libata.patch | 160 + 2 files changed, 320 insertions(+) create mode 100644 target/linux

Re: [OpenWrt-Devel] [PATCH RFC 2/5] ubinize-image: Change the rootfs to a static volume

2014-12-12 Thread Daniel Golle
On Fri, Dec 12, 2014 at 04:21:02PM +0100, Maxime Ripard wrote: On boards with large page size, the rootfs we generate might end up using less PEB than the minimum number required by UBI for a dynamic volume. Change the rootfs to a static volume, which removes such a requirement, and isn't

[OpenWrt-Devel] [PATCH] kernel/generic: remove some left-over garbage from ledtrig patch

2014-12-12 Thread Daniel Golle
cosmetics. clean a style issue introduced by r43674. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/patches-3.14/834-ledtrig-libata.patch | 2 +- target/linux/generic/patches-3.18/834-ledtrig-libata.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[OpenWrt-Devel] [PATCH] uboot-envtools: enable UBI support on non-legacy targets

2014-12-12 Thread Daniel Golle
in the blacklist (i.e. platforms/SoCs without the option to deploy NAND flash or commonly found with only 4MB flash where those 8kB might actually matter, or platforms where we haven't got U-Boot, ...) Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Config.in | 8

[OpenWrt-Devel] [PATCH] oxnas: also make use of the GPIO poweroff driver

2014-12-12 Thread Daniel Golle
Works great to power-off the kd20 ;) Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.14| 4 target/linux/oxnas/config-3.18| 4 target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 5

[OpenWrt-Devel] [PATCH] oxnas: fix gpio-fan on kd20

2014-12-12 Thread Daniel Golle
define speed-map and include kmod-hwmon-gpiofan in kd20 profile Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 2 ++ target/linux/oxnas/profiles/100-Generic.mk| 2 +- 2 files changed, 3 insertions(+), 1 deletion

[OpenWrt-Devel] [PATCH] oxnas: use ARM BCJ filter for XZ decompression

2014-12-11 Thread Daniel Golle
for wth ARM BCJ filter. in include/image.mk:BCJ_FILTER:=-Xbcj $(LINUX_KARCH) Thus the ARM filter is used for all ARM targets. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.14 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH 1/2] uboot-oxnas: install u-boot.bin also to KERNEL_BUILD_DIR

2014-12-11 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-oxnas/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/boot/uboot-oxnas/Makefile b/package/boot/uboot-oxnas/Makefile index e233943..825907b 100644 --- a/package/boot/uboot-oxnas/Makefile +++ b/package

[OpenWrt-Devel] [PATCH 2/2] oxnas: use u-boot.bin in KDIR

2014-12-11 Thread Daniel Golle
This fixes building *u-boot-initramfs.bin images using ImageBuilder Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image

[OpenWrt-Devel] [PATCH 1/2] oxnas: clean up default package selection

2014-12-11 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/Makefile| 2 +- target/linux/oxnas/profiles/100-Generic.mk | 10 ++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/target/linux/oxnas/Makefile b/target/linux/oxnas/Makefile index

[OpenWrt-Devel] [PATCH 2/2] oxnas: build S-ATA driver as a module

2014-12-11 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/block.mk | 16 target/linux/oxnas/config-3.14| 2 -- target/linux/oxnas/config-3.18| 2 -- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux

[OpenWrt-Devel] [PATCH 1/2] oxnas: re-add support for kernel 3.14

2014-12-04 Thread Daniel Golle
This reverts commit c81de5fd193802d511b42eb7b108aac17136 on https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git which removed patches and config for 3.14. [arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18] Signed-off-by: Daniel Golle dan...@makrotopia.org --- target

[OpenWrt-Devel] [PATCH 2/2] oxnas: switch back to kernel 3.14

2014-12-04 Thread Daniel Golle
3.18 still got problems with stuck reboots if rootfs is ubifs... Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/Makefile b/target/linux/oxnas/Makefile index 2a99f51..d957fca

[OpenWrt-Devel] [PATCH 1/3] uboot-oxnas: re-add IC+ phy driver

2014-12-03 Thread Daniel Golle
of in-tree users. Partially revert that commit adding back the IC+ driver. Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../boot/uboot-oxnas/files/include/configs/ox820.h | 1 + .../boot/uboot-oxnas/patches/200-icplus-phy.patch | 129 + 2 files changed, 130 insertions

[OpenWrt-Devel] [PATCH 2/3] uboot-oxnas: adjust digtial drive strength of IC+ phy

2014-12-03 Thread Daniel Golle
This is what the vendor bootloader does on KD20. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-oxnas/patches/200-icplus-phy.patch | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-oxnas/patches/200-icplus-phy.patch

[OpenWrt-Devel] [PATCH 1/5] kernel/modules: package gpio-beeper

2014-12-02 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/other.mk | 19 +++ 1 file changed, 19 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 5d1c2fb..b1bb76a 100644 --- a/package/kernel

[OpenWrt-Devel] [PATCH 3/5] oxnas/kd20: add usb-storage to default package set

2014-12-02 Thread Daniel Golle
KD20 got a built-in card-reader wired to the USB-3 root-hub. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/profiles/100-Generic.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/oxnas/profiles/100-Generic.mk b/target/linux/oxnas

[OpenWrt-Devel] [PATCH 2/5] oxnas/kd20: use gpio-beeper

2014-12-02 Thread Daniel Golle
gpio-beeper module was added to the kernel recently. Make use of it to drive the piezoelectric buzzer of the kd20. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 9 + target/linux/oxnas/profiles/100-Generic.mk

[OpenWrt-Devel] [PATCH 4/5] oxnas: switch CRC32 implementation to SLICEBY8

2014-12-02 Thread Daniel Golle
similar to what was observed on kirkwood this significantly accelerates btrfs write operations. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.18 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/oxnas/config-3.18 b/target/linux/oxnas/config

[OpenWrt-Devel] [PATCH 5/5] uboot-oxnas: bump to U-Boot 2014.10

2014-12-02 Thread Daniel Golle
A few trivial changes were needed to adapt to upstream framework changes. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-oxnas/Makefile | 4 +- package/boot/uboot-oxnas/files/board/ox820/Kconfig | 15 +++ .../boot/uboot-oxnas/files/board/ox820

[OpenWrt-Devel] [PATCH] kernel/modules: package xhci for kernel=3.18

2014-12-02 Thread Daniel Golle
xhci-hcd was split into xhci-pci and xhci-platform since 3.18 Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/usb.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk

[OpenWrt-Devel] [PATCH v2] kernel/modules: package xhci for kernel=3.18

2014-12-02 Thread Daniel Golle
xhci-hcd was split into xhci-pci and xhci-platform since 3.18 Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/usb.mk | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH] util-linux: package libsmartcols

2014-12-01 Thread Daniel Golle
Packages fdisk and lsblk were missing dependency for libsmartcols.so.1 Add package for libsmartcols and add dependency from fdisk and lsblk. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/utils/util-linux/Makefile | 27 --- 1 file changed, 24 insertions

Re: [OpenWrt-Devel] [PATCH] util-linux: package libsmartcols

2014-12-01 Thread Daniel Golle
, Dec 01, 2014 at 01:07:38PM +0100, John Crispin wrote: Hi, patch does not apply, which rev did you generate it against ? John On 01/12/2014 13:06, Daniel Golle wrote: Packages fdisk and lsblk were missing dependency for libsmartcols.so.1 Add package for libsmartcols and add

[OpenWrt-Devel] [PULL RESEND] oxnas: two small fixes

2014-11-28 Thread Daniel Golle
to 627377b2fdf665cf1e5a532e0e662e6d1a3350b5: oxnas: change visible board name (2014-11-28 12:30:07 +0100) Daniel Golle (2): oxnas: ehci: rename vendor prefix plxtch to plxtech oxnas: change visible board name target/linux/oxnas

Re: [OpenWrt-Devel] [PATCH 3/5] add new target 'oxnas'

2014-11-26 Thread Daniel Golle
Hi John, On Wed, Nov 26, 2014 at 08:14:18AM +0100, John Crispin wrote: seems to all be functional. one last question ... I found yet another small thing to fix ehci which I recently broke. It also seems like xhci support doesn't work on 3.18 yet. Most boards, (except for kd20) don't come with

[OpenWrt-Devel] (no subject)

2014-11-26 Thread Daniel Golle
to cd4f739b2d35744b6b9dacfa1e4edcaf6e2337d5: oxnas: change visible board name (2014-11-26 14:04:50 +0100) Daniel Golle (2): oxnas: ehci: rename vendor prefix plxtch to plxtech oxnas: change visible board name target/linux/oxnas/Makefile

[OpenWrt-Devel] [PATCH 1/5] [RESEND] kernel: unset CONFIG_ARM_CCN

2014-11-25 Thread Daniel Golle
oldconfig kept asking for that config symbol... Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/config-3.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index cfee63e..d795b73 100644

[OpenWrt-Devel] [PATCH 0/5] PLXTECH/Oxford NAS 782x SoC family support

2014-11-25 Thread Daniel Golle
into this series of patches, the history of the development process can be found on http://gitorious.org/openwrt-oxnas/openwrt-oxnas Daniel Golle (5): kernel: unset CONFIG_ARM_CCN target.mk: add default packages for NAS device-type add new target 'oxnas' add uboot-oxnas uboot-envtools: add

[OpenWrt-Devel] [PATCH 2/5] target.mk: add default packages for NAS device-type

2014-11-25 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/target.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/target.mk b/include/target.mk index 17413f9..db501e0 100644 --- a/include/target.mk +++ b/include/target.mk @@ -13,6 +13,8 @@ DEVICE_TYPE?=router # Default

[OpenWrt-Devel] [PATCH 5/5] uboot-envtools: add support for oxnas target

2014-11-25 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Makefile| 4 package/boot/uboot-envtools/files/oxnas | 29 + 2 files changed, 33 insertions(+) create mode 100644 package/boot/uboot-envtools/files/oxnas diff --git a/package

[OpenWrt-Devel] [PATCH 4/5] add uboot-oxnas

2014-11-25 Thread Daniel Golle
This adds support for the oxnas target in U-Boot 2014.04 History can be found at https://github.com/kref/u-boot-oxnas up to 2013.10 changes from 2013.10 to 2014.04 can be followed at https://gitorious.org/openwrt-oxnas Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot

Re: [OpenWrt-Devel] [PATCH 0/5] PLXTECH/Oxford NAS 782x SoC family support

2014-11-25 Thread Daniel Golle
On Tue, Nov 25, 2014 at 12:07:13PM +0100, John Crispin wrote: nice to see the code reach the point where we can merge it. are you planning on upstreaming this ? 12k insertions are a lot to carry around with us. Definitely. Yet there are things which I want to do before approaching kernel

[OpenWrt-Devel] [PATCH] kernel: unset CONFIG_ARM_CCN

2014-11-20 Thread Daniel Golle
oldconfig kept asking for that config symbol... Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/config-3.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index ad8ea95..cb3760e 100644

[OpenWrt-Devel] [PATCH 1/2] kernel/modules: location of usb-common.ko changed

2014-11-17 Thread Daniel Golle
usb-common.ko was moved to drivers/usb/common starting from kernel 3.16 by upstream commit f4cbd33fd5f0587910fa9db403a1b42f1cabf820 Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/usb.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/kernel

[OpenWrt-Devel] [PATCH 2/2] kernel/modules: use crc32c_generic.ko instead of crc32c.ko

2014-11-17 Thread Daniel Golle
Starting from kernel version 3.15, the crc32c module was renamed to crc32c_generic. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/crypto.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux

[OpenWrt-Devel] [PATCH] 6in4: detect curl and busybox wget

2014-11-09 Thread Daniel Golle
library of your choice, also add support for curl which is more commonly used on OpenWrt than real wget which needs libopenssl. Also make sure to respect SSL_CERT_DIR and increase timeouts. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/network/ipv6/6in4/files/6in4.sh | 35

[OpenWrt-Devel] [PATCH] ltq-vdsl-app: use VDSL tone-setup if annex is unset

2014-10-30 Thread Daniel Golle
I had to use a VDSL-only tone-setup to get show-time. Handle this in uci by checking if annex is unset. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/network/config/ltq-vdsl-app/files/dsl_control | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [OpenWrt-Devel] lantiq vdsl2

2014-10-30 Thread Daniel Golle
Hi John, thanks for the straight answers. Interpreting what you just wrote and what I already see from a technical point of view, I get the following picture: The VDSL firmware blob needs to match the driver as Lantiq apparently got several variants depending on who is using it downstream.

[OpenWrt-Devel] [PATCH] vr9-vdsl-fw: properly write firmware to flash

2014-10-30 Thread Daniel Golle
Using a redirect to a non-empty mtd partition will not erase the blocks prior to writing to them resulting in broken dsl_fw. Fix this by piping to mtd write - /dev/mtdX instead. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 2

Re: [OpenWrt-Devel] lantiq vdsl2

2014-10-29 Thread Daniel Golle
Hi John, I'd love to and even got a VR9 unit, flashed it with openwrt trunk. During boot the vr9 dsl driver complains that it can't find the vdsl firmware. I tried vr9-fw-installer, but the URL referenced there no longer exists. Then I found http://patchwork.openwrt.org/patch/6446/ with that

[OpenWrt-Devel] [PATCH] lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes

2014-10-28 Thread Daniel Golle
lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by detecting whether vdsl_cpe_control or dsl_cpe_control should be used. Also add missing quotes around shell string comparision. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/lantiq/base-files/lib/functions

Re: [OpenWrt-Devel] [PATCH 2/4] ubinize-image: Change the rootfs to a static volume

2014-10-26 Thread Daniel Golle
Hi Maxime, On Thu, Oct 09, 2014 at 05:59:27PM +0200, Maxime Ripard wrote: On boards with large page size, the rootfs we generate might end up using less PEB than the minimum number required by UBI for a dynamic volume. Change the rootfs to a static volume, which removes such a requirement,

[OpenWrt-Devel] [PATCH oldpackages] lvm2: moved to github

2014-10-18 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- utils/lvm2/Makefile | 87 utils/lvm2/files/lvm2.init | 12 - utils/lvm2/patches/000-compile.patch | 11 - 3 files changed, 110 deletions(-) delete mode 100644 utils/lvm2

[OpenWrt-Devel] [PATCH] kernel: add another missing symbol for 3.14

2014-10-18 Thread Daniel Golle
SENSORS_VEXPRESS is masked by HWMON Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/config-3.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index 830efff..fadcb5e 100644 --- a/target/linux

[OpenWrt-Devel] [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for recent kernels

2014-09-03 Thread Daniel Golle
Recent kernels started to mark exported symbols as global. Adapt expressions in kernel-build.mk to also match global symbols when grep'ing through nm output. Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OpenWrt-Devel] merge wayland, weston and stuff from rpi-openwrt

2014-08-17 Thread Daniel Golle
Hi! I was thinking about porting wayland/weston to OpenWrt for a while. Now I finally searched for that I saw that it has already been done! I love it when that happens, reaching a goal with no efforts involved :) Thank you Oskari for rpi-openwrt! What about merging the weston and related

Re: [OpenWrt-Devel] ar71xx: Update to 3.14

2014-08-09 Thread Daniel Golle
Hi Andre! Does the bootloader itself support UBI? If not, flashing a raw ubinized image directly to NAND might or might not work, depending on whether the NAND chip got any badblocks on areas used by UBI. Building a UBI-capable U-Boot loader (either to replace the factory loader or as a 2nd stage

[OpenWrt-Devel] [PATCH] fix ubinize-image.sh when used with --kernel

2014-06-28 Thread Daniel Golle
r41359 broke support for building ubinized images which do include a kernel volume. Signed-off-by: Daniel Golle dan...@makrotopia.org --- scripts/ubinize-image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh index 1b782a6..6762c22 100755

[OpenWrt-Devel] [PATCH] scripts/ubinize-image.sh: fix parameter handling

2014-06-25 Thread Daniel Golle
ubinize-image.sh previously used ${var:offset:length} substitutions which are not valid in standard shell. Replace the existing parameter matching by a case ... esac expression. Signed-off-by: Daniel Golle dan...@makrotopia.org --- scripts/ubinize-image.sh | 51

[OpenWrt-Devel] [PATCH 0/2] [telephony] Asterisk: Multiple vulnerabilities

2014-06-25 Thread Daniel Golle
-2014-4047 Both, asterisk-1.8.x and asterisk-11.x should thus be updated to the most recent releases. Daniel Golle (2): asterisk-1.8.x: bump version asterisk-11.x: bump version net/asterisk-1.8.x/Makefile | 4 ++-- net/asterisk-11.x/Makefile

[OpenWrt-Devel] [PATCH 1/2] [telephony] asterisk-1.8.x: bump version

2014-06-25 Thread Daniel Golle
Update asterisk-1.8.x to version 1.8.28.2 to address CVE-2014-4047. Signed-off-by: Daniel Golle dan...@makrotopia.org --- net/asterisk-1.8.x/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/asterisk-1.8.x/Makefile b/net/asterisk-1.8.x/Makefile index 4707cc9

[OpenWrt-Devel] [PATCH 2/2] [telephony] asterisk-11.x: bump version

2014-06-25 Thread Daniel Golle
Update asterisk-11.x. to version 11.10.2 to address CVE-2014-4046. Signed-off-by: Daniel Golle dan...@makrotopia.org --- net/asterisk-11.x/Makefile| 4 ++-- .../patches/010-asterisk-configure-undef-res-ninit.patch | 2 +- 2 files changed

[OpenWrt-Devel] [PATCH] image.mk: introduce Image/Build/UbinizeImage make target

2014-06-22 Thread Daniel Golle
paramters: $(1) board name $(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env) $(3) rootfstype (e.g. squashfs or ubifs) $(4) kernel image file $(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS))) Signed-off-by: Daniel Golle dan...@makrotopia.org --- include

[OpenWrt-Devel] [PATCH] uboot-envtools: fix build if ubi volume support is disabled

2014-06-22 Thread Daniel Golle
Insert a missing #ifdef UBI around the use of libubi_close(). As the preceding if (libubi) will never be true on non-UBI builds, compiling only failed when disabling optimization. Also rebase patch to latest u-boot.git HEAD. Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../patches/300

[OpenWrt-Devel] [PATCH v2] fstools: fix factory reset on ubifs overlay

2014-06-21 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/system/fstools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 08b3be4..cd9a194 100644 --- a/package/system/fstools/Makefile +++ b

[OpenWrt-Devel] [PATCH] SysupgradeNAND: include rootfs-type in image name

2014-06-20 Thread Daniel Golle
so we can have images for different rootfs types, e.g. *-ubifs-sysupgrage.tar as well as *-squashfs-sysupgrade.tar. Also added quotes around pathnames. Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/image.mk | 12 ++-- target/linux/ar71xx/image/Makefile

[OpenWrt-Devel] [PATCH v2 1/2] SysupgradeNAND: include rootfs-type in image name

2014-06-20 Thread Daniel Golle
also add quotes to paths Signed-off-by: Daniel Golle dan...@makrotopia.org --- v2: also change comment explaining parameters include/image.mk | 16 target/linux/ar71xx/image/Makefile | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 2/2] procd: fix nand.sh kernel_length typo

2014-06-20 Thread Daniel Golle
sysupgrade otherwise skips kernel part on devices which got kernel in ubi due to kern_length being undefined, kernel_length is being used instead. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/system/procd/files/nand.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OpenWrt-Devel] [PATCH] ramips: cleanup some rt305x profiles

2014-06-19 Thread Daniel Golle
move both asus boards to asus.mk rename HW5503G profile to HW550-3G to match name in image/Makefile (fixes #16599) Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/ramips/rt305x/profiles/asus.mk| 27 ++ target/linux/ramips/rt305x/profiles/aztech.mk

[OpenWrt-Devel] [RFC] ramips: cleanup some rt305x profiles

2014-06-18 Thread Daniel Golle
rename HW5503G profile to HW550-3G to match name in image/Makefile This does fix for #16599, however, are profile names allowed to containes dashes? If not, dashes will have to be removed in profiles for asus, aztech and uplevel boards. (also move both asus boards to asus.mk) ---

[OpenWrt-Devel] [PATCH] kernel: replace a ubifs patch by upstream commit

2014-06-13 Thread Daniel Golle
A modified version of 552-ubifs-respect-silent-mount-flag.patch has been merged upstream. Replace the patch in OpenWrt with the version which has been merged. Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../552-ubifs-respect-silent-mount-flag.patch | 204

Re: [OpenWrt-Devel] [PATCH] procd: introduce exec call for sysupgrade

2014-06-01 Thread Daniel Golle
Hi John, On 06/01/2014 08:01 AM, John Crispin wrote: On 01/06/2014 05:13, Daniel Golle wrote: sysupgrade needs to run as the only process on devices having their rootfs on block and ubi. Introduce an exec call to be used by sysupgrade for that purpose. nak, this is a huge security hole I

[OpenWrt-Devel] [PATCH] procd: introduce exec call for sysupgrade

2014-05-31 Thread Daniel Golle
sysupgrade needs to run as the only process on devices having their rootfs on block and ubi. Introduce an exec call to be used by sysupgrade for that purpose. Signed-off-by: Daniel Golle dan...@makrotopia.org --- system.c | 60 1 file

[OpenWrt-Devel] [PATCH] [packages] debootstrap: bump version to 1.0.60~bpo70+1

2014-05-26 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- admin/debootstrap/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/debootstrap/Makefile b/admin/debootstrap/Makefile index 10e41fa..ad3f8ff 100644 --- a/admin/debootstrap/Makefile +++ b/admin/debootstrap

[OpenWrt-Devel] [PATCH] [packages] add mktorrent package

2014-05-26 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- mktorrent/Makefile | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 mktorrent/Makefile diff --git a/mktorrent/Makefile b/mktorrent/Makefile new file mode 100644 index 000..0ed65bd --- /dev

[OpenWrt-Devel] [PATCH RESEND] [kernel] ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-26 Thread Daniel Golle
this by removing the #ifdef from all affected kernels as XATTR support is now always enabled for UBIFS as well. Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch | 4 +--- .../linux/generic/patches-3.12/550-ubifs-symlink

[OpenWrt-Devel] [PATCH v2 1/2] fstools: stage libubi-utils static library and headers

2014-05-21 Thread Daniel Golle
Use InstallDev to make libubi-utils available for linking in uboot-envtools. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/system/fstools/Makefile | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/system/fstools/Makefile b/package/system/fstools

[OpenWrt-Devel] [PATCH v2 2/2] uboot-envtools: add support for environment in ubi volume

2014-05-21 Thread Daniel Golle
On UBI enabled devices, U-Boot might store it's environment on UBI volume(s). Support this in uboot-envtools, so fw_setenv and fw_printenv can work on these platforms. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Config.in | 9 ++ package/boot

[OpenWrt-Devel] [PATCH 1/2] fstools: stage libubi-utils static library and headers

2014-05-20 Thread Daniel Golle
Use InstallDev to make libubi-utils available for linking in uboot-envtools. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/system/fstools/Makefile | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package/system/fstools/Makefile b/package/system

[OpenWrt-Devel] [PATCH 2/2] uboot-envtools: add support for environment in ubi volume

2014-05-20 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Config.in | 9 + package/boot/uboot-envtools/Makefile | 15 ++ .../300-support-env-in-ubivol-chardev.patch| 190 + 3 files changed, 214 insertions(+) create

[OpenWrt-Devel] [PATCH v2 9/9] base-files: include more ubi* tools in sysupgrade ramdisk

2014-05-17 Thread Daniel Golle
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. The previous patch missed adding ubiformat. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh

[OpenWrt-Devel] [PATCH v3 9/9] base-files: include more ubi* tools in sysupgrade ramdisk

2014-05-17 Thread Daniel Golle
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index ecf1a98..0207960 100644 --- a/package

[OpenWrt-Devel] [PATCH v2 7/9] scripts: add ubinize-image.sh to generate ubi images

2014-05-17 Thread Daniel Golle
typically used by U-Boot for storing its environment in UBI using the --uboot-env parameter. See also https://gitorious.org/openwrt-oxnas/openwrt-oxnas/source/target/linux/ oxnas/image/Makefile Signed-off-by: Daniel Golle dan...@makrotopia.org create mode 100755 scripts/ubinize-image.sh diff --git

[OpenWrt-Devel] [PATCH v2 4/9] kernel: rootfs auto-mount on ubi

2014-05-17 Thread Daniel Golle
-do_mounts.c.patch 493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch sent upstream: 552-ubifs-respect-silent-mount-flag.patch http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html v2: actually retry with MS_RDONLY when mounting read-only ubifs root Signed-off-by: Daniel Golle dan

[OpenWrt-Devel] [PATCH 0/9] ubi, ubifs and ubiblock fixes and improvements

2014-05-16 Thread Daniel Golle
images. Daniel Golle (9): kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol kernel: add another new config symbol for kernel 3.14 kernel: backport ubiblock support from 3.15 kernel: rootfs auto-mount on ubi ubi-utils: bump to version 1.5.1 for ubiblock support fstools: support

[OpenWrt-Devel] [PATCH 1/9] kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-16 Thread Daniel Golle
this by removing the #ifdef from all affected kernels. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch b/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch index b4de071..0235340 100644 --- a/target

[OpenWrt-Devel] [PATCH 2/9] kernel: add another new config symbol for kernel 3.14

2014-05-16 Thread Daniel Golle
It was augmented by CONFIG_USB_GADGET... Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index 0516ab0..bbb00de 100644 --- a/target/linux/generic/config-3.14 +++ b/target/linux/generic/config-3.14 @@ -3926,6

[OpenWrt-Devel] [PATCH 3/9] kernel: backport ubiblock support from 3.15

2014-05-16 Thread Daniel Golle
Backport ubiblock support from kernel 3.15 as well as all follow-up fixes related to ubiblock. Signed-off-by: Daniel Golle dan...@makrotopia.org create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch create mode 100644 target/linux/generic

[OpenWrt-Devel] [PATCH 4/9] kernel: rootfs auto-mount on ubi

2014-05-16 Thread Daniel Golle
new file mode 100644 index 000..440c6bf --- /dev/null +++ b/target/linux/generic/patches-3.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch @@ -0,0 +1,68 @@ +From 8a52e4100d7c3a4a1dfddfa02b8864a9b0068c13 Mon Sep 17 00:00:00 2001 +From: Daniel Golle dan...@makrotopia.org +Date

[OpenWrt-Devel] [PATCH 5/9] ubi-utils: bump to version 1.5.1 for ubiblock support

2014-05-16 Thread Daniel Golle
ubiblock allows creating and removing read-only block devices on top of ubi volumes. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/utils/ubi-utils/Makefile b/package/utils/ubi-utils/Makefile index d009139..fd41da0 100644 --- a/package/utils/ubi-utils/Makefile +++ b

[OpenWrt-Devel] [PATCH 6/9] fstools: support ubifs overlay

2014-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 826f77d..e052552 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -1,14 +1,14 @@ include $(TOPDIR)/rules.mk PKG_NAME

[OpenWrt-Devel] [PATCH 7/9] scripts: add ubinize-image.sh to generate ubi images

2014-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org create mode 100755 scripts/ubinize-image.sh diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh new file mode 100755 index 000..d7b1e47 --- /dev/null +++ b/scripts/ubinize-image.sh @@ -0,0 +1,87 @@ +#!/bin/sh + +flavour=bare

[OpenWrt-Devel] [PATCH 8/9] images.mk: no longer ubinize only for ubifs

2014-05-16 Thread Daniel Golle
use scripts/ubinize-image.sh to generate ubinized images in target/*/images/Makefile Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/include/image.mk b/include/image.mk index 5391905..e8a0d0e 100644 --- a/include/image.mk +++ b/include/image.mk @@ -106,6 +106,10 @@ define Image

[OpenWrt-Devel] [PATCH 9/9] base-files: include ubiblock tool in sysupgrade ramdisk

2014-05-16 Thread Daniel Golle
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index ecf1a98..09f3315 100644 --- a/package

[OpenWrt-Devel] [PATCH 4/4] base-files: include ubiblock tool in sysupgrade ramdisk

2014-05-15 Thread Daniel Golle
(I just noticed that I already sent 2/4 and 3/4 to the mailinglist before) Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/base-files/files/lib/upgrade/common.sh | 4 +++- 1 file changed, 3

[OpenWrt-Devel] [PATCH v2] kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-14 Thread Daniel Golle
this by removing the #ifdef from all affected kernels. Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/image.mk | 20 +- package/base-files/files/lib/upgrade/common.sh | 4 +- .../550-ubifs-symlink-xattr-support.patch | 4 +- .../550-ubifs

[OpenWrt-Devel] [PATCH v3] kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-14 Thread Daniel Golle
this by removing the #ifdef from all affected kernels. Signed-off-by: Daniel Golle dan...@makrotopia.org --- .../linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch | 4 +--- .../linux/generic/patches-3.12/550-ubifs-symlink-xattr-support.patch | 4 +--- .../linux/generic/patches-3.13/550

[OpenWrt-Devel] [PATCH] kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-13 Thread Daniel Golle
550-ubifs-symlink-xattr-support.patch contains a reference to the by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to the functionality originally added by the patch being left-out during compile on recent kernels. Fix this by removing the #ifdef. Signed-off-by: Daniel Golle dan

[OpenWrt-Devel] [PATCH 2/3] ubi-utils: bump to version 1.5.1 for ubiblock support

2014-05-12 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/utils/ubi-utils/Makefile b/package/utils/ubi-utils/Makefile index d009139..fd41da0 100644 --- a/package/utils/ubi-utils/Makefile +++ b/package/utils/ubi-utils/Makefile @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME

<    3   4   5   6   7   8   9   10   11   12   >