[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware
From: |
Leon Alrae |
Subject: |
[Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware |
Date: |
Fri, 14 Jun 2013 08:30:42 +0100 |
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(-)
--
1.7.5.4
- [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware,
Leon Alrae <=
- [Qemu-devel] [PATCH 1/6] mips_malta: fix BIOS endianness swapping, Leon Alrae, 2013/06/14
- [Qemu-devel] [PATCH 6/6] pflash_cfi01: duplicate status byte from bits 23:16 for 32bit reads, Leon Alrae, 2013/06/14
- [Qemu-devel] [PATCH 3/6] mips_malta: generate SPD EEPROM data at runtime, Leon Alrae, 2013/06/14
- [Qemu-devel] [PATCH 5/6] mips_malta: generate SMBUS EEPROM data, Leon Alrae, 2013/06/14
- [Qemu-devel] [PATCH 2/6] mips_malta: correct reading MIPS revision at 0x1fc00010, Leon Alrae, 2013/06/14
- [Qemu-devel] [PATCH 4/6] mips_malta: cap BIOS endian swap length at 0x3e0000 bytes, Leon Alrae, 2013/06/14
- Re: [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware, Leon Alrae, 2013/06/28