Re: Can musl libc replace the libc of nuttx system?
On Tue, Jul 12, 2022 at 4:38 AM Xiang Xiao wrote: > musl is designed to work exclusively with Linux and then there is no OS > abstraction layer. So it's hard to adapt musl to other OS. > Alan asks a good question: what benefit do you want to get from replacing > NuttX' libc with musl? Just my 2 cents as BSD user (FreeBSD to be exact) so please stay cool :-) Yes there are lots of "Open-Source" solutions that works only on Linux by design. Some people do this because of ignorance, some people do it on purpose. Life would be simpler when it has "Linux-Only" sticker on top just to know what to avoid :-) Linux was always known to be "most-self-incomatible-system-ever" but gets more and more away from Unix world nowadays into "constant change" "temporary solution" world. I don't know musl but it seems to be yet another example of Linux-Only solution (to add Docker, SystemD and all dependent programs). I am porting lots of Open-Source applications and libraries to BSD and I know the problem pretty well. It goes wrong direction with applause of the masses. Kind of Closed-Open-Source. People think that Open-Source is Linux, but Linux is only small part of the Open-Source world. Because Linux starts to live in its own world, there will be more and more problems of this kind. I was using Linux since 2.0.36 and I stopped using around 2.4.11 when kernel API started changing with every minor release. This is clearly "enforced changes ideology" in practice. You cannot build anything solid on non solid fundaments. BSD is a good proving grounds for well designed portable Open-Source. If you make something here it will still work in two years ;-) Give it a try :-) https://www.freebsd.org/ - versatile OS for Embedded, Desktop, Server (supports ZFS, RISC-V, etc). https://nomadbsd.org/ - USB drive portable version of FreeBSD. https://www.openbsd.org/ - most secure OS ever. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Assertion failed using the nucleo-H743ZI2 board
Hi I' working on a STM32 NUCLEO-H743ZI2 board, and I have sporadic errors in the shell when I launch some utilities like "ifconfig" or "renew" (but it seems not to be related to the network). Sometimes the command runs without problems, sometimes it gives an Assertion failure and I have to switch off and on the board to restart the shall. It seems to be a problem related to the shell application. Does somebody have similar problems? How can I try to find out the bugs related to this error? (breakpoints where?) Thanks in advance Roberto
Re: Assertion failed using the nucleo-H743ZI2 board
Hi, I'm working with the exact same board and struggled for several days with a similar problem. Breakpoints did not help since the issue was fugitive and not always crashing at the same place. There also were debug/release variations. It turned out to be a stack issue. The default stack size for new stacks is 2048 and all problems went away by defining a 4k default stack size. You may not have the same issue, but it's worth trying that point. Sebastien On 7/12/22 21:34, Roberto Bucher wrote: Hi I' working on a STM32 NUCLEO-H743ZI2 board, and I have sporadic errors in the shell when I launch some utilities like "ifconfig" or "renew" (but it seems not to be related to the network). Sometimes the command runs without problems, sometimes it gives an Assertion failure and I have to switch off and on the board to restart the shall. It seems to be a problem related to the shell application. Does somebody have similar problems? How can I try to find out the bugs related to this error? (breakpoints where?) Thanks in advance Roberto
Re: Assertion failed using the nucleo-H743ZI2 board
Thanks Sebastien It seems that this new stack size solves the problems. No more crashes in the first new tests. Best regards Roberto On 7/12/22 22:13, Sebastien Lorquet wrote: Hi, I'm working with the exact same board and struggled for several days with a similar problem. Breakpoints did not help since the issue was fugitive and not always crashing at the same place. There also were debug/release variations. It turned out to be a stack issue. The default stack size for new stacks is 2048 and all problems went away by defining a 4k default stack size. You may not have the same issue, but it's worth trying that point. Sebastien On 7/12/22 21:34, Roberto Bucher wrote: Hi I' working on a STM32 NUCLEO-H743ZI2 board, and I have sporadic errors in the shell when I launch some utilities like "ifconfig" or "renew" (but it seems not to be related to the network). Sometimes the command runs without problems, sometimes it gives an Assertion failure and I have to switch off and on the board to restart the shall. It seems to be a problem related to the shell application. Does somebody have similar problems? How can I try to find out the bugs related to this error? (breakpoints where?) Thanks in advance Roberto
Re: [DISCUSS] Graduate NuttX as TLP
Hi all, As this [DISCUSS] thread has quieted down for quite some days now, shall we have a [VOTE] thread or does anyone have additional thoughts to share? I'll wait another 72 hours before beginning a [VOTE] thread to give a chance to anyone who would like to speak up. Now's the time!! Cheers, Nathan On Fri, Jun 24, 2022 at 12:46 PM Nathan Hartman wrote: > > Hi folks, > > It's time to start the [DISCUSS] thread about GRADUATION! > > Project Highlights Since Incubation: > > * Incubating since 2019-12-09 > * New website, nuttx.apache.org > * Shipped 8 releases under the ASF Incubator, including our first > non-WIP release > * Merged more than 7000 PRs across incubator-nuttx and incubator-nuttx-apps > * More than 1000 stars on GitHub > * More than 500 forks on GitHub > * More than 250 subscribers to dev@nuttx.apache.org > * 9th most active Apache project of 2021 by number of commits [1] > * 5 mentors > * 17 PPMC members > * 25 committers > * 75 ICLAs > * 2 CCLAs > * 21 SGAs > * 2 release managers > * 2 NuttX online workshops > * And much, much more > > Let's go through the checklist [2], discuss any remaining open issues, > and get this process going! > > References: > [1] > https://thestack.technology/top-apache-projects-in-2021-from-superset-to-nuttx/ > [2] https://incubator.apache.org/guides/graduation.html#before_you_graduate > > Cheers, > Nathan