masayuki2009 commented on PR #6134:
URL: https://github.com/apache/incubator-nuttx/pull/6134#issuecomment-1109525750

   >@masayuki2009 I am not able to reproduce on hardware (mpfs icicle:nsh):
   
   @pussuw 
   
   I confirmed that `maix-bit:smp` works on real hardware.
   
   ```
   nsh> uname -a
   NuttX 10.3.0-RC0 aaa5316235 Apr 26 2022 17:30:16 risc-v maix-bit
   nsh> mount
     /proc type procfs
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           00000000 002000 
001072  53.6%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 002000 
000592  29.6%  CPU1 IDLE
       2     2   0 100 RR       Task    --- Running            00000000 003040 
002256  74.2%  nsh_main
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:    2079920      11984    2067936    2067936     38      1
   
   ...
   
   nsh> ostest
   stdio_test: write fd=1
   stdio_test: Standard I/O Check: printf
   stdio_test: write fd=2
   stdio_test: Standard I/O Check: fprintf to stderr
   ostest_main: putenv(Variable1=BadValue3)
   ostest_main: setenv(Variable1, GoodValue1, TRUE)
   ostest_main: setenv(Variable2, BadValue1, FALSE)
   ostest_main: setenv(Variable2, GoodValue2, TRUE)
   ostest_main: setenv(Variable3, Variable3, FALSE)
   ostest_main: setenv(Variable3, Variable3, FALSE)
   show_variable: Variable=Variable1 has value=GoodValue1
   show_variable: Variable=Variable2 has value=GoodValue2
   show_variable: Variable=Variable3 has value=GoodValue3
   ostest_main: Started user_main at PID=24
   ...
   
   user_main: FPU test
   Starting task FPU#1
   FPU#1: pass 1
   fpu_test: Started task FPU#1 at PID=25
   Starting task FPU#2
   FPU#2: pass 1
   fpu_test: Started task FPU#2 at PID=26
   FPU#1: pass 2
   FPU#2: pass 2
   FPU#1: pass 3
   FPU#2: pass 3
   FPU#1: pass 4
   FPU#2: pass 4
   FPU#1: pass 5
   FPU#2: pass 5
   FPU#1: pass 6
   FPU#2: pass 6
   FPU#1: pass 7
   FPU#2: pass 7
   FPU#1: pass 8
   FPU#2: pass 8
   FPU#1: pass 9
   FPU#2: pass 9
   FPU#1: pass 10
   FPU#2: pass 10
   FPU#1: pass 11
   FPU#2: pass 11
   FPU#1: pass 12
   FPU#2: pass 12
   FPU#1: pass 13
   FPU#2: pass 13
   FPU#1: pass 14
   FPU#2: pass 14
   FPU#1: pass 15
   FPU#2: pass 15
   FPU#1: pass 16
   FPU#2: pass 16
   FPU#1: Succeeded
   FPU#2: Succeeded
   fpu_test: Returning
   
   ....
   
   ```
   
   So the issue might only happen with `rv-virt:nsh64` on QEMU.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to