Use the following command sequence for install u-boot source code:
bitbake -c cleansstate u-boot
bitbake -c patch u-boot // source of the u-boot
The following command sequence was used for u-boot compiling for the T4240rdb board.
- . fsl-setup-env -m t4240rdb
- bitbake fsl-toolchain
- $ cd build_<machine>_release/tmp/deploy/sdk
- $ ./fsl-qoriq-glibc-x86_64-ppce6500-toolchain-2.0.sh
in the folloing folder:
QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/deploy/sdk
- source environment-setup-ppce6500-fsl-linux
in the following folder:
/opt/fsl-qoriq/2.0
- Go to the following folder:
/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/work/t4240rdb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git
Issue the following commands:
- a) export ARCH=powerpc
- b) make ARCH=powerpc CROSS_COMPILE=file:///opt/fsl-qoriq/2.0/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc-fsl-linux-gnuspe T4240RDB_defconfig
See the configuration files in the /configs folder.
- c) make