Hi Chris
I was trying a straight Yocto build as per the instructions on the source. I think the problem the previous time was that the build was interrupt by something in the HOST OS - then I retried the part finished make and it failed.
However I retried with a clean install of everything and the build got a lot further - This time the build failed because the PC lost it’s 'internet connection for a short while. However the build must have gracefully stopped and I was able to continue the build with another “make”
Finally the Yocto build succeeded - for anyone else attempting this
Try with >60Gb drive space
might need this
sudo dpkg-reconfigure dash
install the toolchain
and
Create a soft link from the versioned folder to /y17-ext (delete the existing soft link if needed)
$ cd /opt/swi
$ rm y-17-ext
$ sudo ln -s y17-ext-fx30 y17-ext
extract the base system yocto
tar -xvf FX30_WP8548_full_R14.0.4.002.tar.gz
tar -xvf legato-16.10.1.m3.tar.bz2
rename the legato-16... folder legato
Workspace directory tree after build looked like this ( tree -d -L 1 )
.
├── build_bin
├── downloads
├── kernel
├── legato
├── lk
├── mangOH
├── meta-columbia-x
├── meta-mangoh
├── meta-openembedded
├── meta-swi
├── meta-swi-extras
└── poky
install these puppies
makeinfo
gawk
chrpath
sdl-config
edit some stuff
Known Issues:
When building the Source code package, a build error occurs:
error “cat: modules/Columbia/apps/columbiaAtServiceComponent/columbiaAtService.c: No such file or directory”
To resolve this:
/home/john/FX30/workspace/meta-columbia-x/meta-columbia-x-app/recipes/legato-af
Edit the file meta-columbia-x / meta-columbia-x-app/recipes/legato-af/legato-af_git.bbappend
and remove the entire “do_compile_append” function.
except "do_compile_append” doesn’t exist in the file , however the following function does exist
do_compile_prepend() {
COLUMBIA_FILE=modules/Columbia/apps/columbiaAtServiceComponent/columbiaAtService.c
GEN_DATE=$(date -u)
cat ${COLUMBIA_FILE} | sed "1 s/^.*$/char date[]=\"$GEN_DATE\";/" \
> ${COLUMBIA_FILE}_tmp
mv ${COLUMBIA_FILE}_tmp ${COLUMBIA_FILE}
}
attempt a yocto build
After “make” in the project workspace - I got this
NOTE: Tasks Summary: Attempted 2559 tasks of which 1057 didn't need to be rerun and all succeeded.
Summary: There were 21 WARNING messages shown.
Then
attempt a legato build
cd legato
make
markdown
I’ve just noticed that the forum actually takes markdown - as well as the odd formatting language contained in the menu bar
Cheers
John