Commit 6e874922887f1676c0dbede2563909093bd9a124
1 parent
09a5db0c77
Exists in
master
Add 2GB DDR3L Support
Showing 2 changed files with 46 additions and 1 deletions Inline Diff
conf/machine/imx7d2gsmarc.conf
File was created | 1 | #@TYPE: Machine | |
2 | #@NAME: Embedian i.MX7D SMARC-FiMX7 SMARC 2.0 Module | ||
3 | #@SOC: i.MX7D | ||
4 | #@DESCRIPTION: Machine configuration for Embedian i.MX7D SMARC-FiMX7-D dual core Computer on Modules | ||
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | ||
6 | |||
7 | require conf/machine/include/imx-base.inc | ||
8 | require conf/machine/include/tune-cortexa7.inc | ||
9 | |||
10 | MACHINEOVERRIDES =. "mx7:mx7d:" | ||
11 | |||
12 | # Use u-boot SMARC-FiMX7 Dual Core | ||
13 | PREFERRED_PROVIDER_virtual/bootloader_imx7dsmarc = "u-boot-smarcfimx7" | ||
14 | PREFERRED_PROVIDER_u-boot_imx7dsmarc = "u-boot-smarcfimx7" | ||
15 | PREFERRED_VERSION_u-boot_imx7dsmarc = "2017.03-smarcfimx7" | ||
16 | UBOOT_CONFIG ??= "" | ||
17 | UBOOT_MACHINE = "smarcfimx7d_2g_ser3_defconfig" | ||
18 | |||
19 | # Use linux kernel SMARC-FiMX7 | ||
20 | PREFERRED_PROVIDER_virtual/kernel_imx7dsmarc = "linux-smarcfimx7" | ||
21 | PREFERRED_VERSION_linux-smarcfimx7_imx7dsmarc = "4.9.11" | ||
22 | |||
23 | KERNEL_DEVICETREE = "imx7d-sdb.dtb imx7d-sdb-epdc.dtb imx7d-sdb-gpmi-weim.dtb \ | ||
24 | imx7d-sdb-m4.dtb imx7d-sdb-mipi-dsi.dtb imx7d-sdb-qspi.dtb \ | ||
25 | imx7d-sdb-reva.dtb imx7d-sdb-reva-epdc.dtb imx7d-sdb-reva-gpmi-weim.dtb \ | ||
26 | imx7d-sdb-reva-hdmi-audio.dtb imx7d-sdb-reva-m4.dtb imx7d-sdb-reva-qspi.dtb \ | ||
27 | imx7d-sdb-reva-touch.dtb imx7d-sdb-reva-wm8960.dtb \ | ||
28 | imx7s-smarcfimx7.dtb imx7d-smarcfimx7.dtb" | ||
29 | |||
30 | IMAGE_M4LOADER = "imx-m4-demos" | ||
31 | IMAGE_M4 = "imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin" | ||
32 | |||
33 | SERIAL_CONSOLE = "115200 ttymxc2" | ||
34 | |||
35 | MACHINE_FEATURES += "screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost" | ||
36 | |||
37 | IMAGE_FSTYPES_remove = "sdcard" | ||
38 | IMAGE_FSTYPES += "tar.bz2" | ||
39 | |||
40 | XSERVER += "mesa-driver-swrast" | ||
41 | |||
42 | # Ship all kernel modules by default | ||
43 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | ||
44 | |||
45 | MACHINE_FIRMWARE_append_mx7 = " linux-firmware-ath10k" | ||
46 |
recipes-bsp/u-boot/u-boot-smarcfimx7_2017.03-smarcfimx7.bb
1 | # Copyright (C) 2013-2016 EMBEDIAN, INC. | 1 | # Copyright (C) 2013-2016 EMBEDIAN, INC. |
2 | # Copyright 2018 EMBEDIAN | 2 | # Copyright 2018 EMBEDIAN |
3 | 3 | ||
4 | DESCRIPTION = "i.MX7 U-Boot for SMARC-FiMX7 platforms" | 4 | DESCRIPTION = "i.MX7 U-Boot for SMARC-FiMX7 platforms" |
5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
6 | 6 | ||
7 | PROVIDES += "u-boot" | 7 | PROVIDES += "u-boot" |
8 | DEPENDS_append = "dtc-native" | 8 | DEPENDS_append = "dtc-native" |
9 | 9 | ||
10 | LICENSE = "GPLv2+" | 10 | LICENSE = "GPLv2+" |
11 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 11 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
12 | 12 | ||
13 | PV = "2017.03-smarcfimx7" | 13 | PV = "2017.03-smarcfimx7" |
14 | 14 | ||
15 | SRCREV = "d8c099ece2f8d25d153a1f0ed962acfa4da18375" | 15 | SRCREV = "f247ac24a7d467bfa78698cd7d9537a5e115386e" |
16 | SRCBRANCH = "smarc-imx7_v2017.03_4.9.11_1.0.0_ga" | 16 | SRCBRANCH = "smarc-imx7_v2017.03_4.9.11_1.0.0_ga" |
17 | SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}" | 17 | SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}" |
18 | 18 | ||
19 | PR = "r0+gitr${SRCPV}" | 19 | PR = "r0+gitr${SRCPV}" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
22 | 22 | ||
23 | UBOOT_SUFFIX = "imx" | 23 | UBOOT_SUFFIX = "imx" |
24 | 24 | ||
25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
26 | COMPATIBLE_MACHINE = "(mx6|mx7)" | 26 | COMPATIBLE_MACHINE = "(mx6|mx7)" |
27 | 27 |