mips_malta: fixes to support YAMON firmware
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mips_malta: fix BIOS endianness swappinghw/ | +5 | 0 replies | |
| 2/6 | mips_malta: correct reading MIPS revision at 0x1fc00010hw/ | +17 | 1 reply | |
| 3/6 | mips_malta: generate SPD EEPROM data at runtimehw/ | +57 | 0 replies | |
| 4/6 | mips_malta: cap BIOS endian swap length at 0x3e0000 byteshw/ | +1 | 0 replies | |
| 5/6 | mips_malta: generate SMBUS EEPROM datahw/ | +87 | 0 replies | |
| 6/6 | pflash_cfi01: duplicate status byte from bits 23:16 for 32bit readshw/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/6] mips_malta: fixes to support YAMON firmware
From: Paul Burton <[email protected]>
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(-)
Signature · 1 line
1.7.5.4