From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Tony Lindgren <tony@atomide.com>,
linux-omap@vger.kernel.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Running linux on qemu omap
Date: Tue, 4 Jun 2019 11:44:13 +0200 [thread overview]
Message-ID: <20190604094413.GB15484@Red> (raw)
In-Reply-To: <20190521232323.GD3621@darkstar.musicnaut.iki.fi>
On Wed, May 22, 2019 at 02:23:23AM +0300, Aaro Koskinen wrote:
> Hi,
>
> On Mon, May 20, 2019 at 09:05:33PM +0200, Corentin Labbe wrote:
> > Hello
> >
> > I am working on adding a maximum set of qemu machine on kernelCI.
>
> That's cool.
>
> > For OMAP, five machine exists and I fail to boot any of them.
>
> Which machines?
>
> > The maximum I can get with omap1_defconfig is
> > qemu-system-arm -kernel zImage -nographic -machine cheetah -append 'root=/dev/ram0 console=ttyO0'
> > Uncompressing Linux... done, booting the kernel.
> > then nothing more.
>
> It's known that omap1_defconfig doesn't work well for QEMU or
> "multi-board" usage. Perhaps the kernel size is now just too big?
> I'm using a custom config for every OMAP1 board anyway...
>
> > Does someone have a working config+version to share ?
>
> I have used the below config for OMAP1 SX1 board (the only one I got
> working with QEMU). Unfortunately the functionality is quite limited,
> but it still allows to run e.g. GCC bootstrap & testsuite, that is rare
> nowadays for armv4t.
>
> I'm using the following command line with qemu-system-arm 3.1.0:
>
> -M sx1 \
> -kernel "sx1-zImage" \
> -nographic \
> -drive file="sx1-mmc",if=sd,format=raw \
> -no-reboot
>
> This should work with v5.1 kernel.
>
> I'm also interested to run other OMAP kernels under QEMU, e.g. cheetah
> (the real device, Palm TE works OK with the current mainline), and it
> would be interesting to know why QEMU/kernel has regressed...
>
Thanks, with your config as starting point, I was able to boot both sx1 and cheetah
So I now use the omap1_defconfig and the only trick is to disable CONFIG_CPU_DCACHE_WRITETHROUGH.
I need also to disable CONFIG_FB for cheetah to works.
Regards
prev parent reply other threads:[~2019-06-04 9:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-20 19:05 [Qemu-devel] Running linux on qemu omap Corentin Labbe
2019-05-21 23:23 ` Aaro Koskinen
2019-05-22 9:33 ` Corentin Labbe
2019-05-22 18:19 ` Aaro Koskinen
2019-05-23 11:27 ` Thomas Huth
2019-05-23 12:00 ` Philippe Mathieu-Daudé
2019-05-23 18:36 ` Aaro Koskinen
2019-05-24 9:08 ` Peter Maydell
2019-05-24 15:00 ` Aaro Koskinen
2019-05-24 18:59 ` Aaro Koskinen
2019-05-27 6:30 ` Thomas Huth
2019-05-27 6:32 ` Tony Lindgren
2019-05-27 15:56 ` Guenter Roeck
2019-05-27 16:03 ` Philippe Mathieu-Daudé
2019-05-27 18:58 ` Peter Maydell
2019-06-04 9:44 ` Corentin Labbe [this message]
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=20190604094413.GB15484@Red \
--to=clabbe.montjoie@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=linux-omap@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).