Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1297745 > unrolled thread

Running arm:versatile_defconfig with qemu in linux-next

Started byGuenter Roeck <private@roeck-us.net>
First post2015-12-24 05:40 +0100
Last post2015-12-25 00:10 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.kernel


Contents

  Running arm:versatile_defconfig with qemu in linux-next Guenter Roeck <private@roeck-us.net> - 2015-12-24 05:40 +0100
    Re: Running arm:versatile_defconfig with qemu in linux-next Arnd Bergmann <arnd@arndb.de> - 2015-12-24 11:10 +0100
      Re: Running arm:versatile_defconfig with qemu in linux-next Guenter Roeck <private@roeck-us.net> - 2015-12-24 16:40 +0100
      Re: Running arm:versatile_defconfig with qemu in linux-next Guenter Roeck <private@roeck-us.net> - 2015-12-24 21:00 +0100
        Re: Running arm:versatile_defconfig with qemu in linux-next Peter Maydell <peter.maydell@linaro.org> - 2015-12-25 00:10 +0100

#1297745 — Running arm:versatile_defconfig with qemu in linux-next

FromGuenter Roeck <private@roeck-us.net>
Date2015-12-24 05:40 +0100
SubjectRunning arm:versatile_defconfig with qemu in linux-next
Message-ID<qJ5QZ-27f-3@gated-at.bofh.it>
Hi all,

various versatile and realview configurations fail to run for me with
qemu (2.5) in linux-next. Some of those are qemu configurations
I collected from various sources, so I guess I am on my own there.
However, the following standard configurations no longer work.

arm:versatileab:versatile_defconfig
arm:versatilepb:versatile_defconfig

I can no longer get realview-eb-mpcore and realview-eb to work either,
but, again, that is with a qemu specific configuration.

I tried to bisect, but there have been too many related changes in the code
for it to succeed; some of the bisect attempts don't even compile, others fail
due to different problems. Is it known if versatile_defconfig in linux-next runs
on a real system ? If so, any idea what it might take to get it to work again
with qemu ?

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1297800

FromArnd Bergmann <arnd@arndb.de>
Date2015-12-24 11:10 +0100
Message-ID<qJb0l-5q6-1@gated-at.bofh.it>
In reply to#1297745
On Thursday 24 December 2015, Guenter Roeck wrote:
> Hi all,
> 
> various versatile and realview configurations fail to run for me with
> qemu (2.5) in linux-next. Some of those are qemu configurations
> I collected from various sources, so I guess I am on my own there.
> However, the following standard configurations no longer work.
> 
> arm:versatileab:versatile_defconfig
> arm:versatilepb:versatile_defconfig

Just to be sure to rule out the obvious: are you using the dtb files from
the kernel, or do you have your own?

> I can no longer get realview-eb-mpcore and realview-eb to work either,
> but, again, that is with a qemu specific configuration.

These are still based on board files, right? Do the normal defconfigs
work?

> I tried to bisect, but there have been too many related changes in the code
> for it to succeed; some of the bisect attempts don't even compile, others fail
> due to different problems. Is it known if versatile_defconfig in linux-next runs
> on a real system ? If so, any idea what it might take to get it to work again
> with qemu ?

Please start with the next/multiplatform branch in arm-soc, which has the
conversion to devicetree. Let's first see if that works by itself. I would
hope that all commits on that branch build, but something may have gone wrong.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1297900

FromGuenter Roeck <private@roeck-us.net>
Date2015-12-24 16:40 +0100
Message-ID<qJg9I-8uN-9@gated-at.bofh.it>
In reply to#1297800
Hi Arnd,

On 12/24/2015 01:58 AM, Arnd Bergmann wrote:
> On Thursday 24 December 2015, Guenter Roeck wrote:
>> Hi all,
>>
>> various versatile and realview configurations fail to run for me with
>> qemu (2.5) in linux-next. Some of those are qemu configurations
>> I collected from various sources, so I guess I am on my own there.
>> However, the following standard configurations no longer work.
>>
>> arm:versatileab:versatile_defconfig
>> arm:versatilepb:versatile_defconfig
> Just to be sure to rule out the obvious: are you using the dtb files from
> the kernel, or do you have your own?
I don't use any dtb files for the failing configurations. That wasn't
needed (and didn't work when I first set up my test system).

>> I can no longer get realview-eb-mpcore and realview-eb to work either,
>> but, again, that is with a qemu specific configuration.
> These are still based on board files, right? Do the normal defconfigs
> work?
I'll try to find working "normal" defconfigs. When I set up my test
system, I could not get any to work for realview-eb with qemu.

>> I tried to bisect, but there have been too many related changes in the code
>> for it to succeed; some of the bisect attempts don't even compile, others fail
>> due to different problems. Is it known if versatile_defconfig in linux-next runs
>> on a real system ? If so, any idea what it might take to get it to work again
>> with qemu ?
> Please start with the next/multiplatform branch in arm-soc, which has the
> conversion to devicetree. Let's first see if that works by itself. I would
> hope that all commits on that branch build, but something may have gone wrong.
Maybe I'll just need to start using devicetree files. I'll try that.

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298036

FromGuenter Roeck <private@roeck-us.net>
Date2015-12-24 21:00 +0100
Message-ID<qJkdj-2pv-1@gated-at.bofh.it>
In reply to#1297800
Hi Arnd,

On 12/24/2015 01:58 AM, Arnd Bergmann wrote:
> On Thursday 24 December 2015, Guenter Roeck wrote:
>> Hi all,
>>
>> various versatile and realview configurations fail to run for me with
>> qemu (2.5) in linux-next. Some of those are qemu configurations
>> I collected from various sources, so I guess I am on my own there.
>> However, the following standard configurations no longer work.
>>
>> arm:versatileab:versatile_defconfig
>> arm:versatilepb:versatile_defconfig
> Just to be sure to rule out the obvious: are you using the dtb files from
> the kernel, or do you have your own?
I managed to get versatile_defconfig to work using the available dtb files
from the kernel, so this part is solved.

>> I can no longer get realview-eb-mpcore and realview-eb to work either,
>> but, again, that is with a qemu specific configuration.
> These are still based on board files, right? Do the normal defconfigs
> work?

I got the following combinations to work.

Configuration                    QEMU machine            QEMU CPU
realview-smp_defconfig    realview-eb-mpcore    default (arm11mpcore)
realview_defconfig            realview-eb                  cortex-a8 (default arm926 fails)
realview-defconfig            realview-pbx-a9           default (cortex-a9)

I can not get the available dtb files for realview (arm-realview-pb1176.dtb
and arm-realview-pb11mp.dtb) to work with anything I tried.
If you know a working configuration and qemu command line,
please let me know.

I don't find a working default configuration and qemu command line for the
realview-pb-a8 machine. For pb-a8 to work, I (still) need to unconfigure
all other machines.

>> I tried to bisect, but there have been too many related changes in the code
>> for it to succeed; some of the bisect attempts don't even compile, others fail
>> due to different problems. Is it known if versatile_defconfig in linux-next runs
>> on a real system ? If so, any idea what it might take to get it to work again
>> with qemu ?
> Please start with the next/multiplatform branch in arm-soc, which has the
> conversion to devicetree. Let's first see if that works by itself. I would
> hope that all commits on that branch build, but something may have gone wrong.
I think the mystery is resolved with the above results. My old configuration
for realview-pb-a8 no longer works because of configuration file changes,
and versatile now requires devicetree files.

Thanks a lot for the hint!

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298064

FromPeter Maydell <peter.maydell@linaro.org>
Date2015-12-25 00:10 +0100
Message-ID<qJnbb-4pb-5@gated-at.bofh.it>
In reply to#1298036
On 24 December 2015 at 19:51, Guenter Roeck <private@roeck-us.net> wrote:
> I can not get the available dtb files for realview (arm-realview-pb1176.dtb
> and arm-realview-pb11mp.dtb) to work with anything I tried.

This is because QEMU does not model either of these two boards.

thanks
-- PMM
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web