armvirt: new target
An ARM Cortex-A15 machine provided by QEMU.
Kernel drivers enabled:
- pl011, uart
- pl031, rtc
- pl061, gpio
- pci-host-generic
- virtio_{mmio,pci,net,blk,scsi,9p,console,balloon}
- smp with NR_CPUS=4
- cpu-hotplug
- ext4
- neon, vfp extensions support (otherwise userland will fail with
illegal instruction signal (code 0x00000004))
- DEBUG_BUGVERBOSE for debug purposes
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-08 15:21:30 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 Yousong Zhou <yszhou4tech@gmail.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=arm
|
|
|
|
BOARD:=armvirt
|
|
|
|
BOARDNAME:=QEMU ARM Virtual Machine
|
2017-01-13 08:15:03 +00:00
|
|
|
FEATURES:=fpu pci rtc usb
|
armvirt: new target
An ARM Cortex-A15 machine provided by QEMU.
Kernel drivers enabled:
- pl011, uart
- pl031, rtc
- pl061, gpio
- pci-host-generic
- virtio_{mmio,pci,net,blk,scsi,9p,console,balloon}
- smp with NR_CPUS=4
- cpu-hotplug
- ext4
- neon, vfp extensions support (otherwise userland will fail with
illegal instruction signal (code 0x00000004))
- DEBUG_BUGVERBOSE for debug purposes
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-08 15:21:30 +00:00
|
|
|
FEATURES+=cpiogz ext4 ramdisk squashfs targz
|
|
|
|
CPU_TYPE:=cortex-a15
|
|
|
|
CPU_SUBTYPE:=neon-vfpv4
|
|
|
|
MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
|
|
|
|
|
|
|
KERNEL_PATCHVER:=4.4
|
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build images for QEMU ARM Virtual Machine
|
|
|
|
endef
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
|
|
|
KERNELNAME:=zImage
|
|
|
|
|
|
|
|
$(eval $(call BuildTarget))
|