Get legato for mangOH red wp76


#1

Hello everybody,

I am having trouble for making the Legato 18.04 in the aim to put in mangOH Red WP76. I have set up the legato_framework:
repo init -u git://github.com/legatoproject/manifest -m
legato/releases/18.04.0/legato.xml
repo sync
cd legato
make
make wp76xx

cd~
git clone --recursive git://github.com/mangOH/mangOH

edited ~/.bahsrc
+export LEGATO_ROOT=~/legato_framework/legato
+export
WP76XX_SYSROOT=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi
+alias cfglegato=
“pushd . && cd ~/legato_framework/legato && source ./bin/configlegatoenv ; popd”

saved and exited window

and then tried to configure mangOH folder:

cd ~/mangOH git pull && git submodule update --init
make red_wp76xx

I got this error:

echo “$md5” > /home/alexandre/legato_framework/legato/build/wp76xx/framework/md5
make[2]: Leaving directory ‘/home/alexandre/legato_framework/legato’
make[1]: Leaving directory ‘/home/alexandre/legato_framework/legato’
TOOLCHAIN_DIR=/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
MANGOH_BOARD=RED
mksys -t wp76xx --object-dir=build/red_wp76xx --output-dir=build/update_files/red mangOH.sdef
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** ERROR:
/home/alexandre/mangOH/linux_kernel_modules/mangoh/mangoh_red_dv5.mdef:23:8: error: Unrecognized keyword ‘requires’.
Makefile:82: recipe for target ‘red_wp76xx’ failed
make: *** [red_wp76xx] Error 1

Could you help me?

Thank you in advance, Alex


#2

Hello

Please move to legato 18.05.1 due to new features.

Just delete the legato folder and git the new repo 18.05.1

Francis


#3

Okay, I will test it.


#4

The first time I forgot to follow this after installed the toolchain:

export PATH=$PATH:/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
cd /opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel/
sudo chown -R $USER .
ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- make scripts
sudo chown -R root .

Now, I am able to execute on both Ubuntu 18.04 VM and on Ubuntu 16.04 host.

Thanks for your advice.

For those who would want to know, see hereafter.