Dave, Can I suggest starting with the latest SoCKit GSRD v15.1 available here:
https://rocketboards.org/foswiki/view/Documentation/GSRD151UserManualArrowSoCKitEdition and kernel/rootfs build instructions here: https://rocketboards.org/foswiki/view/Documentation/GSRD151UserManualArrowSoCKitEdition Let us know if you still encounter problems using the latest version. Dan From: Dave Burke (PGR) [mailto:[email protected]] Sent: Friday, June 03, 2016 5:52 AM To: [email protected] Subject: [Rfi] Issues with setting up Yocto build for SoCkit Hi I'm currently working my way through familiarisation with the software build process for the Altera Cyclone V SoCkit, with the aim of getting it all under the control of EDS in order to move on to compiling software to be run as a linux app on the SoCkit. I was following the recipe as in the documentation GSRDv13.1 - Yocto user manual. Got the source package ok. Setup the Yocto environment OK. Tried to build with "bitbake virtual/kernel" and got the following "Pseudo is not present but is required, building this first before the main build ERROR: Failed to obtain external Linaro toolchain version: Execution of '/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc -v' failed with exit code 127: /opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory " I searched for "Pseudo is not present" and got various web based solutions of incantations which didn't work and eventually tracked it down to https://rocketboards.org/foswiki/view/Documentation/YoctoDoraBuildWithMetaAltera. I trustingly followed the incantations to install poky as given in the section "Yocto 2.0 Jethro" finishing with "source poky/oe-init-build-env ./build", got all the correct messages back and therefore ran "bitbake virtual/kernel" This ran to completion after two or three hours and all seemed ok. I tried "bitbake altera-gsrd-image" and ended up with an error. I realised from the following part of the document that I needed to configure the bblayers.conf. I then also realised that in configuring Pseudo that I had generated an extra /build directory below the existing /build , ie ~/yocto/build/build! I had a conf directory in both build dirs. Checking the bblayers showed the upper one set for fpga and the lower one for x86. I tried to correct this by running "source poky/oe-init-build-env ." from ~/yocto/build but it came back with a message that the Pseudo environment is already set up! How can I get out of this? I archived the yocto directory in case I need to go back to it. I reasoned that I might need to install Pseudo before installing the yocto source package, so started again with a fresh yocto directory. That was unsuccessful as I think there may be things set in the etc/ path that thinks everything is already installed!! Help!! Regards Dave Burke MSc, C Eng, MIET [email protected]<mailto:[email protected]> [email protected]<mailto:[email protected]>
_______________________________________________ Rfi mailing list [email protected] http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi
