Re: milk-V DUO s

2024-09-18 Thread Tomek CEDRO
On Wed, Sep 18, 2024 at 6:01 PM  wrote:
> On 2024-09-18 12:41:13, Alan C. Assis wrote:
> > This aic8800 driver is GPL license, we cannot use it.
> > Probably they released it as GPL to be used on Linux kernel.
> In theory it can be used in nuttx. But including it (enabling for
> compilation) will basically upgrade whole license for every file to GPL.
> This is not really a concert for nuttx but for end developers using RTOS. If
> they enable this single library, they will have to ship source code for
> their WHOLE project with their product.
>
> Drivers like could simply tick "select GPL" in kconfig, and a notification
> could be printed before compilation that this is no GPL licensed code.
>
> I don't know how is Apache foundation feeling about things like that, but
> GPL does not care.
>
> It's not ideal. But it's not a closed door either.

Yeah this is why licensed sections of code are separated and disabled
by default.

Maybe we could ask vendor if they can switch the license?? :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


Re: milk-V DUO s

2024-09-18 Thread Alan C. Assis
Hi Lup,

This aic8800 driver is GPL license, we cannot use it.
Probably they released it as GPL to be used on Linux kernel.

Maybe AIC could release it under BSD, MIT or Apache License.

BR,

Alan

On Wed, Sep 18, 2024 at 12:28 PM Lee, Lup Yuen  wrote:

> Hi Miguel: Yep Alan is correct, we have a barebones port of NuttX for
> Milk-V Duo S. It's lacking most drivers, we're hoping the community could
> help port the drivers. (Maybe with help from Milk-V and Sophgo)
>
> There is a vendor driver for the AIC8800 WiFi / Bluetooth chip inside Duo
> S. Maybe we can use this to create the NuttX Driver:
> https://github.com/radxa-pkg/aic8800
>
> Lup
>
> On Wed, Sep 18, 2024 at 8:46 PM Alan C. Assis  wrote:
>
> > Hi Miguel,
> >
> > Only basic support to boot NuttX on the board at the moment, many drivers
> > are still missing.
> >
> > Maybe you can ping Sophgo company and ask them to help too (like
> Espressif
> > does for their chips).
> >
> > BR,
> >
> > Alan
> >
> > On Wed, Sep 18, 2024 at 9:08 AM MIGUEL ALEXANDRE WISINTAINER <
> > tcpipc...@hotmail.com> wrote:
> >
> > > thank you so much Lup and team.
> > >
> > > I have plans to make many blogs using the Milk-V Duo S and Nuttx,
> because
> > > one of company that i work is Milk-V Duo S seller in Brazil.
> > >
> > > I have some questions, (still not read the blogs, thanks again)
> > >
> > > Wifi Working ? Ble ? and Ethernet ?
> > >
> > > Plans to TPU calls on Nuttx ?
> > >
> > > Thanks
> > > 
> > > De: Lee, Lup Yuen 
> > > Enviado: quarta-feira, 18 de setembro de 2024 00:26
> > > Para: dev@nuttx.apache.org 
> > > Assunto: Re: milk-V DUO s
> > >
> > > Hi Miguel: Here are the steps for booting NuttX on Milk-V Duo S SBC
> > (Sophgo
> > > SG2000 SoC):
> > >
> > >
> >
> https://nuttx.apache.org/docs/latest/platforms/risc-v/sg2000/boards/milkv_duos/index.html
> > >
> > > Please see below for the articles I wrote about NuttX on Milk-V Duo S.
> > > Lemme know if you have any questions thanks :-)
> > >
> > > "Apache NuttX RTOS on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)"
> > > https://lupyuen.codeberg.page/articles/sg2000.html
> > >
> > > "Daily Automated Testing for Milk-V Duo S RISC-V SBC (IKEA TRETAKT /
> > Apache
> > > NuttX RTOS)"
> > > https://lupyuen.codeberg.page/articles/sg2000a.html
> > >
> > > "RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)"
> > > https://lupyuen.codeberg.page/articles/sg2000b.html
> > >
> > > Lup
> > >
> > > On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis 
> wrote:
> > >
> > > > Hi Miguel,
> > > >
> > > > Yes, Mr. Lup ported NuttX to Milk-V Duo S board.
> > > >
> > > > It is already included in the mainline.
> > > >
> > > > BR,
> > > >
> > > > Alan
> > > >
> > > > On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER <
> > > > tcpipc...@hotmail.com> wrote:
> > > >
> > > > > Hi alan
> > > > >
> > > > > Nuttx runs on Milk-v DUO S ?
> > > > >
> > > > >
> > > >
> > >
> >
>


Re: milk-V DUO s

2024-09-18 Thread michal . lyszczek
On 2024-09-18 12:41:13, Alan C. Assis wrote:
> This aic8800 driver is GPL license, we cannot use it.
> Probably they released it as GPL to be used on Linux kernel.
In theory it can be used in nuttx. But including it (enabling for
compilation) will basically upgrade whole license for every file to GPL.
This is not really a concert for nuttx but for end developers using RTOS. If
they enable this single library, they will have to ship source code for
their WHOLE project with their product.

Drivers like could simply tick "select GPL" in kconfig, and a notification
could be printed before compilation that this is no GPL licensed code.

I don't know how is Apache foundation feeling about things like that, but
GPL does not care.

It's not ideal. But it's not a closed door either.

-- 
.-.---.--.-.
| Michal Lyszczek | Embedded C, Linux |   Company Address|  .-. opensource |
| +48 727 564 419 | Software Engineer | Akacjowa 10a; 55-330 |  oo|  supporter |
| https://bofc.pl `.--: Brzezinka Sredzka PL | /`'\  & |
| GPG FF1EBFE7E3A974B1 | Bits of Code | NIP:   813 349 58 78 |(\_;/) programer |
`--^--^--^-'


signature.asc
Description: PGP signature


Re: milk-V DUO s

2024-09-18 Thread Alan C. Assis
Hi Miguel,

Only basic support to boot NuttX on the board at the moment, many drivers
are still missing.

Maybe you can ping Sophgo company and ask them to help too (like Espressif
does for their chips).

BR,

Alan

On Wed, Sep 18, 2024 at 9:08 AM MIGUEL ALEXANDRE WISINTAINER <
tcpipc...@hotmail.com> wrote:

> thank you so much Lup and team.
>
> I have plans to make many blogs using the Milk-V Duo S and Nuttx, because
> one of company that i work is Milk-V Duo S seller in Brazil.
>
> I have some questions, (still not read the blogs, thanks again)
>
> Wifi Working ? Ble ? and Ethernet ?
>
> Plans to TPU calls on Nuttx ?
>
> Thanks
> 
> De: Lee, Lup Yuen 
> Enviado: quarta-feira, 18 de setembro de 2024 00:26
> Para: dev@nuttx.apache.org 
> Assunto: Re: milk-V DUO s
>
> Hi Miguel: Here are the steps for booting NuttX on Milk-V Duo S SBC (Sophgo
> SG2000 SoC):
>
> https://nuttx.apache.org/docs/latest/platforms/risc-v/sg2000/boards/milkv_duos/index.html
>
> Please see below for the articles I wrote about NuttX on Milk-V Duo S.
> Lemme know if you have any questions thanks :-)
>
> "Apache NuttX RTOS on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)"
> https://lupyuen.codeberg.page/articles/sg2000.html
>
> "Daily Automated Testing for Milk-V Duo S RISC-V SBC (IKEA TRETAKT / Apache
> NuttX RTOS)"
> https://lupyuen.codeberg.page/articles/sg2000a.html
>
> "RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)"
> https://lupyuen.codeberg.page/articles/sg2000b.html
>
> Lup
>
> On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis  wrote:
>
> > Hi Miguel,
> >
> > Yes, Mr. Lup ported NuttX to Milk-V Duo S board.
> >
> > It is already included in the mainline.
> >
> > BR,
> >
> > Alan
> >
> > On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER <
> > tcpipc...@hotmail.com> wrote:
> >
> > > Hi alan
> > >
> > > Nuttx runs on Milk-v DUO S ?
> > >
> > >
> >
>


Re: milk-V DUO s

2024-09-18 Thread Lee, Lup Yuen
Hi Miguel: Yep Alan is correct, we have a barebones port of NuttX for
Milk-V Duo S. It's lacking most drivers, we're hoping the community could
help port the drivers. (Maybe with help from Milk-V and Sophgo)

There is a vendor driver for the AIC8800 WiFi / Bluetooth chip inside Duo
S. Maybe we can use this to create the NuttX Driver:
https://github.com/radxa-pkg/aic8800

Lup

On Wed, Sep 18, 2024 at 8:46 PM Alan C. Assis  wrote:

> Hi Miguel,
>
> Only basic support to boot NuttX on the board at the moment, many drivers
> are still missing.
>
> Maybe you can ping Sophgo company and ask them to help too (like Espressif
> does for their chips).
>
> BR,
>
> Alan
>
> On Wed, Sep 18, 2024 at 9:08 AM MIGUEL ALEXANDRE WISINTAINER <
> tcpipc...@hotmail.com> wrote:
>
> > thank you so much Lup and team.
> >
> > I have plans to make many blogs using the Milk-V Duo S and Nuttx, because
> > one of company that i work is Milk-V Duo S seller in Brazil.
> >
> > I have some questions, (still not read the blogs, thanks again)
> >
> > Wifi Working ? Ble ? and Ethernet ?
> >
> > Plans to TPU calls on Nuttx ?
> >
> > Thanks
> > 
> > De: Lee, Lup Yuen 
> > Enviado: quarta-feira, 18 de setembro de 2024 00:26
> > Para: dev@nuttx.apache.org 
> > Assunto: Re: milk-V DUO s
> >
> > Hi Miguel: Here are the steps for booting NuttX on Milk-V Duo S SBC
> (Sophgo
> > SG2000 SoC):
> >
> >
> https://nuttx.apache.org/docs/latest/platforms/risc-v/sg2000/boards/milkv_duos/index.html
> >
> > Please see below for the articles I wrote about NuttX on Milk-V Duo S.
> > Lemme know if you have any questions thanks :-)
> >
> > "Apache NuttX RTOS on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)"
> > https://lupyuen.codeberg.page/articles/sg2000.html
> >
> > "Daily Automated Testing for Milk-V Duo S RISC-V SBC (IKEA TRETAKT /
> Apache
> > NuttX RTOS)"
> > https://lupyuen.codeberg.page/articles/sg2000a.html
> >
> > "RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)"
> > https://lupyuen.codeberg.page/articles/sg2000b.html
> >
> > Lup
> >
> > On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis  wrote:
> >
> > > Hi Miguel,
> > >
> > > Yes, Mr. Lup ported NuttX to Milk-V Duo S board.
> > >
> > > It is already included in the mainline.
> > >
> > > BR,
> > >
> > > Alan
> > >
> > > On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER <
> > > tcpipc...@hotmail.com> wrote:
> > >
> > > > Hi alan
> > > >
> > > > Nuttx runs on Milk-v DUO S ?
> > > >
> > > >
> > >
> >
>


Re: milk-V DUO s

2024-09-18 Thread Tomek CEDRO
Yes this is really important to push CPU/MCU/SoC/board vendors to
provide funding for drivers development so their chips/boards are
usable :-)

I have some ideas but none of them worked.. we can just ask
individually and/or as a project for this kind of support so far :-)

Have a good day folks :-)
Tomek


On Wed, Sep 18, 2024 at 2:46 PM Alan C. Assis  wrote:
>
> Hi Miguel,
>
> Only basic support to boot NuttX on the board at the moment, many drivers
> are still missing.
>
> Maybe you can ping Sophgo company and ask them to help too (like Espressif
> does for their chips).
>
> BR,
>
> Alan
>
> On Wed, Sep 18, 2024 at 9:08 AM MIGUEL ALEXANDRE WISINTAINER <
> tcpipc...@hotmail.com> wrote:
>
> > thank you so much Lup and team.
> >
> > I have plans to make many blogs using the Milk-V Duo S and Nuttx, because
> > one of company that i work is Milk-V Duo S seller in Brazil.
> >
> > I have some questions, (still not read the blogs, thanks again)
> >
> > Wifi Working ? Ble ? and Ethernet ?
> >
> > Plans to TPU calls on Nuttx ?
> >
> > Thanks
> > 
> > De: Lee, Lup Yuen 
> > Enviado: quarta-feira, 18 de setembro de 2024 00:26
> > Para: dev@nuttx.apache.org 
> > Assunto: Re: milk-V DUO s
> >
> > Hi Miguel: Here are the steps for booting NuttX on Milk-V Duo S SBC (Sophgo
> > SG2000 SoC):
> >
> > https://nuttx.apache.org/docs/latest/platforms/risc-v/sg2000/boards/milkv_duos/index.html
> >
> > Please see below for the articles I wrote about NuttX on Milk-V Duo S.
> > Lemme know if you have any questions thanks :-)
> >
> > "Apache NuttX RTOS on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)"
> > https://lupyuen.codeberg.page/articles/sg2000.html
> >
> > "Daily Automated Testing for Milk-V Duo S RISC-V SBC (IKEA TRETAKT / Apache
> > NuttX RTOS)"
> > https://lupyuen.codeberg.page/articles/sg2000a.html
> >
> > "RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)"
> > https://lupyuen.codeberg.page/articles/sg2000b.html
> >
> > Lup
> >
> > On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis  wrote:
> >
> > > Hi Miguel,
> > >
> > > Yes, Mr. Lup ported NuttX to Milk-V Duo S board.
> > >
> > > It is already included in the mainline.
> > >
> > > BR,
> > >
> > > Alan
> > >
> > > On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER <
> > > tcpipc...@hotmail.com> wrote:
> > >
> > > > Hi alan
> > > >
> > > > Nuttx runs on Milk-v DUO S ?
> > > >
> > > >
> > >
> >



-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


RE: milk-V DUO s

2024-09-18 Thread MIGUEL ALEXANDRE WISINTAINER
thank you so much Lup and team.

I have plans to make many blogs using the Milk-V Duo S and Nuttx, because one 
of company that i work is Milk-V Duo S seller in Brazil.

I have some questions, (still not read the blogs, thanks again)

Wifi Working ? Ble ? and Ethernet ?

Plans to TPU calls on Nuttx ?

Thanks

De: Lee, Lup Yuen 
Enviado: quarta-feira, 18 de setembro de 2024 00:26
Para: dev@nuttx.apache.org 
Assunto: Re: milk-V DUO s

Hi Miguel: Here are the steps for booting NuttX on Milk-V Duo S SBC (Sophgo
SG2000 SoC):
https://nuttx.apache.org/docs/latest/platforms/risc-v/sg2000/boards/milkv_duos/index.html

Please see below for the articles I wrote about NuttX on Milk-V Duo S.
Lemme know if you have any questions thanks :-)

"Apache NuttX RTOS on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)"
https://lupyuen.codeberg.page/articles/sg2000.html

"Daily Automated Testing for Milk-V Duo S RISC-V SBC (IKEA TRETAKT / Apache
NuttX RTOS)"
https://lupyuen.codeberg.page/articles/sg2000a.html

"RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)"
https://lupyuen.codeberg.page/articles/sg2000b.html

Lup

On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis  wrote:

> Hi Miguel,
>
> Yes, Mr. Lup ported NuttX to Milk-V Duo S board.
>
> It is already included in the mainline.
>
> BR,
>
> Alan
>
> On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER <
> tcpipc...@hotmail.com> wrote:
>
> > Hi alan
> >
> > Nuttx runs on Milk-v DUO S ?
> >
> >
>