Hi pav.
thanks for your reply.
I had get some code by below command.
mkdir ~/yocto
cd ~/yotco
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
MACHINE=imx6sxsabresd bitbake -c deploy u-boot-imx //get uboot source
cd ~/yocto
MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11
bitbake fsl-image-gui
bitbake fsl-image-mfgtool-initramfs //there i found the direcotry mfgtool-linux-imx,i think this is kernel source.
but i don't know how to build the uboot and kernel souce. and don't know where is the target file for build also.
so I see your reply Freescale Technical Information Center
int the uboot chapter.
I see the command.and dont' know where is the <S> ,and what is <package-name>
- $ bitbake -c patch u-boot
- $ cd <S>
- and modify the source code. Follow instructions to "Rebuild U-Boot Image" when you are finished modifying source code.
- Note: Use bitbake -e <package-name> | grep ^S= to get value of <S>, the package source code directory.
To Rebuild U-Boot Image:
- $ cd build_<machine>_release
- $ bitbake -c compile -f u-boot
- $ bitbake u-boot
I try to build uboot
cd ~/yocto
source setup-environment build-x11-mx6qsabresd/
run command bitbake -c compile -f u-boot and get below info
kk@ubuntu:~/y/build-x11-mx6qsabresd$ bitbake -c compile -f u-boot
Parsing recipes: 100% |####################################################################################| Time: 00:00:39
Parsing of 1742 .bb files complete (0 cached, 1742 parsed). 2184 targets, 110 skipped, 1 masked, 0 errors.
ERROR: Nothing PROVIDES 'u-boot'
ERROR: u-boot was skipped: UBOOT_CONFIG emmc is not supported
ERROR: u-boot-imx PROVIDES u-boot but was skipped: UBOOT_CONFIG emmc is not supported
ERROR: u-boot-cubox-i PROVIDES u-boot but was skipped: incompatible with machine imx6qsabresd (not in COMPATIBLE_MACHINE)
ERROR: u-boot-imx PROVIDES u-boot but was skipped: UBOOT_CONFIG emmc is not supported
ERROR: u-boot-congatec PROVIDES u-boot but was skipped: incompatible with machine imx6qsabresd (not in COMPATIBLE_MACHINE)
ERROR: u-boot-boundary PROVIDES u-boot but was skipped: incompatible with machine imx6qsabresd (not in COMPATIBLE_MACHINE)
ERROR: u-boot-fslc PROVIDES u-boot but was skipped: UBOOT_CONFIG emmc is not supported
ERROR: u-boot-imx PROVIDES u-boot but was skipped: You cannot use UBOOT_MACHINE and UBOOT_CONFIG at the same time.
ERROR: u-boot-timesys PROVIDES u-boot but was skipped: incompatible with machine imx6qsabresd (not in COMPATIBLE_MACHINE)
Summary: There was 1 ERROR message shown, returning a non-zero exit code.