[meta-freescale] How to build & boot

Gary Thomas samoht.yrag at gmail.com
Mon Nov 26 16:31:58 PST 2012


On 2012-11-26 17:26, Gary Thomas wrote:
> Here's what I did, trying to follow the directions at

Oops - the page I referred to was
   https://github.com/Freescale/Documentation/wiki/Build-and-Flash-the-SD-card-Image

>
> Using this configuration:
>    Build Configuration:
>    BB_VERSION        = "1.16.0"
>    TARGET_ARCH       = "arm"
>    TARGET_OS         = "linux-gnueabi"
>    MACHINE           = "imx6qsabrelite"
>    DISTRO            = "poky"
>    DISTRO_VERSION    = "1.3"
>    TUNE_FEATURES     = "armv7a vfp neon cortexa9"
>    TARGET_FPU        = "vfp-neon"
>    meta
>    meta-yocto        = "danny:27af23e65f63b41962a7cfddba9e9372d5212396"
>    meta-fsl-arm      = "master:77a0c5c41bde8237edf64cda0e8eb5d4c8b76970"
>    meta-fsl-demos    = "master:430c3baf4a6781256e9a0cb1e5647c071c732c18"
>    meta-oe           = "danny:f8ad0760abf8055bac27036853c56f56b40a36c7"
> My local.conf file is attached.
>
> I then built using 'bitbake core-image-sato' which yielded:
>    [gthomas at titan imx_danny]$ ls tmp/deploy/images/ -l
>    total 388368
>    -rw-r--r-- 1 gthomas gthomas 218103808 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
>    -rw-r--r-- 1 gthomas gthomas 234881024 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
>    -rw-r--r-- 1 gthomas gthomas  44111182 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
>    lrwxrwxrwx 1 gthomas gthomas        57 Nov 26 16:32 core-image-sato-imx6qsabrelite.ext3 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
>    lrwxrwxrwx 1 gthomas gthomas        59 Nov 26 16:32 core-image-sato-imx6qsabrelite.sdcard -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
>    lrwxrwxrwx 1 gthomas gthomas        60 Nov 26 16:32 core-image-sato-imx6qsabrelite.tar.bz2 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
>    -rw-rw-r-- 1 gthomas gthomas    410329 Nov 26 15:20 modules-3.0.35-12.09.01+yocto+geaaf30e-r32.3-imx6qsabrelite.tgz
>    -rw-rw-r-- 1 gthomas gthomas       294 Nov 26 16:25 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
>    lrwxrwxrwx 1 gthomas gthomas        37 Nov 26 16:25 u-boot.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
>    lrwxrwxrwx 1 gthomas gthomas        37 Nov 26 16:25 u-boot-imx6qsabrelite.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
>    -rwxr-xr-x 1 gthomas gthomas    269520 Nov 26 16:25 u-boot-imx6qsabrelite-v2012.10-r1.imx
>    lrwxrwxrwx 1 gthomas gthomas        53 Nov 26 15:20 uImage -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
>    -rw-r--r-- 1 gthomas gthomas   3833708 Nov 26 15:20 uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
>    lrwxrwxrwx 1 gthomas gthomas        53 Nov 26 15:20 uImage-imx6qsabrelite.bin -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
>
> I created my SD card via
>    % sudo dd if=tmp/deploy/images/core-image-sato-imx6qsabrelite.sdcard of=/dev/sdc bs=1M
>
> Sadly, this doesn't boot at all.  I can tell that the SD image does not have U-Boot on
> it, so the board is booting U-Boot from FLASH which is quite old:
>    U-Boot 2009.08 (Jul 05 2012 - 15:37:27)
>
> How do I build an SD card image which uses the U-Boot built by this process
> and actually boots?
>
> Thanks for any pointers.  I'd sure like to get this running X when built using Yocto.




More information about the meta-freescale mailing list