I am building images for IMX6 Sabersd using Yocto. I need 3.14 kernel on the board, followed steps for building images using yocto. |
#mkdir ~/bin (this step may not be needed if the bin folder already exists)
#curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
#chmod a+x ~/bin/repo
#export PATH=~/bin:$PATH
#mkdir fsl-release-bsp
#cd fsl-release-bsp
#repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_ga
#repo sync
#source setup-environment build
#bitbake core-image-minimal
But it is building 3.10 kernel. Can you guide me how to get 3.14 kernel uImage.
I thought using branch name as "imx-3.14.28-1.0.0_ga" during repo init will build the 3.14 kernel, because when I tried with the branch name as "imx-3.10.53-1.1.0_ga" using "repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga" command then it is building 3.10 kernel.
Note: I am using Ubuntu 12.04 for building, I got following warning, but didn't face any issues during build time.
WARNING: Host distribution "Ubuntu-12.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
已解决! 转到解答。
Hi Ravi,
If you need a 3.14 kernel, you can use this branch:
#repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga
This branch will contain fsl-setup-release.sh script. I just confirmed it, and it's working fine.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ravi,
If you need a 3.14 kernel, you can use this branch:
#repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga
This branch will contain fsl-setup-release.sh script. I just confirmed it, and it's working fine.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
With "imx-3.14.52-1.1.0_ga" branch it is fetching 3.14 Kernel. Can you please tell me where I can get the details about which branch is having configuration for which version of Kernel, U-boot, packages.
Hi Ravi,
If you want to check the versions, you can go to $your_yocto_dir/sources/meta-fsl-bsp-release/imx/meta-fsl-arm (this directory name is for branch imx-3.14.28_1.0.0_ga, for other branches, the name may be a little different)
In this directory, you can find the bitbake recipes for kernel, u-boot and all other packages. And the version settings are lying in those related .bb files.
By the way, from these .bb files, it seems imx-3.14.28_1.0.0_ga branch should build a 3.14.28 kernel. But I have never tried to build this version, so I'm not sure why you got a 3.10 kernel. However, since 3.14.52_1.1.0_ga is a more stable version, I think it's also better for you to use this version. :smileyhappy:
Best regards,
Danwei
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for the reply.
There is no script named as "fsl-setup-release.sh" in the yocto source. so the command "MACHINE=imx6qsabresd source fsl-setup-release.sh –b build-fb –e fb" is giving error.
Can you please confirm the repo initialization commands updated in my previous comment is proper.
Hello,
Please try using full line as :
$ MACHINE=imx6qsabresd source fsl-setup-release.sh –b build-fb –e fb
instead of "#source setup-environment build"
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------