[7/7] Add default configuration for the AArch64 Foundation V8 simulator

Message ID 1351442438-20639-8-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Headers show

Commit Message

Thomas Petazzoni Oct. 28, 2012, 4:40 p.m.
Note that this configuration doesn't build entirely: the user must
manually run "make busybox-menuconfig" and disable the "Mount NFS
filesystems" option, because the toolchain does not have RPC support.

This issue will be fixed once the support for toolchain without RPC
will be integrated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 board/arm/foundation-v8/readme.txt |   27 +++++++++++++++++++++++++++
 configs/arm_foundationv8_defconfig |   15 +++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 board/arm/foundation-v8/readme.txt
 create mode 100644 configs/arm_foundationv8_defconfig


diff --git a/board/arm/foundation-v8/readme.txt b/board/arm/foundation-v8/readme.txt
new file mode 100644
index 0000000..dcc5f14
--- /dev/null
+++ b/board/arm/foundation-v8/readme.txt
@@ -0,0 +1,27 @@ 
+This is the support for the ARM Foundation v8 machine emulated by the
+ARM software simulator of the AArch64 architecture.
+First, one has to download the AArch64 software simulator from:
+  https://silver.arm.com/download/download.tm?pv=1317469
+Then, use the arm_foundationv8_defconfig configuration to build your
+Buildroot system.
+Note that the Busybox build will fail due to the lack of rpc/rpc.h
+(the AArch64 toolchain does not have RPC support). Run 'make
+busybox-menuconfig', and in 'Linux System Utilities', disable the
+option 'Support mounting NFS file systems on Linux < 2.6.23' and
+restart the build. This problem will be fix in upcomins versions of
+Finally, boot your system with:
+    --image output/images/linux-system.axf \
+    --block-device output/images/rootfs.ext2 \
+    --network=nat
+You can network network access from within the simulated environment
+by requesting an IP address using DHCP (run the command 'udhcpc').
diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig
new file mode 100644
index 0000000..7a50b1a
--- /dev/null
+++ b/configs/arm_foundationv8_defconfig
@@ -0,0 +1,15 @@ 
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw"