Skip to contentSkip to conversation

qemu-ppc: fixup wrong startup example, use either -hda or -drive

PATCH New Waldemar Brodkorb 2 participants 2 messages Nov 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-ppc: fixup wrong startup example, use either -hda or -drive

---
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
index 070fcbb..3bd88a6 100644
@@ -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
#1 lore raw

PATCH 1/1 qemu-ppc: fixup wrong startup example, use either -hda or -drive

Hello,

Quoted 1 line · Waldemar Brodkorb

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