AnsweredAssumed Answered

yocto

Question asked by li fusong on Apr 22, 2015
Latest reply on Apr 23, 2015 by li fusong

Hi.

   how to build u-boot.imx and kernel image through yocto for mfgtools, we use BSP 4.4.3_r1 uboot version 2014.04 kernel 3.10.53

 

below as my step.

mkdir fsl-yocto

cd fsl-yocto

repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga

repo sync

 

MACHINE=imx6qsabresd source fsl-setup-release.sh -b ./build-x11-mx6qsabresd -e x11

echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf  //we use EMMC boot .

MACHINE=imx6sxsabresd bitbake -c deploy u-boot-imx

to here.

i can see the <UBOOT> directory  build-x11-mx6qsabresd/tmp/work/imx6sxsabresd-poky-linux-gnueabi/uboot-imx/2014.04-r0/git

question A how to build this image?

below ifno Description in the office document file.

#!/bin/bash

export ARCH=arm

export CROSS_COMPILE=<path to cross compiler prefix> (e.g.

/opt/poky/1.4.1/sysroots/i686-pokysdk-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-

gnueabi/arm-poky-linux-gnueabi-

make distclean;

make mx6<custom board name>_config

make

where is the directory for "/opt/poky/1.4.1/sysroots/i686-pokysdk-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-"?

can i user the android directory prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- to compile this image?


question B how to build kernel image for mfgtools?

there office document show as below

bitbake fsl-image-mfgtool-initramfs

where is the kernel code source? I need at what directory to exec that command?

and i saw the command

bitbake fsl-image-gui

when exec it .where is the code direcotry? how to compile it? 

can i get what from this command. bitbake fsl-image-gui bitbake core-image-base

can i get what from this command.bitbake fsl-image-mfgtool-initramfs?


what info is my need? I Just only want to build uboot and kernel image for mfgtools.


why the document  "Freescale_Yocto_Project_User's_Guide.pdf" is hard to read?


thanks verymuch!




Outcomes