[Arm-dev] CentosArm Kernel

Tue Jun 21 11:04:36 UTC 2016
mo.ucina <mo.ucina at gmail.com>

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/Makefile
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

Regards

Milorad


On 15/06/16 03:34, Johnny Hughes wrote:
> On 06/12/2016 11:06 PM, mo.ucina wrote:
>> This would be the needed addition to config :
>>
>> CONFIG_B53=y
>> CONFIG_B53_SPI_DRIVER=y
>> CONFIG_B53_PHY_DRIVER=y
>> CONFIG_B53_SRAB_DRIVER=y
>> CONFIG_B53_PHY_FIXUP=y
>> CONFIG_SWCONFIG=y
>> CONFIG_SWCONFIG_LEDS=y
>>
>>
>> On 13/06/16 13:59, mo.ucina wrote:
>>> Hello Johnny
>>>
>>> Would you be interested in adding in the
>>> 'linux-4.4.2-1.fc21.armv7hl.LR1' patch to your build which has the
>>> driver for the Bananapi R1 onboard switch (b53) . So far I have been
>>> adding this patch to the Fedora src rpm , and re-compiling the kernel
>>> every time .  I would save a bit of work . I will attach the patch
>>> here . As far as the other steps you mentioned , I have been doing
>>> exactly that for the past few months .
>>>
>>> Regards
>>> Milorad
>> _______________________________________________
>> Arm-dev mailing list
>> Arm-dev at centos.org
>> https://lists.centos.org/mailman/listinfo/arm-dev
>>
> I was able to apply your patch .. however, these do net seem present:
>
> CONFIG_SWCONFIG=y
> CONFIG_SWCONFIG_LEDS=y
>
> I will double check my work, but should those two be needed in the
> config once the patch applies or is something else needed?
>
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev