aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-bsp/conf/machine
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2017-04-11 21:13:31 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2017-04-11 22:14:54 +0900
commitf20216f5d856d7d2aa86f2132fbd9f76bc49fc01 (patch)
treeb63df354cdb14feb471667ac87517dcaf919faf4 /meta-ivi-bsp/conf/machine
parent68efb098f98879a20f894ea29ba4d036ba96eed7 (diff)
downloadmeta-ivi-f20216f5d856d7d2aa86f2132fbd9f76bc49fc01.tar.gz
meta-ivi-f20216f5d856d7d2aa86f2132fbd9f76bc49fc01.tar.bz2
meta-ivi-f20216f5d856d7d2aa86f2132fbd9f76bc49fc01.zip
vexpressa9: update to work with poky 2.2
- update machine configuration - change kernel config file - set dtb file for kernel Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-bsp/conf/machine')
-rw-r--r--meta-ivi-bsp/conf/machine/vexpressa9.conf41
1 files changed, 15 insertions, 26 deletions
diff --git a/meta-ivi-bsp/conf/machine/vexpressa9.conf b/meta-ivi-bsp/conf/machine/vexpressa9.conf
index 2ecba16..06421b2 100644
--- a/meta-ivi-bsp/conf/machine/vexpressa9.conf
+++ b/meta-ivi-bsp/conf/machine/vexpressa9.conf
@@ -2,36 +2,25 @@
#@NAME: vexpress-a9 machine
#@DESCRIPTION: Machine configuration for the vexpress a9 board
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+IMAGE_FSTYPES += "tar.bz2"
-# Ship all kernel modules by default
-MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
-
-# Allow for MMC booting (required by the NAND-less)
-EXTRA_IMAGEDEPENDS += ""
-
-# Uncomment the following line to enable the hard floating point abi. Note that
-# this breaks some binary libraries and 3D (neither of which ship with
-# meta-yocto). For maximum compatibility, leave this disabled.
-#DEFAULTTUNE ?= "cortexa8hf-neon"
-include conf/machine/include/tune-cortexa9.inc
-
-IMAGE_CLASSES += "sdcard_image"
-
-IMAGE_FSTYPES += "tar.bz2 ext3 vexpressa9-sdimg"
-EXTRA_IMAGECMD_jffs2 = "-lnp "
-
-# 2.6.37 and later kernels use OMAP_SERIAL, ttyO2
-# earlier kernels use ttyS2
-SERIAL_CONSOLE = "115200 ttyO2"
+SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto ?= "4.1%"
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-cortexa9.inc
KERNEL_IMAGETYPE = "zImage"
-UBOOT_MACHINE = "ca9x4_ct_vxp_config"
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat alsa"
+## For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MEM = "-m 512"
+QB_MACHINE = "-machine vexpress-a9"
+QB_DTB="vexpress-v2p-ca9.dtb"
+QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty"
+QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-device,netdev=net0,mac=@MAC@"
+QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"