<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Johhny,</p>
<p>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 .<br>
</p>
<p>Your patchlog should look like this :</p>
<p>patching file arch/arm/boot/dts/Makefile<br>
patching file arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts<br>
patching file drivers/net/phy/b53/b53_common.c<br>
patching file drivers/net/phy/b53/b53_mdio.c<br>
patching file drivers/net/phy/b53/b53_mmap.c<br>
patching file drivers/net/phy/b53/b53_phy_fixup.c<br>
patching file drivers/net/phy/b53/b53_priv.h<br>
patching file drivers/net/phy/b53/b53_regs.h<br>
patching file drivers/net/phy/b53/b53_spi.c<br>
patching file drivers/net/phy/b53/b53_srab.c<br>
patching file drivers/net/phy/b53/Kconfig<br>
patching file drivers/net/phy/b53/Makefile<br>
patching file drivers/net/phy/Kconfig<br>
patching file drivers/net/phy/Makefile<br>
patching file drivers/net/phy/swconfig.c<br>
patching file drivers/net/phy/swconfig_leds.c<br>
patching file include/linux/platform_data/b53.h<br>
patching file include/linux/switch.h<br>
patching file include/uapi/linux/Kbuild<br>
patching file include/uapi/linux/switch.h<br>
</p>
<p>Regards</p>
<p>Milorad<br>
</p>
<br>
<div class="moz-cite-prefix">On 15/06/16 03:34, Johnny Hughes wrote:<br>
</div>
<blockquote cite="mid:57604010.6070909@centos.org" type="cite">
<pre wrap="">On 06/12/2016 11:06 PM, mo.ucina wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre wrap="">
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?
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>