Okay, I completed successfully. Once again, I can only thank you @jyijyi !
As I said, I try to summarize all the problems I encountered in installing and modifying yocto, so that this can be useful to other people.
-
As first thing, you don’t need anything other than the folder Legato-Dist-Source-mdm9x28-SWI9X07Y_02.37.07.00.tar.bz2 that now you can download from Sierra Wireless Website ( Just today they reactivated the download
). You don’t need in this step to download the toolchain, legato etc: you will install these stuff in a second moment, when you will configure the development environment (I use visual studio code and I install all with it), I assure you that on my VM, at this moment, there is still nothing but the yocto folder!
-
You have to extract and make in cd yocto. During the make you will encounter two errors:
As @jyijyi said, you resolve it doing
sudo apt-get remove ccache
sudo dpkg-reconfigure dash
Answer “No” to the question.
you have to install the following libraries:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev
xterm
- Function filed: do add bash
You have to install Java on your VM:
sudo apt-get install openjdk-8-jdk
You have another last error when do you open menuconfig linux kernel. You can resolve all troubles with this command:
sudo apt-get install libncurses5-dev
At this point all is done! You can modify kernel files and flash the .cwe on your device.
I hope this information is useful to you. Greetings to all