I would like to build the custom linux kernel & device tree.
some one can point me the latest source github of the linux kernel for the magOH red.
May I know where is the boot partition in the wp7608 modem . so that I can upload my new images after succesfull built.
Download the “Legato Distro Source” from the source.sierrawireless.com wp76xx firmware release 9 components page (mentioned previously by @lotam). You can use that to build something that’s the same as the release 9 linux image. Run make image_bin once you extract the tar file. Unfortunately, there is currently no public git repository for the firmware releases. This has been something that I and others have been asking for, but it’s not ready yet.
I am blocked on getting success build. The build is getting failed at the following stage
stirulaka@ubuntu:~/work/mttm/yocto$ source /home/stirulaka/.bashrc
stirulaka@ubuntu:~/work/mttm/yocto$ make image_bin
“meta-swi/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -g -a “LEGATO_WORKDIR=/home/stirulaka/work/mttm/yocto/…/legato_framework/legato/” -a “LK_REPO=”/home/stirulaka/work/mttm/yocto/lk"" -m swi-mdm9x28 -b build_bin -q
Poky dir: /home/stirulaka/work/mttm/yocto/poky
OE meta: /home/stirulaka/work/mttm/yocto/meta-openembedded
SWI meta dir: /home/stirulaka/work/mttm/yocto/meta-swi
Linux repo dir: /home/stirulaka/work/mttm/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - LEGATO_WORKDIR=/home/stirulaka/work/mttm/yocto/…/legato_framework/legato/
Extra options added - LK_REPO=/home/stirulaka/work/mttm/yocto/lk
SWI machine: swi-mdm9x28
Build dir: /home/stirulaka/work/mttm/yocto/build_bin
Enable Qualcomm Proprietary bin
Shell environment set up for builds.
You can now run 'bitbake ’
Common targets are:
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:217: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1
Am I missing something ?
Can some one point me would be great.
There’s a strange requirement that /bin/sh must point to bash in the meta-swi/build.sh file. I think most recent versions of Ubuntu point /bin/sh at dash instead. You will have to update your /bin/sh symlink to make the message go away.