Попробовал сегодня запустить сборку монитора загрузки YAMON.
Сделал это для платформы Malta MIPS.
Для запуска выполнил следующую команду:
qemu-system-mipsel -M malta -nographic -bios yamon-02.22.bin
Результаты выполнения команды info представлены далее.
Сделал это для платформы Malta MIPS.
Для запуска выполнил следующую команду:
qemu-system-mipsel -M malta -nographic -bios yamon-02.22.bin
Результаты выполнения команды info представлены далее.
YAMON ROM Monitor, Revision 02.22.
Copyright (c) 1999-2007 MIPS Technologies, Inc. - All Rights Reserved.
For a list of available commands, type 'help'.
Compilation time = May 24 2013 12:16:34 (pburton)
Board type/revision = 0x02 (Malta) / 0x00
Core board type/revision = 0x01 (CoreLV) / 0x00
System controller/revision = Galileo / GT_64120A-B-0
FPGA revision = 0x0000
MAC address = ff.ff.ff.ff.ff.ff
Board S/N = 0123456789
PCI bus frequency = 33.33 MHz
Processor Company ID/options = 0x01 (MIPS Technologies, Inc.) / 0x00
Processor ID/revision = 0x93 (MIPS 24Kf) / 0x00
Endianness = Little
CPU/Bus frequency = 200 MHz / 419 MHz
Coherency = None
Flash memory size = 4 MByte
SDRAM size = 128 MByte
First free SDRAM address = 0x800c32f0
Copyright (c) 1999-2007 MIPS Technologies, Inc. - All Rights Reserved.
For a list of available commands, type 'help'.
Compilation time = May 24 2013 12:16:34 (pburton)
Board type/revision = 0x02 (Malta) / 0x00
Core board type/revision = 0x01 (CoreLV) / 0x00
System controller/revision = Galileo / GT_64120A-B-0
FPGA revision = 0x0000
MAC address = ff.ff.ff.ff.ff.ff
Board S/N = 0123456789
PCI bus frequency = 33.33 MHz
Processor Company ID/options = 0x01 (MIPS Technologies, Inc.) / 0x00
Processor ID/revision = 0x93 (MIPS 24Kf) / 0x00
Endianness = Little
CPU/Bus frequency = 200 MHz / 419 MHz
Coherency = None
Flash memory size = 4 MByte
SDRAM size = 128 MByte
First free SDRAM address = 0x800c32f0
Обнаружил в YAMON команду cp0. Она выводит содержимое регистров Coprocessor 0. Эта интересная команда. Результат её выполнения далее.
BadVAddr = 0x00000000 CacheErr = 0x00000000
Cause = 0x40808000 Compare = 0x00000000
Config = 0x80000483 Config1 = 0x9e190c8f
Config2 = 0x80000000 Config3 = 0x00000000
Config7 = 0x00000000 Context = 0x00000000
Count = 0xe1497eb2 DDataLo = 0x00000000
Debug = 0x02008000 DEPC = 0x00000000
DESAVE = 0x00000000 DTagLo = 0x00000000
EBase = 0x80000000 EntryHi = 0x00000000
EntryLo0 = 0x00000000 EntryLo1 = 0x00000000
EPC = 0x80046458 ErrCtl = 0x00000000
ErrorEPC = 0x00000000 HWREna = 0x00000000
IDataHi = 0x00000000 IDataLo = 0x00000000
Index = 0x00000000 IntCtl = 0xe0000000
ITagLo = 0x00000000 L23DataHi = 0x00000000
L23DataLo = 0x00000000 L23TagLo = 0x00000000
PageMask = 0x00000000 PRId = 0x00019300
Random = 0x0000000d SRSCtl = 0x00000000
Status = 0x24002c01 WatchHi0 = 0x00000000
WatchLo0 = 0x00000000 Wired = 0x00000000
Cause = 0x40808000 Compare = 0x00000000
Config = 0x80000483 Config1 = 0x9e190c8f
Config2 = 0x80000000 Config3 = 0x00000000
Config7 = 0x00000000 Context = 0x00000000
Count = 0xe1497eb2 DDataLo = 0x00000000
Debug = 0x02008000 DEPC = 0x00000000
DESAVE = 0x00000000 DTagLo = 0x00000000
EBase = 0x80000000 EntryHi = 0x00000000
EntryLo0 = 0x00000000 EntryLo1 = 0x00000000
EPC = 0x80046458 ErrCtl = 0x00000000
ErrorEPC = 0x00000000 HWREna = 0x00000000
IDataHi = 0x00000000 IDataLo = 0x00000000
Index = 0x00000000 IntCtl = 0xe0000000
ITagLo = 0x00000000 L23DataHi = 0x00000000
L23DataLo = 0x00000000 L23TagLo = 0x00000000
PageMask = 0x00000000 PRId = 0x00019300
Random = 0x0000000d SRSCtl = 0x00000000
Status = 0x24002c01 WatchHi0 = 0x00000000
WatchLo0 = 0x00000000 Wired = 0x00000000
можете приложить\выложить данный файл
ОтветитьУдалитьyamon-02.22.bin
либо SRC, а то даже гугол молчит, ссылки все мертвые