diff options
-rw-r--r-- | conf/machine/imx23evk.conf | 3 | ||||
-rw-r--r-- | conf/machine/imx28evk.conf | 3 | ||||
-rw-r--r-- | conf/machine/include/imx-base.inc | 10 | ||||
-rw-r--r-- | conf/machine/include/mxs-base.inc | 42 |
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 | ||
7 | include conf/machine/include/mxs-base.inc | 7 | include conf/machine/include/imx-base.inc |
8 | include conf/machine/include/tune-arm926ejs.inc | ||
8 | 9 | ||
9 | SOC_FAMILY = "mxs:mx23" | 10 | SOC_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 | ||
7 | include conf/machine/include/mxs-base.inc | 7 | include conf/machine/include/imx-base.inc |
8 | include conf/machine/include/tune-arm926ejs.inc | ||
8 | 9 | ||
9 | SOC_FAMILY = "mxs:mx28" | 10 | SOC_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 |
9 | PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" | 9 | PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" |
10 | PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" | 10 | PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" |
11 | UBOOT_MAKE_TARGET = "u-boot.imx" | 11 | |
12 | UBOOT_MAKE_TARGET ?= "u-boot.imx" | ||
13 | UBOOT_MAKE_TARGET_mxs ?= "u-boot.sb" | ||
14 | |||
12 | UBOOT_SUFFIX ?= "imx" | 15 | UBOOT_SUFFIX ?= "imx" |
16 | UBOOT_SUFFIX_mxs ?= "sb" | ||
13 | 17 | ||
18 | UBOOT_ENTRYPOINT_mxs = "0x40008000" | ||
14 | UBOOT_ENTRYPOINT_mx51 = "0x90008000" | 19 | UBOOT_ENTRYPOINT_mx51 = "0x90008000" |
15 | UBOOT_ENTRYPOINT_mx53 = "0x70008000" | 20 | UBOOT_ENTRYPOINT_mx53 = "0x70008000" |
16 | UBOOT_ENTRYPOINT_mx6 = "0x10008000" | 21 | UBOOT_ENTRYPOINT_mx6 = "0x10008000" |
@@ -132,6 +137,7 @@ PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" | |||
132 | 137 | ||
133 | # Handle default kernel | 138 | # Handle default kernel |
134 | IMX_DEFAULT_KERNEL = "linux-imx" | 139 | IMX_DEFAULT_KERNEL = "linux-imx" |
140 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" | ||
135 | IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" | 141 | IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" |
136 | IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-mx6" | 142 | IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-mx6" |
137 | IMX_DEFAULT_KERNEL_mx6ul = "linux-imx" | 143 | IMX_DEFAULT_KERNEL_mx6ul = "linux-imx" |
@@ -140,8 +146,10 @@ PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" | |||
140 | 146 | ||
141 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4" | 147 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4" |
142 | IMAGE_FSTYPES ?= "ext4 sdcard.gz" | 148 | IMAGE_FSTYPES ?= "ext4 sdcard.gz" |
149 | IMAGE_FSTYPES_mxs ?= "ext4 uboot.mxsboot-sdcard sdcard.gz" | ||
143 | 150 | ||
144 | SERIAL_CONSOLE = "115200 ttymxc0" | 151 | SERIAL_CONSOLE = "115200 ttymxc0" |
152 | SERIAL_CONSOLE_mxs = "115200 ttyAMA0" | ||
145 | 153 | ||
146 | KERNEL_IMAGETYPE = "zImage" | 154 | KERNEL_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 | |||
3 | include conf/machine/include/fsl-default-settings.inc | ||
4 | include conf/machine/include/fsl-default-versions.inc | ||
5 | |||
6 | include conf/machine/include/soc-family.inc | ||
7 | include conf/machine/include/tune-arm926ejs.inc | ||
8 | |||
9 | SOC_FAMILY = "mxs" | ||
10 | |||
11 | PREFERRED_PROVIDER_virtual/kernel ??= "linux-fslc" | ||
12 | |||
13 | PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" | ||
15 | UBOOT_ENTRYPOINT = "0x40008000" | ||
16 | UBOOT_MAKE_TARGET = "u-boot.sb" | ||
17 | UBOOT_SUFFIX = "sb" | ||
18 | |||
19 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
20 | XSERVER = "xserver-xorg \ | ||
21 | xf86-input-evdev \ | ||
22 | xf86-video-fbdev" | ||
23 | |||
24 | # Sub-architecture support | ||
25 | MACHINE_SOCARCH_SUFFIX ?= "" | ||
26 | |||
27 | MACHINE_ARCH_FILTER = "virtual/kernel" | ||
28 | |||
29 | INHERIT += "fsl-dynamic-packagearch" | ||
30 | |||
31 | # Ship kernel modules | ||
32 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | ||
33 | |||
34 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
35 | |||
36 | KERNEL_IMAGETYPE = "zImage" | ||
37 | |||
38 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4" | ||
39 | IMAGE_FSTYPES ?= "ext4 uboot.mxsboot-sdcard sdcard.gz" | ||
40 | |||
41 | # Add the ability to specify _imx machines | ||
42 | MACHINEOVERRIDES =. "imx:" | ||