Yocto Project Discussions
 help / color / mirror / Atom feed
* http2 support issue in curl #yocto #raspberrypi
@ 2019-12-05  7:32 Uzair Mazhar
  2019-12-05  8:53 ` [yocto] " Paul Barker
  0 siblings, 1 reply; 8+ messages in thread
From: Uzair Mazhar @ 2019-12-05  7:32 UTC (permalink / raw)
  To: yocto

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-06 10:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05  7:32 http2 support issue in curl #yocto #raspberrypi Uzair Mazhar
2019-12-05  8:53 ` [yocto] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox