masayuki2009 commented on pull request #5529:
URL: https://github.com/apache/incubator-nuttx/pull/5529#issuecomment-1075984650


   @no1wudi 
   
   I tried this PR but  the `smp` application does not work.
   
   ```
   $ ~/opensource/QEMU/qemu-6.1.1/build/riscv64-softmmu/qemu-system-riscv64 
-nographic -cpu rv64 -M virt -bios none -kernel ./nuttx
   qemu-system-riscv64: clint: invalid write: 00000004
   qemu-system-riscv64: clint: invalid write: 00000008
   qemu-system-riscv64: clint: invalid write: 0000000c
   qemu-system-riscv64: clint: invalid write: 00000010
   qemu-system-riscv64: clint: invalid write: 00000014
   qemu-system-riscv64: clint: invalid write: 00000018
   qemu-system-riscv64: clint: invalid write: 0000001c
   
   NuttShell (NSH) NuttX-10.2.0
   nsh> uname -a
   NuttX 10.2.0 ab18b7b3d3 Mar 23 2022 15:43:23 risc-v rv-virt
   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 
001088  54.4%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU1 IDLE
       2     2   2   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU2 IDLE
       3     3   3   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU3 IDLE
       4     4   4   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU4 IDLE
       5     5   5   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU5 IDLE
       6     6   6   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU6 IDLE
       7     7   7   0 FIFO     Kthread N-- Running            00000000 002000 
002000 100.0%! CPU7 IDLE
       8     8   0 100 RR       Task    --- Running            00000000 002016 
001952  96.8%! nsh_main
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:   33379360      13648   33365712   33365712     58      1
   nsh> help
   help usage:  help [-v] [<cmd>]
   
     ?      cat    cd     free   help   ls     mount  ps     uname  
   
   Builtin Apps:
     ostest  sh      nsh     smp     
   nsh> smp
     Main[0]: Running on CPU0
     Main[0]: Initializing barrier
   qemu-system-riscv64: clint: invalid write: 00000004
   ```
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to