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.
Thanks for pointing me to the latest firmware components.
Could you please point to user guide which outlines the procedure to build/flash the new image.
we are trying to build exact replicate kernel image & rootfs of prebuilt image for the release 9.
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
With Legato
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:
core-image-minimal
core-image-sato
meta-toolchain
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: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.
Assuming youâre using Ubuntu (or, I think, Debian), the âcorrectâ way to fix that error is: sudo update-alternatives --config sh
All that does is changes the symlink, but it also flags it in your âaptâ configuration so that if you do an update, it wonât overwrite that change.