summaryrefslogtreecommitdiff
path: root/board/qemu
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-02-07 20:39:08 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-08 12:12:55 +0100
commit5825f1036a7dafcc69de3d84a57876ab0a1585cb (patch)
treef025312a34f9bbf91d5a6bf577c015e14d2554e5 /board/qemu
parenta10562c1a1473cc22c2a21641138bce52f4d275c (diff)
configs/qemu: convert versatile to dt
As a followup to http://patchwork.ozlabs.org/patch/548550/ fully convert the versatile defconfig to create the dtb and update the instructions. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/qemu')
-rw-r--r--board/qemu/arm-versatile/linux-4.4.config1
-rw-r--r--board/qemu/arm-versatile/readme.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/qemu/arm-versatile/linux-4.4.config b/board/qemu/arm-versatile/linux-4.4.config
index 9a1ae58c2..99df3a6d4 100644
--- a/board/qemu/arm-versatile/linux-4.4.config
+++ b/board/qemu/arm-versatile/linux-4.4.config
@@ -3,6 +3,7 @@ CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_ARCH_VERSATILE=y
CONFIG_MACH_VERSATILE_AB=y
+CONFIG_MACH_VERSATILE_DT=y
CONFIG_PCI=y
CONFIG_AEABI=y
CONFIG_USE_OF=y
diff --git a/board/qemu/arm-versatile/readme.txt b/board/qemu/arm-versatile/readme.txt
index 4af2f4607..44d70d8be 100644
--- a/board/qemu/arm-versatile/readme.txt
+++ b/board/qemu/arm-versatile/readme.txt
@@ -1,6 +1,6 @@
Run the emulation with:
- qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
+ qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
The login prompt will appear in the terminal that started Qemu. The
graphical window is the framebuffer.