Giter VIP home page Giter VIP logo

Comments (19)

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024 1

Thats what I am saying.
I need to confirm that, If I go with Yoco official recipes to cross-compile.
Will it work staright forward for phytec board or that have also dependency ?
Becuase we are plan this board as production.

Or you can suggest me better way for it

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Is there any positive update ?

from wisun-br-linux.

MarcDorval avatar MarcDorval commented on June 15, 2024

Hi,

Did you follow the readme?
How far have you been in this?

Regards,
Marc

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Yes, I have gone through It.
But I did not get much idea.

Board : Phytec RB-i.MX 6UL
Task: Want to cross compile wisun-br-linux code for above board. For compilation I am using my Linux PC.

Can I know procedure ?
Can you help me out ?

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

It seems you are using Yocto. Refer to the Yocto documentation to know how to create recipes (I think that inheriting from cmake should be sufficient).

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Can I know cross compilation steps ?

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

wsbrd cross-compiles as usual cmake projects, using --toolchain argument. Check out cmake.bbclass in your Yocto distribution for more information.

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Thanks for guidance.
I have some progress on cross compilation.
I have write my own makefile to compile wsbrd.

Further I need required network link library source code to cross compile.
Screenshot from 2022-06-02 11-18-49

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

I have googled the documentation of your BSP for you. Refer to this documentation: https://www.phytec.eu/products/software/yocto/phytec-unified-yocto-bsp-release/ which refer to this one: https://www.yoctoproject.org/docs/2.4.2/yocto-project-qs/yocto-project-qs.html

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

@jerome-pouiller
Thanks for quick reply.
I am directly cross compile using makefile.

I have cross compile mbedtls 3.0.0 Library & integrate.
Same thing also done for pcap & systemd.

But I cant find proper network link library source code.

Makefile.txt

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

I have to enable libnl in your BSP.

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

BTW, I still suggest the use of the Yoco official recipes to cross-compile.

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Okay. Do you think that will work with minimal changes ?

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

You can try to hack tun.c, but I can't guarantee the result.

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

libnl is a part of openembedded-core and has no exotic dependencies. If your recipe depends on libnl, everything will build straight right.

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Yes. I think It's better to go with yocto reicipe. Thanks for it.
Will check and share result

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Just want to know
Are you compile and run application in which board ?
On Same board ?

from wisun-br-linux.

jerome-pouiller avatar jerome-pouiller commented on June 15, 2024

Compile wsbrd on your host through Yocto. Then, you can run it on your Phytec board.

Sorry to be a bit harsh in my answers, but this issue is not related to wsbrd. I think you will get better answers if you ask to your board vendor (Phytec).

from wisun-br-linux.

krunalchauhan637 avatar krunalchauhan637 commented on June 15, 2024

Not an issue. Thank you @jerome-pouiller for your support.

from wisun-br-linux.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.