Re: [VOTE] Apache NuttX 12.4.0 RC0 release

2024-01-15 Thread Alin Jerpelea
 +1 from me
The release was tested on Sony Spresense board


In this case I will close the vote and document the issue regarding Ox64.


Thanks for testing and voting the release

//Alin

On Sat, Jan 13, 2024 at 3:10 AM Tomek CEDRO  wrote:

> On Wed, Jan 10, 2024 at 12:10 PM Alin Jerpelea wrote:
> > Hello all,
> > Apache NuttX 12.4.0 RC0 has been staged under [1] and it's
> > time to vote on accepting it for release. Voting will be open for 72hr.
>
> Hello beautiful world :-)
>
> +1 here with details below :-)
>
> ALL THE BEST IN NEW YEAR! :-)
>
> Tomek
>
>
> HOST:
> FreeBSD octagon 13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64
>
> TARGETS:
> 1. ESP32.
> 2. ESP32-C3.
> 3. ESP32-S2.
> 4. ESP32-S3.
> 5.SIM.
>
>
> === ESP32 ===
>
> % xtensa-esp32-elf-cc --version
> xtensa-esp32-elf-cc (crosstool-NG esp-2021r2-patch5) 8.4.0
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:nsh
> 3,31s real  1,70s user  1,66s sys
>
> % /usr/bin/time -h gmake -j8
> 19,15s real 58,86s user 44,09s sys
>
> % /usr/bin/time -h gmake flash
> 11,48s real 2,02s user  1,40s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
> configsip: 0, SPIWP:0xee
> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
> mode:DIO, clock div:2
> load:0x3fff0030,len:4540
> ho 0 tail 12 room 4
> load:0x40078000,len:12344
> ho 0 tail 12 room 4
> load:0x40080400,len:4124
> entry 0x40080680
>
> NuttShell (NSH) NuttX-12.4.0
> nsh> uname -a
> NuttX 12.4.0 96c2707737 Jan 13 2024 01:24:16 xtensa esp32-devkitc
> nsh> help
> help usage:  help [-v] []
>
> .   cp  exitmkrdset unset
> [   cmp false   mount   sleep   uptime
> ?   dirname fdinfo  mv  source  usleep
> alias   dd  freepidof   testxd
> unalias df  helpprintf  time
> basenamedmesg   hexdump ps  true
> break   echokillpwd truncate
> cat env ls  rm  uname
> cd  execmkdir   rmdir   umount
>
> Builtin Apps:
> nshsh
>
>
> % /usr/bin/time -h gmake clean distclean
> 8,53s real  4,27s user  4,37s sys
>
> % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:coremark
> 3,30s real  1,59s user  1,75s sys
>
> % /usr/bin/time -h gmake -j8
> 19,31s real 1m0,84s user42,71s sys
>
> % /usr/bin/time -h gmake flash
> 10,48s real 1,63s user  1,05s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
> configsip: 0, SPIWP:0xee
> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
> mode:DIO, clock div:2
> load:0x3fff0030,len:4540
> ho 0 tail 12 room 4
> load:0x40078000,len:12344
> ho 0 tail 12 room 4
> load:0x40080400,len:4124
> entry 0x40080680
> Running CoreMark...
> 2K performance run parameters for coremark.
> CoreMark Size: 666
> Total ticks  : 1218
> Total time (secs): 12.18
> Iterations/Sec   : 985.221675
> Iterations   : 12000
> Compiler version : GCC8.4.0
> Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
> -ffunction-sections -fdata-sections
> Parallel PThreads : 2
> Memory location  : HEAP
> seedcrc  : 0xe9f5
> [0]crclist   : 0xe714
> [1]crclist   : 0xe714
> [0]crcmatrix : 0x1fd7
> [1]crcmatrix : 0x1fd7
> [0]crcstate  : 0x8e3a
> [1]crcstate  : 0x8e3a
> [0]crcfinal  : 0xa14c
> [1]crcfinal  : 0xa14c
> Correct operation validated. See README.md for run and reporting rules.
> CoreMark 1.0 : 985.221675 / GCC8.4.0 -O3 -fno-strict-aliasing
> -fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP /
> 2:PThreads
>
> % /usr/bin/time -h gmake clean distclean
> 8,21s real  3,83s user  4,48s sys
>
> % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:ostest
> 3,34s real  1,66s user  1,71s sys
>
> % /usr/bin/time -h gmake -j8
> 20,00s real 1m2,34s user45,68s sys
>
> % /usr/bin/time -h gmake flash
> 14,20s real 2,24s user  1,49s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
> configsip: 0, SPIWP:0xee
> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
> mode:DIO, clock div:2
> load:0x3fff0030,len:4540
> ho 0 tail 12 room 4
> load:0x40078000,len:12344
> ho

[ANNOUNCE] Apache NuttX 12.4.0 released

2024-01-15 Thread Alin Jerpelea
The Apache NuttX project team is proud to announce that
Apache NuttX 12.4.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.4.0/

Thanks,
Alin Jerpelea
on behalf of Apache NuttX PPMC


Re: [ANNOUNCE] Apache NuttX 12.4.0 released

2024-01-15 Thread Tomek CEDRO
CONGRATULATIONS! :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


Re: [Article] NuttX in the Web Browser (TinyEMU + VirtIO)

2024-01-15 Thread Alan C. Assis
Interesting!
Thank you very much Lup for investigating it further!

BR,
Alan

On Mon, Jan 15, 2024 at 2:34 AM Lee, Lup Yuen  wrote:

> << Do you think it is possible to find an alternative to use the users'
> browser connection to communicate to the Internet? This way it avoids
> users' consumption of all internet limits on the server side. >>
>
> Hi Alan: You're right, TinyEMU Emulator talks to a WebSocket VPN hosted at
> `
> relay.widgetry.org` that's throttled at 40 kB/s (for free, fair use). But
> I
> don't see a good alternative to this WebSocket VPN:
>
> (1) Can the Web Browser talk directly to the internet without WebSocket
> VPN?
>
> TinyEMU and VirtIO Networking are sending Ethernet Frames / IP Packets from
> the Web Browser to the internet. But Web Browsers are not allowed to send
> IP Packets directly. That's why we need to tunnel the packets through a
> WebSocket VPN.
>
> (2) Can we host our own WebSocket VPN on our Local Computer?
>
> Possibly. But then we will have to host the Web Server on our Local
> Computer too. Which makes it cumbersome to install.
>
> (3) Can we host the WebSocket VPN on a server operated by the NuttX
> Project?
>
> Probably not, because we need to throttle the internet traffic for free,
> fair use. And prevent abuse.
>
> I've documented my findings on TinyEMU, VirtIO Networking and WebSocket
> VPN:
>
> https://github.com/lupyuen/nuttx-tinyemu#tinyemu-networking-in-the-web-browser
>
> Lup
>
> On Sun, Jan 14, 2024 at 9:54 PM Alan C. Assis  wrote:
>
> > Hi Lup,
> >
> > Thank you very much!
> >
> > Looking at the WebSocket VPN article it said the connection goes through
> > the server hosting the emulator.
> >
> > Do you think it is possible to find an alternative to use the users'
> > browser connection to communicate to the Internet?
> > This way it avoids users' consumption of all internet limits on the
> server
> > side.
> >
> > BR,
> >
> > Alan
> >
> > On Sun, Jan 14, 2024 at 4:17 AM Lee, Lup Yuen  wrote:
> >
> > > Thanks Alan! Yep "The Construct" looks like a cool way to learn ROS
> > online,
> > > we should do something similar for Teaching NuttX Online!
> > >
> > > As for Emulated Networking in the Web Browser: TinyEMU Emulator
> supports
> > > VirtIO Networking. But it's tunnelled through a WebSocket VPN, because
> of
> > > browser limitations.
> > >
> > > I might test this with NuttX and see how well it works. (I'm also keen
> to
> > > emulate Ox64 BL808 RISC-V SBC in the Web Browser)
> > >
> > > TinyEMU VirtIO Networking: https://bellard.org/jslinux/tech.html
> > >
> > > WebSocket VPN:
> > > https://www.benjamincburns.com/2013/11/10/jor1k-ethmac-support.html
> > >
> > > Lup
> > >
> > > On Sun, Jan 14, 2024 at 8:10 AM Alan C. Assis 
> wrote:
> > >
> > > > Really cool Lup!
> > > >
> > > > Maybe it could be used for training and deduction purposes. Do you
> know
> > > > "The Construct" they are using a solution like that to run Linux in
> the
> > > > browser:
> > > >
> > > > https://app.theconstructsim.com/login/
> > > >
> > > > Is it possible to get network enabled and use it to communicate? It
> > could
> > > > open new possibilities!
> > > >
> > > > BR,
> > > >
> > > > Alan
> > > >
> > > >
> > > > On Sat, Jan 13, 2024 at 8:30 PM Lee, Lup Yuen 
> > wrote:
> > > >
> > > > > NuttX now boots and runs inside a Web Browser! (With WebAssembly)
> > > > >
> > > > > Try "ostest" here: https://lupyuen.github.io/nuttx-tinyemu
> > > > >
> > > > > This article explains how we…
> > > > > (1) Boot NuttX in the Web Browser with TinyEMU RISC-V Emulator
> > > > > (2) Modify NuttX for HTIF Console (Berkeley Host-Target Interface)
> > > > > (3) Explore VirtIO Console with OpenAMP Library
> > > > > (4) And how we might use it: Emulate NuttX Gadgets in the Web
> > Browser?
> > > A
> > > > > Real-Time NuttX Dashboard that lights up as the various NuttX
> Drivers
> > > are
> > > > > called?
> > > > >
> > > > > Here's the article:
> > > https://lupyuen.codeberg.page/articles/tinyemu.html
> > > > >
> > > > > How will you use NuttX in a Web Browser? Please lemme know 🙏
> > > > >
> > > > > Lup
> > > > >
> > > >
> > >
> >
>