[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180628041217.qxlspqzqfm4gszxd@toto>
Date: Thu, 28 Jun 2018 06:12:18 +0200
From: "Edgar E. Iglesias" <edgar.iglesias@...il.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Philippe Mathieu-Daudé <f4bug@...at.org>,
Sai Pavan Boddu <sai.pavan.boddu@...inx.com>,
"Edgar E. Iglesias" <edgar.iglesias@...inx.com>,
Michal Simek <monstr@...str.eu>, linux-kernel@...r.kernel.org,
qemu-devel@...gnu.org, Alistair Francis <alistair@...stair23.me>,
KONRAD Frederic <frederic.konrad@...core.com>
Subject: Re: [Qemu-devel] Linux kernel configurations for various Microblaze
systems
On Wed, Jun 27, 2018 at 05:34:15PM -0700, Guenter Roeck wrote:
> Hi Edgar,
>
> On 06/27/2018 03:47 PM, Edgar E. Iglesias wrote:
>
> >
> > Hi Guenter,
> >
> > Re: ml605
> > The thing to watch out for with kernel configs for microblaze systems is the
> > physmem address setting. Unfortunately the kernel does not auto-detect this.
> >
> > I'm attaching a kernelconfig for the ml605 that works for me and a qemu commandline.
> >
> > qemu-system-microblazeel -M petalogix-ml605 -m 256 -serial mon:stdio -dtb petalogix-ml605.dtb -kernel arch/microblaze/boot/linux.bin -append rdinit=/bin/sh
> >
>
> Can you also send me the dtb file or even better its source ? I don't think
> the one in qemu is correct. It lists the serial port at 0x83e00000, but qemu
> instantiates it at 0x83e01000.
I used the one from QEMU. IIRC, there's some offsetting going on there
that differs between the Xilinx version and the PC version of these
UARTs...
Can you try again and see how it goes?
If it doesn't work, I can share my kernel Image and we can compare from there.
Cheers,
Edgar
>
> > Re: pmu
> > The PMU board does not run Linux, it runs baremetal power-management related firmware.
> >
>
> Ah, good to know.
>
> Thanks!
> Guenter
>
Powered by blists - more mailing lists