Running arm:versatile_defconfig with qemu in linux-next
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
Quoted 9 lines · Guenter Roeck
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?
Quoted 2 lines
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?
Quoted 5 lines
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_defconfigin 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
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · Guenter Roeck
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.
Quoted 4 lines
Quoted 2 lines
arm:versatileab:versatile_defconfig
arm:versatilepb:versatile_defconfigJust 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).
Quoted 4 lines
Quoted 2 lines
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.
Quoted 8 lines
Quoted 5 lines
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_defconfigin 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
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · Guenter Roeck
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.
Quoted 4 lines
Quoted 2 lines
arm:versatileab:versatile_defconfig
arm:versatilepb:versatile_defconfigJust 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.
Quoted 4 lines
Quoted 2 lines
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.
Quoted 8 lines
Quoted 5 lines
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_defconfigin 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
Quoted 2 lines · Guenter Roeck
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