[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Qemu ARM64 command line parameters

From: Hrishikesh Murukkathampoondi
Subject: [Qemu-discuss] Qemu ARM64 command line parameters
Date: Sun, 5 Feb 2017 19:57:20 +0530


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 

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,

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]