From: soumyasr <Soumya.R@kpitcummins.com>
To: linux-mips@linux-mips.org
Subject: Kernel not booting in QEMU_SYSTEM_MIPS
Date: Mon, 17 May 2010 21:42:09 -0700 (PDT) [thread overview]
Message-ID: <28591517.post@talk.nabble.com> (raw)
Hi all,
I am new to qemu as well as mips..
1) I Downloaded the qemu latest version from
http://wiki.qemu.org/download/qemu-0.12.3.tar.gz and installed it
succesfully....
After that i downladed mips-test-0.2.tar.gz from
http://wiki.qemu.org/download/mips-test-0.2.tar.gz and followed the below
commands to boot the kernel
and root file system ....
$ tar zxvf mips-test-0.2.tar.gz
$ cd mips-test
$ qemu-system-mips -M mips -kernel vmlinux-2.6.18-3-qemu -initrdinitrd.gz
When I run the above command
Qemu is launching and nothing else happen. I don't have any error, but I
don't have prompt... It seems that nothing is booting.. I tried the same
with ARM
instead if mips it boots the kernel, rfs and got the login prompt.. Since i
am not getting any errors i am able to figure out what's the problem is???
2) I tried to build our own customized kernel using the buildroot by
executing the command :
$ makemenuconfig
Here is the buildroot configuration :
- Target Architecture => MIPSEL
- Target architecture variant =>mips I (generic)
- Target ABI => o32
- Target Option => default configuration
- Build option => default configuration
- Toolchain => Include target utils in cross toolchain and build gdb server
for the target
- Package selection => default configuration
- Target file system => cpio (gzip compression)
- Kernel => Same version as linux header
- config file => .config
- kernel binary format => zImage
when i run the command make to build the kernel i get the following error
message,
rm -rf /home/soumya/buildroot/output/build/buildroot-config
mkdir -p /home/soumya/buildroot/output/build
cp -dpRf package/config/buildroot-config
/home/soumya/buildroot/output/build/buildroot-config
/usr/bin/make -j1 -C /home/soumya/buildroot/output/toolchain/uClibc-0.9.31 \
ARCH="mips" \
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="/usr/lib/ccache/gcc" \
all
make[1]: Entering directory
`/home/soumya/buildroot/output/toolchain/uClibc-0.9.31'
LD ld-uClibc-0.9.31.so
mipsel-unknown-linux-uclibc-gcc: libgcc.a: No such file or directory
make[1]: *** [lib/ld-uClibc.so] Error 1
make[1]: Leaving directory
`/home/soumya/buildroot/output/toolchain/uClibc-0.9.31'
make: *** [/home/soumya/buildroot/output/toolchain/uClibc-0.9.31/lib/libc.a]
Error 2
Please anybody can help me out to resolve it if I am doing
anything wrong..
Best Regards,
Soumya
--
View this message in context: http://old.nabble.com/Kernel-not-booting-in-QEMU_SYSTEM_MIPS-tp28591517p28591517.html
Sent from the linux-mips main mailing list archive at Nabble.com.
next reply other threads:[~2010-05-18 4:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 4:42 soumyasr [this message]
2010-05-18 5:50 ` Kernel not booting in QEMU_SYSTEM_MIPS adnan iqbal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28591517.post@talk.nabble.com \
--to=soumya.r@kpitcummins.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox