qemu-ppc: fixup wrong startup example, use either -hda or -drive
PATCH 1/1 qemu-ppc: fixup wrong startup example, use either -hda or -drive
Signed-off-by Waldemar Brodkorb <[email protected]>
---
While playing with musl+ppc I recognized this.
Musl-PPC with gcc 5.x is broken, as the gcc patches are incomplete. gcc 6.x works with the qemu samples, so maybe disable gcc 5.x for musl ppc?
--- board/qemu/ppc-g3beige/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/qemu/ppc-g3beige/readme.txt +1 -1
@@ -1,6 +1,6 @@ Run the emulation with: - qemu-system-ppc -M g3beige -kernel output/images/vmlinux -hda -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user + qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user The login prompt will appear in the terminal that started Qemu. The graphical window is the framebuffer.
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH 1/1 qemu-ppc: fixup wrong startup example, use either -hda or -drive
Hello,
Quoted 1 line · Waldemar Brodkorb
Signed-off-by Waldemar Brodkorb <[email protected]>
Applied to master, thanks!
Quoted 4 lines
While playing with musl+ppc I recognized this.
Musl-PPC with gcc 5.x is broken, as the gcc patches are incomplete. gcc 6.x works with the qemu samples, so maybe disable gcc 5.x for musl ppc?
Or better: add the appropriate patches to make musl/gcc5/ppc work properly.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com