Commit 07a410807ef98a9ad4c592e98f0e568ac77dd2ee

Authored by Eric Lee
1 parent fe5258bbe6
Exists in master

Add i.MX6 QuadPlus support

Showing 4 changed files with 70 additions and 2 deletions Inline Diff

conf/machine/imx6qp1gsmarc.conf
File was created 1 #@TYPE: Machine
2 #@NAME: Embedian SMARC-FiMX6
3 #@SOC: i.MX6Q
4 #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 board
5 #@MAINTAINER: Eric Lee <eric.lee@embedian.com>
6
7 include conf/machine/include/imx-base.inc
8 include conf/machine/include/tune-cortexa9.inc
9
10 SOC_FAMILY = "mx6:mx6q"
11
12 # Use u-boot SMARC-FiMX6
13 PREFERRED_PROVIDER_virtual/bootloader_imx6q1gsmarc = "u-boot-smarcfimx6"
14 PREFERRED_PROVIDER_u-boot_imx6q1gsmarc = "u-boot-smarcfimx6"
15 PREFERRED_VERSION_u-boot_imx6q1gsmarc = "2015.04-smarcfimx6"
16 UBOOT_MACHINE = "smarcfimx6_quadplus_1g_ser3_defconfig"
17
18 # Use linux kernel SMARC-FiMX6
19 PREFERRED_PROVIDER_virtual/kernel_imx6q1gsmarc = "linux-smarcfimx6"
20 PREFERRED_VERSION_linux-smarcfimx6_imx6q1gsmarc = "4.1.15"
21 KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6dl-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb imx6dl-smarcfimx6-xga.dtb imx6q-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb imx6dl-smarcfimx6-wvga.dtb imx6q-smarcfimx6-1080p.dtb imx6dl-smarcfimx6-1080p.dtb imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb imx6qp-smarcfimx6-1080p.dtb"
22
23 # Specify Nodejs version if you would like Cloud9 to be build
24 # PREFERRED_VERSION_nodejs_imx6q1gsmarc = "0.8.21"
25
26 SERIAL_CONSOLE = "115200 ttymxc4"
27
28 MACHINE_FEATURES += "screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost"
29 MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d linux-firmware-ath6k"
30
31 IMAGE_FSTYPES += "tar.bz2"
32
33 # Ship all kernel modules by default
34 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules udev-rules-imx ${MACHINE_FIRMWARE}"
35
conf/machine/imx6qp2gsmarc.conf
File was created 1 #@TYPE: Machine
2 #@NAME: Embedian SMARC-FiMX6
3 #@SOC: i.MX6Q
4 #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 board
5 #@MAINTAINER: Eric Lee <eric.lee@embedian.com>
6
7 include conf/machine/include/imx-base.inc
8 include conf/machine/include/tune-cortexa9.inc
9
10 SOC_FAMILY = "mx6:mx6q"
11
12 # Use u-boot SMARC-FiMX6
13 PREFERRED_PROVIDER_virtual/bootloader_imx6q2gsmarc = "u-boot-smarcfimx6"
14 PREFERRED_PROVIDER_u-boot_imx6q2gsmarc = "u-boot-smarcfimx6"
15 PREFERRED_VERSION_u-boot_imx6q2gsmarc = "2015.04-smarcfimx6"
16 UBOOT_MACHINE = "smarcfimx6_quadplus_2g_ser3_defconfig"
17
18 # Use linux kernel SMARC-FiMX6
19 PREFERRED_PROVIDER_virtual/kernel_imx6q2gsmarc = "linux-smarcfimx6"
20 PREFERRED_VERSION_linux-smarcfimx6_imx6q2gsmarc = "4.1.15"
21 KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6dl-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb imx6dl-smarcfimx6-xga.dtb imx6q-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb imx6dl-smarcfimx6-wvga.dtb imx6q-smarcfimx6-1080p.dtb imx6dl-smarcfimx6-1080p.dtb imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb imx6qp-smarcfimx6-1080p.dtb"
22
23 # Specify Nodejs version if you would like Cloud9 to be build
24 PREFERRED_VERSION_nodejs_imx6q2gsmarc = "0.8.21"
25
26 SERIAL_CONSOLE = "115200 ttymxc4"
27
28 MACHINE_FEATURES += "screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost"
29 MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d linux-firmware-ath6k"
30
31 IMAGE_FSTYPES += "tar.bz2"
32
33 # Ship all kernel modules by default
34 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
35
recipes-bsp/u-boot/u-boot-smarcfimx6_2015.04-smarcfimx6.bb
1 # Copyright (C) 2013, 2014 Freescale Semiconductor 1 # Copyright (C) 2013, 2014 Freescale Semiconductor
2 2
3 DESCRIPTION = "U-Boot i.MX6 SMARC-FiMX6 platforms" 3 DESCRIPTION = "U-Boot i.MX6 SMARC-FiMX6 platforms"
4 require recipes-bsp/u-boot/u-boot.inc 4 require recipes-bsp/u-boot/u-boot.inc
5 5
6 PROVIDES += "u-boot" 6 PROVIDES += "u-boot"
7 7
8 LICENSE = "GPLv2+" 8 LICENSE = "GPLv2+"
9 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" 9 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10 10
11 PV = "2015.04-smarcfimx6" 11 PV = "2015.04-smarcfimx6"
12 12
13 SRCREV = "a25b51e56197d3d2e7a870bf8827a46192070f5f" 13 SRCREV = "83e43e196e89d3eeb0bec5053b0b582bfb916bd3"
14 SRCBRANCH = "smarc-imx_v2015.04_4.1.15_1.0.0_ga" 14 SRCBRANCH = "smarc-imx_v2015.04_4.1.15_1.0.0_ga"
15 SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}" 15 SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}"
16 16
17 PR = "r0+gitr${SRCPV}" 17 PR = "r0+gitr${SRCPV}"
18 18
19 S = "${WORKDIR}/git" 19 S = "${WORKDIR}/git"
20 20
21 UBOOT_SUFFIX = "imx" 21 UBOOT_SUFFIX = "imx"
22 22
23 PACKAGE_ARCH = "${MACHINE_ARCH}" 23 PACKAGE_ARCH = "${MACHINE_ARCH}"
24 COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" 24 COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"
25 25
recipes-kernel/linux/linux-smarcfimx6_4.1.15.bb
1 # Copyright (C) 2013, 2014 Freescale Semiconductor 1 # Copyright (C) 2013, 2014 Freescale Semiconductor
2 # Released under the MIT license (see COPYING.MIT for the terms) 2 # Released under the MIT license (see COPYING.MIT for the terms)
3 3
4 SUMMARY = "Linux Kernel for SMARC-FiMX6 and supported by Embedian" 4 SUMMARY = "Linux Kernel for SMARC-FiMX6 and supported by Embedian"
5 DESCRIPTION = "Linux Kernel provided and supported by Embedian with focus on \ 5 DESCRIPTION = "Linux Kernel provided and supported by Embedian with focus on \
6 SMARC-FiMX6 Family Computer on Modules. It includes support for many IPs such as GPU, VPU and IPU." 6 SMARC-FiMX6 Family Computer on Modules. It includes support for many IPs such as GPU, VPU and IPU."
7 7
8 inherit kernel 8 inherit kernel
9 require recipes-kernel/linux/linux-imx.inc 9 require recipes-kernel/linux/linux-imx.inc
10 require recipes-kernel/linux/linux-dtb.inc 10 require recipes-kernel/linux/linux-dtb.inc
11 11
12 DEPENDS += "lzop-native bc-native" 12 DEPENDS += "lzop-native bc-native"
13 13
14 SRCBRANCH = "smarc-imx_4.1.15_1.0.0_ga" 14 SRCBRANCH = "smarc-imx_4.1.15_1.0.0_ga"
15 15
16 SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH} \ 16 SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH} \
17 file://defconfig \ 17 file://defconfig \
18 " 18 "
19 19
20 SRCREV = "59536c79b37195e96db08facfe01afe4b46545c0" 20 SRCREV = "539fdd2c7c4d615b7fcb19fed20c9ae7f6d51a41"
21 PV = "4.1.15" 21 PV = "4.1.15"
22 LOCALVERSION = "-1.0.1_smarc" 22 LOCALVERSION = "-1.0.1_smarc"
23 23
24 COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7|imx6q1gsmarc|imx6q2gsmarc|imx6u1gsmarc|imx6solosmarc)" 24 COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7|imx6q1gsmarc|imx6q2gsmarc|imx6u1gsmarc|imx6solosmarc)"
25 25