I tried to build "petalinux-image" using the instructions on the readme, but I get this error. "rkwilliamson@ubuntu:/opt/poky/build$ bitbake petalinux-image ERROR: ParseError at /opt/poky/meta/conf/distro/defaultsetup.conf:7: Could not include required file conf/distro/include/tcmode-linaro.inc"
BTW, I changed added meta-poky layer DISTRO ?= "poky" to DISTRO ?= "petalinux". That was not in the instructions but I got an errors without meta-poky poky distro "rkwilliamson@ubuntu:/opt/poky/build$ bitbake petalinux-image NOTE: ToasterUI waiting for events WARNING: No recipes available for: /opt/poky/meta-petalinux/recipes-devtools/python/python-smartpm_%.bbappend /opt/poky/meta-petalinux/recipes-extended/images/xen-image-minimal.bbappend /opt/poky/meta-petalinux/recipes-extended/xen/xen_4.8.0.bbappend WARNING: No bb files matched BBFILE_PATTERN_gpe-layer '^/opt/poky/meta-openembedded/meta-gpe/' NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES '${ROOTFS_PKGMANAGE_BOOTSTRAP}' (but /opt/poky/meta-petalinux/recipes-core/images/petalinux-image.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target '${ROOTFS_PKGMANAGE_BOOTSTRAP}' is unbuildable, removing... Missing or unbuildable dependency chain was: ['${ROOTFS_PKGMANAGE_BOOTSTRAP}'] ERROR: Required build target 'petalinux-image' has no buildable providers. Missing or unbuildable dependency chain was: ['petalinux-image', '${ROOTFS_PKGMANAGE_BOOTSTRAP}'] ERROR: Command execution failed: NOTE: Build exited with errorcode 1 NOTE: ToasterUI build done, brbe: None WARNING: Return value is 0 rkwilliamson@ubuntu:/opt/poky/build$ bitbake petalinux-image NOTE: ToasterUI waiting for events ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf ERROR: Command execution failed: NOTE: Build exited with errorcode 1 NOTE: ToasterUI build done, brbe: None WARNING: Return value is 0 rkwilliamson@ubuntu:/opt/poky/build$ bitbake petalinux-image ERROR: ParseError at /opt/poky/meta-petalinux/conf/distro/petalinux.conf:1: Could not include required file conf/distro/poky.conf rkwilliamson@ubuntu:/opt/poky/build$ bitbake petalinux-image ERROR: Layer directory '/opt/poky/meta/poky' does not exist! Please check BBLAYERS in /opt/poky/build/conf/bblayers.conf" On Fri, Aug 4, 2017 at 8:55 AM, Williamson, Ralph K. < ralph.william...@drs.com> wrote: > Some history: > > I had been working with Petalinux 15.4 for over a year. Successfully built > and used many linux images for our ZC706 board we are using in a custom > hardware project. I recently wanted to add USB OTG capability but was > unable to get it working successfully. So I upgraded to Petalinux 17.2. > Needless to say, this was quite a difference and had much difficulty moving > all of my apps/libraries/modules. At some point I started getting strange > errors which I posted to Xilinx linux embedded forum. Spent 2 weeks on it > but could not get beyond those issues. So on a whim I decided to try yocto > + meta-xilinx on my same system. This worked perfectly so I would like to > proceed with this to get back to what my Petalinux 15.4 +17.2 had. > > > > My questions now are. > > 1) How do I modify or add to meta-xilinx to get closer to the build > that is produced by Petalinux 17.2 (without the errors I experienced of > course :). I look thru Petalinux 17.2 and it has config files that set many > variables like > “CONFIG_SUBSYSTEM_COMPONENT_DEVICE__TREE_NAME_DEVICE__TREE__GENERATOR=y” > for instance. How are these translated to yocto recipes that I might use in > meta-xilinx build? > > 2) What is meta-petalinux and should I install that and do a build? > Do I set the machine to “” like I did with meta-xilinx build? > > 3) Examples to add custom applications, custom shared libraries, > custom modules to the build. Or is this just standard yocto stuff? > > 4) If I need to import a new HDF definition into my meta-xilinx > build, how do I do that? I currently do “petalinux-config > --get-hw-description -p” in Petalinux 15.4. > > > > Thanks everyone for suffering thru my education. BTW I have no problem > with using Petalinux 17.2, I was just simply unable to get it to recover > from that issue I was having no matter what I did, including reinstalling > all components. > > Thanks and BR, > > Ralph > > -- > _______________________________________________ > meta-xilinx mailing list > meta-xilinx@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-xilinx > >
-- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx