From 24e9657f5bea1ae709b12844006f8b44d2d53bf7 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 4 Jun 2018 15:44:28 +0200 Subject: apalis-t30: mainline kernel machine This patch adds mainline linux based Apalis T30 machine. Just the bare minimum to run the Toradex Easy Installer. It does not yet include any compatible recipes for graphics. Signed-off-by: Marcel Ziswiler Acked-by: Stefan Agner --- conf/machine/apalis-t30-mainline.conf | 70 +++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 conf/machine/apalis-t30-mainline.conf (limited to 'conf') diff --git a/conf/machine/apalis-t30-mainline.conf b/conf/machine/apalis-t30-mainline.conf new file mode 100644 index 0000000..fd9f009 --- /dev/null +++ b/conf/machine/apalis-t30-mainline.conf @@ -0,0 +1,70 @@ +#@TYPE: Machine +#@NAME: Toradex Apalis T30 Mainline +#@SOC: Tegra T30 +#@DESCRIPTION: Mainline Machine configuration for Toradex Apalis T30 SOM +#@MAINTAINER: Marcel Ziswiler + +require conf/machine/include/soc-family.inc + +SOC_FAMILY = "tegram:tegra3m" + +PREFERRED_PROVIDER_virtual/kernel = "linux-toradex-mainline" + +KERNEL_IMAGETYPE = "uImage" +KERNEL_DEFCONFIG = "tegra_defconfig" +KERNEL_DEVICETREE += "tegra30-apalis-eval.dtb" +# The kernel lives in a seperate FAT or UBI partition, don't deploy it in /boot +RDEPENDS_kernel-base = "" + +PREFERRED_PROVIDER_u-boot = "u-boot-toradex" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex" +UBOOT_MACHINE = "apalis_t30_defconfig" +UBOOT_ENTRYPOINT = "0x82008000" +UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}" +# The payload offsets are given in number of 512 byte blocks. +OFFSET_BOOTROM_PAYLOAD = "0" + +TEZI_DISTRO_BOOT_SCRIPTS = "boot.scr" +TEZI_UBOOT_BINARY_EMMC = "apalis_t30.img" + +# require u-boot-dtb-tegra.bin to be used +UBOOT_IMAGE = "u-boot-dtb-tegra-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" +UBOOT_BINARY = "u-boot-dtb-tegra.${UBOOT_SUFFIX}" +UBOOT_SYMLINK = "u-boot-dtb-tegra-${MACHINE}.${UBOOT_SUFFIX}" + +PREFERRED_PROVIDER_lxde-icon-theme_apalis-t30-mainline = "lxde-icon-theme" +PREFERRED_PROVIDER_lxsession-lite_apalis-t30-mainline = "lxsession" +PREFERRED_PROVIDER_virtual/psplash = "psplash-angstrom" +PREFERRED_PROVIDER_psplash-support = "psplash-angstrom" + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +PREFERRED_VERSION_xserver-xorg_tegram = "99:1.19%" +PREFERRED_PROVIDER_virtual/mesa ?= "mesa" +PREFERRED_PROVIDER_virtual/libgl ?= "mesa" + +#TBD +#swrast,tegra +GALLIUMDRIVERS_append_armv7a =",tegra" +XSERVER ?= "xserver-xorg \ + mesa-driver-swrast \ + mesa-driver-tegra \ + xf86-input-evdev \ + xf86-input-keyboard \ + xf86-input-mouse \ + xf86-video-modesetting \ + xf86-video-opentegra \ + " + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci " +EXTRA_IMAGEDEPENDS += "u-boot" + +# used by sysvinit_2 +SERIAL_CONSOLE = "115200 ttyS0" +IMAGE_CLASSES += "image_type_tezi" +IMAGE_FSTYPES = "tar.xz teziimg" + +TORADEX_PRODUCT_IDS = "0025 0026 0031" +TORADEX_FLASH_TYPE = "emmc" + +DEFAULTTUNE = "armv7athf-neon" +require conf/machine/include/tune-cortexa9.inc -- cgit v1.2.3