legato is not build in “yocto/legato”, there is no “bin” directory inside it,
there should be some bitbake command for doing this, but I can’t find it…
as an option I can put legato standalone somwhere else,
but legato uses outdated kernel
so the question is:
where from legato gets the kernel and modules ??? how to change it
Didn’t “/opt/swi/y17-ext/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/src/kernel/drivers” contain the kernel drivers source code?
which driver .ko are you referring to in legato image?
Can you tell which kernel module are you referring to?
I look into default.sdef, I don’t see it is including any kernel driver.
Also in case I search inside the legato framework folder, I don’t see any .ko file.
I’ve already rebuild whole system: kernel,modules,filesystem
Then created my.spk file like with something like this:
swicwe -o my.spk -c modemFW.spk mcuFW.cwe appsboot_wp76xx.cwe legato.cwe
Then flashed it with swiflash.
where is kernel binary in this image?
how to update it (in image) without recompilong everything?
in yocto/build_bin/tmp/deploy/images/swi-mdm9x28 there are such cwe files:
appsboot_wp76xx.cwe appsboot_wp77xx.cwe legato-image.wp76xx.cwe legato-image.wp77xx.cwe yocto_wp76xx.4k.cwe yocto_wp77xx.4k.cwe
Is there any documentation explaining what is inside them?
Do I need to flash both legato.cwe and yocto_wp76xx.4k.cwe ???
you can use swicwe -P option to see what is inside the cwe file.
You need to flash both legato.cwe and yocto.cwe in case you need to update the legato framework partition and yocto linux partition.