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

   @xiaoxiang781216 
   
   I enabled the debug configs as follows.
   
   ```
   --- a/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig
   +++ b/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig
   @@ -35,8 +35,13 @@ CONFIG_CXD56_AUDIO_WORKER_STACKSIZE=1024
    CONFIG_CXD56_BINARY=y
    CONFIG_CXD56_SDIO=y
    CONFIG_CXD56_USBDEV=y
   +CONFIG_DEBUG_ASSERTIONS=y
   +CONFIG_DEBUG_ERROR=y
   +CONFIG_DEBUG_FEATURES=y
    CONFIG_DEBUG_FULLOPT=y
    CONFIG_DEBUG_HARDFAULT_ALERT=y
   +CONFIG_DEBUG_NET=y
   +CONFIG_DEBUG_NET_ERROR=y
    CONFIG_DEBUG_SYMBOLS=y
    CONFIG_DRIVERS_AUDIO=y
    CONFIG_ELF=y
   @@ -78,6 +83,7 @@ CONFIG_MTD_SMART=y
    CONFIG_MTD_SMART_ENABLE_CRC=y
    CONFIG_MTD_SMART_SECTOR_SIZE=4096
    CONFIG_NAME_MAX=128
   +CONFIG_NDEBUG=y
    CONFIG_NET=y
    CONFIG_NETDB_DNSCLIENT=y
    CONFIG_NETINIT_MACADDR_1=0xdeadbeff
   ```
   
   And found that the following error happens.
   
   ```
   NuttShell (NSH) NuttX-3.6.1
   nsh> uname -a
   NuttX  3.6.1 d99a1614b1-dirty Nov  7 2022 12:19:39 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 
000464  46.4%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 001000 
000228  22.8%  CPU1 IDLE
       2     2 --- 224 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000668  33.5%  hpwork 0x2d05e5f4
       3     3 --- 100 RR       Kthread --- Waiting  Semaphore 00000000 001992 
000308  15.4%  lpwork 0x2d05e60c
      12    12 --- 100 RR       Task    --- Waiting  Semaphore 00000000 002008 
000628  31.2%  telnetd
       5     5 --- 200 RR       Task    --- Waiting  MQ empty  00000000 000976 
000480  49.1%  cxd56_pm_task
       6     6   0 100 RR       Task    --- Running            00000000 003024 
001508  49.8%  spresense_main
   nsh> ifconfig eth0 10.0.1.20
   nsh> [   13.613757] [CPU0] telnetd_daemon: ERROR: Failed start the telnet 
session: 2
   ```


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