From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzijr-00049t-Nm for qemu-devel@nongnu.org; Thu, 18 Jul 2013 03:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uzijh-0008Ue-HI for qemu-devel@nongnu.org; Thu, 18 Jul 2013 03:34:59 -0400 Received: from multi.imgtec.com ([194.200.65.239]:6073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzijh-0008KC-Ak for qemu-devel@nongnu.org; Thu, 18 Jul 2013 03:34:49 -0400 Message-ID: <51E79A7D.7000407@imgtec.com> Date: Thu, 18 Jul 2013 08:34:21 +0100 From: Leon Alrae MIME-Version: 1.0 References: <1371195048-19618-1-git-send-email-leon.alrae@imgtec.com> <51CD8DBA.10408@imgtec.com> In-Reply-To: <51CD8DBA.10408@imgtec.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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, paul.burton@imgtec.com, cristian.cuna@imgtec.com, qemu-devel@nongnu.org, aurelien@aurel32.net ping On 28/06/13 14:20, Leon Alrae wrote: > ping > > http://patchwork.ozlabs.org/patch/251250/ > http://patchwork.ozlabs.org/patch/251254/ > http://patchwork.ozlabs.org/patch/251253/ > http://patchwork.ozlabs.org/patch/251251/ > http://patchwork.ozlabs.org/patch/251252/ > http://patchwork.ozlabs.org/patch/251249/ > > On 14/06/13 08:30, 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(-) >> >