[U-Boot] [mips] malta configuration works in qemu-1.5 does not in qemu-1.6

Gabor Juhos juhosg at openwrt.org
Mon Nov 11 15:05:58 CET 2013


2013.11.11. 12:14 keltezéssel, Paul Burton írta:

<...>

> Aha, thanks for tracking that down. I guess if flash commands need to work at
> 0x1fc00000 

I assume that it is working on a real Malta board, so it should be emulated
correctly if possible.

> then my QEMU patch fixed one bug but causes another... 

Correct, it was working in previous versions.

> I'll try to find the time to fix that in QEMU soon.

Thanks in advance!

BTW, I have just found another weird thing in qemu 1.6.x. Pressing Ctrl+C in
U-Boot terminates qemu:

> U-Boot 2013.10-00270-g4a45abb (Nov 11 2013 - 11:34:34)
> 
> Board: MIPS Malta CoreLV
> DRAM:  256 MiB
> Flash: 4 MiB
> *** Warning - bad CRC, using default environment
> 
> In:    serial
> Out:   serial
> Err:   serial
> Net:   pcnet#0
> Warning: pcnet#0 using MAC address from net device
> 
> malta # qemu: terminating on signal 2

With older versions of qemu it works correctly:

> U-Boot 2013.10-00270-g4a45abb (Nov 11 2013 - 11:34:34)
> 
> Board: MIPS Malta CoreLV
> DRAM:  256 MiB
> Flash: 4 MiB
> *** Warning - bad CRC, using default environment
> 
> In:    serial
> Out:   serial
> Err:   serial
> Net:   pcnet#0
> Warning: pcnet#0 using MAC address from net device
> 
> malta # <INTERRUPT>
> malta #

I did not have time to track it down yet.

-Gabor


More information about the U-Boot mailing list