configs/qemu: convert versatile to dt
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 7 Feb 2016 23:39:08 +0000 (20:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 8 Feb 2016 11:12:55 +0000 (12:12 +0100)
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>
board/qemu/arm-versatile/linux-4.4.config
board/qemu/arm-versatile/readme.txt
configs/qemu_arm_versatile_defconfig

index 9a1ae58c2d83dcd5009427a277b934b8589f90ad..99df3a6d4480f1ab0bc36e341dbc5b3017334af7 100644 (file)
@@ -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
index 4af2f4607dfc6d0b5c6160b231036750c79cc608..44d70d8beeb38d4826f7e8e0d5bdcfc717be2a29 100644 (file)
@@ -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.
index bb64cfe1398ed8219e483ba9f1088a36f9733380..d95c8038ab3c05d43ac62d2a4e712c08a4a6da9d 100644 (file)
@@ -20,3 +20,5 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-4.4.config"
 BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb"