diff options
Diffstat (limited to 'meta-ivi-bsp/conf/machine/vexpressa9.conf')
-rw-r--r-- | meta-ivi-bsp/conf/machine/vexpressa9.conf | 41 |
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" |