Re: Article: NuttX on Arm Cortex-A53 and PinePhone
Thank you so much Nathan! Yes it would be super interesting to see NuttX on Pi, I hope to run it someday :-) Lup On Fri, Aug 26, 2022 at 7:51 AM Nathan Hartman wrote: > On Wed, Aug 24, 2022 at 8:05 PM Lee, Lup Yuen wrote: > > > > NuttX now supports 64-bit Arm Cortex-A53 with Multi-Core SMP... Will it > run > > on Pine64's PinePhone? This article explores how we might run NuttX on a > > real phone... > > > > https://lupyuen.github.io/articles/arm > > > Thank you for this article! That is very cool! > > Personally I hope to see NuttX running on Raspberry Pi 4 devices one > of these days. > > Currently a project I'm working on is using a lightweight Linux distro > on these devices, but despite being lightweight in comparison to > desktop Linux, is still orders of magnitude larger and more complex > than NuttX would be. > > Also, although there are realtime extensions available for Linux, > after quite a lot of work I have still not succeeded to build a usable > kernel for these devices which includes those extensions. > > NuttX is real-time by definition and would be much simpler, much more > efficient, much less bloated, and much easier to work with, at least > for the applications I'm concerned with. > > Based on my reading of the above article, perhaps NuttX booting on > these devices isn't too far-fetched today, even if we'll be missing > many device drivers for the time being. > > Great work! Kudos for the well-written article, and thanks for sharing! > > Cheers, > Nathan >
Article: PinePhone boots NuttX
NuttX now boots on Pine64's PinePhone! (Arm Cortex-A53) This article explains the changes that I made... https://lupyuen.github.io/articles/uboot Lup
Re: Article: PinePhone boots NuttX
wow! respect!! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sat, Aug 27, 2022, 13:25 Lee, Lup Yuen wrote: > NuttX now boots on Pine64's PinePhone! (Arm Cortex-A53) This article > explains the changes that I made... > > https://lupyuen.github.io/articles/uboot > > Lup >
Re: Lua on NuttX blog posts
Hello Mike! I have also been using Lua on microcontrollers for many years, with great success. For The last couple of years I have been running Lua on NuttX, these two are great when combined! Quite recently I tried running the Lua tests suite (http://www.lua.org/tests) on NuttX, and to my surprise, I got multiple failures. Some of them are related to issue #6941, but I also got more. I even get corruption of the heap in some cases. Have you tried to run these tests? Do they succeed? On Wed, Aug 24, 2022 at 4:23 AM Mike Mogenson wrote: > Hello, > > I’ve published two articles about using Lua on NuttX with libuv for > asynchronous IO and networking: > > https://medium.com/@michael.mogenson/using-lua-on-nuttx-bcc9a39b2814 > > > https://medium.com/@michael.mogenson/using-lua-and-libuv-for-async-networking-on-nuttx-6e4635eeaedc
Re: Lua on NuttX blog posts
On Sun, Aug 28, 2022 at 1:07 AM Fotis Panagiotopoulos wrote: > Hello Mike! > > I have also been using Lua on microcontrollers for many years, with great > success. > For The last couple of years I have been running Lua on NuttX, these two > are great when combined! > > Quite recently I tried running the Lua tests suite ( > http://www.lua.org/tests) > on NuttX, and to my surprise, I got multiple failures. > > Some of them are related to issue #6941, but I also got more. > I even get corruption of the heap in some cases. > > One workaround is to use the toolchain provided libm library before the problems in builtin math library get fixed. > Have you tried to run these tests? > Do they succeed? > > > On Wed, Aug 24, 2022 at 4:23 AM Mike Mogenson > wrote: > > > Hello, > > > > I’ve published two articles about using Lua on NuttX with libuv for > > asynchronous IO and networking: > > > > https://medium.com/@michael.mogenson/using-lua-on-nuttx-bcc9a39b2814 > > > > > > > https://medium.com/@michael.mogenson/using-lua-and-libuv-for-async-networking-on-nuttx-6e4635eeaedc >
Re: Lua on NuttX blog posts
On Sun, Aug 28, 2022 at 1:07 AM Fotis Panagiotopoulos wrote: > Hello Mike! > > I have also been using Lua on microcontrollers for many years, with great > success. > For The last couple of years I have been running Lua on NuttX, these two > are great when combined! > > Quite recently I tried running the Lua tests suite ( > http://www.lua.org/tests) > on NuttX, and to my surprise, I got multiple failures. > > Some of them are related to issue #6941, but I also got more. > I even get corruption of the heap in some cases. > For heap failure, I would suggest you: 1. Run the test on sim with CONFIG_SIM_ASAN and CONFIG_SIM_UBSAN 2. Run the test on real device with CONFIG_MM_KASAN, CONFIG_MM_UBSAN and CONFIG_STACK_CANARIES and fix the possible errors reported by these tools. > Have you tried to run these tests? > Do they succeed? > > > On Wed, Aug 24, 2022 at 4:23 AM Mike Mogenson > wrote: > > > Hello, > > > > I’ve published two articles about using Lua on NuttX with libuv for > > asynchronous IO and networking: > > > > https://medium.com/@michael.mogenson/using-lua-on-nuttx-bcc9a39b2814 > > > > > > > https://medium.com/@michael.mogenson/using-lua-and-libuv-for-async-networking-on-nuttx-6e4635eeaedc >
Re: Article: PinePhone boots NuttX
Nice! On Sat, 27 Aug 2022, 19:06 Tomek CEDRO, wrote: > wow! respect!! :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > On Sat, Aug 27, 2022, 13:25 Lee, Lup Yuen wrote: > > > NuttX now boots on Pine64's PinePhone! (Arm Cortex-A53) This article > > explains the changes that I made... > > > > https://lupyuen.github.io/articles/uboot > > > > Lup > > >
Re: Article: PinePhone boots NuttX
Thanks :-) Right now PinePhone is failing at the interrupt controller (Arm GIC), I'm finding out why... Lup On Sun, Aug 28, 2022 at 2:16 AM Alin Jerpelea wrote: > Nice! > > On Sat, 27 Aug 2022, 19:06 Tomek CEDRO, wrote: > > > wow! respect!! :-) > > > > -- > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > On Sat, Aug 27, 2022, 13:25 Lee, Lup Yuen wrote: > > > > > NuttX now boots on Pine64's PinePhone! (Arm Cortex-A53) This article > > > explains the changes that I made... > > > > > > https://lupyuen.github.io/articles/uboot > > > > > > Lup > > > > > >