qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware
Date: Mon, 29 Jul 2013 00:24:15 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jun 14, 2013 at 08:30:42AM +0100, Leon Alrae wrote:
> From: Paul Burton <address@hidden>
> 
> This patchset fixes some bugs with MIPS malta emulation allowing the YAMON
> firmware to run.
> 
> YAMON can be found at http://www.mips.com/products/system-software/yamon/
> 
> You can then boot to a YAMON prompt by passing the path to yamon-XX.bin to
> the -bios argument or by writing yamon-XX.bin to the start of a flash image
> passed to the -pflash argument. The YAMON 2.21 release & newer have been 
> tested
> to work.
> 
> There is still a bug preventing YAMON from initialising the ethernet 
> controller
> so an application or kernel cannot be loaded via TFTP. However the serial
> console functions and can examine or modify memory, modify the flash and
> environment variables, access disks etc.
> 
> As of YAMON 2.22 a YAMON bug prevents the environment from being initialized
> correctly by an "erase -e" command if you begin with a zeroed flash image. As
> a workaround you can fill empty areas of your flash image with 1s be 
> generating
> your flash image like so:
> 
>   dd if=/dev/zero bs=1M count=4 | tr '\0' '\377' >flash.bin
>   dd if=yamon-02.22.bin of=flash.bin conv=notrunc
> 
> Paul Burton (6):
>   mips_malta: fix BIOS endianness swapping
>   mips_malta: correct reading MIPS revision at 0x1fc00010
>   mips_malta: generate SPD EEPROM data at runtime
>   mips_malta: cap BIOS endian swap length at 0x3e0000 bytes
>   mips_malta: generate SMBUS EEPROM data
>   pflash_cfi01: duplicate status byte from bits 23:16 for 32bit reads
> 
>  hw/block/pflash_cfi01.c |    3 +
>  hw/mips/mips_malta.c    |  219 
> +++++++++++++++++++++++++++++++++++------------
>  2 files changed, 166 insertions(+), 56 deletions(-)
> 

Thanks, all applied.

Now that YAMON can be loaded in QEMU, it would be nice the distribute
the corresponding bios file with QEMU. This means YAMON should have a
license that allows at least the distribution. However there is no
license in the binary version, and the source version contains some
comments in some files that basically says the file should have never
been made public:

|  * Unpublished rights reserved under U.S. copyright law.
|  *
|  * PROPRIETARY/SECRET CONFIDENTIAL INFORMATION OF MIPS TECHNOLOGIES,
|  * INC. FOR INTERNAL USE ONLY.
|  *
|  * Under no circumstances (contract or otherwise) may this information be
|  * disclosed to, or copied, modified or used by anyone other than employees
|  * or contractors of MIPS Technologies having a need to know.

Could it be somehow clarified?

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]