Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Uzair Mazhar" <uzair.mazhar@emumba.com>
To: yocto@lists.yoctoproject.org
Subject: http2 support issue in curl #yocto #raspberrypi
Date: Wed, 04 Dec 2019 23:32:41 -0800	[thread overview]
Message-ID: <CLAP.1575531161135737416.olxy@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]

Hi All,
While testing my image on raspberry pi3b, I found that curl doesn’t have http2 support.
$ curl --http2 -I https://nghttp2.org/ ( https://nghttp2.org/ )
# Unsupported protocol

I tried to search for the solution and one of the possible answer [1][2] were adding --with-nghttp2 flag to curl. For that I modified curl recipes (curl_7.64.1.bb) and added “EXTRA_OECONF = --with-nghttp2 “ along with default parameter already set in this block but it again shows the same error.

After That I have been trying to resolve this issue from over a week now as per my understanding of this issue but I am not able to solve this.

I generated rpi image by following these steps:
Cloned warrior branch of poky, meta-raspberrypi and meta-openembedded
Edited conf/local.conf to add,
LICENSE_FLAGS_WHITELIST_append = " commercial_faad2 commercial_gstreamer1.0-plugins-ugly "
IMAGE_INSTALL_append += " avs-device-sdk curl”
Edited conf/bblayer.conf to add all relevant layers (meta-raspberrypi, meta-networking etc.)
Generate image using “bitbake -k core-image-base”

I have tried to replicate whole procedure with poky “Thud” branch but in vain.

My Environment setup:
Yocto version is 2.7.0
Ubuntu~18.04.1
Linux kernel 4.15.0-66-generic
Python3 version 3.6.8
gcc/g++ 7.4.0
Git 2.17.1
[1] https://github.com/alexa/avs-device-sdk/wiki/Ubuntu-Linux-Quick-Start-Guide#authorization
[2]https://serversforhackers.com/c/curl-with-http2-support

Any help in this matter will be appreciated.
Thanks,
Uzair Mazhar Awan
Design and Verification Engineer | www.Emumba.com Office: 3rd Floor, B-Block, STP-3, I9/3, Islamabad,Pakistan

[-- Attachment #2: Type: text/html, Size: 2398 bytes --]

             reply	other threads:[~2019-12-05  7:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-05  7:32 Uzair Mazhar [this message]
2019-12-05  8:53 ` [yocto] http2 support issue in curl #yocto #raspberrypi Paul Barker
2019-12-05 10:30   ` Uzair Mazhar
2019-12-05 11:07     ` [yocto] " Ross Burton
2019-12-05 11:23       ` Uzair Mazhar
2019-12-05 14:48         ` [yocto] " Ross Burton
2019-12-05 18:30           ` Uzair Mazhar
2019-12-06 10:13             ` Uzair Mazhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CLAP.1575531161135737416.olxy@lists.yoctoproject.org \
    --to=uzair.mazhar@emumba.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox