Re: Re: minimal funcational acceptance for a new port

2023-12-12 Thread Lee, Lup Yuen
Hi yf: Kendryte K230 sounds really cool! (Dual-core T-Head C908 64-bit
RISC-V with NPU)

I'm now upstreaming to NuttX Mainline a similar board (Pine64 Ox64 SBC with
Bouffalo Lab BL808 SoC and T-Head C906). These links might be helpful:

PR for BL808 SoC: https://github.com/apache/nuttx/pull/11371

PR for Ox64 Board: https://github.com/apache/nuttx/pull/11377

T-Head C9xx might need Supervisor-Mode MMU Flags for Strongly-Ordered
Memory Type: https://github.com/apache/nuttx/pull/11365

Adding a new SoC and Board:
https://lupyuen.github.io/articles/release#add-the-nuttx-arch-and-board

PR Tips: https://lupyuen.github.io/articles/pr

Please drop me a note if you have any questions. Thanks! :-)

Lup

On Tue, Dec 12, 2023 at 10:03 PM yfliu2008  wrote:

> Alan,
>
>
> Thanks for the advices.
>
>
> I just have ostest passed after minor tweak in
> 'risc-v/src/common/riscv_mtimer.c' with a new case bring by this SoC. So I
> think it is better to discuss using a PR.
>
>
> Regards,
>
> yf
>
>
>
>
>
>
>
>
>
>
> Original
>
>
>
> From:"Alan C. Assis"< acas...@gmail.com ;
>
> Date:2023/12/12 21:42
>
> To:"dev"< dev@nuttx.apache.org ;
>
> Subject:Re: minimal funcational acceptance for a new port
>
>
> Hi yf,
> Since you already got the nsh working and even some applications running,
> it is fine to submit to the mainline.
>
> About these issues, please include that information in your board
> documentation (just below the picture and the features of the board) in an
> section like: "Known issues".
>
> Best Regards,
>
> Alan
>
> On Tue, Dec 12, 2023 at 2:25 AM yfliu2008  wrote:
>
>  Hi,
> 
> 
> 
> 
>  I am trying NuttX with a CanMV board based on Kendryte K230
>  SoC.
> 
> 
> 
> 
>  So far I can use the nsh and a few simple apps (like hello). The
> ostest
>  still isn't fully working, probably due to time related details.
> 
> 
> 
> 
>  as a NuttX newbie, there must be a lot learning that takes time, also
> the
>  k230 SoC has many features and there will be a long way to support
> more of
>  it. So I guess it will be a long journey.
> 
> 
> 
> 
>  I am wondering if I should submit PR now or wait until some
>  functional acceptance are passed?
> 
> 
> 
> 
>  Regards,
> 
>  yf


Re: Legal help to (Apache) NuttX RTOS: adding licenseed driver

2023-12-12 Thread Pavel Pisa
Hello everybody,

thanks for discussion. I understand that licesing, preventing
damages by misbehavior etc. are quite wide area and I have
some general interrest in these topics. But for actual case,
my original question and point is simple.

If we contribute the work (our work) with next the
SPDX-License-Identifier line, could it be included
in mainline NuttX tree (if we reach technical and other
criteria)?

// SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause OR Apache-2.0

We have (at this moment) rights and agreement in the original
author group to change license in this direction from GPL-2.0.
We do not expect to rely or reuse any third party GPL licensed
code (the ported/reused code fragments are fully
independent of Linux SocketCAN and networking layer)
in NuttX case.

We are aware that if some major contributor does not agree
with some of the OR clauses later, they can be removed
without our consent.

But this arrangement would help us to prevent obstacles to
contribute in the single stream to all three OSes.

  - Linux kernel, which is GPL-2.0-only but has no problem
to accept combined licenses with BSD-2-Clause (3k+ files),
even Apache-2.0 OR MIT without GPL are accepted/found
in the sources.
  - RTEMS, which is primarily BSD-2-Clause, but has more
SPDX lines with Apache-2.0, other combined with GPL
  - NuttX, Apache-2.0

and as long as there is no opposition and removal clauses
of the SPDX-License-Identifier line, we can freely copy
RTOS independent parts of the sources between systems.

Best wishes,

Pavel
--
Pavel Pisa

phone:  +420 603531357
e-mail: p...@cmp.felk.cvut.cz
Department of Control Engineering FEE CVUT
Karlovo namesti 13, 121 35, Prague 2
university: http://control.fel.cvut.cz/
personal:   http://cmp.felk.cvut.cz/~pisa
company:https://pikron.com/ PiKRON s.r.o.
Kankovskeho 1235, 182 00 Praha 8, Czech Republic
projects:   https://www.openhub.net/accounts/ppisa
social: https://social.kernel.org/ppisa
CAN related:http://canbus.pages.fel.cvut.cz/
RISC-V education: https://comparch.edu.cvut.cz/
Open Technologies Research Education and Exchange Services
https://gitlab.fel.cvut.cz/otrees/org/-/wikis/home


Re: minimal funcational acceptance for a new port

2023-12-12 Thread Alan C. Assis
Hi yf,
Since you already got the nsh working and even some applications running,
it is fine to submit to the mainline.

About these issues, please include that information in your board
documentation (just below the picture and the features of the board) in an
section like: "Known issues".

Best Regards,

Alan

On Tue, Dec 12, 2023 at 2:25 AM yfliu2008  wrote:

> Hi,
>
>
>
>
> I am trying NuttX with a CanMV board based on Kendryte K230
> SoC.
>
>
>
>
> So far I can use the nsh and a few simple apps (like hello). The ostest
> still isn't fully working, probably due to time related details.
>
>
>
>
> as a NuttX newbie, there must be a lot learning that takes time, also the
> k230 SoC has many features and there will be a long way to support more of
> it. So I guess it will be a long journey.
>
>
>
>
> I am wondering if I should submit PR now or wait until some
> functional acceptance are passed?
>
>
>
>
> Regards,
>
> yf