Re: [yocto] curl_easy_perform() failed: Couldn't connect to server #linux #yocto

2020-12-11 Thread vijayrakeshmunganda
On Fri, Dec 11, 2020 at 09:04 AM, Khem Raj wrote: > > On 12/11/20 2:26 AM, vijayrakeshmunga...@gmail.com wrote: > >> Hi, >> >> I'm trying to do HTTPS POST using curl with CA certificate, but I got an >> error as "curl_easy_perform() failed: Couldn't connect to server". The >> same code works

[yocto] curl_easy_perform() failed: Couldn't connect to server #linux #yocto

2020-12-11 Thread vijayrakeshmunganda
Hi, I'm trying to do HTTPS POST using curl with CA certificate, but I got an error as "curl_easy_perform() failed: Couldn't connect to server". The same code works on a Linux machine but not on my target board, I can't understand what I'm missing. I have an active internet connection without

Re: [yocto] hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel

2020-12-05 Thread vijayrakeshmunganda
Hi Randy, Thanks for the reply. I’m using Dunfell 3.1.1 with bitbake version 1.48.0. I had downloaded hostapd recipe from  http://layers.openembedded.org/layerindex/recipe/28409/ for my target system i500-pumpkin with mediatek bsp. I had generated an image by adding IMAGE_INSTALL_append =

Re: [yocto] Yocto Application Development #yocto

2020-12-04 Thread vijayrakeshmunganda
Hi Maciej Pijanowski, Thanks for your suggestion. Best regards, Vijay -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51643): https://lists.yoctoproject.org/g/yocto/message/51643 Mute This Topic: https://lists.yoctoproject.org/mt/78706858/21656

[yocto] Yocto Application Development #yocto

2020-12-04 Thread vijayrakeshmunganda
Hi All, I'm new to Yocto, till now I was thinking I have to develop an application by writing a recipe as mentioned in the link https://medium.com/@lokeshsharma596/yocto-lab-02-creating-custom-layer-and-writing-recipe-for-hello-world-f4438311bbfc , now I found some sources developing an

Re: [yocto] ninja: error: unknown target 'install' #yocto #toolchain #linux

2020-12-03 Thread vijayrakeshmunganda
Hi Quentin, Thanks for the reply. I had recently started learning, can you please explain me little more in detail. How to add target named? And How to override do_install? I searched online, but couldn’t find exact information. Adding OVERRIDES = “do_install” is this correct? Thanks, Vijay

[yocto] ninja: error: unknown target 'install' #yocto #toolchain #linux

2020-12-03 Thread vijayrakeshmunganda
Hi All, I had written a bitbake file to download and install AWS SDK C from GitHub https://github.com/aws/aws-iot-device-sdk-embedded-C based on existing recipes https://github.com/aws/meta-aws, ( https://github.com/aws/meta-aws ) but I'm getting an error as "ninja: error: unknown target

Re: [yocto] hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel

2020-12-02 Thread vijayrakeshmunganda
Hi All, Can anyone please help me this issue. Thanks &  Regards, VR -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51626): https://lists.yoctoproject.org/g/yocto/message/51626 Mute This Topic: https://lists.yoctoproject.org/mt/78628547/21656 Mute

Re: [yocto] How to write custom recipe to install AWS C SDK from github #dunfell #linux #yocto

2020-12-02 Thread vijayrakeshmunganda
Hi, do_install failed with an error "ninja: error: unknown target 'install'". Kindly please help me to fix the above issue. -- Configuring done -- Generating done -- Build files have been written to: /home/poky/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/build [0/2]

Re: [yocto] How to write custom recipe to install AWS C SDK from github #dunfell #linux #yocto

2020-12-02 Thread vijayrakeshmunganda
Hi Quentin Schulz & Ross, Thanks for the information. Based on meta-aws I had written the recipe and do_compile has completed. Now I want to install demos in to the build which are located at tmp/work/aarch64-poky-linux/aws/1.0-r0/git/demos/mqtt/mqtt_demo_mutual_auth, so how do I write

Re: [yocto] How to write custom recipe to install AWS C SDK from github #dunfell #linux #yocto

2020-12-02 Thread vijayrakeshmunganda
Hi Quentin Schulz, Thanks for the reply. I had downloaded the SDK into "files" folder of my recipe and given CMakeLists.txt as SRCURI. Is it correct to do like this? Here is the Error: (It's a long error) ERROR: aws-1.0-r0 do_configure: Execution of

[yocto] How to write custom recipe to install AWS C SDK from github #dunfell #linux #yocto

2020-12-02 Thread vijayrakeshmunganda
Hi, I'm trying to write a recipe to install AWS SDK into the build(https://github.com/aws/aws-iot-device-sdk-embedded-C), but I complete don't know how to do it. Based on online example https://github.com/joaocfernandes/Learn-Yocto/blob/master/develop/Recipe-CMake.md I have written my recipe

[yocto] hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel

2020-12-01 Thread vijayrakeshmunganda
Hi, I'm new to Yocto Project/Embedded Linux. I had added hostapd recipe (https://layers.openembedded.org/layerindex/recipe/28409/) into my build image, and when I try to run "hostapd hostapd.conf" in terminal, I get the below error. Configuration file: hostapd.conf nl80211: Could not configure

[yocto] Yocto AWS MQTT: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1108) #python

2020-11-27 Thread vijayrakeshmunganda
Hi, I'm new to Yocto project. I'm running basic MQTT publish code in python, when I run my code I got error as, "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1108)". I had downloaded activated certificates from

[yocto] How to Add Packages to Python3

2020-11-26 Thread vijayrakeshmunganda
Hi, I had installed a python file into the rootfs and when I tried to run, it throws an error as "ModuleNotFoundError: No module named 'json'". I tried to find bb file for jsonlib, but I couldn't find at https://layers.openembedded.org/layerindex/branch/master/recipes/?q=python+json. Also

[yocto] How to add Python3 json module in Yocto

2020-11-25 Thread vijayrakeshmunganda
Hi, can anyone please guide me on adding json module to my python library in yocto. I had download .bb file from OE Layer and placed it under recipe-devtool/python folder, but it is not including to the build. Also guide me how to select a suitable .bb file as there are many recipes available

[yocto] How to add python application into the build. #python #toolchain

2020-11-24 Thread vijayrakeshmunganda
Hi, I'm new to the Yocto Project, trying to include my python application into the build. Can anyone guide me how to write a bitbake recipe .bb file or any example recipe would be helpful. Thank & Regards, Vijay. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.