Comments (14)
Hello @matejk ,
The petalinux bsp for Ultra96 ships with a HDF that enables mipi video pipeline within the design.To support this pipeline in the device-tree, mipi-support-ultra96.dtsi overrides some of the DTG generated pl dt nodes and replaces it with the ones contained in that file. The mipi-support-ultra96.dtsi also looks for camera node under i2c-2.
I see that you are trying to use your own custom HDF file. When you build with your design, the mipi-support-ultra96.dtsi is unable to find the camera node under i2c-2 because its not part of your design. Thats why you are seeing this error:
_
Label or path i2csw_2 not found
Label or path axi_uart16550_0 not found
To build with your custom HDF, do not include the mipi-support-ultra96.dtsi file in the final dts. You can disable it by including the following in your local.conf file: MACHINE_FEATURES_remove = "mipi"
Let me know if that works.
Thanks,
Chandana
from meta-xilinx-tools.
This line is supposed to enable the required #include "avnet-ultra96-rev1.dtsi"
Are you missing the above bbappend?
from meta-xilinx-tools.
The bbappend file in PetaLinux 2018.3 that I have on my computer is exactly the same as the one on the link.
As you can see, the part that includes "mipi-support-ultra96.dtsi" is present in generated system-top.dts.
There has to to be something different in the bitbake recipes compared to 2018.2 that causes the include to be skipped.
from meta-xilinx-tools.
You are building for ultra96-zynqmp machine? because the line suggested adds the include in system-top.dts from DTG. This works as we have seen?
Can you provide the steps to replicate your issue
from meta-xilinx-tools.
Yes, I am building for ultra96-zynqmp.
When I compared the recipes between 2018.2 and 2018.3 I also expected the include in system-top.dts.
I'll provide steps ASAP.
Are there some logs that are particularly interesting for investigation?
from meta-xilinx-tools.
Create new project:
petalinux-create -t project -n ultra96-2018.3 --template zynqMP
Import HDF (custom made by my colleague).
cd ultra96-2018.3/
petalinux-config
petalinux-config --get-hw-description ../staging/ultra96/
The only parameter that was changed in configuration is:
CONFIG_YOCTO_MACHINE_NAME="ultra96-zynqmp"
Kernel config: no changes, use defaults:
petalinux-config -c kernel
Rootfs config: no changes, use defaults:
petalinux-config -c rootfs
Then build:
petalinux-build
from meta-xilinx-tools.
Build fails with the error above.
Complete project spec after build:
ultra96-project-spec.zip
Project's components directory:
ultra96-components.zip
Device tree build files (excluding recipe-sysroot-native
) from build/tmp/work/ultra96_zynqmp-xilinx-linux
:
from meta-xilinx-tools.
If I manually edit system-top.dts to add missing include, build still fails with less errors:
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /opt/devel/git/1ghz-8bit-1gddr/petalinux-2018.3-ultra96/build/../components/plnx_workspace/device-tree/device-tree/mipi-support-ultra96.dtsi:9.1-17 Label or path axi_uart16550_0 not found
| FATAL ERROR: Syntax error parsing input tree
from meta-xilinx-tools.
As a workaround I wanted to include avnet-ultra96-rev1.dtsi
with /include/
in system-user-dtsi
but it did not work.
from meta-xilinx-tools.
Does configuration for Ultra96 require some specific Xilinx FPGA cores to resolve the symbol axi_uart16550_0
?
from meta-xilinx-tools.
The next thing that I tried was to build with Ultra96 sample HDF.
Build still failed with error:
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /opt/devel/git/1ghz-8bit-1gddr/ultra96-2018.3/build/../components/plnx_workspace/device-tree/device-tree/mipi-support-ultra96.dtsi:121.2-10 Label or path i2csw_2 not found
| FATAL ERROR: Syntax error parsing input tree
from meta-xilinx-tools.
Hi @ckalluri ,
Yes, I tried that already. Build passes then, however it is not correct.
File avnet-ultra96-rev1.dtsi
is not included and that file contains crucial settings to be able to boot properly from the SD card, for example.
As you can see above, file zcu100-revc.dtsi
was included in PL 2018.2 and that file contains those device tree entries.
from meta-xilinx-tools.
Hi, Please see https://github.com/Avnet/Ultra96-PYNQ
Toward the bottom (of README.md) you will see a documented work around for the issue of the bsp requiring a certain MIPI PL hardware design. Basically you unset the mipi "feature" and then you can import your own hw design.
All of the proper BSP string/feature settings are also shown there.
from meta-xilinx-tools.
Hi @ckalluri and @FredKellerman,
Information from both of you helped me to resolve the problem. Thank you.
I am closing the issue.
from meta-xilinx-tools.
Related Issues (20)
- XSCT URL no longer valid. HOT 1
- attrflags is not expanded HOT 4
- Upgrade to warrior HOT 5
- FSBL build fails
- 2019.2: boot-gen depency failure HOT 1
- Yocto build error `package require hsi FAILED` HOT 5
- xsct-tarball.bbclass weak assigns XSCT_STAGING_DIR but doesn't honor it HOT 2
- XILINX_VER_MAIN is set to 2019.2 on rel-v2020.1 HOT 3
- No valid device tree binary found - after added meta-xilix-tools layer. HOT 1
- xsctyaml points to incorrect libdir
- Fpgautil failed if file doesn't exists
- fpga-manager-util: Files/directories were installed but not shipped in any package
- generated boot.bin will not boot correctly after moving the bootbin recipe to meta-xilinx HOT 11
- ZCU104 Linux kernel starting hangs on "Waiting for root device dev/mmcblk0p2..." HOT 5
- ERROR: Nothing RPROVIDES 'xilinx-bootbin' (but /home/madhanmohan/dtsi/layers/wrlinux/wrlinux-distro/recipes-base/images/wrlinux-image-std.bb RDEPENDS on or otherwise requires it) xilinx-bootbin was skipped: Not supported in this configuration by Wind River. To override, add to your local.conf: PNWHITELIST_xilinx += 'bootgen' PNWHITELIST_xilinx-tools += 'xilinx-bootbin' You may also have to add: BB_NO_NETWORK = '0' NOTE: Runtime target 'xilinx-bootbin' is unbuildable, removing... Missing or unbuildable dependency chain was: ['xilinx-bootbin'] ERROR: Required build target 'wrlinux-image-std' has no buildable providers. Missing or unbuildable dependency chain was: ['wrlinux-image-std', 'xilinx-bootbin']
- Kirkstone HOT 1
- fpga-manager-utils recipe looks for pl-final.dts, but pl-final.dts does not exist anymore in xilinx device tree repo HOT 6
- fpgautil source code linked from Wiki has moved HOT 4
- SRC_URI concatenation is missing space HOT 1
- Platform create command Update missing? HOT 4
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 meta-xilinx-tools.