MIPS: UART access w/o -kernel option
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Fabrice Bellard
I just commited a fix.
Quoted 2 lines
Quoted 2 lines
Qemu/MIPS does not initialize an ISA memory region when issued without -kernel option. (I've added some debug output).
Thank you! The new version runs 'mmon' as BIOS successfully. If someone has an intersest, it is possible to download this port there:
http://www.nwpi.ru/~alec/mips/mmon-qemu-0.5.tgz
This mmon has too weak functionality to be a complete BIOS so I will try to port a classic PMON or YAMON to the Qemu.
I'm thinking about adding a new MIPS platform to the Qemu:
http://www.linux-mips.org/wiki/Mips_Malta
The Malta is very popular reference platform for the MIPS development. There is a special Linux MIPS/Malta kernel. Montavista and many other companies are offering a MIPS Malta distributives with pre-compiled kernels. There is a NetBSD port to the Malta. VxWorks/Malta exists, e.t.c.
The Malta architecture is very similar to the current Qemu MIPS machine but the ISA addresses are different. Additionally, it has a PCI subsystem, so it should be possible to use existent Qemu PCI devices in the future. Malta has an standart PC ISA devices (inside the PIIX4 chip). The Qemu contains all necessary parts to introduce a new platform (except Galileo PCI).
Fabrice, is it difficult to add a new MIPS Malta platform to the MIPS Qemu ? Could you add at least a framework for this platform (CLI options, initial .c files) ? P.S.The MIPS BIOS/kernel donload code should be reusable for the any MIPS platforms.
--
-=AV=-
Quoted 16 lines · Alexander Voropay
I'm thinking about adding a new MIPS platform to the Qemu:
http://www.linux-mips.org/wiki/Mips_MaltaThe Malta is very popular reference platform for the MIPS development. There is a special Linux MIPS/Malta kernel. Montavista and many other companies are offering a MIPS Malta distributives with pre-compiled kernels. There is a NetBSD port to the Malta. VxWorks/Malta exists,
e.t.c.The Malta architecture is very similar to the current Qemu MIPS machine but the ISA addresses are different. Additionally, it has a PCI subsystem, so it should be possible to use existent Qemu PCI devices in the future. Malta has an standart PC ISA devices (inside the PIIX4 chip). The Qemu contains all necessary parts to introduce a new platform (except Galileo PCI).
Quoted 5 lines
Fabrice, is it difficult to add a new MIPS Malta platform to the MIPS Qemu ? Could you add at least a framework for this platform (CLI options, initial .c files) ? P.S.The MIPS BIOS/kernel donload code should be reusable for the any MIPS platforms.
Adding the Malta machine support would be very interesting. You can just copy the file mips_r4k.c to malta.c and modify it to add the missing parts.
Fabrice.