From: Daiane Angolini <daiane.angolini@freescale.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: meta-freescale@yoctoproject.org,
Maxime Ripard <maxime.ripard@free-electrons.com>,
jimwall@q.com, brian@crystalfontz.com
Subject: Re: [meta-fsl-arm-extra][PATCH 2/8] cfa10036: split configuration
Date: Fri, 6 Sep 2013 08:57:39 -0300 [thread overview]
Message-ID: <5229C333.20101@freescale.com> (raw)
In-Reply-To: <1378416122-16832-3-git-send-email-alexandre.belloni@free-electrons.com>
On 09/05/2013 06:21 PM, Alexandre Belloni wrote:
> Introduce an include file to be able to support multiple boards using
> the cfa10036 by reusing the imx-bootlets, barebox and kernel
> configurations.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> conf/machine/cfa10036.conf | 34 +---------------------------------
> conf/machine/include/cfa10036.inc | 30 ++++++++++++++++++++++++++++++
> 2 files changed, 31 insertions(+), 33 deletions(-)
> create mode 100644 conf/machine/include/cfa10036.inc
>
> diff --git a/conf/machine/cfa10036.conf b/conf/machine/cfa10036.conf
> index b7cdd8d..242d352 100644
> --- a/conf/machine/cfa10036.conf
> +++ b/conf/machine/cfa10036.conf
> @@ -3,36 +3,4 @@
> #@SOC: i.MX28
> #@DESCRIPTION: Machine configuration for CFA-10036
>
> -include conf/machine/include/mxs-base.inc
> -
> -SOC_FAMILY = "mxs:mx28"
> -
> -PREFERRED_PROVIDER_virtual/kernel = "linux-cfa"
> -
> -IMAGE_BOOTLOADER = "barebox"
> -BAREBOX_BINARY = "barebox"
> -
> -IMXBOOTLETS_MACHINE = "cfa10036"
> -
> -KERNEL_IMAGETYPE = "zImage"
> -KERNEL_DEVICETREE = "imx28-cfa10036.dtb \
> - imx28-cfa10037.dtb \
> - imx28-cfa10049.dtb \
> - imx28-cfa10055.dtb \
> - imx28-cfa10056.dtb \
> - imx28-cfa10057.dtb \
> - imx28-cfa10058.dtb \
> -"
> -
> -# we need the kernel to be installed in the final image
> -IMAGE_INSTALL_append = " kernel-image kernel-devicetree"
> -
> -SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> -IMAGE_FSTYPES ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard"
> -
> -SERIAL_CONSOLE = "115200 ttyAMA0"
> -
> -MACHINE_FEATURES = "apm usbgadget usbhost vfat"
> -
> -# Gstreamer plugin
> -MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin"
> +include conf/machine/include/cfa10036.inc
> diff --git a/conf/machine/include/cfa10036.inc b/conf/machine/include/cfa10036.inc
> new file mode 100644
> index 0000000..0adea54
> --- /dev/null
> +++ b/conf/machine/include/cfa10036.inc
> @@ -0,0 +1,30 @@
> +# Common definitions for cfa-10036 boards
> +
> +include conf/machine/include/mxs-base.inc
> +
> +SOC_FAMILY = "mxs:mx28"
> +
> +MACHINEOVERRIDES =. "cfa10036:"
> +
> +PREFERRED_PROVIDER_virtual/kernel = "linux-cfa"
> +
> +IMAGE_BOOTLOADER = "barebox"
> +BAREBOX_BINARY = "barebox"
> +
> +IMXBOOTLETS_MACHINE = "cfa10036"
> +
> +KERNEL_IMAGETYPE = "zImage"
> +KERNEL_DEVICETREE = "imx28-cfa10036.dtb"
Would KERNEL_DEVICETREE be part of the machine conf file?
> +
> +# we need the kernel to be installed in the final image
> +IMAGE_INSTALL_append = " kernel-image kernel-devicetree"
> +
> +SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> +IMAGE_FSTYPES ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard"
> +
> +SERIAL_CONSOLE = "115200 ttyAMA0"
> +
> +MACHINE_FEATURES = "apm usbgadget usbhost vfat"
> +
> +# Gstreamer plugin
> +MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin"
>
--
Daiane
next prev parent reply other threads:[~2013-09-06 12:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 21:21 [meta-fsl-arm-extra][PATCH 0/8] Split crystalfontz boards Alexandre Belloni
2013-09-05 21:21 ` [meta-fsl-arm-extra][PATCH 1/8] linux-cfa: always use cfa10036 as MACHINE for the kernel link Alexandre Belloni
2013-09-06 11:55 ` Daiane Angolini
2013-09-06 12:39 ` Alexandre Belloni
2013-09-05 21:21 ` [meta-fsl-arm-extra][PATCH 2/8] cfa10036: split configuration Alexandre Belloni
2013-09-06 11:57 ` Daiane Angolini [this message]
2013-09-05 21:21 ` [meta-fsl-arm-extra][PATCH 3/8] Add a machine configuration for cfa-10037 Alexandre Belloni
2013-09-06 11:59 ` Daiane Angolini
2013-09-06 12:10 ` Otavio Salvador
2013-09-06 16:34 ` Alexandre Belloni
2013-09-06 16:40 ` Otavio Salvador
2013-09-06 17:11 ` Alexandre Belloni
2013-09-06 18:12 ` Otavio Salvador
2013-09-05 21:21 ` [meta-fsl-arm-extra][PATCH 4/8] Add a machine configuration for cfa-10049 Alexandre Belloni
2013-09-05 21:21 ` [meta-fsl-arm-extra][PATCH 5/8] Add a machine configuration for cfa-10055 Alexandre Belloni
2013-09-05 21:22 ` [meta-fsl-arm-extra][PATCH 6/8] Add a machine configuration for cfa-10056 Alexandre Belloni
2013-09-05 21:22 ` [meta-fsl-arm-extra][PATCH 7/8] Add a machine configuration for cfa-10057 Alexandre Belloni
2013-09-05 21:22 ` [meta-fsl-arm-extra][PATCH 8/8] Add a machine configuration for cfa-10058 Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5229C333.20101@freescale.com \
--to=daiane.angolini@freescale.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=brian@crystalfontz.com \
--cc=jimwall@q.com \
--cc=maxime.ripard@free-electrons.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.