Hi, Myself and my colleagues have worked hard and produced a new system emulation for qemu for the Simtec BAST board.
The BAST is a Samsung 2410 based board (ARM 9 based SoC, with MMU) with various peripherals including a Davicom DM9000 Ethernet port. The emulation is complete enough to start Simtec's ABLE boot loader (downloadable from www.simtec.co.uk) and also is capable of being direct-booted with a linux kernel/initrd combination as per the versatile etc. Among other things, the patch needs to add support for OHCI USB systems not on PCI, ARM systems where SDRAM isn't at 0 (phys) and MMIO based IDE. Naturally this has all been done as generically as made sense at the time. There is one generic fix in the patch which hardly seemed worth breaking out on its own. It corrects a bug where QEMU would ignore WIN_DIAGNOSE's behaviour for normal drives. It assumed HDDs behaved as CDROMs under WIN_DIAGNOSE which is not the case. Unfortunately I was unable to sensibly separate the patch up because of the difficulties which stem from qemu's current source layout. E.g. it was hard to split out the MMIO IDE from the rest of the IDE without dramatically changing the exported symbol lists. Hopefully you'll be happy with the whole patch. In particular I've tried to isolate the s3c2410x stuff away from the BAST stuff, so that in future other 2410x based systems such as the H1940 PDA or the FIC NEO 1973 (openmoko?) can be implemented with minimal fuss. We have a partially complete s3c2410x NAND driver, a partial LCD driver and various other bits which we will submit as and when we have them done. Some of the peripherals don't correctly save/restore their state as of yet, but as the patch was getting larger and larger I felt it safer to offer this now and to produce those as fix patches once the bulk of the code was in place. I trust that the work is of a sufficiently high standard to be included in the mainline codebase and I'd be happy to either continue to sub patches through the list, or if you are happy with our work, I'd love to have CVS commit access for this stuff going forward. Regards, Daniel Silverstone. -- Daniel Silverstone http://www.simtec.co.uk/ PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895
simtec-bast.diff.gz
Description: Simtec BAST implementation for QEMU