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

   ## Summary
   
   Switch the 8 flat-build qemu-intel64 nsh defconfigs to nxinit.
   
   ## Impact
   
   - The 8 configs boot nxinit as the init task, which then spawns `sh`.
   - Kernel-build configs (knsh_romfs, knsh_romfs_pci) are unaffected.
   
   ## Testing
   
   Build Host: Ubuntu 22.04.5 LTS x86_64, gcc 11.4.0, QEMU 6.2.0
   Target: qemu-intel64:nsh, qemu-intel64:jumbo, qemu-intel64:python
   
       qemu-system-x86_64 -kernel nuttx -nographic -cpu host -enable-kvm \
         -m 512 -serial mon:stdio            # jumbo/python: add -smp 4
   
   nsh:
   
       nsh> ps
         TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK    
        STACK COMMAND
           0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 4194232 Idle_Task
           2     2     0 100 FIFO     Task      - Waiting  Semaphore 
0000000000000000 4194184 init_main
           3     3     2 100 FIFO     Task      - Running            
0000000000000000 4194192 sh
   
   jumbo (-smp 4):
   
       nsh> ps
         TID   PID  PPID CPU PRI POLICY   TYPE    NPX STATE    EVENT     
SIGMASK            STACK COMMAND
           0     0     0   0   0 FIFO     Kthread   - Assigned           
0000000000000000 4194248 CPU0 IDLE
           1     0     0   1   0 FIFO     Kthread   - Running            
0000000000000000 4194240 CPU1 IDLE
           2     0     0   2   0 FIFO     Kthread   - Running            
0000000000000000 4194240 CPU2 IDLE
           3     0     0   3   0 FIFO     Kthread   - Running            
0000000000000000 4194240 CPU3 IDLE
           4     0     0 --- 224 FIFO     Kthread   - Waiting  Semaphore 
0000000000000000 4194168 hpwork 0x1009a9160 0x1009a91f8
           5     0     0 --- 100 FIFO     Kthread   - Waiting  Semaphore 
0000000000000000 4194168 lpwork 0x1009a9080 0x1009a9118
           7     7     0 --- 100 FIFO     Task      - Waiting  Semaphore 
0000000000000000 4194208 init_main
           8     8     7   0 100 FIFO     Task      - Running            
0000000000000000 4194200 sh
   
   python (-smp 4):
   
       nsh> ps
         TID   PID  PPID CPU PRI POLICY   TYPE    NPX STATE    EVENT     
SIGMASK            STACK COMMAND
           0     0     0   0   0 FIFO     Kthread   - Assigned           
0000000000000000 4194152 CPU0 IDLE
           1     0     0   1   0 FIFO     Kthread   - Running            
0000000000000000 4194144 CPU1 IDLE
           2     0     0   2   0 FIFO     Kthread   - Running            
0000000000000000 4194144 CPU2 IDLE
           3     0     0   3   0 FIFO     Kthread   - Running            
0000000000000000 4194144 CPU3 IDLE
           4     0     0 --- 224 FIFO     Kthread   - Waiting  Semaphore 
0000000000000000 4194072 hpwork 0x101708160 0x1017081f8
           5     0     0 --- 100 FIFO     Kthread   - Waiting  Semaphore 
0000000000000000 4194072 lpwork 0x101708080 0x101708118
           7     7     0 --- 100 FIFO     Task      - Waiting  Semaphore 
0000000000000000 4194104 init_main
           8     8     7   0 100 FIFO     Task      - Running            
0000000000000000 4194112 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