| Summary: | core-image-minimal does not boot when built with poky-tiny | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stoicescu Cornel <corneliux.stoicescu> | ||||
| Component: | core | Assignee: | Saul Wold <sgw> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | dvhart, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.4 M2 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Stoicescu Cornel
2012-10-19 15:27:25 UTC
How are you trying to boot it? I suspect you may be just running with runqemu. If so, the problem is that runqemu isn't particularly aware of poky-tiny images. By default poky-tiny doesn't support VGA consoles and only writes to the serial console. The other thing is the kernel doesn't have block or filesystem support (hrm... I don't think, we may have broadened support a bit) but by default it expects that you are using an initramfs. Try booting with: $ qemu -kernel /path/to/kernel -initrd /path/to/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic poky-tiny is in meta-yocto, recategorize as appropriate. Thank you for your response. Indeed I was using runqemu. I tried to follow your suggestion and use "qemu" instead of "runqemu" but even after sourcing the environment from the apropiate toolchain for my machine, I get the folowing message: "qemu: command not found" I tried to use full path to binary (./sysroots/x86_64-pokysdk-linux/usr/bin/qemu) but I get: "-bash: ./sysroots/x86_64-pokysdk-linux/usr/bin/qemu: No such file or directory" If runqemu does not work for poky-tiny images, please suggest me another method with which to test this. /Cornel Try using qemu-system-i386 rather than "qemu". Stoicescu, any update here? Have you been able to boot a poky-tiny minimal image? It worked with qemu-system-i386 -kernel /path/to/kernel -initrd /path/to/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic branch: master commit: 93c04c16e45a3c8f60f8ffc0b26a78c24bda71da This bug is really about support for poky-tiny with runqemu. Updating the title and categorization accordingly. |