From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] /dev/ttyS0 in filesystem created by Buildroot can't be opened in Qemu
Date: Mon, 9 Jul 2012 19:16:34 +0300 [thread overview]
Message-ID: <20120709161602.GG3783@tarshish> (raw)
In-Reply-To: <CAM1vXnZsLGimtxeVZ3k6n+K6k3OdV=VwWPVEuujAD0-ZT176Bg@mail.gmail.com>
Hi Mihajlo,
On Mon, Jul 09, 2012 at 04:40:52PM +0200, Mihajlo Jovanovi? wrote:
> Hi Baruch,
>
> Thanks for this hint. I have rebuilt everything with
> qemu_arm_vexpress_defconfig configuration file.
>
> I have noticed that it created ext2 filesystem, instead of cpio, as I was
> planning to do, to be as close to tutorial as possible.
>
> Nevertheless, I have launched Qemu like this:
>
> qemu-system-arm -M vexpress-a9 -kernel zImage -initrd rootfs.ext2 -serial
> stdio -append "console=ttyAMA0"
>
> Where zImage and rootfs.ext2 are kernel image and filesystem created by
> Buildroot, respectively.
>
> Now there are no complaints about missing /dev/ttyS0 any more, but kernel
> prints the message that it can not mount filesystem:
[...]
Quoting board/qemu/arm-vexpress/readme.txt:
Run the emulation with:
qemu-system-arm -M vexpress-a9 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=sd -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
The login prompt will appear in the terminal that started Qemu. The
graphical window is the framebuffer.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2012-07-09 16:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 8:31 [Buildroot] /dev/ttyS0 in filesystem created by Buildroot can't be opened in Qemu Mihajlo Jovanović
2012-07-09 8:41 ` Baruch Siach
2012-07-09 14:40 ` Mihajlo Jovanović
2012-07-09 16:16 ` Baruch Siach [this message]
2012-07-10 10:22 ` Mihajlo Jovanović
2012-07-10 10:29 ` Baruch Siach
2012-07-10 12:46 ` Thomas Petazzoni
2012-07-10 12:54 ` Baruch Siach
2012-07-10 15:13 ` Mihajlo Jovanović
2012-07-13 21:03 ` Thomas Petazzoni
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=20120709161602.GG3783@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.