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

   @ethanlcz 
   I tried the latest PR with `spresense:wifi_smp`
   However, it does not work with this PR.
   
   Without this PR,
   
   ```
   nsh> uname -a
   NuttX  0.0.0 b6e76966b9 Sep  8 2022 18:41:20 arm spresense
   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 001000 
000456  45.6%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 001000 
000228  22.8%  CPU1 IDLE
       2     2 --- 224 RR       Kthread --- Waiting  Signal    00000000 001992 
000492  24.6%  hpwork 0x2d057c74
       3     3 ---  60 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000300  15.0%  lpwork 0x2d057c84
       5     5 --- 200 RR       Task    --- Waiting  MQ empty  00000000 000976 
000472  48.3%  cxd56_pm_task
       6     6   0 100 RR       Task    --- Running            00000000 003024 
001404  46.4%  spresense_main
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:    1200400      41872    1158528    1156640    119      2
   nsh> mount
     /mnt/spif type smartfs
     /proc type procfs
   nsh> ifconfig
   nsh> gs2200m raspi3-g wifi-test-24g & 
   gs2200m [7:50]
   nsh> renew wlan0
   nsh> ntpcstart
   Started the NTP daemon as PID=24
   nsh> ls -l /proc/net
   /proc/net:
    -r--r--r--       0 wlan0
   nsh> ifconfig
   wlan0        Link encap:Ethernet HWaddr 3c:95:09:00:89:96 at UP
        inet addr:192.168.10.22 DRaddr:192.168.10.1 Mask:255.255.255.0
   ```
   
   With this PR,
   
   ```
   nsh> uname -a
   NuttX  0.0.0 5264777f24 Sep  8 2022 18:45:51 arm spresense
   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 001000 
000456  45.6%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 001000 
000228  22.8%  CPU1 IDLE
       2     2 --- 224 RR       Kthread --- Waiting  Signal    00000000 001992 
000492  24.6%  hpwork 0x2d057d0c
       3     3 ---  60 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000300  15.0%  lpwork 0x2d057d1c
       5     5 --- 200 RR       Task    --- Waiting  MQ empty  00000000 000976 
000472  48.3%  cxd56_pm_task
       6     6   0 100 RR       Task    --- Running            00000000 003024 
001240  41.0%  spresense_main
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:    1200400      41872    1158528    1156640    119      2
   nsh> mount
     /mnt/spif type smartfs
     /proc type procfs
   nsh> ifconfig
   nsh> gs2200m raspi3-g wifi-test-24g & 
   gs2200m [7:50]
   nsh> renew wlan0
   nsh> ntpcstart
   Started the NTP daemon as PID=24
   nsh> ls -l /proc/net
   /proc/net:
   ```
   
    


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