Commit 5802febe03b385bcea6fa5326d8ee3e607774f6b

Authored by Eric Lee
1 parent e3bed1df71
Exists in master

Add package management

Showing 3 changed files with 6 additions and 0 deletions Inline Diff

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