Hi,

I will trigger the internal pipeline for Espresif devices. Please wait
until the results are available.

Best regards,

Em seg., 28 de out. de 2024 às 05:31, yfliu2008 <yfliu2...@qq.com.invalid>
escreveu:

> Summary:&nbsp;&nbsp; the rv-virt:knsh and rv-virt:knsh64 leakage looks
> like false positive alert after further checks.
>
>
>
>
>
>
> Finally I spent time with the leakages on QEMU targets. With help of
> DEBUG_MM logging, I&nbsp; identified a few addresses which potentially
> leaks. Then with GDB I saw they are realted to the addrenv for the ostest
> task/process. Which is by design not timely released upon task exit but
> deferred to LPWORK. So by adding a sleep in the command script before
> checking result with free, we can see memory&nbsp; went back to the initial
> status after boot.
>
>
> So here I give "+1" based on check with QEMU v6.2 for the following
> configs:
> &nbsp;&nbsp;&nbsp; nsh, pnsh, nsbi, knsh and knsh64.
>
>
>
>
> Detailed logs:
>
>
> ### toolchain
>
> Toolchain name: `gcc-riscv64-unknown-elf 10.2.0-0ubuntu1` on Ubuntu 22.04
>
>
> ```shell
> $ riscv64-unknown-elf-gcc -v
> Using built-in specs.
> Target: riscv64-unknown-elf
> Thread model: single
> Supported LTO compression algorithms: zlib
> gcc version 10.2.0 ()
> ```
>
>
> ### nsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios nuttx
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt;
> nsh&gt; cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:04:40 rv-virt:nsh
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; 33373244 &nbsp; &nbsp; &nbsp; 5460
> &nbsp; 33367784 &nbsp; &nbsp; &nbsp; 5816 &nbsp; 33367784 &nbsp; &nbsp; 22
> &nbsp; &nbsp; &nbsp;1
> nsh&gt; ostest &gt;/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; 33373244 &nbsp; &nbsp; &nbsp; 5460
> &nbsp; 33367784 &nbsp; &nbsp; &nbsp;44976 &nbsp; 33367784 &nbsp; &nbsp; 22
> &nbsp; &nbsp; &nbsp;1
> nsh&gt; quit
> ```
>
>
> ### pnsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios none
> -device loader,file=nuttx_user -device loader,file=nuttx
> ABCD
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt;
> nsh&gt; cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:09:03 rv-virt:pnsh
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1038332 &nbsp; &nbsp; &nbsp; 2084
> &nbsp; &nbsp;1036248 &nbsp; &nbsp; &nbsp; 2440 &nbsp; &nbsp;1036248 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045548 &nbsp; &nbsp; &nbsp; 5260
> &nbsp; &nbsp;1040288 &nbsp; &nbsp; &nbsp; 5640 &nbsp; &nbsp;1040288 &nbsp;
> &nbsp; &nbsp;9 &nbsp; &nbsp; &nbsp;1
> nsh&gt; ostest &gt;/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1038332 &nbsp; &nbsp; &nbsp; 2084
> &nbsp; &nbsp;1036248 &nbsp; &nbsp; &nbsp; 6848 &nbsp; &nbsp;1036248 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045548 &nbsp; &nbsp; &nbsp; 5260
> &nbsp; &nbsp;1040288 &nbsp; &nbsp; &nbsp;51424 &nbsp; &nbsp;1040288 &nbsp;
> &nbsp; &nbsp;9 &nbsp; &nbsp; &nbsp;1
> nsh&gt; quit
> ```
>
>
> ### nsbi
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios nuttx
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:12:20 rv-virt:nsbi
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;4166652 &nbsp; &nbsp; &nbsp; 8028
> &nbsp; &nbsp;4158624 &nbsp; &nbsp; &nbsp;20448 &nbsp; &nbsp;4156376 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 602112
> &nbsp; &nbsp;3592192 &nbsp; &nbsp;3592192
> nsh&gt; ostest &gt;/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;4166652 &nbsp; &nbsp; &nbsp; 8028
> &nbsp; &nbsp;4158624 &nbsp; &nbsp; &nbsp;44112 &nbsp; &nbsp;4156376 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 602112
> &nbsp; &nbsp;3592192 &nbsp; &nbsp;3592192
> nsh&gt; quit
> ```
>
>
> ### knsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -kernel
> nuttx
>
>
> OpenSBI v1.0
> &nbsp; &nbsp;____ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp;_____ ____ _____
> &nbsp; / __ \ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;/ ____| &nbsp;_ \_ &nbsp; _|
> &nbsp;| | &nbsp;| |_ __ &nbsp; ___ _ __ | (___ | |_) || |
> &nbsp;| | &nbsp;| | '_ \ / _ \ '_ \ \___ \| &nbsp;_ < | |
> &nbsp;| |__| | |_) | &nbsp;__/ | | |____) | |_) || |_
> &nbsp; \____/| .__/ \___|_| |_|_____/|____/_____|
> &nbsp; &nbsp; &nbsp; &nbsp; | |
> &nbsp; &nbsp; &nbsp; &nbsp; |_|
>
>
> Platform Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : riscv-virtio,qemu
> Platform Features &nbsp; &nbsp; &nbsp; &nbsp; : medeleg
> Platform HART Count &nbsp; &nbsp; &nbsp; : 1
> Platform IPI Device &nbsp; &nbsp; &nbsp; : aclint-mswi
> Platform Timer Device &nbsp; &nbsp; : aclint-mtimer @ 10000000Hz
> Platform Console Device &nbsp; : uart8250
> Platform HSM Device &nbsp; &nbsp; &nbsp; : ---
> Platform Reboot Device &nbsp; &nbsp;: sifive_test
> Platform Shutdown Device &nbsp;: sifive_test
> Firmware Base &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x80000000
> Firmware Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 204 KB
> Runtime SBI Version &nbsp; &nbsp; &nbsp; : 0.3
>
>
> Domain0 Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Domain0 Boot HART &nbsp; &nbsp; &nbsp; &nbsp; : 0
> Domain0 HARTs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0*
> Domain0 Region00 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0x02000000-0x0200ffff
> (I)
> Domain0 Region01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0x80000000-0x8003ffff
> ()
> Domain0 Region02 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0x00000000-0xffffffff
> (R,W,X)
> Domain0 Next Address &nbsp; &nbsp; &nbsp;: 0x80200000
> Domain0 Next Arg1 &nbsp; &nbsp; &nbsp; &nbsp; : 0x87000000
> Domain0 Next Mode &nbsp; &nbsp; &nbsp; &nbsp; : S-mode
> Domain0 SysReset &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes
>
>
> Boot HART ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0
> Boot HART Domain &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Boot HART ISA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : rv32imafdcsu
> Boot HART Features &nbsp; &nbsp; &nbsp; &nbsp;: scounteren,mcounteren,time
> Boot HART PMP Count &nbsp; &nbsp; &nbsp; : 16
> Boot HART PMP Granularity : 4
> Boot HART PMP Address Bits: 32
> Boot HART MHPM Count &nbsp; &nbsp; &nbsp;: 0
> Boot HART MIDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x00000222
> Boot HART MEDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x0000b109
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:16:43 rv-virt:knsh
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;4164092 &nbsp; &nbsp; &nbsp; 8028
> &nbsp; &nbsp;4156064 &nbsp; &nbsp; &nbsp;20448 &nbsp; &nbsp;4155880 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 602112
> &nbsp; &nbsp;3592192 &nbsp; &nbsp;3592192
> nsh&gt; ostest &gt;/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;4164092 &nbsp; &nbsp; &nbsp; 8028
> &nbsp; &nbsp;4156064 &nbsp; &nbsp; &nbsp;44104 &nbsp; &nbsp;4155880 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 602112
> &nbsp; &nbsp;3592192 &nbsp; &nbsp;3592192
> nsh&gt; quit
> ```
>
>
> ### knsh64
>
>
> ```
> $ qemu-system-riscv64 -M virt,aclint=on -semihosting -nographic -kernel
> nuttx
>
>
> OpenSBI v1.0
> &nbsp; &nbsp;____ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp;_____ ____ _____
> &nbsp; / __ \ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;/ ____| &nbsp;_ \_ &nbsp; _|
> &nbsp;| | &nbsp;| |_ __ &nbsp; ___ _ __ | (___ | |_) || |
> &nbsp;| | &nbsp;| | '_ \ / _ \ '_ \ \___ \| &nbsp;_ < | |
> &nbsp;| |__| | |_) | &nbsp;__/ | | |____) | |_) || |_
> &nbsp; \____/| .__/ \___|_| |_|_____/|____/_____|
> &nbsp; &nbsp; &nbsp; &nbsp; | |
> &nbsp; &nbsp; &nbsp; &nbsp; |_|
>
>
> Platform Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : riscv-virtio,qemu
> Platform Features &nbsp; &nbsp; &nbsp; &nbsp; : medeleg
> Platform HART Count &nbsp; &nbsp; &nbsp; : 1
> Platform IPI Device &nbsp; &nbsp; &nbsp; : aclint-mswi
> Platform Timer Device &nbsp; &nbsp; : aclint-mtimer @ 10000000Hz
> Platform Console Device &nbsp; : uart8250
> Platform HSM Device &nbsp; &nbsp; &nbsp; : ---
> Platform Reboot Device &nbsp; &nbsp;: sifive_test
> Platform Shutdown Device &nbsp;: sifive_test
> Firmware Base &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x80000000
> Firmware Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 252 KB
> Runtime SBI Version &nbsp; &nbsp; &nbsp; : 0.3
>
>
> Domain0 Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Domain0 Boot HART &nbsp; &nbsp; &nbsp; &nbsp; : 0
> Domain0 HARTs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0*
> Domain0 Region00 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000002000000-0x000000000200ffff (I)
> Domain0 Region01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000080000000-0x000000008003ffff ()
> Domain0 Region02 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000000000000-0xffffffffffffffff (R,W,X)
> Domain0 Next Address &nbsp; &nbsp; &nbsp;: 0x0000000080200000
> Domain0 Next Arg1 &nbsp; &nbsp; &nbsp; &nbsp; : 0x0000000087000000
> Domain0 Next Mode &nbsp; &nbsp; &nbsp; &nbsp; : S-mode
> Domain0 SysReset &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes
>
>
> Boot HART ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0
> Boot HART Domain &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Boot HART ISA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : rv64imafdcsu
> Boot HART Features &nbsp; &nbsp; &nbsp; &nbsp;: scounteren,mcounteren,time
> Boot HART PMP Count &nbsp; &nbsp; &nbsp; : 16
> Boot HART PMP Granularity : 4
> Boot HART PMP Address Bits: 54
> Boot HART MHPM Count &nbsp; &nbsp; &nbsp;: 0
> Boot HART MIDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x0000000000000222
> Boot HART MEDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x000000000000b109
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:21:15 rv-virt:knsh64
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;2064600 &nbsp; &nbsp; &nbsp; 9768
> &nbsp; &nbsp;2054832 &nbsp; &nbsp; &nbsp;21920 &nbsp; &nbsp;2051040 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;3
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 606208
> &nbsp; &nbsp;3588096 &nbsp; &nbsp;3588096
> nsh&gt; ostest &gt;/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;2064600 &nbsp; &nbsp; &nbsp; 9768
> &nbsp; &nbsp;2054832 &nbsp; &nbsp; &nbsp;50560 &nbsp; &nbsp;2051040 &nbsp;
> &nbsp; 25 &nbsp; &nbsp; &nbsp;3
> &nbsp; &nbsp; &nbsp; Page: &nbsp; &nbsp;4194304 &nbsp; &nbsp; 606208
> &nbsp; &nbsp;3588096 &nbsp; &nbsp;3588096
> nsh&gt; quit
> ```
>
>
>
>
>
> Original
>
>
>
> From:"Ville Juven"< ville.ju...@unikie.com.INVALID &gt;;
>
> Date:2024/10/4 15:24
>
> To:"dev@nuttx.apache.org"< dev@nuttx.apache.org &gt;;
>
> Subject:Re: Re:[VOTE] Apache NuttX 12.7.0 RC0 release
>
>
> Issue seen with rv-virt:knsh64 as well. After first ostest run the memory
> usage rises by ~500 bytes, but the consequent runs do not increase it
> further.
>
> Something is allocated once from kheap that is never freed again.
>
> nsh&gt; free
>                  total       used       free    maxused    maxfree  nused
> nfree
>       Kmem:    2063416      11704    2051712      33168    2051040     41
>     3
>       Page:    4194304     118784    4075520    4075520
> nsh&gt; free
>                  total       used       free    maxused    maxfree  nused
> nfree
>       Kmem:    2063416      12168    2051248      54320    2040560     46
>     5
>       Page:    4194304     118784    4075520    4075520
> nsh&gt; free
>                  total       used       free    maxused    maxfree  nused
> nfree
>       Kmem:    2063416      12168    2051248      54368    2040560     46
>     5
>       Page:    4194304     118784    4075520    4075520
> nsh&gt;
>
> Running some other process does not show this behavior:
> nsh&gt; free
>                  total       used       free    maxused    maxfree  nused
> nfree
>       Kmem:    2063416      11704    2051712      33168    2051040     41
>     3
>       Page:    4194304     118784    4075520    4075520
> nsh&gt; getprime
> Set thread priority to 10
> Set thread policy to SCHED_RR
> Start thread #0
> thread #0 started, looking for primes < 10000, doing 10 run(s)
> thread #0 finished, found 1230 primes, last one was 9973
> Done
> getprime took 118 msec
> nsh&gt; free
>                  total       used       free    maxused    maxfree  nused
> nfree
>       Kmem:    2063416      11704    2051712      37152    2051040     41
>     3
>       Page:    4194304     118784    4075520    4075520
> nsh&gt;
>
> -Ville
> ________________________________
> From: yfliu2008
> Sent: Friday, October 4, 2024 4:07 AM
> To: dev
> Subject: Re:[VOTE] Apache NuttX 12.7.0 RC0 release
>
> +1 for CanMV230 device.
>
> Checked with Canmv230 on Oct 4th, 2024 from Ubuntu 23.04 desktop.
>
>
> In general is works, with&nbsp; minor issues:
> - Two kernel mode configs `nsbi` and `knsh` both show used memory growth
> after ostest.
> - The protected mode `pnsh` facing tight stack for NSH app, thus lead to
> weird free memory status. After tweaking kconfig with a larger stack size
> config, it looks fine.
>
>
> Given the fact that no real k230 project is known, I am ok to go ahead
> with this RC.
>
>
>
>
>
> ### toolchain
>
>
> Toolchain name: `gcc-riscv64-unknown-elf 10.2.0-0ubuntu1` on Ubuntu 22.04
>
>
> ```shell
> $ riscv64-unknown-elf-gcc -v
> Using built-in specs.
> Target: riscv64-unknown-elf
> Thread model: single
> Supported LTO compression algorithms: zlib
> gcc version 10.2.0 ()
> ```
>
>
> ### nsh
>
>
> ```
> ## Starting application at 0x06000000 ...
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version
> NuttX version 12.7.0 10e44f8915 Oct &nbsp;4 2024 08:20:24 canmv230:nsh
> nsh&gt; free
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; 16585336 &nbsp; &nbsp; &nbsp; 8024
> &nbsp; 16577312 &nbsp; &nbsp; &nbsp; 8704 &nbsp; 16577312 &nbsp; &nbsp; 22
> &nbsp; &nbsp; &nbsp;1
> nsh&gt; ps
> &nbsp; PID GROUP PRI POLICY &nbsp; TYPE &nbsp; &nbsp;NPX STATE &nbsp;
> &nbsp;EVENT &nbsp; &nbsp; SIGMASK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STACK
> &nbsp;USED &nbsp;FILLED COMMAND
> &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; 0 FIFO &nbsp; &nbsp; Kthread &nbsp;
> - Ready &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0000000000000000
> 002032000816 &nbsp;40.1% &nbsp;Idle_Task
> &nbsp; &nbsp; 1 &nbsp; &nbsp; 1 100 RR &nbsp; &nbsp; &nbsp; Task &nbsp;
> &nbsp; &nbsp;- Running &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;0000000000000000 003024002304 &nbsp;76.1% &nbsp;nsh_main
> nsh&gt; ostest &gt;/dev/null; rm -r /var; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; 16585336 &nbsp; &nbsp; &nbsp; 8024
> &nbsp; 16577312 &nbsp; &nbsp; &nbsp;51024 &nbsp; 16577312 &nbsp; &nbsp; 22
> &nbsp; &nbsp; &nbsp;1
> nsh&gt;
> ```
>
>
> ### pnsh
>
>
>
>
> ```
> Bytes transferred = 366196 (59674 hex)
> ## Starting application at 0x06000000 ...
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version
> NuttX version 12.7.0 10e44f8915 Oct &nbsp;4 2024 08:35:24 canmv230:pnsh
> nsh&gt; ps
> &nbsp; PID GROUP PRI POLICY &nbsp; TYPE &nbsp; &nbsp;NPX STATE &nbsp;
> &nbsp;EVENT &nbsp; &nbsp; SIGMASK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STACK
> &nbsp; USED &nbsp;FILLED COMMAND
> &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; 0 FIFO &nbsp; &nbsp; Kthread &nbsp;
> - Ready &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0000000000000000
> 002032 000816 &nbsp;40.1% &nbsp;Idle_Task
> &nbsp; &nbsp; 1 &nbsp; &nbsp; 1 100 RR &nbsp; &nbsp; &nbsp; Task &nbsp;
> &nbsp; &nbsp;- Running &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;0000000000000000 003024 002800 &nbsp;92.5%! nsh_main
> nsh&gt; free
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1034232 &nbsp; &nbsp; &nbsp; 3448
> &nbsp; &nbsp;1030784 &nbsp; &nbsp; &nbsp; 4288 &nbsp; &nbsp;1030784 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045080 &nbsp; &nbsp; &nbsp; 6040
> &nbsp; &nbsp;1039040 &nbsp; &nbsp; &nbsp; 6752 &nbsp; &nbsp;1039040 &nbsp;
> &nbsp; &nbsp;9 &nbsp; &nbsp; &nbsp;1
> nsh&gt; ostest &gt;/dev/null; rm -r /var; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1034232 &nbsp; &nbsp; &nbsp; 3448
> &nbsp; &nbsp;1030784 &nbsp; &nbsp; &nbsp;12416 &nbsp; &nbsp;1030784 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045080 &nbsp; &nbsp; &nbsp; 1512
> 1532345888 &nbsp; &nbsp; &nbsp;45328 1431655764 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp;2
>
>
> ```
>
>
> After enlarging NSH stack size, it looks fine:
>
>
> ```
> Bytes transferred = 366204 (5967c hex)
> ## Starting application at 0x06000000 ...
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; ps
> &nbsp; PID GROUP PRI POLICY &nbsp; TYPE &nbsp; &nbsp;NPX STATE &nbsp;
> &nbsp;EVENT &nbsp; &nbsp; SIGMASK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STACK
> &nbsp; USED &nbsp;FILLED COMMAND
> &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; 0 FIFO &nbsp; &nbsp; Kthread &nbsp;
> - Ready &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0000000000000000
> 002032 000816 &nbsp;40.1% &nbsp;Idle_Task
> &nbsp; &nbsp; 1 &nbsp; &nbsp; 1 100 RR &nbsp; &nbsp; &nbsp; Task &nbsp;
> &nbsp; &nbsp;- Running &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;0000000000000000 004048 002800 &nbsp;69.1% &nbsp;nsh_main
> nsh&gt; free
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1034232 &nbsp; &nbsp; &nbsp; 3448
> &nbsp; &nbsp;1030784 &nbsp; &nbsp; &nbsp; 4288 &nbsp; &nbsp;1030784 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045080 &nbsp; &nbsp; &nbsp; 7064
> &nbsp; &nbsp;1038016 &nbsp; &nbsp; &nbsp; 7744 &nbsp; &nbsp;1038016 &nbsp;
> &nbsp; &nbsp;9 &nbsp; &nbsp; &nbsp;1
> nsh&gt; ostest &gt;/dev/null; rm -r /var; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1034232 &nbsp; &nbsp; &nbsp; 3448
> &nbsp; &nbsp;1030784 &nbsp; &nbsp; &nbsp;12416 &nbsp; &nbsp;1030784 &nbsp;
> &nbsp; 17 &nbsp; &nbsp; &nbsp;1
> &nbsp; &nbsp; &nbsp; Umem: &nbsp; &nbsp;1045080 &nbsp; &nbsp; &nbsp; 7064
> &nbsp; &nbsp;1038016 &nbsp; &nbsp; &nbsp;46352 &nbsp; &nbsp;1025792 &nbsp;
> &nbsp; &nbsp;9 &nbsp; &nbsp; &nbsp;2
> nsh&gt;
> ```
>
>
> ### nsbi
>
>
> ```
> Bytes transferred = 525064 (80308 hex)
> ## Starting application at 0x06000000 ...
> BC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version
> NuttX version 12.7.0 10e44f8915 Oct &nbsp;4 2024 08:41:16 canmv230:nsbi
> nsh&gt; ps
> &nbsp; PID GROUP PRI POLICY &nbsp; TYPE &nbsp; &nbsp;NPX STATE &nbsp;
> &nbsp;EVENT &nbsp; &nbsp; SIGMASK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STACK
> &nbsp; USED &nbsp;FILLED COMMAND
> &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; 0 FIFO &nbsp; &nbsp; Kthread &nbsp;
> - Ready &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0000000000000000
> 003056 000720 &nbsp;23.5% &nbsp;Idle_Task
> &nbsp; &nbsp; 1 &nbsp; &nbsp; 0 100 RR &nbsp; &nbsp; &nbsp; Kthread &nbsp;
> - Waiting &nbsp;Semaphore 0000000000000000 001968 000720 &nbsp;36.5%
> &nbsp;lpwork 0x6080008 0x6080050
> &nbsp; &nbsp; 3 &nbsp; &nbsp; 3 100 RR &nbsp; &nbsp; &nbsp; Task &nbsp;
> &nbsp; &nbsp;- Running &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;0000000000000000 003008 001352 &nbsp;44.9% &nbsp;/system/bin/init
> nsh&gt; free
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1528824 &nbsp; &nbsp; &nbsp;10440
> &nbsp; &nbsp;1518384 &nbsp; &nbsp; &nbsp;24704 &nbsp; &nbsp;1517712 &nbsp;
> &nbsp; 34 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; 14680064 &nbsp; &nbsp; 606208 &nbsp;
> 14073856 &nbsp; 14073856
> nsh&gt; ostest &gt;/dev/null ; rm -r /var; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1528824 &nbsp; &nbsp; &nbsp;10584
> &nbsp; &nbsp;1518240 &nbsp; &nbsp; &nbsp;51232 &nbsp; &nbsp;1517712 &nbsp;
> &nbsp; 35 &nbsp; &nbsp; &nbsp;5
> &nbsp; &nbsp; &nbsp; Page: &nbsp; 14680064 &nbsp; &nbsp;1228800 &nbsp;
> 13451264 &nbsp; 13451264
> nsh&gt;
> ```
>
>
> ### knsh
>
>
> ```
> Bytes transferred = 3146472 (3002e8 hex)
> ## Starting application at 0x06000000 ...
>
>
> OpenSBI v0.9
> &nbsp; &nbsp;____ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp;_____ ____ _____
> &nbsp; / __ \ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;/ ____| &nbsp;_ \_ &nbsp; _|
> &nbsp;| | &nbsp;| |_ __ &nbsp; ___ _ __ | (___ | |_) || |
> &nbsp;| | &nbsp;| | '_ \ / _ \ '_ \ \___ \| &nbsp;_ < | |
> &nbsp;| |__| | |_) | &nbsp;__/ | | |____) | |_) || |_
> &nbsp; \____/| .__/ \___|_| |_|_____/|____/_____|
> &nbsp; &nbsp; &nbsp; &nbsp; | |
> &nbsp; &nbsp; &nbsp; &nbsp; |_|
>
>
> Platform Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : T-HEAD c908
> Platform Features &nbsp; &nbsp; &nbsp; &nbsp; : mfdeleg
> Platform HART Count &nbsp; &nbsp; &nbsp; : 1
> Platform IPI Device &nbsp; &nbsp; &nbsp; : clint
> Platform Timer Device &nbsp; &nbsp; : clint
> Platform Console Device &nbsp; : uart8250
> Platform HSM Device &nbsp; &nbsp; &nbsp; : ---
> Platform SysReset Device &nbsp;: ---
> Firmware Base &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0x8000000
> Firmware Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 108 KB
> Runtime SBI Version &nbsp; &nbsp; &nbsp; : 0.3
>
>
> Domain0 Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Domain0 Boot HART &nbsp; &nbsp; &nbsp; &nbsp; : 0
> Domain0 HARTs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0*
> Domain0 Region00 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000f04000000-0x0000000f0400ffff (I)
> Domain0 Region01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000008000000-0x000000000801ffff ()
> Domain0 Region02 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:
> 0x0000000000000000-0xffffffffffffffff (R,W,X)
> Domain0 Next Address &nbsp; &nbsp; &nbsp;: 0x0000000008200000
> Domain0 Next Arg1 &nbsp; &nbsp; &nbsp; &nbsp; : 0x000000000a000000
> Domain0 Next Mode &nbsp; &nbsp; &nbsp; &nbsp; : S-mode
> Domain0 SysReset &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes
>
>
> Boot HART ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0
> Boot HART Domain &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: root
> Boot HART ISA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : rv64imafdcbsux
> Boot HART Features &nbsp; &nbsp; &nbsp; &nbsp;: scounteren,mcounteren,time
> Boot HART PMP Count &nbsp; &nbsp; &nbsp; : 64
> Boot HART PMP Granularity : 4
> Boot HART PMP Address Bits: 30
> Boot HART MHPM Count &nbsp; &nbsp; &nbsp;: 16
> Boot HART MHPM Count &nbsp; &nbsp; &nbsp;: 16
> Boot HART MIDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x0000000000000222
> Boot HART MEDELEG &nbsp; &nbsp; &nbsp; &nbsp; : 0x000000000000b109
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh&gt; cat /proc/version
> NuttX version 12.7.0 10e44f8915 Oct &nbsp;4 2024 08:45:51 canmv230:knsh
> nsh&gt; ps
> &nbsp; PID GROUP PRI POLICY &nbsp; TYPE &nbsp; &nbsp;NPX STATE &nbsp;
> &nbsp;EVENT &nbsp; &nbsp; SIGMASK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STACK
> &nbsp; USED &nbsp;FILLED COMMAND
> &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; 0 FIFO &nbsp; &nbsp; Kthread &nbsp;
> - Ready &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0000000000000000
> 003056 000720 &nbsp;23.5% &nbsp;Idle_Task
> &nbsp; &nbsp; 1 &nbsp; &nbsp; 0 100 RR &nbsp; &nbsp; &nbsp; Kthread &nbsp;
> - Waiting &nbsp;Semaphore 0000000000000000 001968 000720 &nbsp;36.5%
> &nbsp;lpwork 0x8300000 0x8300048
> &nbsp; &nbsp; 3 &nbsp; &nbsp; 3 100 RR &nbsp; &nbsp; &nbsp; Task &nbsp;
> &nbsp; &nbsp;- Running &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp;0000000000000000 003008 001352 &nbsp;44.9% &nbsp;/system/bin/init
> nsh&gt; free
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1008632 &nbsp; &nbsp; &nbsp;10312
> &nbsp; &nbsp; 998320 &nbsp; &nbsp; &nbsp;24576 &nbsp; &nbsp; 994272 &nbsp;
> &nbsp; 34 &nbsp; &nbsp; &nbsp;4
> &nbsp; &nbsp; &nbsp; Page: &nbsp; 10485760 &nbsp; &nbsp; 606208 &nbsp;
> &nbsp;9879552 &nbsp; &nbsp;9879552
> nsh&gt; ostest &gt;/dev/null ; rm -r /var ; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;total &nbsp;
> &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp;maxused &nbsp;
> &nbsp;maxfree &nbsp;nused &nbsp;nfree
> &nbsp; &nbsp; &nbsp; Kmem: &nbsp; &nbsp;1008632 &nbsp; &nbsp; &nbsp;10456
> &nbsp; &nbsp; 998176 &nbsp; &nbsp; &nbsp;51168 &nbsp; &nbsp; 994272 &nbsp;
> &nbsp; 35 &nbsp; &nbsp; &nbsp;5
> &nbsp; &nbsp; &nbsp; Page: &nbsp; 10485760 &nbsp; &nbsp;1228800 &nbsp;
> &nbsp;9256960 &nbsp; &nbsp;9256960
> nsh&gt;
> ```
>
>
>
>
>
>
>
> Original
>
>
>
> From:"Alin Jerpelea"< jerpe...@gmail.com &gt;;
>
> Date:2024/10/3 16:35
>
> To:"dev"< dev@nuttx.apache.org &gt;;
>
> Subject:[VOTE] Apache NuttX 12.7.0 RC0 release
>
>
> Hello all,
> Apache NuttX 12.7.0 RC0 has been staged under [1] and it's
> time to vote on accepting it for release. Voting will be open for 72hr.
>
> A minimum of 3 binding +1 votes and more binding +1 than binding -1 are
> required to pass.
>
> The Apache requirements for approving a release can be found here [3]
> "Before voting +1 PMC members are required to download the signed
> source code package, compile it as provided, and test the resulting
> executable on their own platform, along with also verifying that the
> package meets the requirements of the ASF policy on releases."
>
> A document to walk through some of this process has been published on
> our project wiki and can be found here [4].
>
> [ ] +1 accept (indicate what you validated - e.g. performed the non-RM
> items in [4])
> [ ] -1 reject (explanation required)
>
> Thank you all,
> Alin Jerpelea
>
> SCM Information:
>   Release tag: nuttx-12.7.0-RC0
>   Hash for the release nuttx tag: 10e44f8915a4e4dc016f117bc75973750c7e3edf
>   Hash for the release nuttx-apps tag:
> ac11e3cba9a1c9db02e0b9072e89e9113d4e776d
>
> [1]
> https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apache.org%2Frepos%2Fdist%2Fdev%2Fnuttx%2F12.7.0-RC0%2F&amp;data=05%7C02%7Cville.juven%40unikie.com%7C9d25f0b22cf2439dc16e08dce41191f1%7C9207ba3377314e38abf1c7183f53f8c3%7C0%7C0%7C638636011338286721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;sdata=BQCa2iXZvBsmiurVs2aAqiuJCRM5C6pTAvrsKCGnnq8%3D&amp;reserved=0
> [2]
>
> https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fapache%2Fnuttx%2Fnuttx-12.7.0-RC0%2FReleaseNotes&amp;data=05%7C02%7Cville.juven%40unikie.com%7C9d25f0b22cf2439dc16e08dce41191f1%7C9207ba3377314e38abf1c7183f53f8c3%7C0%7C0%7C638636011338307489%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;sdata=itVrq47YkY9Mq2IQswvdHkC8T1Yt3YS9uBHfFZCKdiQ%3D&amp;reserved=0
> [3]
> https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.apache.org%2Fdev%2Frelease.html%23approving-a-release&amp;data=05%7C02%7Cville.juven%40unikie.com%7C9d25f0b22cf2439dc16e08dce41191f1%7C9207ba3377314e38abf1c7183f53f8c3%7C0%7C0%7C638636011338318701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;sdata=yhcV7QkD7Wcw1akoqnxn8Eni7dr0B7DPDfEVSQFH1I8%3D&amp;reserved=0
> [4]
>
> https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNUTTX%2FValidating%2Ba%2Bstaged%2BRelease&amp;data=05%7C02%7Cville.juven%40unikie.com%7C9d25f0b22cf2439dc16e08dce41191f1%7C9207ba3377314e38abf1c7183f53f8c3%7C0%7C0%7C638636011338329126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;sdata=we8z0s7Bn5HH2jvHck1NQOmbuA2pPK1eTuBbP0XQ%2Fws%3D&amp;reserved=0

Reply via email to