I try to install mangOH on the device as described in the official Tutorial. The Chip used of Sierra Wireless is the WP7502. When trying to execute the command to make the mangOH Green system file as described in the ReadMe on the page https://github.com/mangOH/mangOH
i get the error that the file system.sdef is malformed.
I need to make the command mux work on the device for using the CAN. Any help would be appreciated.
Thank you
I modified the README.md yesterday and made a mistake in the instructions. So depending on when you viewed the README.md you may have seen the old version that tells you to use the Makefile (which was broken) or the new version in which every $ was mistakenly $$. Please take another look at README.md and tell me if you’re still having problems.
The version of the mangOH repository that you have checked out won’t compile against Legato 16.10.3. Can you tell me the problems you are having with compiling Legato? If we can fix that, then compiling mangOH should work as well.
The toolchain as it is distributed today is unable to build kernel modules. It is necessary to run make scripts in the kernel headers directory. I’m not sure why this issue hasn’t been fixed yet since it was discovered a long time ago. The workaround to fix the toolchain is described in the legato documentation for out of tree kernel modules. I will save you some reading and reproduce the instructions here:
# Put the arm toolchain in your PATH environment variable
export PATH=$PATH:/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
# Change directory into the kernel headers directory distributed with the toolchain
cd /opt/swi/y17-ext/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/src/kernel
# Change the ownership of everything in the folder so that we can update the contents
sudo chown -R $USER .
# Run make scripts with appropriate cross compilation flags
ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- make scripts
# Change the ownership of the kernel headers back to root
sudo chown -R root .
I believe the mangOH Red and Green SDEFs will currently build against 17.05 or newer, but the redSensorToCloud app that’s part of mangOH Red’s SDEF won’t work properly unless you’re on 17.06 or newer.