JianyuWang0623 opened a new pull request, #20542:
URL: https://github.com/apache/nuttx/pull/20542

   ## Summary
   
   Switch the qemu-armv8a citest and citest_smp defconfigs to nxinit.
   
   ## Impact
   
   - citest and citest_smp boot nxinit as the init task, which then spawns `sh`.
   - Other qemu-armv8a configs are unaffected.
   
   ## Testing
   
   Build Host: Ubuntu 22.04.5 LTS x86_64, aarch64-none-elf-gcc 13.3.1, QEMU 
6.2.0
   Target: qemu-armv8a:citest, qemu-armv8a:citest_smp
   
       qemu-system-aarch64 -cpu cortex-a53 -nographic \
         -machine virt,virtualization=on,gic-version=3 -net none \
         -chardev stdio,id=con,mux=on -serial chardev:con \
         -mon chardev=con,mode=readline -kernel nuttx   # citest_smp: add -smp 4
   
   citest:
   
       nsh> ps
         TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK    
        STACK    USED FILLED COMMAND
           0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0008144 0001456  17.8%  Idle_Task
           1     0     0 192 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0008080 0001152  14.2%  hpwork 0x40421560 0x404215e8
           3     3     0 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0008112 0002560  31.5%  init_main
           4     4     3 100 RR       Task      - Running            
0000000000000000 0008112 0003616  44.5%  sh
   
   citest_smp (-smp 4):
   
       nsh> ps
         TID   PID  PPID CPU PRI POLICY   TYPE    NPX STATE    EVENT     
SIGMASK            STACK    USED FILLED COMMAND
           0     0     0   0   0 FIFO     Kthread   - Running            
0000000000000000 0016336 0001472   9.0%  CPU0 IDLE
           1     0     0   1   0 FIFO     Kthread   - Assigned           
0000000000000000 0016336 0000848   5.1%  CPU1 IDLE
           2     0     0   2   0 FIFO     Kthread   - Running            
0000000000000000 0016336 0000112   0.6%  CPU2 IDLE
           3     0     0   3   0 FIFO     Kthread   - Running            
0000000000000000 0016336 0000880   5.3%  CPU3 IDLE
           4     0     0 --- 192 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0016272 0001056   6.4%  hpwork 0x403cd4f0 0x403cd578
           6     6     0 --- 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0016304 0002384  14.6%  init_main
           7     7     6   1 100 RR       Task      - Running            
0000000000000000 0016304 0002688  16.4%  sh
   


-- 
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