Hi Community,
Our engineers have worked hard to push 18.03 release out, it’s hand-crafted and just came out of the oven! Enjoy!
Thanks,
Hi Community,
Our engineers have worked hard to push 18.03 release out, it’s hand-crafted and just came out of the oven! Enjoy!
Thanks,
Looks like github is slow or its still cooling down …
repo init -u https://github.com/legatoproject/manifest -m legato/releases/18.03.0/legato.xml && repo sync
Fetching project legato-3rdParty-tinycbor
Fetching project legato-PlatformAdaptor-QmiBin-ar758x
Fetching project legato-af
Fetching project legato-PlatformAdaptor-AT
Fetching project legato-PlatformAdaptor-Audio
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
Fetching projects: 3% (1/26) fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
Fetching project lwm2mCore
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
error: Cannot fetch legato-3rdParty-tinycbor
Fetching project legato-3rdParty-plantuml
fatal: Couldn't find remote ref refs/tags/18.03.0
Unexpected end of command stream
error: Cannot fetch legato-PlatformAdaptor-Audio
error: Cannot fetch legato-PlatformAdaptor-QmiBin-ar758x
error: Cannot fetch legato-PlatformAdaptor-AT
error: Cannot fetch lwm2mCore
Hi @gregnietsky,
Thanks for the notice, looks like we had a bug in our delivery.
Should be good now, can you please retry?
Thanks again!
Yip its checking out fine now freshly baked cookies coming up
ill be putting it into by build system and make sure it builds for wp750x/wp85/wp76xx/wp77xx i have WP8548/WP7601-1/WP7607-1 chips for testing on our production board will report problems / give feedback.
There seems to be a bit of a problem
perhaps related to components/3rdParty/tinydtls/Component.cdef …
See bellow for full patch to a working build from a clean pull. …
[59/581] Running external build step
+ make -f /home/greg/ciis4-legato-yocto/legato-18.03.0/3rdParty/tinycbor/Makefile CC=/usr/bin//gcc 'CFLAGS=--sysroot=/ -O2 -fno-omit-frame-pointer -I build/localhost/system -I/home/greg/ciis4-legato-yocto/legato-18.03.0/interfaces -I/home/greg/ciis4-legato-yocto/legato-18.03.0/framework/include -I. -Iinterfaces/modemServices -Iinterfaces/positioning -Iinterfaces/atServices' 'LDFLAGS=--sysroot=/ '
make[2]: Entering directory `/home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/cb7e01923f79a61d0b5945a89c30fb94'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/cb7e01923f79a61d0b5945a89c30fb94'
[60/581] Running external build step
FAILED: cd /home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/35732bda87e01fb9f70f3141dc078dc1 && export CFLAGS="--sysroot=/ -O2 -fno-omit-frame-pointer -I build/localhost/system -I/home/greg/ciis4-legato-yocto/legato-18.03.0/interfaces -I/home/greg/ciis4-legato-yocto/legato-18.03.0/framework/include -I. -Iinterfaces/modemServices -Iinterfaces/positioning -Iinterfaces/atServices" CXXFLAGS="--sysroot=/ -I build/localhost/system -I/home/greg/ciis4-legato-yocto/legato-18.03.0/interfaces -I/home/greg/ciis4-legato-yocto/legato-18.03.0/framework/include -I. -Iinterfaces/modemServices -Iinterfaces/positioning -Iinterfaces/atServices" LDFLAGS="--sysroot=/ " PATH="/usr/bin/:$PATH" && cp -rf ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/tinydtls/* . && autoreconf -i
cp: cannot stat '/home/greg/ciis4-legato-yocto/legato-18.03.0/3rdParty/Lwm2mCore/3rdParty/tinydtls/*': No such file or directory
[60/581] Compiling C source
ninja: build stopped: subcommand failed.
make[1]: *** [system_localhost] Error 1
make[1]: Leaving directory `/home/greg/ciis4-legato-yocto/legato-18.03.0'
make: *** [legato-18.03.0/build/localhost/system.localhost.update] Error 2
diff --git a/components/3rdParty/tinydtls/Component.cdef b/components/3rdParty/tinydtls/Component.cdef
index a63ad97..04520b3 100644
--- a/components/3rdParty/tinydtls/Component.cdef
+++ b/components/3rdParty/tinydtls/Component.cdef
@@ -1,6 +1,6 @@
externalBuild:
{
"mkdir -p $${LEGATO_BUILD}/3rdParty/tinydtls"
- "cp -rf $${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/tinydtls/* . && autoreconf -i"
+ "cp -rf $${LEGATO_ROOT}/3rdParty/Lwm2mCore/tinydtls/* . && autoreconf -i"
${CURDIR}/make.sh
}
the above patch gets it a bit further …
[307/347] Running external build step
FAILED: cd /home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/a6a97117ba1f4e33bed9a4f5ae7ddf97 && export CFLAGS="--sysroot=/ -O2 -fno-omit-frame-pointer -I build/localhost/system -I/home/greg/ciis4-legato-yocto/legato-18.03.0/interfaces -I/home/greg/ciis4-legato-yocto/legato-18.03.0/framework/include -I. -Iinterfaces/modemServices -Iinterfaces/positioning -Iinterfaces/atServices" CXXFLAGS="--sysroot=/ -I build/localhost/system -I/home/greg/ciis4-legato-yocto/legato-18.03.0/interfaces -I/home/greg/ciis4-legato-yocto/legato-18.03.0/framework/include -I. -Iinterfaces/modemServices -Iinterfaces/positioning -Iinterfaces/atServices" LDFLAGS="--sysroot=/ " PATH="/usr/bin/:$PATH" && LEGATO_ROOT=${LEGATO_ROOT} LEGATO_BUILD=${LEGATO_BUILD} TEST_COVERAGE=${TEST_COVERAGE} make -f /home/greg/ciis4-legato-yocto/legato-18.03.0/components/3rdParty/lwm2mcore/Makefile
make[2]: Entering directory `/home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/a6a97117ba1f4e33bed9a4f5ae7ddf97'
In file included from /home/greg/ciis4-legato-yocto/legato-18.03.0/3rdParty/Lwm2mCore/sessionManager/dtlsConnection.c:26:0:
/home/greg/ciis4-legato-yocto/legato-18.03.0/3rdParty/Lwm2mCore/objectManager/objects.h:15:22: fatal error: liblwm2m.h: No such file or directory
#include "liblwm2m.h"
^
compilation terminated.
make[2]: *** [obj/sessionManager/dtlsConnection.o] Error 1
make[2]: Leaving directory `/home/greg/ciis4-legato-yocto/legato-18.03.0/build/localhost/system/component/a6a97117ba1f4e33bed9a4f5ae7ddf97'
ninja: build stopped: subcommand failed.
make[1]: *** [system_localhost] Error 1
make[1]: Leaving directory `/home/greg/ciis4-legato-yocto/legato-18.03.0'
make: *** [legato-18.03.0/build/localhost/system.localhost.update] Error 2
Needs a -I ??
find legato-18.03.0/ -name liblwm2m.h
legato-18.03.0/3rdParty/Lwm2mCore/wakaama/core/liblwm2m.h
diff --git a/apps/platformServices/spiService.adef b/apps/platformServices/spiService.adef
index c34388a..c2b1ca6 100644
--- a/apps/platformServices/spiService.adef
+++ b/apps/platformServices/spiService.adef
@@ -31,7 +31,13 @@ requires:
{
device:
{
+ #if ${LEGATO_TARGET} = wp76xx
+ [rw] /dev/spidev1.0 /dev/
+ #elif ${LEGATO_TARGET} = wp77XX
+ [rw] /dev/spidev1.0 /dev/
+ #else
[rw] /dev/spidev0.0 /dev/
+ #endif
}
}
diff --git a/components/3rdParty/lwm2mcore/Makefile b/components/3rdParty/lwm2mcore/Makefile
index d067944..09fa4a2 100644
--- a/components/3rdParty/lwm2mcore/Makefile
+++ b/components/3rdParty/lwm2mcore/Makefile
@@ -20,8 +20,8 @@ INCLUDES=\
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/sessionManager \
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/objectManager \
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/packageDownloader \
- -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core \
- -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/er-coap-13 \
+ -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core \
+ -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/er-coap-13 \
-I${LEGATO_BUILD}/3rdParty/tinydtls/include/tinydtls
CFLAGS+=\
diff --git a/components/3rdParty/tinydtls/Component.cdef b/components/3rdParty/tinydtls/Component.cdef
index a63ad97..04520b3 100644
--- a/components/3rdParty/tinydtls/Component.cdef
+++ b/components/3rdParty/tinydtls/Component.cdef
@@ -1,6 +1,6 @@
externalBuild:
{
"mkdir -p $${LEGATO_BUILD}/3rdParty/tinydtls"
- "cp -rf $${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/tinydtls/* . && autoreconf -i"
+ "cp -rf $${LEGATO_ROOT}/3rdParty/Lwm2mCore/tinydtls/* . && autoreconf -i"
${CURDIR}/make.sh
}
diff --git a/components/3rdParty/wakaama/Makefile b/components/3rdParty/wakaama/Makefile
index 517e665..3191aad 100644
--- a/components/3rdParty/wakaama/Makefile
+++ b/components/3rdParty/wakaama/Makefile
@@ -1,22 +1,22 @@
WAKAAMA_SOURCES=\
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/er-coap-13/er-coap-13.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/acl.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/bootstrap.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/block1.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/data.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/discover.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/json.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/liblwm2m.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/list.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/management.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/objects.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/observe.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/packet.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/registration.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/tlv.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/transaction.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/uri.c \
- ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/utils.c
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/er-coap-13/er-coap-13.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/acl.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/bootstrap.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/block1.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/data.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/discover.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/json.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/liblwm2m.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/list.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/management.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/objects.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/observe.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/packet.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/registration.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/tlv.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/transaction.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/uri.c \
+ ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/utils.c
INCLUDES=\
-I${LEGATO_ROOT}/framework/include \
@@ -26,8 +26,8 @@ INCLUDES=\
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/sessionManager \
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/objectManager \
-I${LEGATO_ROOT}/3rdParty/Lwm2mCore/packageDownloader \
- -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core \
- -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/core/er-coap-13 \
+ -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core \
+ -I${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/core/er-coap-13 \
-I${LEGATO_BUILD}/3rdParty/tinydtls/include/tinydtls
CFLAGS+=\
@@ -58,11 +58,11 @@ DEPFLAGS=-fPIC
OBJDIR?=./obj
-WAKAAMA_OBJ=$(patsubst ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/%.c,${OBJDIR}/%.o,${WAKAAMA_SOURCES})
+WAKAAMA_OBJ=$(patsubst ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/%.c,${OBJDIR}/%.o,${WAKAAMA_SOURCES})
wakaama: libwakaama.so libwakaama.a
-$(OBJDIR)/%.o: ${LEGATO_ROOT}/3rdParty/Lwm2mCore/3rdParty/wakaama/%.c
+$(OBJDIR)/%.o: ${LEGATO_ROOT}/3rdParty/Lwm2mCore/wakaama/%.c
${LOG_DEBUG}mkdir -p $(dir $@)
${LOG_DEBUG}${CC} ${DEPFLAGS} ${CFLAGS} ${INCLUDES} -c -o $@ $<
@@ -70,4 +70,4 @@ libwakaama.so: ${WAKAAMA_OBJ}
${LOG_DEBUG}${CC} -shared ${DEPFLAGS} ${LDFLAGS} -Wl,-soname,$@ -o $@ ${WAKAAMA_OBJ}
libwakaama.a: ${WAKAAMA_OBJ}
- ${LOG_DEBUG}${AR} rcs $@ $(WAKAAMA_OBJ)
\ No newline at end of file
+ ${LOG_DEBUG}${AR} rcs $@ $(WAKAAMA_OBJ)
We have a build
legato-18.03.0/build/wp750x/legato.cwe
legato-18.03.0/build/wp77xx/legato.cwe
legato-18.03.0/build/wp76xx/legato.cwe
legato-18.03.0/build/wp85/legato.cwe
I looked into this issue a bit without being aware of this forum post. What I found is that a different commit was tagged as 18.03.0 on the internal gerrit instance compared to the public facing github repository.
The SPI issue is unrelated to the 18.03.0 tagging issue. For the SPI issue, I made a pull request that addresses this issue on February 21, 2018.
The 18.03.0 and 18.02.0 tags have been updated on github so that they now point at the correct revision.