While installing I am getting this error:
root@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto# ./fsl-setup-poky – m p1020rdb
bash: ./fsl-setup-poky: Permission denied
kindly resolve
Hi Yiping
How to access the toolchan available in ver1.6.?
wrt the link shared in the last response, should have the access to sysroots, shall i Have to install it!!!
regards
Hitu
Hello Hitu,
The pre_built Toolchain is provided in the images ISO, you could install it and source the environment script. This toolchain is standalone, if you need assistance to use it, you could create a new thread about this topic.
You also could use the Toolchain in provide in SDK Yocto build environment.
The Toolchin is in build_<platform>_release/tmp/sysroots/x86_64-linux/usr/bin/<processor>-fsl-linux/
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI Yiping
Thanks I am able to run bitbake netcf -c configure -f" successfully
Since I have install the Build environment for SDK and I a installing this on Ubuntu 12.04 and not on the virtual machine, do I need to get into UBoot and Linux kernal configuration as mentioned in the SDL document or I can directly install the tool can and can write a simple application in C??
regards
Hitu
Hi Hitu,
The SDK 1.6 images ISO has already provided prebuilt Toolchain, you could use it to build your own application code? Please refer to Re: SDK cross-toolchain build error.
Why do you want to modify Kernel and u-boot? If you use the Freescale demo board, no need to modify them.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping
while I am trying to clean the bitbake
its telling me that bitbake is not installed.nd install in using apt-get install bitbake.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c clean
The program 'bitbake' is currently not installed. You can install it by typing:
sudo apt-get install bitbake
I tried doing that but unable to install because I am getting error repeatedly.
Connection failed [IP: 91.189.88.149 80]
regds
Hitu
Hello Hitu,
Every time when you login the build server again.
Please run the command under the folder ~/QorIQ-SDK-V1.6-20140619-yocto/.
source ./fsl-setup-poky -m p2020rdb
or
In the folder ~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release.
execute "source SOURCE_THIS".
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping
I tried installing installing bitbake following is the installation steps and its stuck at a certain point.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake fsl-image-full
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2204 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-networking"
DISTRO_VERSION = "1.6"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(nobranch):0d2ce44c2b0f8cc9699e30cca2c24655be89d58b"
meta-fsl-ppc = "(nobranch):6cf59d9de63a9fc5f8942c0d10c622898f4315ce"
meta-fsl-ppc-toolchain = "(nobranch):a546e42f86e7d57de19e27907365d170b13fc18f"
meta-fsl-networking
meta-fsl-networking = "(nobranch):8dec9c690188cce5305ef5055f91e5cfa35c63f4"
meta-virtualization
meta-virtualization = "(nobranch):8044073f63a0d99541a43ac5f2f6d789f94c7c7c"
meta-oe
meta-networking
meta-webserver
meta-ruby
meta-filesystems = "(nobranch):b86007f742a1b829ccc8d76e485bb3f789cefaa4"
meta-java = "(nobranch):d01f7d39e513790ddce20e6724723722119a3700"
meta-openstack
meta-openstack-compute-deploy
meta-openstack-controller-deploy
meta-openstack-qemu = "(nobranch):f627404399a134672e0b5e26a0d9b794a6f8adf4"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627)
ERROR: Logfile of failure stored in: /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc32-linux', 'powerpc-linux-gnuspe', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| ./bootstrap: Bootstrapping from checked-out netcf sources...
| ./bootstrap: consider installing git-merge-changelog from gnulib
| ./bootstrap: getting gnulib files...
| Submodule 'gnulib' () registered for path '.gnulib'
| fatal: Needed a single revision
| Unable to find current revision in submodule path '.gnulib'
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627)
ERROR: Task 3507 (/home/embedded/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2139 tasks of which 2135 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/embedded/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c clean
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2204 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-networking"
DISTRO_VERSION = "1.6"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(nobranch):0d2ce44c2b0f8cc9699e30cca2c24655be89d58b"
meta-fsl-ppc = "(nobranch):6cf59d9de63a9fc5f8942c0d10c622898f4315ce"
meta-fsl-ppc-toolchain = "(nobranch):a546e42f86e7d57de19e27907365d170b13fc18f"
meta-fsl-networking
meta-fsl-networking = "(nobranch):8dec9c690188cce5305ef5055f91e5cfa35c63f4"
meta-virtualization
meta-virtualization = "(nobranch):8044073f63a0d99541a43ac5f2f6d789f94c7c7c"
meta-oe
meta-networking
meta-webserver
meta-ruby
meta-filesystems = "(nobranch):b86007f742a1b829ccc8d76e485bb3f789cefaa4"
meta-java = "(nobranch):d01f7d39e513790ddce20e6724723722119a3700"
meta-openstack
meta-openstack-compute-deploy
meta-openstack-controller-deploy
meta-openstack-qemu = "(nobranch):f627404399a134672e0b5e26a0d9b794a6f8adf4"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c patch
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2204 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-networking"
DISTRO_VERSION = "1.6"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(nobranch):0d2ce44c2b0f8cc9699e30cca2c24655be89d58b"
meta-fsl-ppc = "(nobranch):6cf59d9de63a9fc5f8942c0d10c622898f4315ce"
meta-fsl-ppc-toolchain = "(nobranch):a546e42f86e7d57de19e27907365d170b13fc18f"
meta-fsl-networking
meta-fsl-networking = "(nobranch):8dec9c690188cce5305ef5055f91e5cfa35c63f4"
meta-virtualization
meta-virtualization = "(nobranch):8044073f63a0d99541a43ac5f2f6d789f94c7c7c"
meta-oe
meta-networking
meta-webserver
meta-ruby
meta-filesystems = "(nobranch):b86007f742a1b829ccc8d76e485bb3f789cefaa4"
meta-java = "(nobranch):d01f7d39e513790ddce20e6724723722119a3700"
meta-openstack
meta-openstack-compute-deploy
meta-openstack-controller-deploy
meta-openstack-qemu = "(nobranch):f627404399a134672e0b5e26a0d9b794a6f8adf4"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 10 tasks of which 7 didn't need to be rerun and all succeeded.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c configure -f
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2204 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-networking"
DISTRO_VERSION = "1.6"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(nobranch):0d2ce44c2b0f8cc9699e30cca2c24655be89d58b"
meta-fsl-ppc = "(nobranch):6cf59d9de63a9fc5f8942c0d10c622898f4315ce"
meta-fsl-ppc-toolchain = "(nobranch):a546e42f86e7d57de19e27907365d170b13fc18f"
meta-fsl-networking
meta-fsl-networking = "(nobranch):8dec9c690188cce5305ef5055f91e5cfa35c63f4"
meta-virtualization
meta-virtualization = "(nobranch):8044073f63a0d99541a43ac5f2f6d789f94c7c7c"
meta-oe
meta-networking
meta-webserver
meta-ruby
meta-filesystems = "(nobranch):b86007f742a1b829ccc8d76e485bb3f789cefaa4"
meta-java = "(nobranch):d01f7d39e513790ddce20e6724723722119a3700"
meta-openstack
meta-openstack-compute-deploy
meta-openstack-controller-deploy
meta-openstack-qemu = "(nobranch):f627404399a134672e0b5e26a0d9b794a6f8adf4"
NOTE: Preparing runqueue
NOTE: Tainting hash to force rebuild of task /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently 1 running tasks (354 of 354):
0: netcf-0.2.2+gitAUTOINC+2b0d9ca226-r1 do_configure (pid 6589)
its not moving ahead,what should i conclude from this..
regds
HItu
Hi Hitu,
Please try to use the workaround step by step, which I provided at "Sep 10, 2014 3:00 AM"
Have you modified the url in the file .gitmodules as "http://repo.or.cz/r/gnulib.git".
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping
I have followed the steps which u shared on Sep 10 2014, here is the sequence:
Step 1:
In the folder ~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release.
execute "source SOURCE_THIS
".
Step 2:
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake fsl-image-full
ERROR: Function failed: do_configure (log file is located at /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627)
ERROR: Logfile of failure stored in: /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627
Unable to find current revision in submodule path '.gnulib'
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.3627)
ERROR: Task 3507 (/home/embedded/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2139 tasks of which 2135 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
Step 3:
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c clean
Step4:
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release$ bitbake netcf -c patch
Step 5:
Go to netcf source in
build_p1020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/git/.
Modify the url in the file .gitmodules as "http://repo.or.cz/r/gnulib.git"
Step 6:
. $ bitbake netcf -c configure -f
Please refer to my post on Sep 15 2014, it the detail of the steps.
After performing these 6 steps the installation stopped as shown in the post on Sep15 2014.
and when today I tried reinstalling
In the folder ~/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release.
execute "source SOURCE_THIS
$ bitbake fsl-image-full
ERROR :ONly one copy of bItbake should run against build directory.
I am not able to understand whether the bitbake has been installed ???
regards
Hitu
Hello Hitu,
I have verified the workaround which I provided previously, it worked on my build host.
After run "bitbake netcf -c configure -f", you need to wait for a moment, because it is needed to download gnulib source code from the url "http://repo.or.cz/r/gnulib.git".
Is there problem for your host to connect to network? Is it possible to execute the command "git clone http://repo.or.cz/r/gnulib.git" on your host?
For the error "ERROR :ONly one copy of bItbake should run against build directory."
Please make sure only one bitbake building running under this folder, please close other terminal, if the error remains, please go to folder "~/QorIQ-SDK-V1.6-20140619-yocto/" and execute the command "source ./fsl-setup-poky -m p2020rdb" again.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi YipingI
I have reinstalled the ISO image, but while executing "bitbake fsl-image-full" I am getting this errors:
ERROR: Function failed: do_configure (log file is located at /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.29248)
ERROR: Logfile of failure stored in: /home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.29248
ERROR: Task 3507 (/home/embedded/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure) failed with exit code '1'How should I proceed..
regds
Hitu
Hello Hitu,
Please try whether the following workaround would helpful for you.
1. $ bitbake netcf -c clean
2. $ bitbake netcf -c patch
Go to netcf source in
build_p1020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/git/.
3. Modify the url in the file .gitmodules as "http://repo.or.cz/r/gnulib.git"
4. $ bitbake netcf -c configure -f
If your problem remains, please attach the file log.do_configure.29248 to me.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi David
The printout from lsattr fsl-setup-poky is -e
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto$ lsattr fsl-setup-poky
-------------e- fsl-setup-poky
how should I take it further.
regards
Hitu
Hello Hitu,
Please try to use the setup command like the following.
source ./fsl-setup-poky -m p1020rdb
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI Yiping
I am trying to install SDK 1.6 on Ubuntu 12.04 OS, I have installed the ISO image of QorIQ-SDK-V1.6-20140619-yocto, which created a folder in my system.I had run the script ./scripts/host-prepare.sh but while installing poky ie while running
$ source ./fsl-setup-poky -m p2020rdb
I am getting following errors
1.
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto$ $ source ./fsl-setup-poky -m p2020rdb
$: command not found
2.
the file fsl-setup-poky is installed outside the sources folder so i tried running the command
mbedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto$ $ ./fsl-setup-poky -m p2020rdb
$: command not found
3.
I tried to run the command with root privilege:
root@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto# ./fsl-setup-poky -m p2020rdb
bash: ./fsl-setup-poky: Permission denied
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto$ source ./fsl-setup-poky -m p1020rdb
mkdir: cannot create directory `/home/embedded/QorIQ-SDK-V1.6-20140619-yocto/build_p1020rdb_release': Permission denied
kindly help me resolving the issue.
Regds
Hitu
`
Hi Hitu,
Did you install the ISO with root privilege?
Would you please let me know the result of "ls -lh fsl-setup-poky"?
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping
Yes I did install ISO with root privilege
Plz find the result of
embedded@embedded-HP-Z210-SFF-Workstation:~/QorIQ-SDK-V1.6-20140619-yocto$ ls -lh fsl-setup-poky
-rw-r--r-- 1 554 501 16K Jun 16 08:16 fsl-setup-poky
regds
Hitu
Hello Hitu,
Actually you should install the ISO with normal user privilege. If you install the ISO with root privilege, other users don't have write permission in the installation folder, and only root could set up the building.
I suggest you remove this installation folder and install the ISOs again with "mbedded" user.
No need to execute host-prepare.sh again, it is enough to execute this script once.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping
I would do that, but please le the know if I have to uninstall the exiting image manually or the new one will over right the existing one automatically?
Regds
Hitu
Hello Hitu,
Please under the root privilege to remove "~/QorIQ-SDK-V1.6-20140619-yocto" folder manually.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------