<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Adding rtl8812au driver support</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708625#M110113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saseendranath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95003"&gt;i.MX Yocto Project: How can I (quickly) modify the kernel and test it?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95333"&gt;Task #10 - How to create a custom layer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 22:57:33 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-10-17T22:57:33Z</dc:date>
    <item>
      <title>Adding rtl8812au driver support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708624#M110112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add an extra driver support to linux kernel using bitbake?&lt;/P&gt;&lt;P&gt;Is there any patch for this? If not, how could I add the support for a particular driver module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add the driver support for&amp;nbsp;&lt;SPAN style="color: #263238; font-size: 13px;"&gt;rtl8812au&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;in my kernel. I have to add the source files, then I have to enable it in config, and all. I tried to manually cross compile the module by setting the cross compile path and kernel source directory. But it failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the source code for driver from :&amp;nbsp;&lt;SPAN style="color: #263238; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A data-display="https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip" data-sanitized="https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fabperiasamy%2Frtl8812AU_8821AU_linux%2Farchive%2Fmaster.zip&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNGyIa02Iwp39Ii0LwFJXo8Hk4_noQ" dir="ltr" href="https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fabperiasamy%2Frtl8812AU_8821AU_linux%2Farchive%2Fmaster.zip&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNGyIa02Iwp39Ii0LwFJXo8Hk4_noQ" rel="nofollow noreferrer" style="color: #263238; font-size: 13px;" tabindex="-1" target="_blank"&gt;https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I changed the Makefile like this ;&lt;/P&gt;&lt;P&gt;CONFIG_PLATFORM_ARM_RPI = y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ifeq ($(CONFIG_PLATFORM_ARM_RPI), y) &lt;BR /&gt;EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN&lt;BR /&gt;EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT&lt;BR /&gt;ARCH ?= arm&lt;BR /&gt;CROSS_COMPILE ?=&lt;BR /&gt;KVER ?= $(shell uname -r)&lt;BR /&gt;KSRC := /media/IMXwayland/bin/fsl-release-bsp/build/tmp/work-shared/imx6qsabreauto/kernel-source #/lib/modules/$(KVER)/build&lt;BR /&gt;MODDESTDIR := /media/IMXwayland/bin/fsl-release-bsp/build/tmp/work-shared/imx6qsabreauto/kernel-source/drivers/net/wireless/#/lib/modules/$(KVER)/kernel/drivers/net/wireless/&lt;BR /&gt;INSTALL_PREFIX :=&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I got error like this :&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- -C /media/IMXwayland/bin/fsl-release-bsp/build/tmp/work-shared/imx6qsabreauto/kernel-source M=/home/saseendranath.sasi/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master modules&lt;BR /&gt;make[1]: Entering directory 'IMXwayland/bin/fsl-release-bsp/build/tmp/work-shared/imx6qsabreauto/kernel-source'&lt;/P&gt;&lt;P&gt;ERROR: Kernel configuration is invalid.&lt;BR /&gt; include/generated/autoconf.h or include/config/auto.conf are missing.&lt;BR /&gt; Run 'make oldconfig &amp;amp;&amp;amp; make prepare' on kernel src to fix it.&lt;/P&gt;&lt;P&gt;CC [M] /home/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o&lt;BR /&gt;cc1: fatal error: ./include/linux/kconfig.h: No such file or directory&lt;BR /&gt;compilation terminated.&lt;BR /&gt;scripts/Makefile.build:258: recipe for target '/home/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o' failed&lt;BR /&gt;make[2]: *** [/home/saseendranath.sasi/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o] Error 1&lt;BR /&gt;Makefile:1384: recipe for target '_module_/home/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master' failed&lt;BR /&gt;make[1]: *** [_module_/home/Downloads/ArcherT4U/Archer_T4U_V1_150821/rtl8812AU_8821AU_linux-master] Error 2&lt;BR /&gt;make[1]: Leaving directory '/media/IMXwayland/bin/fsl-release-bsp/build/tmp/work-shared/imx6qsabreauto/kernel-source'&lt;BR /&gt;Makefile:1584: recipe for target 'modules' failed&lt;BR /&gt;make: *** [modules] Error 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the proper way to add the driver support ? Kindly guide me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 05:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708624#M110112</guid>
      <dc:creator>saseendranathvs</dc:creator>
      <dc:date>2017-10-17T05:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rtl8812au driver support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708625#M110113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saseendranath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95003"&gt;i.MX Yocto Project: How can I (quickly) modify the kernel and test it?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95333"&gt;Task #10 - How to create a custom layer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 22:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708625#M110113</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-10-17T22:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rtl8812au driver support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708626#M110114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following worked for me, adding rtl8812au driver to Raspberry Pi Debian 9 (Stretch).&amp;nbsp; However, this is limited to kernel 4.9.59-v7+, given the repository for kernel 4.9.72-v7+ has yet to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First... validate that your device is on the USB bus...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Wireless USB Adapter Driver Compile And Install...&lt;BR /&gt;// &lt;A href="https://linuxforums.org.uk/index.php?topic=13232.0"&gt;https://linuxforums.org.uk/index.php?topic=13232.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# lsusb | grep 0bda&lt;BR /&gt;Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.&lt;/P&gt;&lt;P&gt;# usb-devices | awk '/a811/' RS=&lt;BR /&gt;T:&amp;nbsp; Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=&amp;nbsp; 5 Spd=480 MxCh= 0&lt;BR /&gt;D:&amp;nbsp; Ver= 2.10 Cls=00(&amp;gt;ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=&amp;nbsp; 1&lt;BR /&gt;P:&amp;nbsp; Vendor=0bda ProdID=a811 Rev=02.00&lt;BR /&gt;S:&amp;nbsp; Manufacturer=Realtek&lt;BR /&gt;S:&amp;nbsp; Product=802.11ac WLAN Adapter&lt;BR /&gt;S:&amp;nbsp; SerialNumber=00e04c000001&lt;BR /&gt;C:&amp;nbsp; #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=500mA&lt;BR /&gt;I:&amp;nbsp; If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)&lt;/P&gt;&lt;P&gt;# modprobe -c | grep -i "0bda.*ab11"&lt;BR /&gt;&amp;lt; No Result &amp;gt;&lt;/P&gt;&lt;P&gt;# apt-get install apt-file&lt;BR /&gt;# apt-file update&lt;BR /&gt;# apt-file find lshw&lt;BR /&gt;# apt-get install lshw&lt;/P&gt;&lt;P&gt;# lshw -C network&lt;BR /&gt;&amp;lt; No Result For USB Device &amp;gt; This is expected since no driver present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second... Grab the available Raspberry Pi Kernel Headers...&lt;/P&gt;&lt;P&gt;# apt-get install dkms git&lt;BR /&gt;# apt-get install raspberrypi-kernel-headers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third... Grab the source for the driver...&lt;/P&gt;&lt;P&gt;# mkdir ~/RTL8812AU&lt;BR /&gt;# cd ~/RTL8812AU&lt;BR /&gt;# git clone &lt;A href="https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git"&gt;https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fourth... Enable configuration for Pi, disable for i386/x86_64...&lt;/P&gt;&lt;P&gt;# cd ~/RTL8812AU/rtl8812AU_8821AU_linux&lt;/P&gt;&lt;P&gt;# nano Makefile&lt;BR /&gt;&amp;nbsp;CONFIG_PLATFORM_ARM_RPI = y&lt;BR /&gt;&amp;nbsp;CONFIG_PLATFORM_I386_PC = n&lt;/P&gt;&lt;P&gt;# nano Makefile.dkms&lt;BR /&gt;&amp;nbsp;CONFIG_PLATFORM_ARM_RPI = y&lt;BR /&gt;&amp;nbsp;CONFIG_PLATFORM_I386_PC = n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Only Kernel 4.9.59-v7+?&lt;BR /&gt;# make -f Makefile.dkms install&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Test Driver...&amp;nbsp; Assumption is USB adapter device is wlan0 interface...&lt;BR /&gt;# modprobe rtl8812au&lt;/P&gt;&lt;P&gt;# ifconfig&lt;BR /&gt;# iwlist wlan0 scanning&lt;BR /&gt;&amp;lt; List Wifi Networks &amp;gt;&amp;nbsp; Expected output is list of available wifi networks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// May have to bounce the interface&lt;/P&gt;&lt;P&gt;# ip link set wlan0 down&lt;BR /&gt;# ip link set wlan0 up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the wrong or (too) new kernel is installed...&amp;nbsp; Typical error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# make -f Makefile.dkms install&lt;BR /&gt;make clean&lt;BR /&gt;make[1]: Entering directory '/root/RTL8812AU/rtl8812AU_8821AU_linux'&lt;BR /&gt;make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.9.73-v7+/build M=/root/RTL8812AU/rtl8812AU_8821AU_linux clean&lt;BR /&gt;make[2]: Entering directory '/root/RTL8812AU/rtl8812AU_8821AU_linux'&lt;BR /&gt;make[2]: *** /lib/modules/4.9.73-v7+/build: No such file or directory.&amp;nbsp; Stop.&lt;BR /&gt;make[2]: Leaving directory '/root/RTL8812AU/rtl8812AU_8821AU_linux'&lt;BR /&gt;Makefile:1605: recipe for target 'clean' failed&lt;BR /&gt;make[1]: *** [clean] Error 2&lt;BR /&gt;make[1]: Leaving directory '/root/RTL8812AU/rtl8812AU_8821AU_linux'&lt;BR /&gt;Makefile.dkms:11: recipe for target 'src_install' failed&lt;BR /&gt;make: *** [src_install] Error 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the build directory is missing for the given kernel version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:14:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-rtl8812au-driver-support/m-p/708626#M110114</guid>
      <dc:creator>schorschi</dc:creator>
      <dc:date>2018-01-02T22:14:08Z</dc:date>
    </item>
  </channel>
</rss>

