Received: from eggs.gnu.org ([2001:4830:134:3::10]:54212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3ZO2-0004oJ-M9 for qemu-devel@nongnu.org; Sun, 28 Jul 2013 18:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3ZNx-00021f-Fh for qemu-devel@nongnu.org; Sun, 28 Jul 2013 18:24:22 -0400 Received: from hall.aurel32.net ([2001:470:1f0b:4a8::1]:55254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3ZNx-00021V-8M for qemu-devel@nongnu.org; Sun, 28 Jul 2013 18:24:17 -0400 Date: Mon, 29 Jul 2013 00:24:15 +0200 From: Aurelien Jarno Message-ID: <20130728222415.GE10155@hall.aurel32.net> References: <1371195048-19618-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1371195048-19618-1-git-send-email-leon.alrae@imgtec.com> Sender: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leon Alrae Cc: yongbok.kim@imgtec.com, cristian.cuna@imgtec.com, qemu-devel@nongnu.org, paul.burton@imgtec.com On Fri, Jun 14, 2013 at 08:30:42AM +0100, Leon Alrae wrote: > From: Paul Burton > > 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 aurelien@aurel32.net http://www.aurel32.net