Re: 'virtual HW' into kernel (SystemC)

From: Jeff Garzik
Date: Wed Sep 07 2005 - 07:07:46 EST


Eric Piel wrote:
09/07/2005 01:40 PM, Jeff Garzik wrote/a Ãcrit:
No need for a set of tools. As long as your SystemC simulator simulates an entire platform -- CPU, DRAM, etc. -- then you can boot Linux on the simulated platform.

If you can boot Linux on the simulated platform, then you can easily develop a Linux driver long before real HW is available.


No, this approach is not feasible because it would be require to describe the entire computer in SystemC:

Correct.


it's extremly complex to do

Not if you can reuse pre-existing parts from http://www.opencores.org/ and similar places.


the simulation will be very slow.

Depends on your simulator ;-)


From what I understand MÃrius tries to only simulate one component (like a PCI card). As suggested Muli, a plugin to something like quemu sounds like a good idea?

A plugin to qemu or Bochs should work, in theory. In practice, neither are great for PCI MMIO or PCI DMA.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/