wl_tool cross compile (armv7l w/custom toolchain)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
hongkongkiwi
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi there,

We are trying to fcc wifi certify our project which uses a custom buildroot toolchain and arm processor.

We need help to compile the wl_tool so we can proceed with certification, but we need it to be cross compiled for our architecture (arm 32bit).

Can I ask a representative to help us to compile it with our custom toolchain? 

CPU Info:

  • armv7l
  • little-endian
  • hard-float ABI
  • neon/vfpv4

Custom Toolchain Instructions:

  • download toolchain
  • extract toolchain:
    tar jxf  arm-co6-linux-uclibcgnueabihf_sdk-buildroot_2021.02.1.tar.xz
  • cd to arm-co6-linux-uclibcgnueabihf_sdk-buildroot
  • ./relocate_sdk.sh
  • add toolchain into path e.g.
    export PATH="$PATH:$PWD/usr/bin"
  • Set cross compile variables:
    export ARCH=arm
    export CROSS_COMPILE=arm-co6-linux-uclibcgnueabihf-

Tagging @VinayakS_26 / @raks_99 / @DoubleLo as I found they have helped another customer to do this.

 

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Attached the binary for fmac "wlarm_le: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, with debug_info, not stripped"

Compiled with libnl-3.2.25

Regards.

View solution in original post

0 Likes
4 Replies
hongkongkiwi
Level 1
Level 1
5 sign-ins First reply posted First question asked

Following up on this..... can somebody help me with this?

0 Likes
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

hi @hongkongkiwi ,

Building it now will share the binary in a while.

Thanks

 

 

0 Likes
lock attach
Attachments are accessible only for community members.
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Attached the binary for fmac "wlarm_le: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, with debug_info, not stripped"

Compiled with libnl-3.2.25

Regards.

0 Likes
hongkongkiwi
Level 1
Level 1
5 sign-ins First reply posted First question asked

Thank you! Tested and this works perfectly.

0 Likes