On 06/21/2016 06:04 AM, mo.ucina wrote:
Hello Johnny,
The patch comes mostly from sources at OpenWrt , also from Denx.de . The license is GPL . Those two configs are very important they enable the switch and switch leds . There are several files dedicated to the switch portion .
Your patchlog should look like this :
patching file arch/arm/boot/dts/Makefile patching file arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts patching file drivers/net/phy/b53/b53_common.c patching file drivers/net/phy/b53/b53_mdio.c patching file drivers/net/phy/b53/b53_mmap.c patching file drivers/net/phy/b53/b53_phy_fixup.c patching file drivers/net/phy/b53/b53_priv.h patching file drivers/net/phy/b53/b53_regs.h patching file drivers/net/phy/b53/b53_spi.c patching file drivers/net/phy/b53/b53_srab.c patching file drivers/net/phy/b53/Kconfig patching file drivers/net/phy/b53/Makefil patching file drivers/net/phy/Kconfig patching file drivers/net/phy/Makefile patching file drivers/net/phy/swconfig.c patching file drivers/net/phy/swconfig_leds.c patching file include/linux/platform_data/b53.h patching file include/linux/switch.h patching file include/uapi/linux/Kbuild patching file include/uapi/linux/switch.h
I can apply the patch, but two things happen.
First, it impacts more than just armv7hl (it also effects all the other arches and I use this same file for all arches)
Second, it fails during the build on both armv7hl and i686 after install of the patch, though I will try again later this week.