i build Yocto for imx6 ULL development kit, How to change from krogoth branch to rocko or morthy?
$ cd fsl-release-bsp$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m imx-4.1.15-2.0.0.xml$ repo sync
Hello Heri Cahyono,
The commit you shared is for the 4.1.15-2.0.0 BSP Release which is static and it’s indeed based on Krogoth.
You would have two alternatives depending on the reason why you want to switch to a more recent branch.
The first would be switching to the 4.9.11_1.0.0 which is based on morty.
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-morty
The other alternative is working with the Community BSP which is different to the BSP Releases in that third-party boards are supported and it’s part of the Yocto Project which is Open Source. You can find the documentation for this BSP on the following link:
You can select the branch you want, for example Rocko:
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b rocko
I hope this information helps!
gusarambula Heri Cahyono
imx6ull-evk yocto imx yocto linux
I'm using MYiR MYS-6ULX-IOT board(its comes under imx6ull)
For yocto build i'm using below command:
$ mkdir ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir fsl-release-bsp$ cd fsl-release-bsp$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth$ repo sync
$ DISTRO=fsl-imx-x11 MACHINE=imx6ull14x14evk source fsl-setup-release.sh -b build
$ bitbake core-image-base
i'm getting error:
bitbake core-image-baseNOTE: Your conf/bblayers.conf has been automatically updated.WARNING: Host distribution "Ubuntu-18.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.Parsing recipes: 100% |#########################################| Time: 00:01:20Parsing of 2215 .bb files complete (0 cached, 2215 parsed). 2790 targets, 212 skipped, 5 masked, 0 errors.NOTE: Resolving any missing task queue dependencies
Build Configuration:BB_VERSION = "1.30.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "Ubuntu-18.04"TARGET_SYS = "arm-poky-linux-gnueabi"MACHINE = "imx6ull14x14evk"DISTRO = "fsl-imx-x11"DISTRO_VERSION = "4.1.15-2.1.0"TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"TARGET_FPU = "hard"meta meta-yocto = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"meta-oe meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"meta-bsp meta-sdk = "HEAD:823b26a67261270d2bf22d511e6190641a8a90cf"meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"meta-gnome meta-networking meta-python meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"
NOTE: Preparing RunQueueNOTE: Executing SetScene TasksNOTE: Executing RunQueue TasksERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: Logfile of failure stored in: /home/user/myir_imx-yocto/build/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_unpack.97607
I have tested most of the FSL Community BSPs on Wandboards and SolidRun boards and I recommend using either Krogoth or Pyro because they are the most stable releases. Rocko version 2.4.2 does not even boot, in my experience. The point at which the boot fails is here:
ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabledahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform modeahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
Retrieving data ...