[LEDE-DEV] [PATCH] sysupgrade: unmount filesystems before reboot

2016-08-02 Thread Mathias Kresin
sysupgrade immediately reboots after flashing an image and doesn't allow to unmount filesystems. At least in case the image used for sysupgrade is stored on a FAT formatted usb flash drive, the following warning is printed during the next mount of the flash drive: FAT-fs (sda1): Volume was not

[LEDE-DEV] [PATCH 4/5] lantiq: use the etop driver DT bindings only

2016-08-02 Thread Mathias Kresin
Use the generic mtd-mac-address dts property to get a mac address from flash instead of the lantiq specific one. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ARV4518PWR01.dtsi | 6 +- target/linux/lantiq/dts/ARV4519PW.dts | 8 ++--

[LEDE-DEV] [PATCH 2/5] lantiq: drop orphaned eeprom-handling code branches

2016-08-02 Thread Mathias Kresin
All device tree nodes are using the named properties now and the code path handling the reg property isn't required any more. The code related to the ath,eep-flash property has been reformatted to be better readable. Signed-off-by: Mathias Kresin ---

[LEDE-DEV] [PATCH 3/5] lantiq: fix mac address increments

2016-08-02 Thread Mathias Kresin
Use the same mac address increment in device tree source file and userspace. Don't add a mac address increment to either the only mtd mac-address or to all mac-addresses. Fix a typo in the TDW89X0.dtsi file to add an increment. Signed-off-by: Mathias Kresin ---

[LEDE-DEV] [PATCH 1/5] lantiq: use ath, eep-flash/mac-offset for ath eep nodes

2016-08-02 Thread Mathias Kresin
No functional change, just easier to get what's the purpose of the hex values. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ARV4518PWR01.dtsi | 6 +++--- target/linux/lantiq/dts/ARV4525PW.dts | 6 +++--- target/linux/lantiq/dts/ARV452CQW.dts | 6 +++---

[LEDE-DEV] [PATCH 5/5] lantiq: drop duplicate and now unused "lantiq, eth-mac" binding

2016-08-02 Thread Mathias Kresin
The device tree binding and the associated code duplicates functionality already patched into the etop driver. The compatible string isn't used any more. Therefore the whole code can be dropped. The "mac-increment" property allowed to increment a mac address received via kernel cmdline. This

[LEDE-DEV] [PATCH/RFC] base-files: remove dead code

2016-08-02 Thread Daniel Golle
/etc/init.d/boot tried to create /dev/root based on the kernel's cmdline which won't work on any recent targets. Remove that code now that fstools can detect the mounted rootfs based on /proc/self/mountinfo and /dev/root was long gone anyway. Signed-off-by: Daniel Golle

[LEDE-DEV] [PATCH] tools: lzma: reduce copyright noise

2016-08-02 Thread Sergey Ryazanov
Move the copyright printing code to the usage printing function, to reduce noise from regular execution but preserve information about the author. Signed-off-by: Sergey Ryazanov --- .../patches/101-move-copyright-to-usage-info.patch | 20 1 file