imx7ssmarc.conf
1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#@TYPE: Machine
#@NAME: Embedian i.MX7S SMARC-FiMX7 SMARC 2.0 Module
#@SOC: i.MX7S
#@DESCRIPTION: Machine configuration for Embedian i.MX7S SMARC-FiMX7-S solo core Computer on Modules
#@MAINTAINER: Eric Lee <eric.lee@embedian.com>
MACHINEOVERRIDES =. "mx7:mx7d:"
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa7.inc
MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi alsa serial usbhost optee"
IMAGE_FEATURES += "package-management"
# Use linux kernel SMARC-FiMX7
PREFERRED_PROVIDER_virtual/kernel_imx7ssmarc = "linux-smarcfimx7"
PREFERRED_VERSION_linux-smarcfimx7_imx7ssmarc = "4.9.88"
KERNEL_DEVICETREE = "imx7s-smarcfimx7.dtb imx7d-smarcfimx7.dtb"
IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
IMAGE_BOOTFILES += "imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin"
PREFERRED_PROVIDER_virtual/bootloader_imx7ssmarc = "u-boot-smarcfimx7"
PREFERRED_PROVIDER_u-boot_imx7smarc = "u-boot-smarcfimx7"
PREFERRED_VERSION_u-boot_imx7ssmarc = "2017.03"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "smarcfimx7s_ser3_defconfig,sdcard"
OPTEE_BIN_EXT = "7ssmarc"
MACHINE_EXTRA_RDEPENDS += " \
pm-utils \
kmod \
hdparm \
gptfdisk \
lftp \
vim \
ntp \
boost \
nodejs \
networkmanager \
"
XSERVER += "mesa-driver-swrast"
IMAGE_FSTYPES_remove = "sdcard"
IMAGE_FSTYPES = "tar.bz2"
# Ship all kernel modules by default
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
MACHINE_FIRMWARE_append_mx7 = " linux-firmware-ath10k"
BOOT_SPACE = "10240"