Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-28 Thread Victor Suarez Rovere
Hi Andrew I'm aware of that development, the idea is to expand them. I wrote C and micropython drivers for many FPGA-implemented peripherals, including high resolution graphics, USB mouse/keyboard, audio, etc. The idea is to maintain that and to support as much peripherals/boards as possible On

Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-28 Thread Andrew Dennison
There is a litex (https://github.com/enjoy-digital/litex) target for nuttx and litex supports generating a soc for many fpga Dev boards. While the nuttx docs focus on using diligent arty, none of this is arty specific. We are actively moving the litex support forward, with both flat and kernel tar

Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-20 Thread Victor Suarez Rovere
You have many options for LED control and some of them are not small... The colorlight i9 has a 45K device that's medium size in my view then you have the ones that were used for bitcoin mining that have large devices like the Zynq models, and are super cheap nowadays since those boards were supers

Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-20 Thread Alan C. Assis
Hi Victor, thank you very much for this information and this link. I found a nice project using that board: https://github.com/lucysrausch/colorlight-led-cube I remember also seeing some FPGA board to control LEDs panel that could be used as ordinary FPGA dev tool. But I think these boards don't

Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
Reference to cheap FPGA boards (< $20) were added to the new repo, more docs will follow there: https://github.com/cederom/nuttx-fpga So, FPGA is not strictly related to $$$

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
FPGA development boards are indeed not cheap, as the chips themselves are expensive. But those of us who are in the field know some solutions. Indeed I'm working on designing a low cost FPGA board right now. Until mine is ready, a useful alternative is to reuse some mass marketed products that are

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Tomek CEDRO
Okay, this may be too complex and too early, true I also had lots of issues and was not able to work on my FreeBSD with Open-Source only tools, lets start step by step from simple things first then more complex ones, will try again with NuttX+FPGA funding next round, thank you guys, I will be in to

Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Let's follow the discussion here to avoid polluting the previous thread. On 2/18/24, Tomek CEDRO wrote: > Closed, okay, and the FPGA part did not get in? > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > On Sun, Feb 18, 2024 at 10:17 PM Alan C. Assis wrote: >> >> Hi Tomek, >> Thank you f

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Hi Victor, Yes, as I said before I also think this is a very important field, but at least for this chinese board I realized that things are not there yet. Maybe using a Lattice FPGA could work better, but anyway, a good FPGA board to run a RISC-V is not too low cost. Tang Primer 20K is lower co

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
Hi I have experience doing FPGA development including graphics (micropython port, ImGUI port, USB mouse/keyboard etc.) I think the open-source tool ecosystem for FPGA development is mature enough not to depend on proprietary tools and IP, mainly related to Lattice devices but also for most Xilinx d

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Tomek, The list with all GSoC 2024 from Apache Foundation is here: https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2024+Ideas+list Until now we have two contributors interested in participating, but we proposed 6 projects. Best Regards, Alan On Sun, Feb 18, 2024 at 8:02 PM Tomek CEDRO

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
No, as we pointed out, it is a long term project that needs to be well thought out. You listed many possibilities, we need to define a goal and focus on it. Let me share my (bad) experience with FPGA: Sometime ago I bought a low cost Tang Primer 20K board expecting to start using open-source tool

Re: [OT] Projects for GSoC 2024

2024-02-18 Thread Tomek CEDRO
Closed, okay, and the FPGA part did not get in? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sun, Feb 18, 2024 at 10:17 PM Alan C. Assis wrote: > > Hi Tomek, > Thank you for raising these concerns. > > BTW, I suggest you change the Subject to something related to NuttX and > FPGA, since th

Re: [OT] Projects for GSoC 2024

2024-02-18 Thread Alan C. Assis
Hi Tomek, Thank you for raising these concerns. BTW, I suggest you change the Subject to something related to NuttX and FPGA, since the GSoC 2024 proposal is already closed (on Feb 6). Best Regards, Alan On Sun, Feb 18, 2024 at 4:52 PM Tomek CEDRO wrote: > After some more considerations I am

Re: [OT] Projects for GSoC 2024

2024-02-18 Thread Tomek CEDRO
After some more considerations I am pro this "generic" NuttX@FPGA Reference Design on GSoC proposal, 10 resons below :-) I kindly ask to add this one to the proposals list :-) 1. We do not have a reference FPGA design for NuttX. 2. We do not have a reference fully Open-Source toolchain for FPGA+N

Re: [OT] Projects for GSoC 2024

2024-02-02 Thread Tomek CEDRO
I have played with Wayland on FreeBSD and its NOT compatible with X11. Its something >>>new<<<, a constantly fancy pancy moving target. Also it is not network friendly (no client-server architecture) you need to use VNC and this sux because of latency. I even tried to port some stuff to Wayland@FBS

Re: [OT] Projects for GSoC 2024

2024-02-02 Thread Alan C. Assis
Hi Tomek, Thank you for raising these good points and thank YF for suggesting it. I also don't know much details about it, maybe I think at list on Linux we have some other libs working between X11 and Wayland to make "legacy" code work correctly. I'm CC Nicolas Caramelli who recently added supp

Re: [OT] Projects for GSoC 2024

2024-02-01 Thread Tomek CEDRO
On Fri, Feb 2, 2024 at 1:42 AM yfliu2008 wrote: > How about adding Wayland instead of X11? It seems RT-Thread can run weston > now. * Wayland is basically a framebuffer. * What are advantages of Wayland over X11 here? * How would that support porting known libraries and applications to NuttX? * W

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Victor Suarez Rovere
Yes! exactly like that. But with better maintenance, being able to run on many boards, and more interesting peripherals (video, mouse, etc.) On Sat, Jan 27, 2024 at 7:11 PM Gregory Nutt wrote: > Like > > * > https://riscv.org/blog/2023/02/porting-nuttx-real-time-operating-system-on-polarfire-

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Gregory Nutt
Like * https://riscv.org/blog/2023/02/porting-nuttx-real-time-operating-system-on-polarfire-soc-fpga/ * https://www.hackster.io/lupyuen/8-risc-v-sbc-on-a-real-time-operating-system-ox64-nuttx-474358 * https://twitter.com/btashton/status/1243699309117235200 On 1/27/2024 3:58 PM, Victor Suare

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Tomek CEDRO
Roger that :-) I was thinking about experiment like in "Sphery vs. Shapes" to convert NuttX code to FPGA LUT directly with no CPU.. but if that makes no sense then probably Open-Source RISC-V would be the best choice and there are some ready to use implementations that could constitute our referenc

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Victor Suarez Rovere
The innovation won't be to run NuttX in a RISC-V (soft-core or not) but using a FPGA for its flexibility to add any kind of peripherals, one of the main ones to be useful in my view will be a high-resolution framebuffer and USB mouse/keyboard for a complete UI On Sat, Jan 27, 2024 at 4:31 PM Grego

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Gregory Nutt
Aren't most CPUs available as soft cores?  Certainly Xtensa was intended for that purpose.  ARM and MIPS have been common soft cores in ASICs for more than a decade. As is RISC-V soft core in FPGAs. https://en.wikipedia.org/wiki/Soft_microprocessor In the past, there was some interest in ports

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Victor Suarez Rovere
Tomek, as I clarified, porting NuttX to a FPGA will require a soft-core CPU. I don't envision an opertaing system without a CPU, I see that like a bad design choice if possible at all Using a soft core and custom peripherals seems more valuable, even including video output and USB host for mouse/ke

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Alan C. Assis
Hi Tomek, AFAIK, compiling the NuttX to run inside an FPGA is not a kind of task to be done in a GSoC project, it should be a long term effort (if John Keynes allows us). Also keep in mind that currently NuttX RTOS is supposed to run on top of a processing unit (Microcontroller, Microprocessor, e

Re: [OT] Projects for GSoC 2024

2024-01-27 Thread Tomek CEDRO
Okay Victor, I was thinking about toolchain that you present in "Sphery vs. Shapes" [1] to be adopted for NuttX on FPGA conversion without a CPU design.. could you please send your full detailed proposal then? :-) [1] https://www.youtube.com/watch?v=hn3sr3VMJQU -- CeDeROM, SQ7MHZ, http://www.tome

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Victor Suarez Rovere
Just clarifying, the idea to run NuttX on a FPGA is to instantiate a CPU and peripherals on the FPGA and then run normally as if it were a MCU Good thing is that you can change the CPU, add/remove peripherals, etc. On Sat, Jan 27, 2024 at 12:32 AM Tomek CEDRO wrote: > Hey there Victor! Thanks fo

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Tomek CEDRO
Hey there Victor! Thanks for your interest in NuttX port to FPGA!! :-) No there is no such design yet.. you would have to create everything from scratch.. so there is some serious amount of work to do.. but imagine the results.. there will be just one step to ASIC!! :-) I could reconsider my men

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Victor Suarez Rovere
I can certainly port NuttX to run on some FPGA boards too Is any board already supported? On Fri, Jan 26, 2024 at 4:40 PM Alan C. Assis wrote: > Hi Tomek, > > His toolchain is focused on FPGA, but he is interested in participating in > other projects for GSoC. > > Also we need NuttX mentors, I w

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Tomek CEDRO
On Fri, Jan 26, 2024 at 8:40 PM Alan C. Assis wrote: > His toolchain is focused on FPGA, but he is interested in participating in > other projects for GSoC. Yes, and that toolchain could be used to cross-build NuttX ROTS to FPGA without a CPU with amazing efficiency as proved on x86 architecture!

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Alan C. Assis
Hi Tomek, His toolchain is focused on FPGA, but he is interested in participating in other projects for GSoC. Also we need NuttX mentors, I will participate, but for each project we need two mentors, please let me know who could be interested to help. Best Regards, Alan On Fri, Jan 26, 2024 at

Re: [OT] Projects for GSoC 2024

2024-01-26 Thread Tomek CEDRO
On Fri, Jan 26, 2024 at 2:07 PM Alan C. Assis wrote: > Dear NuttXers, > Please find below some ideas of projects to improve NuttX during the > GSoC2024: > https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2024+Ideas+list > If you have some other ideas, please let me know. I would like to pro

[OT] Projects for GSoC 2024

2024-01-26 Thread Alan C. Assis
Dear NuttXers, Please find below some ideas of projects to improve NuttX during the GSoC2024: https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2024+Ideas+list If you have some other ideas, please let me know. Best Regards, Alan