Re: Installing apps dynamically in runtime

2024-06-26 Thread Gábor Kiss-Vámosi
Thank you Alan! We are on it and will report back soon. Alan C. Assis ezt írta (időpont: 2024. jún. 21., P, 17:57): > Hi Gábor, > > I created a video tutorial explaining how to do that: > > https://www.youtube.com/watch?v=oL6KAgkTb8M > > At that time NuttX had support only for ELF executable, no

Re: Installing apps dynamically in runtime

2024-06-21 Thread Alan C. Assis
Hi Gábor, I created a video tutorial explaining how to do that: https://www.youtube.com/watch?v=oL6KAgkTb8M At that time NuttX had support only for ELF executable, now it also has support for ELF libraries (work done by WildernessLabs and improved by Xiaomi). About the idea of a NuttX distribut

Re: Installing apps dynamically in runtime

2024-06-21 Thread Gregory Nutt
On 6/21/2024 9:14 AM, Xiang Xiao wrote: but, different devices expose to the different subsets of API. e.g. some devices mayn't enable the net subsystem at all, any application which calls socket api will fail to load. Right, that is a consequence of size reduction using a minimal, incomplete

Re: Installing apps dynamically in runtime

2024-06-21 Thread Xiang Xiao
On Fri, Jun 21, 2024 at 7:44 PM Gregory Nutt wrote: > On 6/21/2024 3:55 AM, Xiang Xiao wrote: > > but there is no stable ABI on NuttX, so you can't copy elf from one type > of > > device to another. > Wouldn't that work if (1) the ELF module is partially linked so that it > relies a symbol table

Re: Installing apps dynamically in runtime

2024-06-21 Thread Gregory Nutt
On 6/21/2024 3:55 AM, Xiang Xiao wrote: but there is no stable ABI on NuttX, so you can't copy elf from one type of device to another. Wouldn't that work if (1) the ELF module is partially linked so that it relies a symbol table and dynamic linking at run time so that there is no a priori knowl

Re: Installing apps dynamically in runtime

2024-06-21 Thread Gábor Kiss-Vámosi
Clear, thank you! We will try it out! Xiang Xiao ezt írta (időpont: 2024. jún. 21., P, 13:25): > On Fri, Jun 21, 2024 at 6:20 PM Gábor Kiss-Vámosi > wrote: > > > It's awesome! > > > > but there is no stable ABI on NuttX, so you can't copy elf from one type > of > > > device to another. > > > >

Re: Installing apps dynamically in runtime

2024-06-21 Thread Xiang Xiao
On Fri, Jun 21, 2024 at 6:20 PM Gábor Kiss-Vámosi wrote: > It's awesome! > > but there is no stable ABI on NuttX, so you can't copy elf from one type of > > device to another. > > > Does it mean that the loaded apps should be self contained and not interact > with any other code on the MCU? > > n

Re: Installing apps dynamically in runtime

2024-06-21 Thread Gábor Kiss-Vámosi
It's awesome! but there is no stable ABI on NuttX, so you can't copy elf from one type of > device to another. Does it mean that the loaded apps should be self contained and not interact with any other code on the MCU? Xiang Xiao ezt írta (időpont: 2024. jún. 21., P, 11:55): > On Fri, Jun 2

Re: Installing apps dynamically in runtime

2024-06-21 Thread Xiang Xiao
On Fri, Jun 21, 2024 at 5:50 PM Gábor Kiss-Vámosi wrote: > Hi, > > A smartwatch manufacturer company wants to dynamically add/remove apps at > runtime on their MCU based devices . Similarly to how it works on > smartphones. > > Example: The user wants to extend the smartwatch with an Alarm clock

Installing apps dynamically in runtime

2024-06-21 Thread Gábor Kiss-Vámosi
Hi, A smartwatch manufacturer company wants to dynamically add/remove apps at runtime on their MCU based devices . Similarly to how it works on smartphones. Example: The user wants to extend the smartwatch with an Alarm clock app. On Linux we just needed to copy the binary to the watch and it cou