Post Go back to editing

PETALINUX BUILD ERROR

Category: Software
Product Number: ADRV9026

Hello all,

I am using Ubuntu  22.04.4 ,Vivado  2023.2 and petalinux 2023.2.

I have created design for ADRV9026 with zcu102 . Hdl file and meta-adi taken from analog devices github site (https://github.com/analogdevicesinc/hdl/tree/main/projects/adrv9026/zcu102 ).

I have followed steps mentioned in

https://github.com/analogdevicesinc/meta-adi/tree/main/meta-adi-xilinx

I am getting error

ERROR: linux-xlnx-6.1-adi-main+gitAUTOINC+machine-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/analogdevicesinc/linux.git;protocol=https;branch=main')

I am able to download manually. But how can i add into project folder. Do i have to run some steps?

I got to know about the following link https://github.com/analogdevicesinc/meta-adi/tree/staging/adrv9026-support from different post. But i am not able to access.

Please suggest how to solve this error.

Regards

Mahima

  • FYI

    Please note : During accessing git through git clone in terminal, It is giving this error.

    git clone git://github.com/analogdevicesinc/linux.git;protocol=https;branch=main
    Cloning into 'linux'...
    remote: Enumerating objects: 11032095, done.
    remote: Counting objects: 100% (126382/126382), done.
    remote: Compressing objects: 100% (31242/31242), done.
    error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
    error: 2800 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output

  • Hi,

    It looks like your network is not stable enough (might also just be some temporary issue on github itself). I do get those errors, sometimes, on my CI builds. But then, afterwards, everything works fine. So there's not much I can do to help. Maybe change the kernel recipe so it uses other protocol instead of https:

    https://docs.yoctoproject.org/bitbake/2.6/bitbake-user-manual/bitbake-user-manual-fetching.html#git-fetcher-git

    As to add your manually cloned repo into petalinux, you need to do it through 'petalinux-config' IIRC. But note that workflow was never tested with meta-adi.

    - Nuno Sá