Rebuild FX30 device Image to add new package to rootfs


#1

Hi All,

Please suggest what is the documented process to add a package like socat or netcat for FX30 RFID reader.
As I see on rootfs its not there. We need to rebuild the linux kernel with rootfs to include it using yocto.

I am not finding any document howto add this on Legato, or I am making mistake, it will be helpful someone point to me on this.

I have downloaded below source

SWI9X15Y_07.12.14.00 Source

in Yocto dir I run the make image_bin its failing

make image_bin
“meta-swi-extras/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -a “SDKPATH_PREFIX=” -M -a “MANGOH_WIFI_REPO=”/home/somshekar/legato/yocto/mangOH/WiFi"" -m swi-mdm9x15 -a KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55 -a KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55 -q -b build_bin
Poky dir: /home/somshekar/legato/yocto/poky
OE meta: /home/somshekar/legato/yocto/meta-openembedded
SWI meta dir: /home/somshekar/legato/yocto/meta-swi
Linux repo dir: /home/somshekar/legato/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - SDKPATH_PREFIX=
With mangOH
Extra options added - MANGOH_WIFI_REPO=/home/somshekar/legato/yocto/mangOH/WiFi
SWI machine: swi-mdm9x15
Extra options added - KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55
Extra options added - KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55
Enable Qualcomm Proprietary bin
Build dir: /home/somshekar/legato/yocto/build_bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting
Makefile:137: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1

Also can you point to link where is this documented commands for legato build
make image_bin
where to specify for FX30 mention which module,

ALso tried in yocto dir to run build.sh

===================
./build.sh -p …/poky/ -o …/meta-openembedded/ -l …/meta-swi -m swi-mdm9x15 -q -t 9 -j 9 -d
Poky dir: /home/somshekar/legato/yocto/poky
OE meta: /home/somshekar/legato/yocto/meta-openembedded
SWI meta dir: /home/somshekar/legato/yocto/meta-swi
SWI machine: swi-mdm9x15
Enable Qualcomm Proprietary bin
Number of bitbake tasks 9
Number of make threads 9
Enable more packages for debugging

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting

please let me know what is the wrong step I am doing.
Also if any documentation link will help

thanks in advance
regards
Somshekar


#2

what is the return value of “env”?
Maybe you can use “chsh” to change the default shell.


#3

Thanks for quick reply.
Will check
Are my steps mentiond correct ?
where is the documentation which i can find to follow

thanks in advance


#4

Hi Jyijyi

here is my env details, its set for /bin/bash, i tried with /bin/sh same results

=================
XDG_VTNR=7
XDG_SESSION_ID=c2
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/somshekar
CLUTTER_IM_MODULE=xim
SESSION=ubuntu
GPG_AGENT_INFO=/home/somshekar/.gnupg/S.gpg-agent:0:1
TERM=xterm-256color
VTE_VERSION=4205
XDG_MENU_PREFIX=gnome-
SHELL=/bin/bash
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
WINDOWID=58746815
OLDPWD=/home/somshekar/legato/yocto
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1396
GNOME_KEYRING_CONTROL=
GTK_MODULES=gail:atk-bridge:unity-gtk-module
LEGATO_BUILD=0
USER=somshekar
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:
QT_ACCESSIBILITY=1
UNITY_HAS_3D_SUPPORT=true
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
SESSION_MANAGER=local/celsys041:@/tmp/.ICE-unix/1657,unix/celsys041:/tmp/.ICE-unix/1657
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
UNITY_DEFAULT_PROFILE=unity
DESKTOP_SESSION=ubuntu
PATH=/home/somshekar/legato/yocto/poky/scripts:/home/somshekar/legato/yocto/poky/bitbake/bin:/home/somshekar/legato/poky/scripts:/home/somshekar/legato/poky/bitbake/bin:/home/somshekar/bin:/home/somshekar/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
XDG_SESSION_TYPE=x11
PWD=/home/somshekar/legato/yocto/meta-swi-extras
JOB=unity-settings-daemon
XMODIFIERS=@im=ibus
GNOME_KEYRING_PID=
LANG=en_IN
GDM_LANG=en_US
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
COMPIZ_CONFIG_PROFILE=ubuntu
IM_CONFIG_PHASE=1
GDMSESSION=ubuntu
SESSIONTYPE=gnome-session
GTK2_MODULES=overlay-scrollbar
BUILDDIR=/home/somshekar/legato/yocto/build
SHLVL=1
HOME=/home/somshekar
XDG_SEAT=seat0
LANGUAGE=en_IN:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
UPSTART_EVENTS=xsession started
XDG_SESSION_DESKTOP=ubuntu
LOGNAME=somshekar
COMPIZ_BIN_PATH=/usr/bin/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FyV2K7T3Ou
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop
QT4_IM_MODULE=xim
LESSOPEN=| /usr/bin/lesspipe %s
INSTANCE=
UPSTART_JOB=unity7
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
XDG_CURRENT_DESKTOP=Unity
GTK_IM_MODULE=ibus
LESSCLOSE=/usr/bin/lesspipe %s %s
BB_ENV_EXTRAWHITE=MACHINE DISTRO TCMODE TCLIBC HTTP_PROXY http_proxy HTTPS_PROXY https_proxy FTP_PROXY ftp_proxy FTPS_PROXY ftps_proxy ALL_PROXY all_proxy NO_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS BB_NO_NETWORK PARALLEL_MAKE GIT_PROXY_COMMAND SOCKS5_PASSWD SOCKS5_USER SCREENDIR STAMPS_DIR
XAUTHORITY=/home/somshekar/.Xauthority
_=/usr/bin/env


#5

how about "cat /etc/shells "?


#6

somshekar@celsys041:~/legato/yocto/meta-swi-extras$ cat /etc/shells

/etc/shells: valid login shells

/bin/sh
/bin/dash
/bin/bash
/bin/rbash


#7

I don’t see such problem with “make” command. Please see attached log. Maybe you can try “make” command first.log.txt (4.7 KB)


#8

Thanks jyijyi for quick response, will try and comeback.
Also meantime here are my dev machine details, incase some setup issue.

Ubuntu 16.0.4
% uname -a
Linux celsys041 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
% gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright © 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


#9

update using only make

==========
somshekar@celsys041:~/legato/yocto$ make
“meta-swi-extras/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -g -a “LEGATO_WORKDIR=/home/somshekar/legato/yocto/legato/” -a “SDKPATH_PREFIX=” -M -a “MANGOH_WIFI_REPO=”/home/somshekar/legato/yocto/mangOH/WiFi"" -m swi-mdm9x15 -a KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55 -a KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55 -q -b build_bin
Poky dir: /home/somshekar/legato/yocto/poky
OE meta: /home/somshekar/legato/yocto/meta-openembedded
SWI meta dir: /home/somshekar/legato/yocto/meta-swi
Linux repo dir: /home/somshekar/legato/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
With Legato
Extra options added - LEGATO_WORKDIR=/home/somshekar/legato/yocto/legato/
Extra options added - SDKPATH_PREFIX=
With mangOH
Extra options added - MANGOH_WIFI_REPO=/home/somshekar/legato/yocto/mangOH/WiFi
SWI machine: swi-mdm9x15
Extra options added - KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55
Extra options added - KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55
Enable Qualcomm Proprietary bin
Build dir: /home/somshekar/legato/yocto/build_bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting
Makefile:137: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1


#10

Hi jyijyi,

Do I need to set toolchain path is that step missing, which is currenlty installed in /opt/swi dir


#11

Hi jyijyi,
Just cross checking with you my steps, correct if I am wrong, thanks in advance

1.Downloaded Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00.tar.bz2
2. unzip it,
3. cd yocto dir
4. and run make


#12

Did you install the correct toolchain?


#13

Hi Jyijyi,

Sorry for late response.
I have installed 64 bit toolchain from below link
http://downloads.sierrawireless.com/AirPrime/WPx5xx/Release15/poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-vfp-neon-toolchain-swi-ext-1.7.3.sh

This has installed in /opt/swi

x86_64-pokysdk-linux dir contains the cross-toolchain
armv7a-vfp-neon-poky-linux-gnueabi dir contains the rootfs

somshekar@celsys041:/opt/swi/y17-ext$ cd sysroots/
somshekar@celsys041:/opt/swi/y17-ext/sysroots$ ls
armv7a-vfp-neon-poky-linux-gnueabi x86_64-pokysdk-linux
somshekar@celsys041:/opt/swi/y17-ext/sysroots$ pwd
/opt/swi/y17-ext/sysroots
somshekar@celsys041:/opt/swi/y17-ext/sysroots$

Also I am able to build the Legato Frame work source which picks this cross toolchain from /opt/swi and its built for wp85 as shown below

somshekar@celsys041:~/legato/legato-16.04.0/build/wp85$ ls
framework legato-squashfs.ubi.cwe pa-check
legato.cwe legato.yaffs2 staging
legato.default legato-yaffs2.cwe system
legatoimg legatoz.cwe system.wp85.update
legato.squashfs legatoz-squashfs.ubi.cwe
legato.squashfs.ubi legatoz-yaffs2.cwe

Do I need to export the toolchain path before I run make image ?


#14

Hi Jyijyi,
Also one more question before we run make or make image in ycoto dir, do we need to set the cross toolchain to build Device Image in Yocto.

Is it documented anywhere, as this is bit confusing. Please help thanks in advance

regards
Somshekar


#15

This time I am using csh, compared your build log with mine, there seems to be no difference, not sure what else I am missing, should i try with any other version of Ubuntu.

Also to let you know I have already built for raspberry pi3 built Yocto on the same machine with Java cross compiled jamvm 2.0 and its running on the target board. Its in seperate dir though.

mine log

% make
Makefile:18: “Legato: build disabled since ‘/home/somshekar/legato/yocto/legato/’ does not exist”
“meta-swi-extras/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -a “SDKPATH_PREFIX=” -M -a “MANGOH_WIFI_REPO=”/home/somshekar/legato/yocto/mangOH/WiFi"" -m swi-mdm9x15 -a KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55 -a KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55 -q -b build_bin
Poky dir: /home/somshekar/legato/yocto/poky
OE meta: /home/somshekar/legato/yocto/meta-openembedded
SWI meta dir: /home/somshekar/legato/yocto/meta-swi
Linux repo dir: /home/somshekar/legato/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - SDKPATH_PREFIX=
With mangOH
Extra options added - MANGOH_WIFI_REPO=/home/somshekar/legato/yocto/mangOH/WiFi
SWI machine: swi-mdm9x15
Extra options added - KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55
Extra options added - KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55
Enable Qualcomm Proprietary bin
Build dir: /home/somshekar/legato/yocto/build_bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting
Makefile:137: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1

Your log below

owner@owner-ThinkPad-T440p:~/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto$ make
Makefile:18: “Legato: build disabled since ‘/home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/legato/’ does not exist”
“meta-swi-extras/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -a “SDKPATH_PREFIX=” -M -a “MANGOH_WIFI_REPO=”/home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/mangOH/WiFi"" -m swi-mdm9x15 -a KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55 -a KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55 -q -b build_bin
Poky dir: /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/poky
OE meta: /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/meta-openembedded
SWI meta dir: /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/meta-swi
Linux repo dir: /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - SDKPATH_PREFIX=
With mangOH
Extra options added - MANGOH_WIFI_REPO=/home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/mangOH/WiFi
SWI machine: swi-mdm9x15
Extra options added - KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55
Extra options added - KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55
Enable Qualcomm Proprietary bin
Build dir: /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/build_bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’

  • layer: meta-swi-mdm9xxx
  • layer: meta-swi-mdm9x15
  • layer: meta-swi
  • layer: meta-oe
  • layer: meta-networking
  • layer: meta-python
  • layer: meta-swi-bin
  • layer: meta-swi-extras/common
  • layer: meta-mangoh
    Updating LEGATO_BUILD to false
    Updating ROOTFS_VERSION to
    Updating SDKPATH_PREFIX to
    Updating MANGOH_WIFI_REPO to /home/owner/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto/mangOH/WiFi
    Updating KBRANCH_DEFAULT_MDM9X15 to standard/swi-mdm9x15-yocto-1.7-swi-le55
    Updating KMETA_DEFAULT_MDM9X15 to meta-yocto-1.7-swi-le55
    Build image of minimal rootfs (for swi-mdm9x15).
    WARNING: Unable to get checksum for embms-kernel SRC_URI entry embms_kernel: file could not be found
    Parsing recipes: 100% |#########################################| Time: 00:00:41
    Parsing of 1605 .bb files complete (0 cached, 1605 parsed). 2081 targets, 200 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

Build Configuration:
BB_VERSION = “1.24.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “Ubuntu-12.04”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “swi-mdm9x15”
DISTRO = “poky-swi-ext”
DISTRO_VERSION = “1.7.3”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “vfp-neon”
meta
meta-yocto
meta-yocto-bsp = “(nobranch):c282df8993828bd7b1d50cfcf637a477eaf481a1”
common
common
common
common
common
common
common
common
common
common
common
common
common = “master:92bb304f928d34e445f61c90d077338ad81e2294”
meta-mangoh = “(nobranch):99f3e0da53c772163bffa1e03fd4da5c957c559e”
meta-python
meta-networking
meta-oe = “(nobranch):70beecb2716bca1b9dfbc7d6a264233e1f05e82b”
common
meta-swi-mdm9xxx
meta-swi-mdm9x15 = “master:92bb304f928d34e445f61c90d077338ad81e2294”
common
meta-swi-bin = “master:4652b34bc79e63383e4722977590846cf68646c8”

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3110 tasks of which 3095 didn’t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
owner@owner-ThinkPad-T440p:~/legato/packages/legato.source.16.10.4.Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00/yocto$


#16

Hi Jyijyi,

“sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb”
I have installed above on this machine, hope this should not be a issue ?


#17

I cannot reproduce your problem.
Do you have another ubuntu machine to try?


#18

Yes that is last option I will try today and get back to you

thanks in advance


#19

Hi @somkadam,

Have you tried ‘sudo dpkg-reconfigure dash’? Ubuntu uses it as default.

Have a good day!

Alex


#20

Hi Jyijyi and Apmangoh,

thanks for your support.

Finally was able to start compilation,

I set from dash to bash and compilation is properly starting now.

used ‘sudo dpkg-reconfigure dash’

thanks once again

this may be useful for others

Pre-requiste

Make sure you set form dash to bash on Ubuntu running ‘sudo dpkg-reconfigure dash’ (say no)

  1. Install toolchain running poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-vfp-neon-toolchain-swi-ext-1.7.3.sh

it default install in /opt/swi/y17-ext dir

  1. Download and untar Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00.tar.bz2

  2. run make

This steps are for FX30 basic Image build

Please correct if anything wrong