buildroot: 0002-configs-add-various-Gateworks-Ventana-configs.patch

File 0002-configs-add-various-Gateworks-Ventana-configs.patch, 10.6 KB (added by Tim Harvey, 2 years ago)
  • new file configs/imx6-gwventana-gst_defconfig

    From d6b2c9aae84dddaf76cd057f2d8397f4ed009e81 Mon Sep 17 00:00:00 2001
    From: Tim Harvey <tharvey@gateworks.com>
    Date: Wed, 26 Feb 2020 08:24:59 -0800
    Subject: [PATCH 2/3] configs: add various Gateworks Ventana configs
    
    Signed-off-by: Tim Harvey <tharvey@gateworks.com>
    ---
     configs/imx6-gwventana-gst_defconfig | 121 +++++++++++++++++++++++++++++++++++
     configs/imx6-gwventana-qt5_defconfig | 110 +++++++++++++++++++++++++++++++
     configs/imx6-gwventana_defconfig     |  63 ++++++++++++++++++
     3 files changed, 294 insertions(+)
     create mode 100644 configs/imx6-gwventana-gst_defconfig
     create mode 100644 configs/imx6-gwventana-qt5_defconfig
     create mode 100644 configs/imx6-gwventana_defconfig
    
    diff --git a/configs/imx6-gwventana-gst_defconfig b/configs/imx6-gwventana-gst_defconfig
    new file mode 100644
    index 0000000..3cdc10a
    - +  
     1# Toolchain
     2BR2_arm=y
     3BR2_cortex_a9=y
     4BR2_ARM_ENABLE_NEON=y
     5BR2_ARM_ENABLE_VFP=y
     6BR2_ARM_FPU_VFPV3=y
     7
     8# Linux headers same as kernel, a 4.20 series
     9BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20=y
     10
     11# Additional features needed for packages
     12BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
     13BR2_TOOLCHAIN_BUILDROOT_CXX=y
     14
     15# System
     16BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
     17
     18# required tools to create the SD card image
     19BR2_PACKAGE_HOST_DOSFSTOOLS=y
     20BR2_PACKAGE_HOST_GENIMAGE=y
     21BR2_PACKAGE_HOST_MTOOLS=y
     22
     23# Filesystem
     24BR2_ROOTFS_OVERLAY="board/gateworks/ventana/rootfs_overlay"
     25BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
     26BR2_TARGET_ROOTFS_EXT2=y
     27BR2_TARGET_ROOTFS_EXT2_4=y
     28BR2_TARGET_ROOTFS_EXT2_SIZE="320M"
     29# 'normal' geometry UBI
     30BR2_TARGET_ROOTFS_UBI=y
     31BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
     32BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
     33BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=16384
     34BR2_TARGET_ROOTFS_UBIFS_OPTS="-F"
     35BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000
     36BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
     37
     38# Bootloader
     39BR2_TARGET_UBOOT=y
     40BR2_TARGET_UBOOT_BOARDNAME="gwventana_nand"
     41BR2_TARGET_UBOOT_CUSTOM_VERSION=y
     42BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
     43BR2_TARGET_UBOOT_FORMAT_IMG=y
     44BR2_TARGET_UBOOT_SPL=y
     45BR2_TARGET_UBOOT_SPL_NAME="SPL"
     46
     47# Kernel
     48BR2_LINUX_KERNEL=y
     49BR2_LINUX_KERNEL_CUSTOM_GIT=y
     50BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Gateworks/linux-imx6"
     51BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="gateworks_4.20.7"
     52BR2_LINUX_KERNEL_DEFCONFIG="gwventana"
     53BR2_LINUX_KERNEL_DTS_SUPPORT=y
     54BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-gw51xx imx6dl-gw51xx imx6q-gw52xx imx6dl-gw52xx imx6q-gw53xx imx6dl-gw53xx imx6q-gw54xx imx6dl-gw54xx imx6q-gw551x imx6dl-gw551x imx6q-gw552x imx6dl-gw552x imx6q-gw553x imx6dl-gw553x imx6q-gw560x imx6dl-gw560x imx6q-gw5903 imx6dl-gw5903 imx6q-gw5904 imx6dl-gw5904 imx6q-gw5907 imx6dl-gw5907 imx6q-gw5910 imx6dl-gw5910 imx6q-gw5912 imx6dl-gw5912 imx6q-gw5913 imx6dl-gw5913"
     55BR2_LINUX_KERNEL_INSTALL_TARGET=y
     56BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
     57BR2_LINUX_KERNEL_UIMAGE=y
     58BR2_LINUX_KERNEL_UIMAGE_LOADADDR="10008000"
     59BR2_LINUX_KERNEL_INSTALL_TARGET=y
     60
     61# Busybox
     62BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
     63
     64# Audio packages
     65BR2_PACKAGE_ALSA_UTILS=y
     66BR2_PACKAGE_ALSA_UTILS_ALSACTL=y
     67BR2_PACKAGE_ALSA_UTILS_ALSAMIXER=y
     68BR2_PACKAGE_ALSA_UTILS_AMIXER=y
     69BR2_PACKAGE_ALSA_UTILS_APLAY=y
     70
     71# NXP firmware package
     72BR2_PACKAGE_FREESCALE_IMX=y
     73BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
     74BR2_PACKAGE_FIRMWARE_IMX=y
     75BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA=y
     76
     77# misc packages
     78BR2_PACKAGE_LIBV4L_UTILS=y
     79BR2_PACKAGE_OPENSSL=y
     80BR2_PACKAGE_LESS=y
     81BR2_PACKAGE_LIBV4L=y
     82BR2_PACKAGE_LIBV4L_UTILS=y
     83BR2_PACKAGE_SED=y
     84BR2_PACKAGE_WGET=y
     85
     86# gstreamer-1.0
     87BR2_PACKAGE_GSTREAMER1=y
     88BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC=y
     89BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT=y
     90BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP=y
     91BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y
     92BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE=y
     93BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA=y
     94BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG=y
     95BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS=y
     96BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG=y
     97BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS=y
     98BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT=y
     99BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV=y
     100BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX=y
     101BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW=y
     102BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA=y
     103BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP=y
     104BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME=y
     105BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123=y
     106BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y
     107BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE=y
     108BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC=y
     109BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC=y
     110BR2_PACKAGE_GST1_PLUGINS_BAD=y
     111BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP=y
     112BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y
     113BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV=y
     114BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y
     115BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC=y
     116BR2_PACKAGE_GST1_LIBAV=y
     117BR2_PACKAGE_GST1_RTSP_SERVER=y
     118BR2_PACKAGE_GST_GATEWORKS_APPS=y
     119
     120# For automatic kernel module loading
     121BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
  • new file configs/imx6-gwventana-qt5_defconfig

    diff --git a/configs/imx6-gwventana-qt5_defconfig b/configs/imx6-gwventana-qt5_defconfig
    new file mode 100644
    index 0000000..ddec714
    - +  
     1# Toolchain
     2BR2_arm=y
     3BR2_cortex_a9=y
     4BR2_ARM_ENABLE_NEON=y
     5BR2_ARM_ENABLE_VFP=y
     6BR2_ARM_FPU_VFPV3=y
     7
     8# Linux headers same as kernel, a 5.3 series
     9BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y
     10
     11# Additional features needed for packages
     12BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
     13BR2_TOOLCHAIN_BUILDROOT_CXX=y
     14
     15# System
     16BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
     17
     18# required tools to create the SD card image
     19BR2_PACKAGE_HOST_DOSFSTOOLS=y
     20BR2_PACKAGE_HOST_GENIMAGE=y
     21BR2_PACKAGE_HOST_MTOOLS=y
     22
     23# Filesystem
     24BR2_ROOTFS_OVERLAY="board/gateworks/ventana/rootfs_overlay"
     25BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
     26BR2_TARGET_ROOTFS_EXT2=y
     27BR2_TARGET_ROOTFS_EXT2_4=y
     28BR2_TARGET_ROOTFS_EXT2_SIZE="320M"
     29# 'normal' geometry UBI
     30BR2_TARGET_ROOTFS_UBI=y
     31BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
     32BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
     33BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=16384
     34BR2_TARGET_ROOTFS_UBIFS_OPTS="-F"
     35BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000
     36BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
     37
     38# Bootloader
     39BR2_TARGET_UBOOT=y
     40BR2_TARGET_UBOOT_BOARDNAME="gwventana_nand"
     41BR2_TARGET_UBOOT_CUSTOM_VERSION=y
     42BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
     43BR2_TARGET_UBOOT_FORMAT_IMG=y
     44BR2_TARGET_UBOOT_SPL=y
     45BR2_TARGET_UBOOT_SPL_NAME="SPL"
     46
     47# Kernel
     48BR2_LINUX_KERNEL=y
     49BR2_LINUX_KERNEL_CUSTOM_VERSION=y
     50BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8"
     51BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
     52BR2_LINUX_KERNEL_DTS_SUPPORT=y
     53BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-gw51xx imx6dl-gw51xx imx6q-gw52xx imx6dl-gw52xx imx6q-gw53xx imx6dl-gw53xx imx6q-gw54xx imx6dl-gw54xx imx6q-gw551x imx6dl-gw551x imx6q-gw552x imx6dl-gw552x imx6q-gw553x imx6dl-gw553x imx6q-gw560x imx6dl-gw560x imx6q-gw5903 imx6dl-gw5903 imx6q-gw5904 imx6dl-gw5904"
     54BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
     55BR2_LINUX_KERNEL_UIMAGE=y
     56BR2_LINUX_KERNEL_UIMAGE_LOADADDR="10008000"
     57BR2_LINUX_KERNEL_INSTALL_TARGET=y
     58
     59# GL driver
     60BR2_PACKAGE_MESA3D=y
     61BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
     62BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y
     63BR2_PACKAGE_MESA3D_OPENGL_ES=y
     64
     65# Fonts
     66BR2_PACKAGE_BITSTREAM_VERA=y
     67BR2_PACKAGE_CANTARELL=y
     68BR2_PACKAGE_DEJAVU=y
     69BR2_PACKAGE_FONT_AWESOME=y
     70BR2_PACKAGE_GHOSTSCRIPT_FONTS=y
     71BR2_PACKAGE_INCONSOLATA=y
     72BR2_PACKAGE_LIBERATION=y
     73
     74# GL demos
     75BR2_PACKAGE_GLMARK2=y
     76BR2_PACKAGE_KMSCUBE=y
     77BR2_PACKAGE_LIBV4L=y
     78BR2_PACKAGE_MESA3D_DEMOS=y
     79
     80# Qt5
     81BR2_PACKAGE_QT5=y
     82BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
     83BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
     84BR2_PACKAGE_QT5BASE_LINUXFB=y
     85BR2_PACKAGE_QT5BASE_FONTCONFIG=y
     86BR2_PACKAGE_QT5BASE_GIF=y
     87BR2_PACKAGE_QT5BASE_JPEG=y
     88BR2_PACKAGE_QT5CINEX=y
     89BR2_PACKAGE_QT5CINEX_HD=y
     90
     91# NXP firmware package
     92BR2_PACKAGE_FREESCALE_IMX=y
     93BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
     94BR2_PACKAGE_FIRMWARE_IMX=y
     95
     96# libdrm tests
     97BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y
     98
     99# gstreamer-1.0
     100BR2_PACKAGE_GSTREAMER1=y
     101BR2_PACKAGE_GST1_PLUGINS_GOOD=y
     102BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y
     103BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE=y
     104BR2_PACKAGE_GST1_PLUGINS_BAD=y
     105BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y
     106BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y
     107BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y
     108
     109# For automatic kernel module loading
     110BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
  • new file configs/imx6-gwventana_defconfig

    diff --git a/configs/imx6-gwventana_defconfig b/configs/imx6-gwventana_defconfig
    new file mode 100644
    index 0000000..176e499
    - +  
     1# Toolchain
     2BR2_arm=y
     3BR2_cortex_a9=y
     4BR2_ARM_ENABLE_NEON=y
     5BR2_ARM_ENABLE_VFP=y
     6BR2_ARM_FPU_VFPV3=y
     7
     8# Linux headers same as kernel, a 5.3 series
     9BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y
     10
     11# Additional features needed for packages
     12BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
     13BR2_TOOLCHAIN_BUILDROOT_CXX=y
     14
     15# System
     16BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
     17
     18# required tools to create the SD card image
     19BR2_PACKAGE_HOST_DOSFSTOOLS=y
     20BR2_PACKAGE_HOST_GENIMAGE=y
     21BR2_PACKAGE_HOST_MTOOLS=y
     22
     23# Filesystem
     24BR2_ROOTFS_OVERLAY="board/gateworks/ventana/rootfs_overlay"
     25BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
     26BR2_TARGET_ROOTFS_EXT2=y
     27BR2_TARGET_ROOTFS_EXT2_4=y
     28BR2_TARGET_ROOTFS_EXT2_SIZE="320M"
     29# 'normal' geometry UBI
     30BR2_TARGET_ROOTFS_UBI=y
     31BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
     32BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
     33BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=16384
     34BR2_TARGET_ROOTFS_UBIFS_OPTS="-F"
     35BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000
     36BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
     37
     38# Bootloader
     39BR2_TARGET_UBOOT=y
     40BR2_TARGET_UBOOT_BOARDNAME="gwventana_nand"
     41BR2_TARGET_UBOOT_CUSTOM_VERSION=y
     42BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
     43BR2_TARGET_UBOOT_FORMAT_IMG=y
     44BR2_TARGET_UBOOT_SPL=y
     45BR2_TARGET_UBOOT_SPL_NAME="SPL"
     46
     47# Kernel
     48BR2_LINUX_KERNEL=y
     49BR2_LINUX_KERNEL_CUSTOM_VERSION=y
     50BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8"
     51BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
     52BR2_LINUX_KERNEL_DTS_SUPPORT=y
     53BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-gw51xx imx6dl-gw51xx imx6q-gw52xx imx6dl-gw52xx imx6q-gw53xx imx6dl-gw53xx imx6q-gw54xx imx6dl-gw54xx imx6q-gw551x imx6dl-gw551x imx6q-gw552x imx6dl-gw552x imx6q-gw553x imx6dl-gw553x imx6q-gw560x imx6dl-gw560x imx6q-gw5903 imx6dl-gw5903 imx6q-gw5904 imx6dl-gw5904"
     54BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
     55BR2_LINUX_KERNEL_UIMAGE=y
     56BR2_LINUX_KERNEL_UIMAGE_LOADADDR="10008000"
     57BR2_LINUX_KERNEL_INSTALL_TARGET=y
     58
     59# NXP firmware package
     60BR2_PACKAGE_FREESCALE_IMX=y
     61BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
     62BR2_PACKAGE_FIRMWARE_IMX=y
     63BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA=y