Re: [Article] NuttX on Ox64 BL808: Automated Testing with Ox64 Emulator
<< I think it could be very useful if integrated with CI. We could find many issues that aren't detected currently. >> Thanks Alan, that's a great idea! Lemme find the best way to integrate Automated Testing into the CI, without breaking our PR Submissions. If a PR breaks the CI: Maybe we can run an "Auto Triage" to guess the Severity of the Breakage? Like: (1) Code Red: "Most likely the PR Code broke the CI, please fix the PR" (2) Code Amber: "Maybe the PR Code broke the CI? Needs more investigation" (3) Code Green: "Probably OK" (e.g. unable to download OpenAMP, automated test failed) Right now I'm running the Automated Test every morning (GMT+8). So I have the rest of the day to figure out what broke, without staying up all night :-) Lup On Sun, Jan 28, 2024 at 7:36 AM Alan C. Assis wrote: > Hi Lup, > > Congratulations, I think it could be very useful if integrated with CI. > > We could find many issues that aren't detected currently. > > Best Regards, > > Alan > > On Sat, Jan 27, 2024 at 8:05 PM Lee, Lup Yuen wrote: > > > Every day we’re auto-building NuttX for Ox64 BL808 RISC-V SBC... Can we > > test NuttX on Ox64 automatically after building? > > > > Yes we can! With a little help from the Ox64 BL808 Emulator that we > created > > last week. In this article, we fill in the missing pieces of our Ox64 > > Emulator and run it for Automated Testing... > > > > (1) Booting NuttX in Supervisor Mode (instead of Machine Mode) > > (2) Emulate OpenSBI for setting the System Timer > > (3) Emulate the UART Interrupts for Console Input > > (4) Execute everything with Expect Scripting (based on TCL) > > (5) Which becomes our Daily Automated Testing (triggered every day by > > GitHub Actions) > > > > Here's the article: https://lupyuen.codeberg.page/articles/tinyemu3.html > > > > Lup > > >
Re: [Article] NuttX on Ox64 BL808: Automated Testing with Ox64 Emulator
Hi Lup, Congratulations, I think it could be very useful if integrated with CI. We could find many issues that aren't detected currently. Best Regards, Alan On Sat, Jan 27, 2024 at 8:05 PM Lee, Lup Yuen wrote: > Every day we’re auto-building NuttX for Ox64 BL808 RISC-V SBC... Can we > test NuttX on Ox64 automatically after building? > > Yes we can! With a little help from the Ox64 BL808 Emulator that we created > last week. In this article, we fill in the missing pieces of our Ox64 > Emulator and run it for Automated Testing... > > (1) Booting NuttX in Supervisor Mode (instead of Machine Mode) > (2) Emulate OpenSBI for setting the System Timer > (3) Emulate the UART Interrupts for Console Input > (4) Execute everything with Expect Scripting (based on TCL) > (5) Which becomes our Daily Automated Testing (triggered every day by > GitHub Actions) > > Here's the article: https://lupyuen.codeberg.page/articles/tinyemu3.html > > Lup >
[Article] NuttX on Ox64 BL808: Automated Testing with Ox64 Emulator
Every day we’re auto-building NuttX for Ox64 BL808 RISC-V SBC... Can we test NuttX on Ox64 automatically after building? Yes we can! With a little help from the Ox64 BL808 Emulator that we created last week. In this article, we fill in the missing pieces of our Ox64 Emulator and run it for Automated Testing... (1) Booting NuttX in Supervisor Mode (instead of Machine Mode) (2) Emulate OpenSBI for setting the System Timer (3) Emulate the UART Interrupts for Console Input (4) Execute everything with Expect Scripting (based on TCL) (5) Which becomes our Daily Automated Testing (triggered every day by GitHub Actions) Here's the article: https://lupyuen.codeberg.page/articles/tinyemu3.html Lup
Re: [OT] Projects for GSoC 2024
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-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 Suarez Rovere wrote: > > 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 Gregory Nutt > wrote: > > > >> 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 of NuttX to softcore's > >> like MicroBlaze. But there hasn't been that kind of interest in recent > >> times. > >> > >> This would have been an innovation a decade or so ago, but I wonder > >> about that now. > >> > >> > >> > >> On 1/27/2024 1:18 PM, Victor Suarez Rovere wrote: > >>> 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/keyboard handling. I've > >> done > >>> that for Micropython > >>> > >>> El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: > >>> > 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.tomek.cedro.info > > On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere > wrote: > > 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 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 mentor position in this kind of project > because > >> I would really love to see the internals first hand.. with a help of > >> more experienced NuttX'er for sure as second mentor :-) :-) > >> > >> I did a PONG on FPGA over 10 years ago but I would never dare to run > >> CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > >> emulator.. chip module player.. open source smart debug probe.. a > >> neural interface.. who knows.. would that even fit into the FPGA? > :-) > >> :-) > >> > >> I have a strong feeling this may be important.. but I leave the > whole > >> decision to the PMC :-) > >> > >> Have a good weekend my friends :-) > >> Tomek > >> > >> -- > >> CeDeROM, SQ7MHZ,http://www.tomek.cedro.info > >> > >> On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > >> wrote: > >>> 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 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 3:33 PM Tomek CEDRO > wrote: > > 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
Re: [OT] Projects for GSoC 2024
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 Suarez Rovere wrote: 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 Gregory Nutt wrote: 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 of NuttX to softcore's like MicroBlaze. But there hasn't been that kind of interest in recent times. This would have been an innovation a decade or so ago, but I wonder about that now. On 1/27/2024 1:18 PM, Victor Suarez Rovere wrote: 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/keyboard handling. I've done that for Micropython El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: 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.tomek.cedro.info On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere wrote: 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 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 mentor position in this kind of project because I would really love to see the internals first hand.. with a help of more experienced NuttX'er for sure as second mentor :-) :-) I did a PONG on FPGA over 10 years ago but I would never dare to run CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari emulator.. chip module player.. open source smart debug probe.. a neural interface.. who knows.. would that even fit into the FPGA? :-) :-) I have a strong feeling this may be important.. but I leave the whole decision to the PMC :-) Have a good weekend my friends :-) Tomek -- CeDeROM, SQ7MHZ,http://www.tomek.cedro.info On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere wrote: 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 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 3:33 PM Tomek CEDRO wrote: 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 propose Victor Suarez (CC) idea for porting toolchain NuttX RTOS directly to FPGA :-) https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip Tomek -- CeDeROM, SQ7MHZ,http://www.tomek.cedro.info
Re: [OT] Projects for GSoC 2024
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 reference NuttX@FPGA design.. the goal here probably would be to run on smallest possible LUT count or something with amazingly better performance than out-of-the-box hardware? :-) Let Victor / PMC decide on the task specifics and priorities, sorry for the noise folks :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sat, Jan 27, 2024 at 8:18 PM Victor Suarez Rovere wrote: > > 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/keyboard handling. I've done > that for Micropython > > El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: > > > 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.tomek.cedro.info > > > > On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere > > wrote: > > > > > > 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 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 mentor position in this kind of project because > > > > I would really love to see the internals first hand.. with a help of > > > > more experienced NuttX'er for sure as second mentor :-) :-) > > > > > > > > I did a PONG on FPGA over 10 years ago but I would never dare to run > > > > CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > > > > emulator.. chip module player.. open source smart debug probe.. a > > > > neural interface.. who knows.. would that even fit into the FPGA? :-) > > > > :-) > > > > > > > > I have a strong feeling this may be important.. but I leave the whole > > > > decision to the PMC :-) > > > > > > > > Have a good weekend my friends :-) > > > > Tomek > > > > > > > > -- > > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > > > On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > > > > wrote: > > > > > > > > > > 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 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 3:33 PM Tomek CEDRO > > wrote: > > > > > > > > > > > > > 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 propose Victor Suarez (CC) idea for porting > > toolchain > > > > > > > NuttX RTOS directly to FPGA :-) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip > > > > > > > > > > > > > > Tomek > > > > > > > > > > > > > > -- > > > > > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > > > > > > > > > > > > > >
Re: [OT] Projects for GSoC 2024
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 Gregory Nutt wrote: > 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 of NuttX to softcore's > like MicroBlaze. But there hasn't been that kind of interest in recent > times. > > This would have been an innovation a decade or so ago, but I wonder > about that now. > > > > On 1/27/2024 1:18 PM, Victor Suarez Rovere wrote: > > 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/keyboard handling. I've > done > > that for Micropython > > > > El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: > > > >> 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.tomek.cedro.info > >> > >> On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere > >> wrote: > >>> 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 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 mentor position in this kind of project because > I would really love to see the internals first hand.. with a help of > more experienced NuttX'er for sure as second mentor :-) :-) > > I did a PONG on FPGA over 10 years ago but I would never dare to run > CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > emulator.. chip module player.. open source smart debug probe.. a > neural interface.. who knows.. would that even fit into the FPGA? :-) > :-) > > I have a strong feeling this may be important.. but I leave the whole > decision to the PMC :-) > > Have a good weekend my friends :-) > Tomek > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > wrote: > > 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 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 3:33 PM Tomek CEDRO > >> wrote: > >>> 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 propose Victor Suarez (CC) idea for porting > >> toolchain > >>> NuttX RTOS directly to FPGA :-) > >>> > >>> > >>> > >> > https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip > >>> Tomek > >>> > >>> -- > >>> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > >>> > >
Re: [OT] Projects for GSoC 2024
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 of NuttX to softcore's like MicroBlaze. But there hasn't been that kind of interest in recent times. This would have been an innovation a decade or so ago, but I wonder about that now. On 1/27/2024 1:18 PM, Victor Suarez Rovere wrote: 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/keyboard handling. I've done that for Micropython El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: 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.tomek.cedro.info On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere wrote: 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 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 mentor position in this kind of project because I would really love to see the internals first hand.. with a help of more experienced NuttX'er for sure as second mentor :-) :-) I did a PONG on FPGA over 10 years ago but I would never dare to run CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari emulator.. chip module player.. open source smart debug probe.. a neural interface.. who knows.. would that even fit into the FPGA? :-) :-) I have a strong feeling this may be important.. but I leave the whole decision to the PMC :-) Have a good weekend my friends :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere wrote: 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 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 3:33 PM Tomek CEDRO wrote: 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 propose Victor Suarez (CC) idea for porting toolchain NuttX RTOS directly to FPGA :-) https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Re: [OT] Projects for GSoC 2024
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/keyboard handling. I've done that for Micropython El sáb., 27 ene. 2024 13:23, Tomek CEDRO escribió: > 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.tomek.cedro.info > > On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere > wrote: > > > > 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 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 mentor position in this kind of project because > > > I would really love to see the internals first hand.. with a help of > > > more experienced NuttX'er for sure as second mentor :-) :-) > > > > > > I did a PONG on FPGA over 10 years ago but I would never dare to run > > > CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > > > emulator.. chip module player.. open source smart debug probe.. a > > > neural interface.. who knows.. would that even fit into the FPGA? :-) > > > :-) > > > > > > I have a strong feeling this may be important.. but I leave the whole > > > decision to the PMC :-) > > > > > > Have a good weekend my friends :-) > > > Tomek > > > > > > -- > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > > > wrote: > > > > > > > > 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 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 3:33 PM Tomek CEDRO > wrote: > > > > > > > > > > > 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 propose Victor Suarez (CC) idea for porting > toolchain > > > > > > NuttX RTOS directly to FPGA :-) > > > > > > > > > > > > > > > > > > > > > > > > > > > https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip > > > > > > > > > > > > Tomek > > > > > > > > > > > > -- > > > > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > > > > > > > > > >
Re: [OT] Projects for GSoC 2024
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, etc), it is not a simple state machine that can be emulated easily in FPGA. So, it should be something completely different. But of course, maybe there are some shortcuts that I'm not aware of. BTW, Victor is also interested in participating in other projects that are related to other areas of interest (i.e. Graphics, like X11 support to let NuttX run Unix/Linux graphics applications). Best Regards, Alan On Sat, Jan 27, 2024 at 1:23 PM Tomek CEDRO wrote: > 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.tomek.cedro.info > > On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere > wrote: > > > > 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 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 mentor position in this kind of project because > > > I would really love to see the internals first hand.. with a help of > > > more experienced NuttX'er for sure as second mentor :-) :-) > > > > > > I did a PONG on FPGA over 10 years ago but I would never dare to run > > > CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > > > emulator.. chip module player.. open source smart debug probe.. a > > > neural interface.. who knows.. would that even fit into the FPGA? :-) > > > :-) > > > > > > I have a strong feeling this may be important.. but I leave the whole > > > decision to the PMC :-) > > > > > > Have a good weekend my friends :-) > > > Tomek > > > > > > -- > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > > > wrote: > > > > > > > > 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 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 3:33 PM Tomek CEDRO > wrote: > > > > > > > > > > > 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 propose Victor Suarez (CC) idea for porting > toolchain > > > > > > NuttX RTOS directly to FPGA :-) > > > > > > > > > > > > > > > > > > > > > > > > > > > https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip > > > > > > > > > > > > Tomek > > > > > > > > > > > > -- > > > > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > > > > > > > > > >
Re: [OT] Projects for GSoC 2024
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.tomek.cedro.info On Sat, Jan 27, 2024 at 7:22 AM Victor Suarez Rovere wrote: > > 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 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 mentor position in this kind of project because > > I would really love to see the internals first hand.. with a help of > > more experienced NuttX'er for sure as second mentor :-) :-) > > > > I did a PONG on FPGA over 10 years ago but I would never dare to run > > CPU-less-program directly on FPGA.. then RTOS.. then lets say Atari > > emulator.. chip module player.. open source smart debug probe.. a > > neural interface.. who knows.. would that even fit into the FPGA? :-) > > :-) > > > > I have a strong feeling this may be important.. but I leave the whole > > decision to the PMC :-) > > > > Have a good weekend my friends :-) > > Tomek > > > > -- > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > On Sat, Jan 27, 2024 at 2:55 AM Victor Suarez Rovere > > wrote: > > > > > > 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 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 3:33 PM Tomek CEDRO wrote: > > > > > > > > > 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 propose Victor Suarez (CC) idea for porting toolchain > > > > > NuttX RTOS directly to FPGA :-) > > > > > > > > > > > > > > > > > > > > > https://www.tomshardware.com/news/fpga-demo-shows-efficiency-gains-compared-to-x86-chip > > > > > > > > > > Tomek > > > > > > > > > > -- > > > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > > > > > >
Re: AVR32 on NuttX
Dear Alan, Dear NuttX community, greetings! > Nice to see they added JTAG support to avrdude, but only few AVR8 > has JTAG support (i.e. Atmega128 has). I trust you're all doing so well. I revisited the NuttX codebase today. I created a sample at32uc3b0256 (avr32dev1) Microchip Studio project to see if I can import the relevant NuttX files. It is time consuming. I downloaded NuttX 10.1.0 RC-1 and Apps 10.1.0 a couple of hours ago. I invoked "make V=1" to see the details. I have isolated the core files (including libs) responsible for the build. I am just working with the assumption that not a lot has changed between 10.1.0 and the current master branch with regards to AVR32. I know this approach is a bit tedious. If I can prove avr32dev1, Mizar32 is not very far away from there. I wanted to specifically write to you to check if anyone else from the community has already furthered (OR in the process of) NuttX in the context of AVR32. I just want to avoid duplication of effort. May I proceed this way? At least we'll know why avr32dev1 won't boot with the current state of things. My best regards to all. R P.S. Just wondering: would "make export" help in my case?