masayuki2009 commented on PR #1362:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1362#issuecomment-1285328762

   >@masayuki2009 thanks. Could you try this patch: 
https://github.com/apache/incubator-nuttx/pull/7368
   
   @xiaoxiang781216 
   I confirmed that the compile error is now fixed with the above PR.
   However, I can not log in to the target.
   
   ```
   + /home/ishikawa/opensource/QEMU/qemu-7.1/build/qemu-system-arm -semihosting 
-M sabrelite -m 1024 -smp 4 -kernel nuttx -nographic -net nic -net 
user,hostfwd=tcp:127.0.0.1:10023-10.0.2.15:23,hostfwd=tcp:127.0.0.1:10021-10.0.2.15:21,hostfwd=tcp:127.0.0.1:15001-10.0.2.15:5001,hostfwd=tcp:127.0.0.1:15555-10.0.2.15:5555
   ABDGHIJKNOPQ
   telnetd [0:100]
   
   NuttShell (NSH) NuttX-3.6.1
   nsh> ps
     PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   
USED  FILLED COMMAND
       0     0   0 FIFO     Kthread N-- Ready              00000000 002024 
000892  44.0%  Idle Task
       1     1 224 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000416  20.8%  hpwork 0x10823478
       2     2 100 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000416  20.8%  lpwork 0x10823490
       3     3 100 RR       Task    --- Running            00000000 003016 
001164  38.5%  /system/bin/init
       4     4 100 RR       Task    --- Waiting  Semaphore 00000010 003032 
000552  18.2%  telnetd
   nsh> ifconfig
   eth0 Link encap:Ethernet HWaddr 00:e0:de:ad:be:ef at UP
        inet addr:10.0.2.15 DRaddr:10.0.2.2 Mask:255.255.255.0
   
                IPv4   TCP   UDP  ICMP
   Received     0000  0000  0000  0000
   Dropped      0000  0000  0000  0000
     IPv4        VHL: 0000   Frg: 0000
     Checksum   0000  0000  0000  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  ----  ----  0000
   Sent         0000  0000  0000  0000
     Rexmit     ----  0000  ----  ----
   nsh>
   ```
   
   On another terminal
   
   ```
   $ telnet localhost 10023
   Trying 127.0.0.1...
   Connected to localhost.
   Escape character is '^]'.
   Connection closed by foreign host.
   ```


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