Comments (8)
Working on it :)
from meta-riscv.
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.
Actually confused fstype
with part-type
, it is part-type
that we want to set and WIC supports this just fine.
from meta-riscv.
Right I would like to avoid custom sd card image creator scripts they are error prone and difficult to maintain
from meta-riscv.
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.
wic should not be enabled for initramfs images only when doing full SD-Card images.
from meta-riscv.
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.
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)
- go_1.19.4.bb not install standard lib code HOT 1
- Qemu RISCV64 build fails due to nfs-utils HOT 11
- Kernel modules will not work on MangoPi pro HOT 2
- Where is recipes-bsp/boot0/boot0.bb? HOT 3
- BrokenPipeError: [Errno 32] Broken pipe HOT 4
- opensbi: do_install() fails for visionfive2 HOT 2
- visionfive2 missing ChipsMedia_VisionFive2 license file
- weston does not start on Visionfive2 HOT 3
- glibc build failed on ARCH riscv32 HOT 3
- build failing on start with 'ERROR: Nothing RPROVIDES 'systemd'' HOT 2
- Milk-V Duo: Kernel compilation fails HOT 1
- mangopi-mq-pro u-boot-allwinnerd1-1_1.0-r0 do_fetch HOT 1
- visionfive 2 cpu0: cpufreq_init: failed to get clk and cpufreq-dt: failed register driver: -19 HOT 4
- Error while compiling perf HOT 1
- No hdmi on mangopi HOT 3
- [master: visionfive2] mesa-pvr HOT 4
- How can I increase my RAM memory for milk-v duo 64MB? HOT 1
- star64 - u-boot compilation fails
- visionfive2-pvr-graphics: failing installation with SysV init
- Stuck at "NOTE: Starting bitbake server..." HOT 1
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-riscv.