Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread chao an
+1 The duplication of the same features in the system is a nuisance to developers, who do not understand which version to use or which version has more advantages. In addition, removing redundancy also helps optimize the usage of flash/ram. BRs, Tomek CEDRO 于2025年4月14日周一 22:18写道: > Thanks Xiang

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Tomek CEDRO
Flashing works with rpi-Pico-2 but not on rpi-Pico even for 12.8 release I have no NSH overy USB on none :-( Maybe a built-in bootloader on the SBC needs an update? Note I have RP2-B2 instead bare RP2040 on rPi-Pico. rPi-Pico: UF2 Bootloader v3.0, Model Raspberry Pi RP2, Board-ID RPI-RP2. rPi-Pi

Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread 董九柱
Hello Community, I submit some PRs about using system/dd app instead of dd command from nshlib. PR link: https://github.com/apache/nuttx-apps/pull/3057 https://github.com/apache/nuttx/pull/16198 Why do? There are two implementations of dd in the current system, one under nshlib and the other und

[ANNOUNCE] Apache NuttX 12.9.0 released

2025-04-14 Thread Alin Jerpelea
The Apache NuttX project team is proud to announce: Apache NuttX 12.9.0 has been released. The release artifacts and Release Notes can be found at: https://nuttx.apache.org/download/ https://nuttx.apache.org/releases/12.9.0/ Thanks, Alin Jerpelea on behalf of Apache NuttX PPMC

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Kevin Witteveen
Hi, Thanks for the fast response. I'm glad posting this issue to the mailing list was worth it. The github issue got no attention. The RP2040 support is very important to me. There is something I want to add to this issue. -- Flashing -- I mainly flash the firmware using the Pico Debug probe or

Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread Lee, Lup Yuen
+1 Hi Donny: Please remember to close the voting in 72 hours. Thanks :-) Lup On Mon, Apr 14, 2025 at 9:07 PM 董九柱 wrote: > Hello Community, > > I submit some PRs about using system/dd app instead of dd command from > nshlib. > > PR link: > https://github.com/apache/nuttx-apps/pull/3057 > https:

Sv: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread alin.jerpe...@sony.com
+1 Best Alin Från: Lee, Lup Yuen Skickat: den 14 april 2025 15:53 Till: dev@nuttx.apache.org Ämne: Re: Vote for using system dd instead of nsh dd, avoid duplicate code +1 Hi Donny: Please remember to close the voting in 72 hours. Thanks :-) Lup On Mon, Apr 14,

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Alan C. Assis
Thank you Sebastien, Seems an interesting alternative, but ordering from the Internet will arrive fast too. BR, Alan On Mon, Apr 14, 2025 at 10:43 AM Sebastien Lorquet wrote: > Hello > > If you are in a hurry you can use another pico as picoprobe > > > https://mcuoneclipse.com/2022/09/17/pico

Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread Xiang Xiao
The functionality in system/dd and nshlib is unsync, this patch: 1. update system/dd to get the same functionality as nshlib/dd 2. remove one copy(nshlib/dd) to avoid the inconsistency in the future. Good work! thanks. On Mon, Apr 14, 2025 at 9:07 PM 董九柱 wrote: > Hello Community, > > I

Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread Sebastien Lorquet
Great, thanks for the precision. I still wonder about the increased flash use but it is still possible to improve that later. +1 Sebastien On 14/04/2025 15:58, Xiang Xiao wrote: The functionality in system/dd and nshlib is unsync, this patch: 1. update system/dd to get the same functio

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Tomek CEDRO
On Mon, Apr 14, 2025 at 4:36 PM Bernd Walter wrote: > On Mon, Apr 14, 2025 at 04:11:40PM +0200, Tomek CEDRO wrote: > > Yeah I also had problems flashing this rpiPico boards with USB MSC > > method (mount+cp+umount) on FreeBSD.. is there a OpenOCD like method > > so I could try too? :-) > > On Free

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Kevin Witteveen
Hi, I can confirm releases/12.8 does indeed work perfectly fine. So indeed, the issue is somewhere after 12.8. I tested an older PicoSDK version, this has no effect. Atleast, as far as I can go back until it becomes incompatible. Best, Kevin Op ma 14 apr 2025 om 14:19 schreef Kevin Witteveen :

Re: Sv: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Sebastien Lorquet
I dont see this announced on the mailing list Sebastien On 14/04/2025 13:43, alin.jerpe...@sony.com wrote: Hi Alan, 12.9 is already released I will prepare a 12.9.1 release ASAP Best regards Alin Från: Alan C. Assis Skickat: den 14 april 2025 13:25 Till: d

Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread Sebastien Lorquet
Hello 1 - code duplication has never been rejected in nuttx 2 - it hurts no one since each of them can be selected individually. My vote: Do nothing unless you actually justify the real life problem you're facing that requires this. Ideally: -1 because that's just cosmetics. But I know you

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Alan C. Assis
Hi Kevin, Thanks for reporting the issue! I will test the new 12.9-RC1 on rasp pico and if the issue happen there I will suggest Alin to wait before releasing the final 12.9 version. BR, Alan On Mon, Apr 14, 2025 at 7:46 AM Kevin Witteveen wrote: > Hi NuttX, > > This is a follow up on previo

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Kevin Witteveen
Hi Alan, Can you maybe test the rp2040 with ostest? Also see if "help" is outputting reliable text? Maybe enable random apps and see if they run fine? Apparently the pico probe is not necessary to reproduce this issue. As the same problems repeat themselves with drag&drop. Theory: Perhaps this c

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Tomek CEDRO
Yeah I also had problems flashing this rpiPico boards with USB MSC method (mount+cp+umount) on FreeBSD.. is there a OpenOCD like method so I could try too? :-) Tomek On Mon, Apr 14, 2025 at 4:09 PM Alan C. Assis wrote: > > Thank you Sebastien, > > Seems an interesting alternative, but ordering fr

Re: Vote for using system dd instead of nsh dd, avoid duplicate code

2025-04-14 Thread Tomek CEDRO
Thanks Xiang for the details :-) Why not add the unsync to the nsh/dd and keep this one still as minimal default with more features delectable instead removing? :-) Aside question did NuttX consider `/bin/dd` versus built-in `dd` (something like built-in `time` versus `/usr/bin/time` in Unix)? We

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Alan C. Assis
Hi Kevin and Alin, I confirmed that NuttX 12.9-RC1 is broken on Raspberry Pi Pico. After copying the nuttx.uf2 to virtual disk RPI-RP2 the board restart by the /dev/ttyACM0 is not created. Please find the steps below: alan@dev:/tmp$ cd nuttx/ alan@dev:/tmp/nuttx$ . tools/configure_completion.ba

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Alan C. Assis
Hi Kevin, I will order a Pico Debug probe, it is something new for me. In fact it seems like a heisenbug, I just compiled from mainline and after drag and drop it worked, but this time I had to use nautilus with sudo because the Copy option to RPI-RP2 disk wasn't working. BR, Alan On Mon, Apr

Sv: [Article] NuttX for Avaota-A1 SBC: Creating the Unicorn Emulator

2025-04-14 Thread alin.jerpe...@sony.com
Kudos Lup! Från: Tomek CEDRO Skickat: den 13 april 2025 22:26 Till: dev@nuttx.apache.org Ämne: Re: [Article] NuttX for Avaota-A1 SBC: Creating the Unicorn Emulator Wow! What a journey! Thank you Lup!! :-) -- CeDeROM, SQ7MHZ, https:  //urldefense. com/v3/__http:

[RESULT] [VOTE] Release Apache NuttX 12.9.0 [RC1]

2025-04-14 Thread Alin Jerpelea
Hi all, The vote to release Apache NuttX 12.9.0-RC1 is now closed. Thanks to those that took the time to review and vote. The release has passed with 4 +1 (binding) votes, 1 +1 (Non binding vote) and no 0 or -1 votes. Binding: +1 Lup Yuen Lee +1 Roberto Bucher +1 Tomek CEDRO +1 Alin Jerpelea Vo

Re: [Bug] RP2040 broken, any config&boards, ostest and apps hang

2025-04-14 Thread Bernd Walter
On Mon, Apr 14, 2025 at 04:11:40PM +0200, Tomek CEDRO wrote: > Yeah I also had problems flashing this rpiPico boards with USB MSC > method (mount+cp+umount) on FreeBSD.. is there a OpenOCD like method > so I could try too? :-) On FreeBSD I never mount and just dd directly to the device with bs=1M.