On Thu, Sep 24, 2015 at 9:32 AM, Otavio Salvador
<[email protected]> wrote:
> The sdcard image can be compressed for easier download and transfer
> between machine when doing the development. For it, we can change it
> for sdcard.gz so the image generation backend handles the compression
> steps.

--
Replace .sdcard image to sdcard.gz image as a default image type for
all machines.

The SDCard class has the feature of compress the generated .sdcard image.
It can be used to ease the exchange of this image among developers or machines.
--

My suggestion follow the order WHAT -> WHY

>
> Signed-off-by: Otavio Salvador <[email protected]>
> ---
>
> Changes in v2: None
>
>  conf/machine/include/imx-base.inc | 2 +-
>  conf/machine/include/mxs-base.inc | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/conf/machine/include/imx-base.inc 
> b/conf/machine/include/imx-base.inc
> index 799067d..b0dca6a 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -139,7 +139,7 @@ IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
>  PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
>
>  SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> -IMAGE_FSTYPES ?= "ext3 sdcard"
> +IMAGE_FSTYPES ?= "ext3 sdcard.gz"

I understand it's the best for a server. But it's not good for my
local development.

It will add 2 useless steps in my normal development cycle: 1-
compress 2- uncompress

Are we assuming  majority of FSL Community BSP is client of a server,
or are we assuming they are individual developers?


Daiane


>
>  SERIAL_CONSOLE = "115200 ttymxc0"
>
> diff --git a/conf/machine/include/mxs-base.inc 
> b/conf/machine/include/mxs-base.inc
> index 38450be..230b776 100644
> --- a/conf/machine/include/mxs-base.inc
> +++ b/conf/machine/include/mxs-base.inc
> @@ -36,7 +36,7 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
>  KERNEL_IMAGETYPE = "zImage"
>
>  SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> -IMAGE_FSTYPES ?= "ext3 uboot.mxsboot-sdcard sdcard"
> +IMAGE_FSTYPES ?= "ext3 uboot.mxsboot-sdcard sdcard.gz"
>
>  # Add the ability to specify _imx machines
>  MACHINEOVERRIDES =. "imx:"
> --
> 2.5.3
>
> --
> _______________________________________________
> meta-freescale mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-freescale
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to