This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WILINK-SW: Building with latest processor SDK

Part Number: WILINK-SW

Tool/software: Linux

Team I am trying to integrate wilink8 with Kernel 4.9.59 (AM43xx) and following the link http://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts  , however I am seeing the following errors

 for step Build & Update:

Checking out branch master  in repo bt-firmware  
Already on 'master'
Your branch is up-to-date with 'origin/master'.
error: pathspec 'R8.7_SP3' did not match any file(s) known to git.
Makefile was found. Kernel version was set to 4.9.59.
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: //usr/lib/perl/site_perl/5.22.1 //usr/lib/perl/vendor_perl/5.22.1 //usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 .) at ./Configure line 9.
BEGIN failed--compilation aborted at ./Configure line 9.
make: *** No rule to make target `clean'.  Stop.

Is there anything that I am missing ?

Best Regards,

Shiv

  • Hi Shiv,

    Seems like you may have some components/tools missing in your build host as the errors are related to the build environment.

    However, when building with a v4.9 kernel you don't need to use the build script for building the wl18xx drivers.
    Instead you should just use the in-tree drivers that are part of the v4.9.x kernel.
    Most of the drivers related patches have been submitted upstream and are already part of the kernel.

    Best Regards,
    Eyal
  • Hi Eyal,

    I run the setup.sh to have all the tools required. In fact I had this working with previous tags (previous to SP3). So I am not sure which tools are required. Do you have any suggestions looking at the error logs.

    From the PSDK, though I see the drivers/modules are avialble but some of the user level components are not there in the filesystem. Example putting WIlink in AP mode does not work as I dont see the hostapd running (Not present in /usr/sbin).

    Best Regards,
    Shiv

  • Hi Shiv,

    If you are using latest processor SDK (v4.9 based) then wilink8 is part of it already and you don't really need the build script.
    What is not working for you with the SDK file system, as it is?

    Can you share the kernel boot log and errors you are seeing with your base rootfs (before you started using the build script)?

    Best Regards,
    Eyal
  • Hi Eyal,

    https://patchwork.kernel.org/patch/9911123/ 

     patch was required along with the tweaks in the ap_start.sh (to make AP mode work) . Thanks for the support.

    Best Regars.

    Shiv