Comments (6)
Hey,
Thanks for reporting.
I've created the branch.
Can you retry?
Thanks
Alex
from linux.
Hi,
I try but not change
esra@esra-MS-7A38:~/5g/petalinux_projects/xilinx-zcu102-2018.3$ petalinux-config -c kernel
[INFO] generating Kconfig for project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 2072 entries from dependency cache.
ERROR: /home/esra/petalinux_20183/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2018.3.bb: Error executing a python function in :
The stack trace of python calls that resulted in this exception/failure was:
File: '', lineno: 5, function:
0001:__anon_22__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
0002:__anon_25__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_patch_bbclass(d)
0003:__anon_160__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_base_bbclass(d)
0004:__anon_686__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_base_bbclass(d)
*** 0005:__anon_129__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_externalsrc_bbclass(d)
0006:__anon_20__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_blacklist_bbclass(d)
0007:__anon_1305__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_insane_bbclass(d)
0008:__anon_250__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_package_bbclass(d)
0009:__anon_711__home_esra_petalinux_20183_components_yocto_source_aarch64_layers_core_meta_classes_package_rpm_bbclass(d)
File: '/home/esra/petalinux_20183/components/yocto/source/aarch64/layers/core/meta/classes/externalsrc.bbclass', lineno: 64, function: __anon_129__home_esra_petalinux_20183_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_20183/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_20183/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_20183/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_20183/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_20183/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_20183/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_20183/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 '2018_R2' in upstream git repository in git ls-remote output for github.com/Xilinx/linux-xlnx.git
ERROR: Failed to parse recipe: /home/esra/petalinux_20183/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: bitbake failed to cleansstate kernel
ERROR: Failed to config kernel.
from linux.
I worked with petalinux v2018.3, external linux kernel (adi-4.14.0 branch) and added meta-adi layers (master branch)
Please don't use the adi-4.14.0 branch; it's obsolete now.
Either use one of the release branches, 2018_R2, 2019_R1, etc.
I'll take a look closer at this.
from linux.
Thank you for reply. I solved my problem. I used default linux kernel (Linux Component Selection-->linux-kernel (linux-xlnx)) in petalinuxv2018.3 , analog devices referance design system.hdf (Vivado 2018.3) and meta-adi (master branch). When I built this system, it failed ( Fetcher failure: Unable to resolve '2018_R2' in upstream git repository in git ls-remote output for github.com/Xilinx/linux-xlnx.git).
I changed BRANCH="master" and PV="4.19" into meta-adi-xilinx/recipe-kernel/linux/linux-xlnx_%.bbappend file.
Fix it.
from linux.
Yeps. That should fix it. But we updated our meta-adi repo recently and fixed things differently. Now, there's a dedicated 2018_R2 branch if you want to work with that release for ADI tools...
from linux.
Let's close this issue.
If it's still an issue we can re-open.
from linux.
Related Issues (20)
- Compilation error caused by patch application issue HOT 1
- CONFIG_FPGA does not select CONFIG_DMA_SHARED_BUFFER
- Typo? HOT 2
- Move AD2S1210 driver out of staging HOT 14
- Extend support for AD40xx with variable sample frequency HOT 23
- Need confirmation for some unpatched CVE in linux HOT 2
- kernel oops in spi engine after read timeout HOT 9
- axi-spi-engine driver watchdog timer still calls back after being canceled HOT 3
- AXI SPI Engine driver modifies SPI xfer length. HOT 2
- Unsafe buffer access in AXI SPI Engine offload HOT 5
- Split ad_pulsar.c into two separate drivers?
- ad_pulsar.c assumes all differential ADC channels are bipolar
- Potential bug in AD9361 driver HOT 2
- Raspberry build on master HOT 2
- Raspberry build HOT 2
- AD9361 “Enable digital saturation gain decrease” setting missing HOT 2
- Make module error HOT 4
- ADRV9025 do not have attribute "profile_config" HOT 2
- ADF4360 Incorrect Mask Used. HOT 2
- ad7768 reset HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux.