bouffalo_sdk icon indicating copy to clipboard operation
bouffalo_sdk copied to clipboard

IPC Souce Missing

Open Fishwaldo opened this issue 2 years ago • 6 comments

Hi, we have the header bl808_ipc.h present, but the source for IPC is missing. I found a copy in the bl_linux repo, but wondering if it could be added to this repo?

https://github.com/bouffalolab/bl808_linux/blob/main/bl_mcu_sdk_bl808/drivers/bl808_driver/std_drv/src/bl808_ipc.c

Fishwaldo avatar Dec 29 '22 09:12 Fishwaldo

It is in refactoring not used now, so removed.

sakumisu avatar Dec 29 '22 14:12 sakumisu

any ETA?

Fishwaldo avatar Dec 30 '22 12:12 Fishwaldo

Do you prepare to port with rpmsg or openmap? Maybe uncertain time.

sakumisu avatar Dec 30 '22 12:12 sakumisu

Using rpmsg-lite.

Fishwaldo avatar Dec 31 '22 07:12 Fishwaldo

if you API is not completed yet, can I make a suggestion. In the old implementation, you divided the 32 interupt Sources equally between the 2 other CPU's (so we had 16 "sources" per CPU). In the new implementation, why dont you reserve IPC_INT_SRC_BIT31 as a flag to indicate which CPU sent the IPC, and that gives applications 31 sources to use for signalling instead of 16.

Fishwaldo avatar Jan 11 '23 18:01 Fishwaldo

If both cpu trigger int, one bit cannot work.

sakumisu avatar Jan 12 '23 11:01 sakumisu