Giter Site home page Giter Site logo

Comments (7)

mharth avatar mharth commented on August 15, 2024 1

Hi, in the new proposed patch, we dont have any new tasks like do_xilinx-bootbin. All you need is a bbappend to the new recipe to control do_compile when it should be executed. Since you want to run the do_compile after the image+rootfs (initramfs) creation, you can add a dependency like
do_compile[depends] += "virtual/kernel:do_deploy"

Every boot-case is different, the dependency for each requirement should be handled in bbappends rather than have tasks limited not to run in parallel. Hope this helps

from meta-xilinx-tools.

mharth avatar mharth commented on August 15, 2024

boot.bin does not include rootfs, it includes fsbl,pmufw,bitstream,u-boot.elf. I am failing to understand how will initiramfs cause the circular depedency. Why is rootfs in boot.bin? whats the use case for this?

from meta-xilinx-tools.

dawithers avatar dawithers commented on August 15, 2024

We have added the Image+rootfs to the boot.bin because for our use, it must boot with the same rootfs on every boot. Basically the way a livecd works. We don't have or want writable storage during runtime. Everything must run from RAM. So the boot.bin contains everything including the Image+rootfs and all are stored in QSPI. We were using rel-v2017.2 previously with no problem. I understand that the typical use case is to have the image and rootfs on some non-volatile memory and therefore it isn't typically built into the boot.bin, but the mechanisms are there for bundling the Image with an initramfs even for use on an SD card, so why not in QSPI as well?

from meta-xilinx-tools.

mharth avatar mharth commented on August 15, 2024

See the patch on mailing list, the bbclass is converted to a bb file which might help your cause

from meta-xilinx-tools.

dawithers avatar dawithers commented on August 15, 2024

Thanks, do you have a link to the thread? I'm having trouble finding it.

from meta-xilinx-tools.

darko31 avatar darko31 commented on August 15, 2024

Hello, I think I've found the patch mharth is talking about

https://lists.yoctoproject.org/pipermail/meta-xilinx/2018-January/003545.html

And I've applied it, but I'm still getting dependency loops and errors with PREFERRED_PROVIDER_virtual/boot-bin set to u-boot-xlnx, not xilinx-bootbin
When I change to xilinx-bootbin, dependency loops start to appear.

Are there any news on this or some other patches for this issue?

from meta-xilinx-tools.

mharth avatar mharth commented on August 15, 2024

https://github.com/Xilinx/meta-xilinx-tools/blob/rel-v2018.1/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb this will be moved to master soon

from meta-xilinx-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.