summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-09-21 17:47:06 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:20 -0300
commit8f4d2cce42ecd36b86e1435ae8b95a5206c6cb56 (patch)
treeed522c1170f22ebe265323458a76084eeed8f37a /conf
parent3e74a09aff6db6245af4264a65ded171a98de885 (diff)
downloadmeta-freescale-8f4d2cce42ecd36b86e1435ae8b95a5206c6cb56.tar.gz
Move mxs-base.inc contents to imx-base.inc
The consolidation of all i.MX related base settings allows a more global view of the settings in place. One of the reasons for this patch is the fragmentation caused by i.MX23 and i.MX28 SoCs using mxs-base.inc. The changes needed to get i.MX23 and i.MX28 SoCs working have been included in imx-base.inc file already and some values required rework to apply to specific SoC families to avoid regressions. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx23evk.conf3
-rw-r--r--conf/machine/imx28evk.conf3
-rw-r--r--conf/machine/include/imx-base.inc10
-rw-r--r--conf/machine/include/mxs-base.inc42
4 files changed, 13 insertions, 45 deletions
diff --git a/conf/machine/imx23evk.conf b/conf/machine/imx23evk.conf
index 1d5eaefb..ddd60285 100644
--- a/conf/machine/imx23evk.conf
+++ b/conf/machine/imx23evk.conf
@@ -4,7 +4,8 @@
4#@DESCRIPTION: Machine configuration for Freescale i.MX23 Evaluation Kit 4#@DESCRIPTION: Machine configuration for Freescale i.MX23 Evaluation Kit
5#@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> 5#@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br>
6 6
7include conf/machine/include/mxs-base.inc 7include conf/machine/include/imx-base.inc
8include conf/machine/include/tune-arm926ejs.inc
8 9
9SOC_FAMILY = "mxs:mx23" 10SOC_FAMILY = "mxs:mx23"
10 11
diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index 5a55d725..c05ad8f6 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -4,7 +4,8 @@
4#@DESCRIPTION: Machine configuration for Freescale i.MX28 Evaluation Kit 4#@DESCRIPTION: Machine configuration for Freescale i.MX28 Evaluation Kit
5#@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> 5#@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br>
6 6
7include conf/machine/include/mxs-base.inc 7include conf/machine/include/imx-base.inc
8include conf/machine/include/tune-arm926ejs.inc
8 9
9SOC_FAMILY = "mxs:mx28" 10SOC_FAMILY = "mxs:mx28"
10 11
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 094c9c56..9b3bf60f 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -8,9 +8,14 @@ include conf/machine/include/soc-family.inc
8# Set specific make target and binary suffix 8# Set specific make target and binary suffix
9PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" 9PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc"
10PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" 10PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc"
11UBOOT_MAKE_TARGET = "u-boot.imx" 11
12UBOOT_MAKE_TARGET ?= "u-boot.imx"
13UBOOT_MAKE_TARGET_mxs ?= "u-boot.sb"
14
12UBOOT_SUFFIX ?= "imx" 15UBOOT_SUFFIX ?= "imx"
16UBOOT_SUFFIX_mxs ?= "sb"
13 17
18UBOOT_ENTRYPOINT_mxs = "0x40008000"
14UBOOT_ENTRYPOINT_mx51 = "0x90008000" 19UBOOT_ENTRYPOINT_mx51 = "0x90008000"
15UBOOT_ENTRYPOINT_mx53 = "0x70008000" 20UBOOT_ENTRYPOINT_mx53 = "0x70008000"
16UBOOT_ENTRYPOINT_mx6 = "0x10008000" 21UBOOT_ENTRYPOINT_mx6 = "0x10008000"
@@ -132,6 +137,7 @@ PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
132 137
133# Handle default kernel 138# Handle default kernel
134IMX_DEFAULT_KERNEL = "linux-imx" 139IMX_DEFAULT_KERNEL = "linux-imx"
140IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
135IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" 141IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
136IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-mx6" 142IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-mx6"
137IMX_DEFAULT_KERNEL_mx6ul = "linux-imx" 143IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
@@ -140,8 +146,10 @@ PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
140 146
141SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4" 147SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4"
142IMAGE_FSTYPES ?= "ext4 sdcard.gz" 148IMAGE_FSTYPES ?= "ext4 sdcard.gz"
149IMAGE_FSTYPES_mxs ?= "ext4 uboot.mxsboot-sdcard sdcard.gz"
143 150
144SERIAL_CONSOLE = "115200 ttymxc0" 151SERIAL_CONSOLE = "115200 ttymxc0"
152SERIAL_CONSOLE_mxs = "115200 ttyAMA0"
145 153
146KERNEL_IMAGETYPE = "zImage" 154KERNEL_IMAGETYPE = "zImage"
147 155
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
deleted file mode 100644
index 6083fd57..00000000
--- a/conf/machine/include/mxs-base.inc
+++ /dev/null
@@ -1,42 +0,0 @@
1# Provides the i.MXS common settings
2
3include conf/machine/include/fsl-default-settings.inc
4include conf/machine/include/fsl-default-versions.inc
5
6include conf/machine/include/soc-family.inc
7include conf/machine/include/tune-arm926ejs.inc
8
9SOC_FAMILY = "mxs"
10
11PREFERRED_PROVIDER_virtual/kernel ??= "linux-fslc"
12
13PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc"
14PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc"
15UBOOT_ENTRYPOINT = "0x40008000"
16UBOOT_MAKE_TARGET = "u-boot.sb"
17UBOOT_SUFFIX = "sb"
18
19PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
20XSERVER = "xserver-xorg \
21 xf86-input-evdev \
22 xf86-video-fbdev"
23
24# Sub-architecture support
25MACHINE_SOCARCH_SUFFIX ?= ""
26
27MACHINE_ARCH_FILTER = "virtual/kernel"
28
29INHERIT += "fsl-dynamic-packagearch"
30
31# Ship kernel modules
32MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
33
34SERIAL_CONSOLE = "115200 ttyAMA0"
35
36KERNEL_IMAGETYPE = "zImage"
37
38SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4"
39IMAGE_FSTYPES ?= "ext4 uboot.mxsboot-sdcard sdcard.gz"
40
41# Add the ability to specify _imx machines
42MACHINEOVERRIDES =. "imx:"