diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2016-07-01 10:27:24 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 14:59:25 +0200 |
commit | cddb4c7cea6b11002cc0396208a4c0bb38c96bc5 (patch) | |
tree | 8e1c50703216910a221d137d233c3a1b9e398b9e | |
parent | 9f2d1a9ed4aa858076cb4afaa3064dc2b6e8f3c2 (diff) | |
download | buildroot-cddb4c7cea6b11002cc0396208a4c0bb38c96bc5.tar.gz buildroot-cddb4c7cea6b11002cc0396208a4c0bb38c96bc5.zip |
configs/qemu_mips64r6_malta_defconfig: new configuration
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | board/qemu/mips64r6-malta/linux-4.6.config | 34 | ||||
-rw-r--r-- | board/qemu/mips64r6-malta/readme.txt | 7 | ||||
-rw-r--r-- | configs/qemu_mips64r6_malta_defconfig | 30 |
3 files changed, 71 insertions, 0 deletions
diff --git a/board/qemu/mips64r6-malta/linux-4.6.config b/board/qemu/mips64r6-malta/linux-4.6.config new file mode 100644 index 0000000000..0ebfdbdb05 --- /dev/null +++ b/board/qemu/mips64r6-malta/linux-4.6.config @@ -0,0 +1,34 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS64_R6=y +CONFIG_64BIT=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_MIPS32_COMPAT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_IDE=y +CONFIG_BLK_DEV_IDECD=y +CONFIG_IDE_GENERIC=y +CONFIG_BLK_DEV_GENERIC=y +CONFIG_BLK_DEV_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips64r6-malta/readme.txt b/board/qemu/mips64r6-malta/readme.txt new file mode 100644 index 0000000000..8f792a0ac1 --- /dev/null +++ b/board/qemu/mips64r6-malta/readme.txt @@ -0,0 +1,7 @@ +Run the emulation with: + + qemu-system-mips64 -M malta -cpu MIPS64R6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic + +The login prompt will appear in the terminal that started Qemu. + +Tested with QEMU 2.6.0 diff --git a/configs/qemu_mips64r6_malta_defconfig b/configs/qemu_mips64r6_malta_defconfig new file mode 100644 index 0000000000..2b150f011b --- /dev/null +++ b/configs/qemu_mips64r6_malta_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_mips64=y +BR2_mips_64r6=y +BR2_MIPS_NABI64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Linux headers same as kernel, a 4.6 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6-malta/linux-4.6.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Compiler +# linux >= 4.4 uses -mcompact-branches which is only available since gcc-6 +BR2_GCC_VERSION_6_X=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" |