Re: W25Nx NAND flash support

2023-03-01 Thread Gregory Nutt
If the cost isn't affordable and the company doesn't want to public all source code, he can try this approach: 1. Enable userfs to move yaffs from kernel to userspace 2. Build yaffs as wasm module and run it in: https://github.com/apache/nuttx-apps/tree/master/interpreters/wamr Th

[OT] New candidate of week to run NuttX: Arduino GIGA R1 WiFi

2023-03-01 Thread Alan C. Assis
Hi Everyone, Since NuttX has really complete support to STM32H7 I think this just released Arduino board could be a good candidate: https://docs.arduino.cc/hardware/giga-r1-wifi BR, Alan

Re: W25Nx NAND flash support

2023-03-01 Thread Xiang Xiao
On Wed, Mar 1, 2023 at 10:44 PM Sebastien Lorquet wrote: > Also, sorry for the multiple messages, but why is that not new IOCTL > calls (used to "Support other, less frequently used commands") so the > structure is not modified ? > > Because the design mimic Linux mtd interface: https://github.co

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
Hi Sebastien, I think having YAFFS2 support on mainline will be very good. Companies are free to decide if they want to use GPL code or not. Many companies don't want to use it, but for some it is completely fine. Xiang, I'm looking forward to test it. Please just put it dependent of user enabl

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
On 3/1/23, Xiang Xiao wrote: > On Wed, Mar 1, 2023 at 10:45 PM Alan C. Assis wrote: > >> oh, I just found it: >> >> "The fee depends on the number of distinct Products in which Yaffs >> will be used, and there is a base price of GBP £10,000. If more than >> one Product is included in the same Li

Re: W25Nx NAND flash support

2023-03-01 Thread Xiang Xiao
I will just talk about some possible solutions for small companies. We already pay the license from Aleph One which is very very cheap from my point of view. On Wed, Mar 1, 2023 at 10:53 PM Sebastien Lorquet wrote: > Oh come on you are just trying to circumvent the GPL here > > Sebastien > > Le

Re: W25Nx NAND flash support

2023-03-01 Thread Sebastien Lorquet
Oh come on you are just trying to circumvent the GPL here Sebastien Le 01/03/2023 à 15:50, Xiang Xiao a écrit : On Wed, Mar 1, 2023 at 10:45 PM Alan C. Assis wrote: oh, I just found it: "The fee depends on the number of distinct Products in which Yaffs will be used, and there is a base pric

Re: W25Nx NAND flash support

2023-03-01 Thread Xiang Xiao
On Wed, Mar 1, 2023 at 10:45 PM Alan C. Assis wrote: > oh, I just found it: > > "The fee depends on the number of distinct Products in which Yaffs > will be used, and there is a base price of GBP £10,000. If more than > one Product is included in the same Licence there is usually a > reduction i

Re: W25Nx NAND flash support

2023-03-01 Thread Sebastien Lorquet
I am not confortable with NuttX having features that you have to pay for. In this case yaffs should be provided as an external patch, but should not be in mainline. At the very least such features should not be advertised on public websites. That is just my opinion but I find it good to bring

Re: W25Nx NAND flash support

2023-03-01 Thread Xiang Xiao
On Wed, Mar 1, 2023 at 10:43 PM Alan C. Assis wrote: > Hi Xiang, > > On 3/1/23, Xiang Xiao wrote: > > On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: > > > >> Hi Xiang Xiao, > >> > >> This is a great news, but I'm afraid yaffs is not a good option for > >> everybody because it uses GPL lice

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
oh, I just found it: "The fee depends on the number of distinct Products in which Yaffs will be used, and there is a base price of GBP £10,000. If more than one Product is included in the same Licence there is usually a reduction in the second fee." For a big company it is fine, but small compan

Re: W25Nx NAND flash support

2023-03-01 Thread Sebastien Lorquet
Also, sorry for the multiple messages, but why is that not new IOCTL calls (used to "Support other, less frequently used commands") so the structure is not modified ? That would be a much more compatible way of doing things. Devices that dont implement this would just automatically return -ENO

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
Hi Xiang, On 3/1/23, Xiang Xiao wrote: > On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: > >> Hi Xiang Xiao, >> >> This is a great news, but I'm afraid yaffs is not a good option for >> everybody because it uses GPL license. >> >> > Yes, but you can pay some money to switch to a more friendl

Re: W25Nx NAND flash support

2023-03-01 Thread Sebastien Lorquet
the callbacks are not activated by conditional compilation and are in the middle of struct mtd_dev_s , so how are these optional? Sebastien Le 01/03/2023 à 15:36, Xiang Xiao a écrit : On Wed, Mar 1, 2023 at 10:26 PM Sebastien Lorquet wrote: Hi, Please dont break the mtd interfac

Re: W25Nx NAND flash support

2023-03-01 Thread Sebastien Lorquet
Hi, Please dont break the mtd interface, make it compatible with the previous one. Sebastien Le 01/03/2023 à 14:53, Xiang Xiao a écrit : On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: Hi Xiang Xiao, This is a great news, but I'm afraid yaffs is not a good option for everybody becaus

Re: W25Nx NAND flash support

2023-03-01 Thread Xiang Xiao
On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: > Hi Xiang Xiao, > > This is a great news, but I'm afraid yaffs is not a good option for > everybody because it uses GPL license. > > Yes, but you can pay some money to switch to a more friendly license. > But yes, it could be an option for pe

[OT] Please submit ideas to the GSoC 2023

2023-03-01 Thread Alan C. Assis
Hi NuttXers, This year we have the chance to participate again of the Google Summer of Code. You had participated on 2021, but missed the dates last year. Also it is important to remember that since 2022 GSoC is open to everyone participate, you don't need to be a student anymore. BR, Alan

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
Hi Xiang Xiao, This is a great news, but I'm afraid yaffs is not a good option for everybody because it uses GPL license. But yes, it could be an option for people and companies that can release all their software as open-source. PX4 project for example could use it. BR, Alan On 2/28/23, Xiang