Hello

I am trying to use qemu-system-arm64 as an emulator to try out ARM assembly - 
things like writing code to set up the translation tables etc. For this I was 
looking for the memory map of the ARM virt machine. Peter Maydell, in an 
off-list thread, mentioned the following for the virt machine :

* a flash device at 0x0
* RAM starting at 0x40000000

The DTB can be dumped using a command line like this:

$ qemu-system-aarch64 -machine type=virt -machine dumpdtb=virt.dtb -cpu 
cortex-a57 

He mentioned that all other values like -machine gic-version= <something> etc

I dont know what values can be provided for gic-version. Are the possible 
values documented somewhere?

I am unsure what else I should specify besides GIC. Are all -machine options 
documented somewhere ? 

What is the first memory address fetched by the processor in the virt machine? 
(ie where should I place the first instruction of my bare metal code)

Thank you,
Hrishi

PS: Please cc me on reply, I am not subscribed to the list

Reply via email to