Francois,

There aren't any ARM device models in the repository currently, so if you do 
configure a full system ARM assuming you're code does accesses no I/O devices 
(unlikely) and simply starts executing at the reset vector (0x0), it will 
probably work. If you want to do this you can look at the other architectures 
for examples for the changes required to FSConfig.py and pass your binary as 
the kernel parameter to the fs script.  However, if it touches any devices, 
that won't work for you. I have many changes outstanding to implement better 
full-system support, however they're simply not done yet. 

Ali


On Jul 30, 2010, at 4:26 AM, françois-xavier morel wrote:

> Hi all,
> 
> On the wiki, it says that bare-metal support is working on ARM but I can't 
> find how to make it work. 
> 
> Plus I'm wondering if finally M5Sim would provide me what I need, 
> independently of the architecture I choose :
> 
> I want to simulate an embedded system without a true OS (and without "disk" 
> for that matters) but just one stand-alone executable.
> 
> Will it be possible to load an elf binary in RAM (in the config file, like 
> passing the elf (or an ObjectFile) as parameter of the PhysicalMemory) so 
> that the simulation would follow these steps :
> 
> -begin the simulation
> -CPU fetches it's reset address (e.g 0x00000000 or 0x00080000) where it finds 
> the vector table set by the elf file
> -continue the execution of the elf-binary
> 
> Thank you.
> 
> BR,
> François-Xavier
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to