GithubHelp home page GithubHelp logo

Comments (8)

mirzak avatar mirzak commented on July 17, 2024

Working on it :)

from meta-riscv.

mirzak avatar mirzak commented on July 17, 2024

WIC does not support custom fstypes.

And my understand is for the bootrom to pick the correct location one must set the "boot part" fstype to 2E54B353-1271-4842-806F-E436D6AF6985.

I will continue to investigate and will ask some questions on appropriate mailing lists.

But it probably will be easier to create a custom image instead and do some parted magic and then we do not really have any limitations.

from meta-riscv.

mirzak avatar mirzak commented on July 17, 2024

Actually confused fstype with part-type, it is part-type that we want to set and WIC supports this just fine.

from meta-riscv.

kraj avatar kraj commented on July 17, 2024

Right I would like to avoid custom sd card image creator scripts they are error prone and difficult to maintain

from meta-riscv.

mirzak avatar mirzak commented on July 17, 2024

Yeah me to. But I think I will sort it out WIC, or I think I already did here https://github.com/mirzak/meta-riscv-1/commits/wic-image.

The output wic image has the same properties as the image created by the freedom-u-sdk, no way to test it thought.

I am having some issue with circular deps after enabling wic and hence no pull-request yet

from meta-riscv.

kraj avatar kraj commented on July 17, 2024

wic should not be enabled for initramfs images only when doing full SD-Card images.

from meta-riscv.

mirzak avatar mirzak commented on July 17, 2024

Yeah you are right. Here is the error "for the record".

ERROR: 2747 unbuildable tasks were found.##########################################################                                                                                                  | ETA:  0:00:00
These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.

Identifying dependency loops (this may take a short while)...

ERROR: 
Dependency loop #1 found:
  Task /home/mirza/project/riscv/meta-riscv/recipes-core/images/riscv-initramfs-image.bb:do_image_complete (dependent Tasks ['riscv-initramfs-image.bb:do_image_cpio', 'riscv-initramfs-image.bb:do_image_tar', 'riscv-initramfs-image.bb:do_image', 'riscv-initramfs-image.bb:do_image_wic'])
  Task /home/mirza/project/riscv/meta-riscv/recipes-kernel/linux/linux-riscv_4.15.bb:do_bundle_initramfs (dependent Tasks ['linux-riscv_4.15.bb:do_install', 'riscv-initramfs-image.bb:do_image_complete'])
  Task /home/mirza/project/riscv/meta-riscv/recipes-kernel/linux/linux-riscv_4.15.bb:do_deploy (dependent Tasks ['linux-riscv_4.15.bb:do_populate_sysroot', 'linux-riscv_4.15.bb:do_packagedata', 'linux-riscv_4.15.bb:do_bundle_initramfs', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot'])
  Task /home/mirza/project/riscv/meta-riscv/recipes-core/images/riscv-initramfs-image.bb:do_image_wic (dependent Tasks ['riscv-initramfs-image.bb:do_image', 'mtools_4.0.18.bb:do_populate_sysroot', 'dosfstools_4.1.bb:do_populate_sysroot', 'parted_3.2.bb:do_populate_sysroot', 'gptfdisk_1.0.3.bb:do_populate_sysroot', 'linux-riscv_4.15.bb:do_deploy', 'riscv-initramfs-image.bb:do_rootfs_wicenv'])


ERROR: Command execution failed: 1

Would still be nice if we could have initramfs + wic initially, since you could still boot the initramfs and chroot to the ext4 part. Until we change for it to boot to SD/MMC completely.

from meta-riscv.

kraj avatar kraj commented on July 17, 2024

thats possible too, you have to use kernel+initramfs as your kernel file and rest remaining same. In other words we alsway boot into a small initrd and then switch_root to ext4 partition

from meta-riscv.

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.