Skip to contentSkip to conversation

Booting u-boot for versatile in qemu fails

U-Boot Thierry Bultel 2 participants 4 messages May 16, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to use u-boot configured for uboot_versatileqemu in qemu-system-arm.

I only get a black screen a no serial output at all. I have tested several versions, and taken latest u-boot from
git://git.denx.de

I have also upgraded qemu to 1.5.0-rc2

My command line is as follows:

qemu-system-arm -M versatilepb -m 128M -kernel u-boot.bin -serial stdio

I have configured u-boot like that:
make CROSS_COMPILE=arm-linux-gnueabihf- versatileqemu_config

My compiler is:
#arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022
- Linaro GCC 2012.10) 4.7.3 20121001 (prerelease)

I also tried the ca9x4_ct_vxp, because I often use vexpress kernels in qemu for vexpress-a9, but no better success

Is there a configuration that is known to work ?

Best regards
Thierry

#1 lore raw

Hi Thierry,

Quoted 24 lines · Thierry Bultel

Hi,

I am trying to use u-boot configured for uboot_versatileqemu in qemu-system-arm.

I only get a black screen a no serial output at all. I have tested several versions, and taken latest u-boot from
git://git.denx.de

I have also upgraded qemu to 1.5.0-rc2

My command line is as follows:

qemu-system-arm -M versatilepb -m 128M -kernel u-boot.bin -serial stdio

I have configured u-boot like that:
make CROSS_COMPILE=arm-linux-gnueabihf- versatileqemu_config

My compiler is:
#arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022
- Linaro GCC 2012.10) 4.7.3 20121001 (prerelease)

Quoted 4 lines

I also tried the ca9x4_ct_vxp, because I often use vexpress kernels in qemu for vexpress-a9, but no better success

Is there a configuration that is known to work ?

At least I know that versatileqemu on current u-boot-arm/master with wemu-system-arm v1.2.0 works, with command line

qemu-system-arm -M versatilepb -m 128M -serial stdio -kernel u-boot -display none

And I just tested without '-display none', and still get the serial prompt and U-Boot commands working.

Quoted 2 lines

Best regards
Thierry

Amicalement,

Signature · 1 line
Albert.
#2 lore raw

Le 16/05/2013 16:25, Albert ARIBAUD a ?crit :

Quoted 33 lines

Hi Thierry,

Quoted 24 lines · Thierry Bultel

Hi,

I am trying to use u-boot configured for uboot_versatileqemu in qemu-system-arm.

I only get a black screen a no serial output at all. I have tested several versions, and taken latest u-boot from
git://git.denx.de

I have also upgraded qemu to 1.5.0-rc2

My command line is as follows:

qemu-system-arm -M versatilepb -m 128M -kernel u-boot.bin -serial stdio

I have configured u-boot like that:
make CROSS_COMPILE=arm-linux-gnueabihf- versatileqemu_config

My compiler is:
#arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022
- Linaro GCC 2012.10) 4.7.3 20121001 (prerelease)

Quoted 4 lines

I also tried the ca9x4_ct_vxp, because I often use vexpress kernels in qemu for vexpress-a9, but no better success

Is there a configuration that is known to work ?

Quoted 8 lines

At least I know that versatileqemu on current u-boot-arm/master with wemu-system-arm v1.2.0 works, with command line

qemu-system-arm -M versatilepb -m 128M -serial stdio -kernel u-boot -display none

And I just tested without '-display none', and still get the serial prompt and U-Boot commands working.

Thanks;

I have taken u-boot-arm/master, and there is still no output neither with the latest qemu, nor with 1.2.2
It could be thus be related to compiler I use.
Would you mind testing my uboot image on your configuration ?

regards
Thierry

Quoted 3 lines
Quoted 2 lines

Best regards
Thierry

Amicalement,

#3 lore raw

Hi Thierry,

Quoted 40 lines · Thierry Bultel

Le 16/05/2013 16:25, Albert ARIBAUD a ?crit :

Quoted 39 lines

Hi Thierry,

Quoted 24 lines · Thierry Bultel

Hi,

I am trying to use u-boot configured for uboot_versatileqemu in qemu-system-arm.

I only get a black screen a no serial output at all. I have tested several versions, and taken latest u-boot from
git://git.denx.de

I have also upgraded qemu to 1.5.0-rc2

My command line is as follows:

qemu-system-arm -M versatilepb -m 128M -kernel u-boot.bin -serial stdio

I have configured u-boot like that:
make CROSS_COMPILE=arm-linux-gnueabihf- versatileqemu_config

My compiler is:
#arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022
- Linaro GCC 2012.10) 4.7.3 20121001 (prerelease)

Quoted 4 lines

I also tried the ca9x4_ct_vxp, because I often use vexpress kernels in qemu for vexpress-a9, but no better success

Is there a configuration that is known to work ?

At least I know that versatileqemu on current u-boot-arm/master with wemu-system-arm v1.2.0 works, with command line

qemu-system-arm -M versatilepb -m 128M -serial stdio -kernel u-boot -display none

Quoted 8 lines
Quoted 2 lines

And I just tested without '-display none', and still get the serial prompt and U-Boot commands working.

Thanks;

I have taken u-boot-arm/master, and there is still no output neither with the latest qemu, nor with 1.2.2
It could be thus be related to compiler I use.

Which compiler are you using?

Quoted 1 line

Would you mind testing my uboot image on your configuration ?

No problem.

Quoted 8 lines

regards
Thierry

Quoted 3 lines
Quoted 2 lines

Best regards
Thierry

Amicalement,

Amicalement,

Signature · 1 line
Albert.