Commit 77f5c303dbd68c0bbff4875c4f1db717f29d81a5
1 parent
602776c4ba
Exists in
master
Add package management
Showing 6 changed files with 12 additions and 0 deletions Inline Diff
conf/machine/imx6q1gsmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6Q/i.MX6D SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6Q/i.MX6D SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6Q/i.MX6D | 3 | #@SOC: i.MX6Q/i.MX6D |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual and quad core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual and quad core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6q:" | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6q1gsmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6q1gsmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6q1gsmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6q1gsmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb \ |
21 | imx6q-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb \ | 23 | imx6q-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb \ |
22 | imx6q-smarcfimx6-1080p.dtb" | 24 | imx6q-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6q1gsmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6q1gsmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6q1gsmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6q1gsmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6q1gsmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6q1gsmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_quad_1g_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_quad_1g_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6qsmarc" | 32 | OPTEE_BIN_EXT = "6qsmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6q \ | 47 | firmware-imx-vpu-imx6q \ |
46 | linux-firmware-ath10k \ | 48 | linux-firmware-ath10k \ |
47 | " | 49 | " |
48 | 50 | ||
49 | # Ship all kernel modules by default | 51 | # Ship all kernel modules by default |
50 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 52 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
51 | 53 | ||
52 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" | 54 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" |
53 | 55 |
conf/machine/imx6q2gsmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6Q/i.MX6D SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6Q/i.MX6D SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6Q/i.MX6D | 3 | #@SOC: i.MX6Q/i.MX6D |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual and quad core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual and quad core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6q:" | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6q2gsmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6q2gsmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6q2gsmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6q2gsmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6q-smarcfimx6.dtb imx6q-smarcfimx6-xga.dtb \ |
21 | imx6q-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb \ | 23 | imx6q-smarcfimx6-wxga.dtb imx6q-smarcfimx6-wvga.dtb \ |
22 | imx6q-smarcfimx6-1080p.dtb" | 24 | imx6q-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6q2gsmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6q2gsmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6q2gsmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6q2gsmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6q2gsmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6q2gsmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_quad_2g_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_quad_2g_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6qsmarc" | 32 | OPTEE_BIN_EXT = "6qsmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6q \ | 47 | firmware-imx-vpu-imx6q \ |
46 | linux-firmware-ath10k \ | 48 | linux-firmware-ath10k \ |
47 | " | 49 | " |
48 | 50 | ||
49 | # Ship all kernel modules by default | 51 | # Ship all kernel modules by default |
50 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 52 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
51 | 53 | ||
52 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" | 54 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" |
53 | 55 |
conf/machine/imx6qp1gsmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6QP SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6QP SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6Q/i.MX6QP | 3 | #@SOC: i.MX6Q/i.MX6QP |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 quad plus core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 quad plus core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6q:" | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6qp1gsmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6qp1gsmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6qp1gsmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6qp1gsmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb \ |
21 | imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb \ | 23 | imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb \ |
22 | imx6qp-smarcfimx6-1080p.dtb" | 24 | imx6qp-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6qp1gsmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6qp1gsmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6qp1gsmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6qp1gsmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6qp1gsmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6qp1gsmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_quadplus_1g_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_quadplus_1g_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6qpsmarc" | 32 | OPTEE_BIN_EXT = "6qpsmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6q \ | 47 | firmware-imx-vpu-imx6q \ |
46 | linux-firmware-ath10k \ | 48 | linux-firmware-ath10k \ |
47 | " | 49 | " |
48 | 50 | ||
49 | # Ship all kernel modules by default | 51 | # Ship all kernel modules by default |
50 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 52 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
51 | 53 | ||
52 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" | 54 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" |
53 | 55 |
conf/machine/imx6qp2gsmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6QP SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6QP SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6Q/i.MX6QP | 3 | #@SOC: i.MX6Q/i.MX6QP |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 quad plus core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 quad plus core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6q:" | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6qp2gsmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6qp2gsmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6qp2gsmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6qp2gsmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6qp-smarcfimx6.dtb imx6qp-smarcfimx6-xga.dtb \ |
21 | imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb \ | 23 | imx6qp-smarcfimx6-wxga.dtb imx6qp-smarcfimx6-wvga.dtb \ |
22 | imx6qp-smarcfimx6-1080p.dtb" | 24 | imx6qp-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6qp2gsmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6qp2gsmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6qp2gsmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6qp2gsmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6qp2gsmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6qp2gsmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_quadplus_2g_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_quadplus_2g_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6qpsmarc" | 32 | OPTEE_BIN_EXT = "6qpsmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6q \ | 47 | firmware-imx-vpu-imx6q \ |
46 | linux-firmware-ath10k \ | 48 | linux-firmware-ath10k \ |
47 | " | 49 | " |
48 | 50 | ||
49 | # Ship all kernel modules by default | 51 | # Ship all kernel modules by default |
50 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 52 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
51 | 53 | ||
52 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" | 54 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6q linux-firmware-ath10k" |
53 | 55 |
conf/machine/imx6solosmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6DL SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6DL SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6S | 3 | #@SOC: i.MX6S |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 solo core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 solo core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6dl:" | 7 | MACHINEOVERRIDES =. "mx6:mx6dl:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6solosmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6solosmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6solosmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6solosmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6dl-smarcfimx6.dtb imx6dl-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6dl-smarcfimx6.dtb imx6dl-smarcfimx6-xga.dtb \ |
21 | imx6dl-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wvga.dtb \ | 23 | imx6dl-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wvga.dtb \ |
22 | imx6dl-smarcfimx6-1080p.dtb" | 24 | imx6dl-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6solosmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6solosmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6solosmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6solosmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6solosmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6solosmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_solo_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_solo_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6solosmarc" | 32 | OPTEE_BIN_EXT = "6solosmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6d \ | 47 | firmware-imx-vpu-imx6d \ |
46 | firmware-imx-epdc \ | 48 | firmware-imx-epdc \ |
47 | linux-firmware-ath10k \ | 49 | linux-firmware-ath10k \ |
48 | " | 50 | " |
49 | 51 | ||
50 | # Ship all kernel modules by default | 52 | # Ship all kernel modules by default |
51 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 53 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
52 | 54 | ||
53 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6d firmware-imx-epdc linux-firmware-ath10k" | 55 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6d firmware-imx-epdc linux-firmware-ath10k" |
54 | 56 |
conf/machine/imx6u1gsmarc.conf
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: Embedian i.MX6DL SMARC-FiMX6 Modules | 2 | #@NAME: Embedian i.MX6DL SMARC-FiMX6 Modules |
3 | #@SOC: i.MX6DL | 3 | #@SOC: i.MX6DL |
4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual lite core Computer on Modules | 4 | #@DESCRIPTION: Machine configuration for Embedian SMARC-FiMX6 dual lite core Computer on Modules |
5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> | 5 | #@MAINTAINER: Eric Lee <eric.lee@embedian.com> |
6 | 6 | ||
7 | MACHINEOVERRIDES =. "mx6:mx6dl:" | 7 | MACHINEOVERRIDES =. "mx6:mx6dl:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/tune-cortexa9.inc | 10 | require conf/machine/include/tune-cortexa9.inc |
11 | 11 | ||
12 | SERIAL_CONSOLE = "115200 ttymxc4" | 12 | SERIAL_CONSOLE = "115200 ttymxc4" |
13 | 13 | ||
14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" | 14 | MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee" |
15 | 15 | ||
16 | IMAGE_FEATURES += "package-management" | ||
17 | |||
16 | # Use linux kernel SMARC-FiMX6 | 18 | # Use linux kernel SMARC-FiMX6 |
17 | PREFERRED_PROVIDER_virtual/kernel_imx6u1gsmarc = "linux-smarcfimx6" | 19 | PREFERRED_PROVIDER_virtual/kernel_imx6u1gsmarc = "linux-smarcfimx6" |
18 | PREFERRED_VERSION_linux-smarcfimx6_imx6u1gsmarc = "4.9.88" | 20 | PREFERRED_VERSION_linux-smarcfimx6_imx6u1gsmarc = "4.9.88" |
19 | 21 | ||
20 | KERNEL_DEVICETREE = "imx6dl-smarcfimx6.dtb imx6dl-smarcfimx6-xga.dtb \ | 22 | KERNEL_DEVICETREE = "imx6dl-smarcfimx6.dtb imx6dl-smarcfimx6-xga.dtb \ |
21 | imx6dl-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wvga.dtb \ | 23 | imx6dl-smarcfimx6-wxga.dtb imx6dl-smarcfimx6-wvga.dtb \ |
22 | imx6dl-smarcfimx6-1080p.dtb" | 24 | imx6dl-smarcfimx6-1080p.dtb" |
23 | 25 | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_imx6u1gsmarc = "u-boot-smarcfimx6" | 26 | PREFERRED_PROVIDER_virtual/bootloader_imx6u1gsmarc = "u-boot-smarcfimx6" |
25 | PREFERRED_PROVIDER_u-boot_imx6u1gsmarc = "u-boot-smarcfimx6" | 27 | PREFERRED_PROVIDER_u-boot_imx6u1gsmarc = "u-boot-smarcfimx6" |
26 | PREFERRED_VERSION_u-boot_imx6u1gsmarc = "2017.03" | 28 | PREFERRED_VERSION_u-boot_imx6u1gsmarc = "2017.03" |
27 | UBOOT_CONFIG ??= "sd" | 29 | UBOOT_CONFIG ??= "sd" |
28 | UBOOT_CONFIG[sd] = "smarcfimx6_dl_1g_ser3_defconfig,sdcard" | 30 | UBOOT_CONFIG[sd] = "smarcfimx6_dl_1g_ser3_defconfig,sdcard" |
29 | 31 | ||
30 | OPTEE_BIN_EXT = "6dlsmarc" | 32 | OPTEE_BIN_EXT = "6dlsmarc" |
31 | 33 | ||
32 | MACHINE_EXTRA_RDEPENDS += " \ | 34 | MACHINE_EXTRA_RDEPENDS += " \ |
33 | pm-utils \ | 35 | pm-utils \ |
34 | kmod \ | 36 | kmod \ |
35 | hdparm \ | 37 | hdparm \ |
36 | gptfdisk \ | 38 | gptfdisk \ |
37 | lftp \ | 39 | lftp \ |
38 | vim \ | 40 | vim \ |
39 | ntp \ | 41 | ntp \ |
40 | boost \ | 42 | boost \ |
41 | nodejs \ | 43 | nodejs \ |
42 | networkmanager \ | 44 | networkmanager \ |
43 | libimxvpuapi \ | 45 | libimxvpuapi \ |
44 | gstreamer1.0-plugins-imx \ | 46 | gstreamer1.0-plugins-imx \ |
45 | firmware-imx-vpu-imx6d \ | 47 | firmware-imx-vpu-imx6d \ |
46 | firmware-imx-epdc \ | 48 | firmware-imx-epdc \ |
47 | linux-firmware-ath10k \ | 49 | linux-firmware-ath10k \ |
48 | " | 50 | " |
49 | 51 | ||
50 | # Ship all kernel modules by default | 52 | # Ship all kernel modules by default |
51 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | 53 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
52 | 54 | ||
53 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6d firmware-imx-epdc linux-firmware-ath10k" | 55 | MACHINE_FIRMWARE_append_mx6 = " firmware-imx-vpu-imx6d firmware-imx-epdc linux-firmware-ath10k" |
54 | 56 |