zcu102 that include ADRV9009 drivers build error

Hi,

I want to add analog devices adrv9009 drivers on zcu102. I worked with analog devices kernel  2019_R1 branch, meta-adi (2019_R1) and petalinux v2018.3 .

How can I solve this problem ?

sra@esra-MS-7A38:~/petalinux-project/zcu102-1029-1-branch$ petalinux-build
[INFO] building project
[INFO] generating Kconfig for project
[INFO] oldconfig project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
INFO: bitbake petalinux-user-image
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 2071 entries from dependency cache.
ERROR: /home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2018.3.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 5, function: <module>
     0001:__anon_22__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
     0002:__anon_25__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_patch_bbclass(d)
     0003:__anon_160__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_base_bbclass(d)
     0004:__anon_686__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_base_bbclass(d)
 *** 0005:__anon_129__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_externalsrc_bbclass(d)
     0006:__anon_20__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_blacklist_bbclass(d)
     0007:__anon_1305__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_insane_bbclass(d)
     0008:__anon_250__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_package_bbclass(d)
     0009:__anon_711__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_package_rpm_bbclass(d)
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/meta/classes/externalsrc.bbclass', lineno: 64, function: __anon_129__home_esra_petalinux_2018_3_components_yocto_source_aarch64_layers_core_meta_classes_externalsrc_bbclass
     0060:            d.setVar('B', '${WORKDIR}/${BPN}-${PV}/')
     0061:
     0062:        local_srcuri = []
     0063:        fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
 *** 0064:        for url in fetch.urls:
     0065:            url_data = fetch.ud[url]
     0066:            parm = url_data.parm
     0067:            if (url_data.type == 'file' or
     0068:                    'type' in parm and parm['type'] == 'kmeta'):
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/__init__.py', lineno: 1590, function: __init__
     1586:
     1587:        for url in urls:
     1588:            if url not in self.ud:
     1589:                try:
 *** 1590:                    self.ud[url] = FetchData(url, d, localonly)
     1591:                except NonLocalMethod:
     1592:                    if localonly:
     1593:                        self.ud[url] = None
     1594:                        pass
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/__init__.py', lineno: 1261, function: __init__
     1257:            logger.warning('Consider updating %s recipe to use "protocol" not "proto" in SRC_URI.', d.getVar('PN'))
     1258:            self.parm["protocol"] = self.parm.get("proto", None)
     1259:
     1260:        if hasattr(self.method, "urldata_init"):
 *** 1261:            self.method.urldata_init(self, d)
     1262:
     1263:        if "localpath" in self.parm:
     1264:            # if user sets localpath for file, use it instead.
     1265:            self.localpath = self.parm["localpath"]
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/git.py', lineno: 239, function: urldata_init
     0235:        write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
     0236:        ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
     0237:        ud.write_shallow_tarballs = (d.getVar("BB_GENERATE_SHALLOW_TARBALLS") or write_tarballs) != "0"
     0238:
 *** 0239:        ud.setup_revisions(d)
     0240:
     0241:        for name in ud.names:
     0242:            # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
     0243:            if not ud.revisions[name] or len(ud.revisions[name]) != 40  or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/__init__.py', lineno: 1291, function: setup_revisions
     1287:
     1288:    def setup_revisions(self, d):
     1289:        self.revisions = {}
     1290:        for name in self.names:
 *** 1291:            self.revisions[name] = srcrev_internal_helper(self, d, name)
     1292:
     1293:        # add compatibility code for non name specified case
     1294:        if len(self.names) == 1:
     1295:            self.revision = self.revisions[self.names[0]]
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/__init__.py', lineno: 1156, function: srcrev_internal_helper
     1152:
     1153:    if srcrev == "INVALID" or not srcrev:
     1154:        raise FetchError("Please set a valid SRCREV for url %s (possible key names are %s, or use a ;rev=X URL parameter)" % (str(attempts), ud.url), ud.url)
     1155:    if srcrev == "AUTOINC":
 *** 1156:        srcrev = ud.method.latest_revision(ud, d, name)
     1157:
     1158:    return srcrev
     1159:
     1160:def get_checksum_file_list(d):
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/__init__.py', lineno: 1551, function: latest_revision
     1547:        key = self.generate_revision_key(ud, d, name)
     1548:        try:
     1549:            return revs[key]
     1550:        except KeyError:
 *** 1551:            revs[key] = rev = self._latest_revision(ud, d, name)
     1552:            return rev
     1553:
     1554:    def sortable_revision(self, ud, d, name):
     1555:        latest_rev = self._build_revision(ud, d, name)
File: '/home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/fetch2/git.py', lineno: 581, function: _latest_revision
     0577:                sha1, ref = l.split()
     0578:                if s == ref:
     0579:                    return sha1
     0580:        raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
 *** 0581:            (ud.unresolvedrev[name], ud.host+ud.path))
     0582:
     0583:    def latest_versionstring(self, ud, d):
     0584:        """
     0585:        Compute the latest release name like "x.y.x" in "x.y.x+gitHASH"
Exception: bb.fetch2.FetchError: Fetcher failure: Unable to resolve '2019_R1' in upstream git repository in git ls-remote output for github.com/Xilinx/linux-xlnx.git

ERROR: Failed to parse recipe: /home/esra/petalinux/2018.3/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2018.3.bb

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

Thanks,

Esra.

Top Replies