LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-06-2015, 07:46 AM   #1
s.a.pishvaie
Member
 
Registered: Nov 2013
Posts: 34

Rep: Reputation: Disabled
problem with booting Raspberry PI with QEMU


I have compiled my own kernel image, following this page from Raspberry:
https://www.raspberrypi.org/document...el/building.md

Now I have a zImage in .../arch/arm/boot/zImage, but I can't emulate this image with qemu-system-arm.

I use this command line to emulate zImage.
qemu-system-arm -kernel arch/arm/boot/zImage -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "console=ttyS0,115200"

When I run this command, a Blank screen open and when i see htop output, a cpu is working.

I know that the aforementioned command has no rootfs (i.e. any -hda parameter are not specified). It should display some message on the console, which is results in a kernel panic, but it display anything.
 
  


Reply

Tags
qemu, raspberry



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulating Raspberry pi with qemu error message im-a-nobot Linux - Virtualization and Cloud 1 01-06-2015 11:17 PM
booting hardisk image on qemu slayerking Linux - Newbie 6 12-28-2011 08:41 AM
[SOLVED] qemu booting from CD won't reboot from CD Skaperen Linux - Software 4 05-19-2011 07:22 AM
Error while booting from QEMU Muthu I Linux - Newbie 2 06-29-2010 03:39 PM
booting installed windows using qemu lefty.crupps Linux - Software 0 11-27-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration