[meta-freescale] imx53qsb + yocto + latest kernel.

ssinfod ssinfod ssinfod at gmail.com
Wed Jul 2 22:42:54 PDT 2014


Hello,
I see the uImage file in my deploy folder. The details of this file are:
 Folder: /home/dev/fsl-community-bsp/build/tmp/deploy/images/imx53qsb
 File:  uImage--3.14+git0+c34636a557-r0-imx53qsb-20140702201837.bin

However, I think there is a problem with the
"core-image-base-imx53qsb.sdcard"

Normally, with the 'old' kernel, I write this .sdcard and I have 2
partitions. (kernel and rootfs).

Now, when I use the line PREFERRED_PROVIDER_virtual/kernel = "linux-fslc",
it seems that the .sdcard doesn't have the kernel in it. It seems it only
has the rootfs in it.

Is that normal ? Is this happening because I am using the latest kernel ?
(linux-fslc)
Do I have to write both partitions manually ?
If so, how can I write the uImage and rootfs manually with the dd command ?


I have a final general question about the imx53:
Why the Freescale imx53 does not support the latest kernel by default ?

Right now, it seems to be a bad idea to use the imx53 since it currently
does not even support the latest kernel. What would it be in 5 years ?
Would it be stuck with kernel 2.6.35 ? Why Freescale is freezing the
support of the imx53 to that specific kernel ?

For a new design, should I use the Freescale imx6 instead of the imx53 ?

Thanks for your time,
ssinfod.



On Wed, Jul 2, 2014 at 12:14 PM, Daiane Angolini <daiane.list at gmail.com>
wrote:

> On Thu, Jun 26, 2014 at 12:33 AM, ssinfod ssinfod <ssinfod at gmail.com>
> wrote:
> > Hello, I am trying to build the core-image-base with the latest kernel
> for
> > the imx53qsb.
> >
> > I modified local.conf file to add "PREFERRED_PROVIDER_virtual/kernel".
>
> I´m sorry, I missed your email last time
>
>
> >
> > Here is my local.conf:
> >
> > BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
> > PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
> > MACHINE ??= 'imx53qsb'
> > DISTRO ?= 'poky'
> > PREFERRED_PROVIDER_virtual/kernel = "linux-fslc"
>
> In your build/tmp/work, do you have the uImage for the target version?
>
> > PACKAGE_CLASSES ?= "package_rpm"
> > EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> > PATCHRESOLVE = "noop"
> > BB_DISKMON_DIRS = "\
> >     STOPTASKS,${TMPDIR},1G,100K \
> >     STOPTASKS,${DL_DIR},1G,100K \
> >     STOPTASKS,${SSTATE_DIR},1G,100K \
> >     ABORT,${TMPDIR},100M,1K \
> >     ABORT,${DL_DIR},100M,1K \
> >     ABORT,${SSTATE_DIR},100M,1K"
> > PACKAGECONFIG_pn-qemu-native = "sdl"
> > PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
> > ASSUME_PROVIDED += "libsdl-native"
> > CONF_VERSION = "1"
> >
> > BB_NUMBER_THREADS = '1'
> > PARALLEL_MAKE = '-j 1'
> >
> > DL_DIR ?= "${BSPDIR}/downloads/"
> > ACCEPT_FSL_EULA = ""
> >
> >
> > The bitbake of core-image-base when through without error.
> > However, the imx53qsb is not booting.
> > Here is the log from the serial console :
> >
> > U-Boot 2014.01 (Jun 24 2014 - 04:01:10)
> >
> > Board: MX53 LOCO
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> > *** Warning - bad CRC, using default environment
> >
> > In:    serial
> > Out:   serial
> > Err:   serial
> > CPU:   Freescale i.MX53 family rev2.1 at 1000 MHz
> > Reset cause: POR
> > Net:   FEC
> > Hit any key to stop autoboot:  0
> > mmc0 is current device
> > reading boot.scr
> > ** Unable to read file boot.scr **
> > reading uImage
> > ** Unable to read file uImage **
>
> It looks like a corrupted sdcard more than a kernel mistake. Into your
> sdcard, do you have any kernel binary?
>
> Daiane
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140703/b51bc8db/attachment.html>


More information about the meta-freescale mailing list