Brad For Dem Bedded

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 1 December 2010

QEMU Booting CLFS PPC Issues

Posted on 04:30 by Unknown
I'm building version 1.1.0 of the Cross Linux From Scratch (CLFS) PowerPC system.  I don't actually have any PowerPC hardware so I'm using QEMU.  I have built QEMU 0.13.0 from source because Debian Lenny only comes with version 0.9.1 and it's a bit old.

When booting my CLFS system in QEMU, this is my command line:
andrew@bigbox:~$ qemu-system-ppc -nographic \
-hda cross-lfs-ppc/disk.img -kernel \
cross-lfs-ppc/clfs-fs/boot/clfskernel-2.6.24.7 -M g3beige
The switches used are:
-nographic -> QEMU should output to my terminal rather than VNC
-hda -> This is the file to use as disk /dev/hda
-kernel -> The kernel to use
-M g3beige -> QEMU should emulate a beige G3 PowerMac

When I was building my CLFS system, I didn't follow the directions for Yaboot because I was under the impression that I could simply hand QEMU the kernel and root file system and it would be happy.  When creating my disk image, I didn't create any partitions, everything's simply in hda.  One of these two spots are probably the root of my problem.  I'm going to try building Yaboot first and if that doesn't fix it, I'll work on creating the partitions correctly within my disk image file.

When booting, QEMU goes through its normal bios output but after finding a display and building the device tree, it hangs with:
Calling quiesce ...
returning from prom_init
After a few minutes, it will reboot and end up at the same place.  The verbosity is not much help for debugging and Google doesn't seem to be my friend with this issue.

I'll be sure to either comment on this post as to my resolution or I'll write another post detailing the fix.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in clfs | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Downsides and Upsides of Altera's Configuration Via Protocol
    Yesterday, I wrote a little about reconfigurable FPGAs attached to the PCI-Express bus as an addition to the general purpose computer. The...
  • Toolchain, Check! Kernel, Check!
    I've been working on the CLFS embedded book for a few months now.  I've been learning a lot and my goal has been to get a CLFS embe...
  • KDE4 Sucks
    I upgraded to Debian 6 Squeeze last weekend on my desktop.  I was very excited to get some more up-to-date packages (git, gcc, kernel, and c...
  • Low Cost ARM Computer
    I was thinking about my ARM + FPGA computer idea some more.  There's already a lot of competition in the single board computer space an...
  • Crypto Load Balancer Using Off The Shelf Hardware
    At my day job, I work a reasonable amount of time with cryptographic and authentication systems. Lately, I've been reading about OpenCL...
  • Embedded Linux and Long Term Support / Updates - Part 2
    In my previous post about embedded Linux long term support, I neglected Ubuntu. I had not realized how much effort Canonical are putting i...
  • The TuxedoBoard has a Brain! (picked out)
    I've chosen an ARM SoC (system on chip) for the TuxedoBoard! The Texas Instruments AM1707 ARM9 core will meet my requirements. The AM1...
  • Pick an ARM ABI When Building GCC
    If you follow the CLFS embedded book for ARM , you'll see that your ABI choice isn't used until compiling packages (ie: after you...
  • SanDisk iNAND
    I stumbled upon SanDisk's iNAND products today while doing some searching about SD cards. The iNAND idea looks very appealing to me co...
  • I'm Writing a Book
    I'm writing a book about embedded Linux but I'm not going to compete with traditional technical books.  O'Reilly isn't my co...

Categories

  • beagleboard
  • blog
  • book review
  • business
  • c
  • chairs
  • clfs
  • community
  • computers
  • crypto
  • db
  • debian
  • disapointment
  • embedded
  • energy
  • fedora
  • flash
  • fpga
  • gcc
  • git
  • google
  • health
  • hp
  • internet
  • iOS
  • learning
  • license
  • linux
  • market
  • microsoft
  • movie review
  • my book
  • next steps
  • open source
  • pandaboard
  • rails
  • software
  • SOPA
  • tuxedo
  • web 2.0
  • webOS
  • windows
  • work

Blog Archive

  • ►  2012 (10)
    • ►  January (10)
  • ►  2011 (70)
    • ►  December (10)
    • ►  November (9)
    • ►  October (7)
    • ►  September (8)
    • ►  August (1)
    • ►  July (3)
    • ►  June (3)
    • ►  May (3)
    • ►  April (8)
    • ►  March (4)
    • ►  February (5)
    • ►  January (9)
  • ▼  2010 (16)
    • ▼  December (6)
      • Being Clear About The Work I Want To Do (Part 2)
      • America. $&#* Yeah!
      • Gawker Got Hacked... I Dislike Online Accounts
      • My Inspiration
      • Absolute FreeBSD and Building A Server With FreeBSD 7
      • QEMU Booting CLFS PPC Issues
    • ►  November (9)
    • ►  October (1)
Powered by Blogger.

About Me

Unknown
View my complete profile