public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu
@ 2014-06-09  6:57 Matwey V. Kornilov
  2014-06-09 17:30 ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2014-06-09  6:57 UTC (permalink / raw)
  To: u-boot

Hi,

I've build u-boot 2014.04 using

make vexpress_ca9x4_config

Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7 
gives same result) as the following:

qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -kernel u-boot.bin 
-serial stdio

I want to see u-boot banner and console, but nothing happens, qemu are 
using 100% CPU. How can I dig out what the problem is?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu
  2014-06-09  6:57 [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu Matwey V. Kornilov
@ 2014-06-09 17:30 ` Matwey V. Kornilov
  2014-06-09 17:52   ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2014-06-09 17:30 UTC (permalink / raw)
  To: u-boot

09.06.2014 10:57, Matwey V. Kornilov ?????:
> Hi,
> 
> I've build u-boot 2014.04 using
> 
> make vexpress_ca9x4_config
> 
> Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7
> gives same result) as the following:
> 
> qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -kernel u-boot.bin
> -serial stdio
> 
> I want to see u-boot banner and console, but nothing happens, qemu are
> using 100% CPU. How can I dig out what the problem is?

So, I've took gdb and found the following:
http://paste.opensuse.org/29548916

If I understand correctly, something is wrong with linking. It is quite
unlikely that get_device_and_partition is the first function to execute.

Any hints?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu
  2014-06-09 17:30 ` Matwey V. Kornilov
@ 2014-06-09 17:52   ` Matwey V. Kornilov
  2014-06-10 16:09     ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2014-06-09 17:52 UTC (permalink / raw)
  To: u-boot

09.06.2014 21:30, Matwey V. Kornilov ?????:
> 09.06.2014 10:57, Matwey V. Kornilov ?????:
>> Hi,
>>
>> I've build u-boot 2014.04 using
>>
>> make vexpress_ca9x4_config
>>
>> Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7
>> gives same result) as the following:
>>
>> qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -kernel u-boot.bin
>> -serial stdio
>>
>> I want to see u-boot banner and console, but nothing happens, qemu are
>> using 100% CPU. How can I dig out what the problem is?
> 
> So, I've took gdb and found the following:
> http://paste.opensuse.org/29548916
> 
> If I understand correctly, something is wrong with linking. It is quite
> unlikely that get_device_and_partition is the first function to execute.
> 
> Any hints?

It actually jumps to 0x60010000 where the middle of
get_device_and_partition located.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu
  2014-06-09 17:52   ` Matwey V. Kornilov
@ 2014-06-10 16:09     ` Matwey V. Kornilov
  0 siblings, 0 replies; 4+ messages in thread
From: Matwey V. Kornilov @ 2014-06-10 16:09 UTC (permalink / raw)
  To: u-boot

09.06.2014 21:52, Matwey V. Kornilov ?????:
> 
> It actually jumps to 0x60010000 where the middle of
> get_device_and_partition located.
> 

I've found that it works with qemu 1.7 but I have to provide u-boot in
ELF format, bare-metal u-boot.bin don't work.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-10 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09  6:57 [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu Matwey V. Kornilov
2014-06-09 17:30 ` Matwey V. Kornilov
2014-06-09 17:52   ` Matwey V. Kornilov
2014-06-10 16:09     ` Matwey V. Kornilov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox