no idea, as i don’t see problem, you can try my gvrp.ko
I have tried your garp for above output. Firmware versions seems to be identical at your end and my end
is it the same for other components?
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7608
Revision: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
IMEI: 352913090512345
IMEI SV: 14
FSN: XG207430712345
+GCAP: +CGSM
OK
ati8
Legato Ver: 19.11.2_4ad011d85a76309438be40fc19e7153a
Yocto Ver: SWI9X07Y_02.37.10.00 2021-08-03_08:28:41
OS Ver: Linux version 3.18.140 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Tue Aug 3 08:17:34 UTC 2021
LK Ver: SWI9X07Y_02.37.10.00
RootFS Ver: SWI9X07Y_02.37.10.00 2021-08-03_08:28:41
UserFS Ver: unknown
MCU Ver: 002.015
OK
If it is the same, then i have no idea why it works on my side only
Please find output
root@Invendis:~# microcom /dev/ttyAT
at
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7608
Revision: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
IMEI: 352913090489988
IMEI SV: 14
FSN: XG207430230710
+GCAP: +CGSM,+DS
OK
ati8
Legato Ver: 19.11.2_dd1f938a7ea9c7593128e06c58abfe4b_modified
Yocto Ver: SWI9X07Y_02.37.10.00 2022-03-21_12:15:03
OS Ver: Linux version 3.18.140 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Mon Mar 21 10:04:05 UTC 2022
LK Ver: SWI9X07Y_02.37.10.00
RootFS Ver: SWI9X07Y_02.37.10.00 2022-03-21_12:15:03
UserFS Ver: unknown
MCU Ver: 002.015
OK
If it is the same, then i have no idea why it works on my side only
(Seems you are not using the same .ko as mine which is called gvrp.ko instead of garp.ko)
Yes you are right. I am able to insmod garp.ko . Could you please let me know any changes done for this module. As with same source I m getting error as invalid module format
I did not change anything of your source code
I am using toolchain swi-wp76_5.0.0
Me too
I am using r16 package
Still I am unable to compile 8021q. I am facing challenges with includes.
unknown type name ‘u64’
unknown type name ‘s64’
implicit declaration of function ‘vlan_dev_priv’; did you mean ‘netdev_priv’? [-Werror=implicit-function-declaration]
Below is include section from .sdef
interfaceSearch:
{
// Your project’s search paths.
${MY_SYSTEM_DIR}/interfaces
// Legato API search paths.
${LEGATO_ROOT}/interfaces
// ${LEGATO_ROOT}/interfaces/airVantage
// ${LEGATO_ROOT}/interfaces/atServices
${LEGATO_ROOT}/interfaces/logDaemon
${LEGATO_ROOT}/interfaces/modemServices
${LEGATO_ROOT}/interfaces/portService
${LEGATO_ROOT}/interfaces/positioning
${LEGATO_ROOT}/interfaces/secureStorage
${MY_SYSTEM_DIR}/leaf-data/vlanissue/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel/include/linux
${MY_SYSTEM_DIR}/leaf-data/vlanissue/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel/include/uapi/linux
${MY_SYSTEM_DIR}/leaf-data/vlanissue/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/bits
// ${LEGATO_ROOT}/interfaces/wifi
}
you can follow this document to compile the mangoh layer:
After that you can modify the red.sdef to add your driver in linux_kernel_modules folder and recompile.
The driver will be in the \build\red_wp76xx\modules folder
BTW, I can only compile /802/gvrp and /802/mrp, not for your 8021q driver.
ok. Let me follow this and confirm
Unable to get legato framework repo.
sudo repo init -u git://github.com/legatoproject/manifest -m legato/releases/19.11.2.xml
warning: Python 3 support is currently experimental. YMMV.
Please use Python 2.6 - 2.7 instead.
… A new version of repo (2.30) is available.
… You should upgrade soon:
cp /home/amruta/Amruta_workspace/.repo/repo/repo /usr/bin/repo
repo: reusing existing repo client checkout in /home/amruta/Amruta_workspace
manifests:
fatal: unable to connect to github.com:
github.com[0: 20.207.73.82]: errno=Connection refused
manifests: sleeping 4.0 seconds before retrying
manifests:
fatal: unable to connect to github.com:
github.com[0: 20.207.73.82]: errno=Connection refused
fatal: cannot obtain manifest git://github.com/legatoproject/manifest
Why do you need to download swi-wp76_5.0.0 again?
which ubuntu version are you using?
you can try with Ubuntu 18 and see if there is still problem
You can also see here:
Using ubutn 18.04. I getting following error (In leaf shell)
(lsh) amruta@amruta-HP-348-G3:~/Amruta_workspace/mangOH$ ls
apps Dockerfile experimental LICENSE.txt Makefile red.sdef scripts sinc yellow.sdef
components env_test_yellow.sdef green.sdef linux_kernel_modules README.md samples shared.sdef tools
(lsh) amruta@amruta-HP-348-G3:~/Amruta_workspace/mangOH$ make green_wp76xx
Makefile:86: ==== OCTAVE_ROOT not defined ====
Not building LEGATO due to $LEGATO == 0
make: /bin/findtoolchain: Command not found
make: /bin/findtoolchain: Command not found
NOTE: When using leaf, these TOOLCHAIN_X variables don’t need to be passed to mksys.
TOOLCHAIN_DIR=
TOOLCHAIN_PREFIX=
mksys -t wp76xx --cflags=-O2 --object-dir=build/green_wp76xx --output-dir=build/update_files green.sdef
/bin/sh: 1: mksys: not found
Makefile:109: recipe for target ‘green_wp76xx’ failed
make: *** [green_wp76xx] Error 127
(lsh) amruta@amruta-HP-348-G3:~/Amruta_workspace/mangOH$
did you follow the document to go to legato folder for ". bin/configlegatoenv "?
Stuck in step
. Build the legato framework
Please find attached logs
legatocompilelogs (157.3 KB)
how about “make wp76xx”
That was also not successful
what is the error then?
Are you doing this “make wp76xx” in leaf shell?