* [Buildroot] [PATCH] qemu/arm-vexpress: add new sample config
@ 2012-05-07 14:06 Gustavo Zacarias
2012-05-07 20:52 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2012-05-07 14:06 UTC (permalink / raw)
To: buildroot
By popular demand!
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
board/qemu/arm-vexpress/readme.txt | 6 ++++++
configs/qemu_arm_vexpress_defconfig | 22 ++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)
create mode 100644 board/qemu/arm-vexpress/readme.txt
create mode 100644 configs/qemu_arm_vexpress_defconfig
diff --git a/board/qemu/arm-vexpress/readme.txt b/board/qemu/arm-vexpress/readme.txt
new file mode 100644
index 0000000..0d3631c
--- /dev/null
+++ b/board/qemu/arm-vexpress/readme.txt
@@ -0,0 +1,6 @@
+Run the emulation with:
+
+ qemu-system-arm -M vexpress-a9 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=sd -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
+
+The login prompt will appear in the terminal that started Qemu. The
+graphical window is the framebuffer.
diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig
new file mode 100644
index 0000000..7388279
--- /dev/null
+++ b/configs/qemu_arm_vexpress_defconfig
@@ -0,0 +1,22 @@
+# Architecture
+BR2_arm=y
+BR2_cortex_a9=y
+
+# system
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
+
+# filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Lock to 3.3 headers to avoid breaking with newer kernels
+BR2_KERNEL_HEADERS_3_3=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.4"
+BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
+BR2_LINUX_KERNEL_ZIMAGE=y
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qemu/arm-vexpress: add new sample config
2012-05-07 14:06 [Buildroot] [PATCH] qemu/arm-vexpress: add new sample config Gustavo Zacarias
@ 2012-05-07 20:52 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-05-07 20:52 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> By popular demand!
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-07 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 14:06 [Buildroot] [PATCH] qemu/arm-vexpress: add new sample config Gustavo Zacarias
2012-05-07 20:52 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox