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.
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 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 (C) 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.
==========
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
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$