Mangoh yellow: Unsupported function called

Hello,

I am trying to run a test from Legato system:
legato/apps/test/fwupdate/fwupdateIntegrationTest

When I try to run it with:
app runProc flashApiTest flashApiTest – info /dev/mtd6
I always get issued:
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | UNKNOWN[25708]/framework T=main | le_flash_client.c DoConnectService() 242 | ======= Starting client for ‘flashApiTest.flashApiTest.le_flash’ service ========
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | flashApiTest[25708]/framework T=main | mem.c InitPool() 400 | Memory pool name ‘framework.msgs-LogControlProtocol’ is truncated to ‘framework.msgs-LogControlProtoc’
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | flashApiTest[25708]/framework T=main | messagingSession.c le_msg_SetSessionRecvHandler() 2078 | SetSessionRecv: Unix socket session
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | flashApiTest[25708]/framework T=main | mem.c le_mem_ForceAlloc() 1172 | Memory pool ‘framework.SigMonitor’ overflowed. Expanded to 1 blocks.
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | flashApiTest[25708]/framework T=main | mem.c le_mem_ForceAlloc() 1172 | Memory pool ‘framework.SigHandler’ overflowed. Expanded to 1 blocks.
Jan 6 17:09:31 swi-mdm9x28-wp user.debug Legato: DBUG | flashApiTest[25708]/flashApiTest_exe T=main | _main.c main() 60 | == Starting Event Processing Loop ==
Jan 6 17:09:31 swi-mdm9x28-wp user.info Legato: INFO | flashApiTest[25708]/flashApiTest T=main | main.c _flashApiTest_COMPONENT_INIT() 1394 | Start flashApiTest app.
Jan 6 17:09:31 swi-mdm9x28-wp user.err Legato: =ERR= | fwupdateDaemon[1599]/le_pa_fwupdate_default T=main | pa_fwupdate_default.c pa_fwupdate_RequestUpdate() 456 | Unsupported function called
Jan 6 17:09:31 swi-mdm9x28-wp user.info Legato: INFO | fwupdateDaemon[1599]/fwupdateDaemon T=main | le_flash.c le_flash_RequestAccess() 790 | RequestAccess: error
Jan 6 17:09:31 swi-mdm9x28-wp user.err Legato: =ERR= | flashApiTest[25708]/flashApiTest T=main | main.c _flashApiTest_COMPONENT_INIT() 1416 | Unable to request flash access
Jan 6 17:09:31 swi-mdm9x28-wp user.info Legato: INFO | fwupdateDaemon[1599]/fwupdateDaemon T=main | le_flash.c le_flash_ReleaseAccess() 830 | Release flash access for client 0x7f577c48: client request 0 global count 0
Jan 6 17:09:31 swi-mdm9x28-wp user.info Legato: INFO | fwupdateDaemon[1599]/fwupdateDaemon T=main | le_flash.c ReleaseClientAccess() 608 | Releasing 0 access for client 0x7f577c48

The system is:
Firmware Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
Bootloader Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
Linux Version: 3.18.140 #1 PREEMPT Thu Jan 9 10:01:53 UTC 2020
Legato version: 19.07.0_c8105fef6769b17540226029a5d23d44_modified

I am building apps with exact same Legato version on my host.

Any help would be appreciated.
Thanks

addendum:
it seems, that this issue comes up because there is only a default implementation available for these functions on my built host Legato framework:
legato/components/fwupdate/platformAdaptor/default/le_pa_fwupdate_default/pa_fwupdate_default.c

Maybe my build did not include the desired functionality? I ran ‘make wp77xx’ …

Regards,
Clemens

I just checked my local build of LegatoAF - there is mentioned:
Analyzing libComponent_le_pa_fwupdate_singlesys.so (ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=82ecedf8f1474288be41f5db4b1e83ce1d8018aa, stripped)
WARN: Unable to find default PA for libComponent_le_pa_fwupdate_singlesys.so

May this be the reason for missing functions? But how to fix it? Another ‘make’ option maybe?
Hope anyone can help me out here…
Thanks

do you mean you have problem in building the application legato/apps/test/fwupdate/fwupdateIntegrationTest ???

actually not - build runs fine even (no warnings). Problem seems to be that my app is somehow not able to reach the lower API levels. I’ve seen that it goes e.g. the following call order: FlashApiTest_Info()->le_flash_OpenMtd()->Open()->ParsePartitionNameAndGetMtd()->pa_fwupdate_GetMtdPartitionTab(). Last function is an empty default implementation which only issues “Unsupported function called”. Hence I think there must be gone something wrong with the Legato framework build. It must have something to do with the issue I got during this build: “WARN: Unable to find default PA for libComponent_le_pa_fwupdate_singlesys.so” (as mentioned above).
Where does this issue come from?

Then I don’t think you can run this application.

since the target is able to write in an mtd (fwupdateDaemon), there must be a possibility to do it in a similar way…
Any one got any clues?