[LEDE-DEV] ipq806x Netgear R7500 uboot

2018-01-17 Thread Thomas Reifferscheid
Hi, I've lost my original uboot environment settings and would like to ask for your help. Since it's been a while from when I was playing with the hardware the uboot env is all messed up and I'd like to start over from scratch. Would someone please send me "env print" from within the bootloader

[LEDE-DEV] [PATCH v5] ipq8064: Fix dwc3 module unloading

2017-04-07 Thread Thomas Reifferscheid
The patch follows the qualcomm code comments setting SSUSB_CTRL_TEST_POWERDOWN to 0x1 and is testing and clearing the bit during USB superspeed PHY init. According to Andy Gross it needs to be BIT(26). Signed-off-by: Thomas Reifferscheid Acked-by: Andy Gross --- Changes sinve v4: * Consult

[LEDE-DEV] [PATCH v2] ipq8064: fix dwc3-of-simple module unloading for Netgear R7500

2017-04-02 Thread Thomas Reifferscheid
R7500 Signed-off-by: Thomas Reifferscheid --- Changes since v1: * back off 17f60b1cd260a24ef990d6622f9c5ed6951c0722 * adjust clock assignment in R7500.dts instead .../arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 6 + .../files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi

[LEDE-DEV] [PATCH v4] ipq8064: Fix dwc3 module unloading

2017-04-02 Thread Thomas Reifferscheid
The patch follows the qualcomm code comments setting SSUSB_CTRL_TEST_POWERDOWN to 0x1 and is testing and clearing the Bit during usb superspeed phy init. Fixes: dwc3 module unloading and re-loading Signed-off-by: Thomas Reifferscheid --- Changes since v3: * Revert v1/v2 * Set

[LEDE-DEV] [PATCH] ipq8064: fix dwc3-of-simple module unloading

2017-03-27 Thread Thomas Reifferscheid
registered [ 24.130347] xhci-hcd xhci-hcd.0.auto: remove, state 1 [ 24.135948] usb usb1: USB disconnect, device number 1 [ 24.142085] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered root@LEDE:/# Fixes: dwc3-of-simple module unloading Signed-off-by: Thomas Reifferscheid --- .../files-4.9/arch/ar

[LEDE-DEV] [PATCH v3] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
, disabling LPM. [ 25.573063] hub 4-0:1.0: USB hub found [ 25.580842] hub 4-0:1.0: 1 port detected root@LEDE:/# Fixes: dwc3 module unloading Signed-off-by: Thomas Reifferscheid --- Changes since v2: * be more verbose Changes since v1: * be more verbose in explaining the mistake target/linux

[LEDE-DEV] [PATCH v2] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
Allow module unloading by fixing a mistake. qcom_dwc3_phy_write_readback() is expecting (phy, base, offset, value) while the mistake was calling it with (phy, base, value, offset) The patch fixes it by swapping value and offset. Signed-off-by: Thomas Reifferscheid --- Changes since v1

[LEDE-DEV] [PATCH] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
Allow module unloading by fixing a mistake Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch b/target

[LEDE-DEV] [PATCH] generic: prefer tmpfs over ramfs

2017-03-26 Thread Thomas Reifferscheid
nd line. Fixes: The inability of diskfree of getting the size or usage information for rootfs when on initramfs kernels. Signed-off-by: Thomas Reifferscheid --- .../linux/generic/patches-4.9/495-use-tmpfs-over-ramfs.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644

[LEDE-DEV] [PATCH] ipq8064: enable 2nd USB port on R7500

2017-03-24 Thread Thomas Reifferscheid
Makes use of the syscon tcsr and enables both USB ports. Cleans up qcom-ipq8064.dtsi from previous attempts. Fixes FS#497 Signed-off-by: Thomas Reifferscheid --- .../ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 6 ++ target/linux/ipq806x/files-4.9/arch/arm/boot/dts

[LEDE-DEV] initramfs kernel using the wrong rootfs filesystem

2017-03-21 Thread Thomas Reifferscheid
Hello, I'm on ipq8064, R7500 and netbooting the initramfs kernel gets me a rootfs / mount using the wrong filesystem. As a result opkg refuses to install packages, claiming that there is not enough space on / rootfs however was mounted using *ramfs* which according to Documentation/filesystems/r

Re: [LEDE-DEV] [PATCH] Netgear X4 R7500 adjust ath10k firmware

2017-03-17 Thread Thomas Reifferscheid
Am 17.03.2017 um 14:01 schrieb Thomas Reifferscheid: Netgear X4 R7500 comes with a QCA988X. The patch enables 2.4Ghz wifi on kernel 4.9 for this particular device. Please disregard. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http

[LEDE-DEV] [PATCH] Netgear X4 R7500 adjust ath10k firmware

2017-03-17 Thread Thomas Reifferscheid
Netgear X4 R7500 comes with a QCA988X. The patch enables 2.4Ghz wifi on kernel 4.9 for this particular device. Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq806x/image/Makefile b

[LEDE-DEV] USB3.0 regression / trying to isolate / testers needed

2017-02-28 Thread Thomas Reifferscheid
Hello, Apparently there is a confirmed regression with Lede for at least three devices when inserting a USB 3.0 device during boot [0]. The USB port then is found dead until the next reboot. I'd like to identify the extent to which this issue is affecting Lede and get answers to the following que

[LEDE-DEV] [RFC] ipq806x: Add USB Type Selector for R7500

2017-02-27 Thread Thomas Reifferscheid
upstream patch attempt (January 2015) was trying to set the TCSR USB Type selector at the wrong part of the kernel. Signed-off-by: Thomas Reifferscheid --- ...ipq806x-add-usbtypesel-required-for-r7500.patch | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 target/linux

[LEDE-DEV] [PATCH] ipq806x: sanitize Dni image generation

2017-02-21 Thread Thomas Reifferscheid
The more straight forward approach for generating the pure and unpadded kernel file which then can be used for initramfs straight. Build options for factory.img and sysupgrade.tar are handeled seperately. Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/image/Makefile | 7 +++ 1

[LEDE-DEV] [PATCH] ipq806x: fix fakerootfs position

2017-02-21 Thread Thomas Reifferscheid
the kernel. Fixes: FS#542 Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index b00e197..cec26c2 100644 --- a/target/linux

[LEDE-DEV] [PATCH] build: unsilence move command

2017-02-20 Thread Thomas Reifferscheid
The @ sign in front of the "mv" command was significantly suppressing output to stdout. When reviewing the make/build logs it was tricking me a whole lot and it mad me lose time. Removing the @ sign will get stdout and logs right about what happened when. Signed-off-by: Thomas Rei

[LEDE-DEV] image-commands.mk: remove at-sign for mv

2017-02-20 Thread Thomas Reifferscheid
n will get stdout and logs right about what happened when. Please let me know your thoughts. Thank you. Regards Thomas -- Thomas Reifferscheid Krauskopfallee 39 D-65388 Schlangenbad Tel.: +49 175 268 9153 --- lede-trunk/include/image-commands.mk.orig 2017-02-20 15:37:49.623129613 +010