Today I started working iMXRT1050-EVKB once again because I received a request from a company that needs USB OTG2 working (seems like only USB OTG1 is supported in mainline).

For my surprise everything is working out of the box on NuttX mainline to get NuttX running on this board.

Basically all I need to do is confirm that my board jumpers are mapped correctly: J1 with the jumper in the pins 5-6 (P5V_SDA_S) and SW7 configure this way: 1-OFF, 2-ON, 3-ON, 4-OFF. And connect a microUSB cable to my computer and J28 in the board.

Configure and compile NuttX this way:

$ ./tools/configure.sh imxrt1050-evk:nsh
$ make -j
LD: nuttx
Memory region         Used Size  Region Size  %age Used
           flash:       91580 B        64 MB      0.14%
            sram:        6644 B       512 KB      1.27%
            itcm:           0 B       128 KB      0.00%
            dtcm:           0 B       128 KB      0.00%
CP: nuttx.hex

Now just drop this nuttx.hex file in the virtual disk that was created in your computer (RT1050-EVK)

Reset the board and use minicom with this /dev/ttyACM0 interface configured to 115200 8N1, you should get access to the NSH terminal:

nsh> uname -a
NuttX 12.8.0 c2309b6e03-dirty Apr 12 2025 11:38:19 arm imxrt1050-evk         
nsh> free
      total       used       free    maxused    maxfree  nused  nfree name   
     253448       5728     247720       6088     247720     19      1 Umem   
nsh> ?
help usage:  help [-v] [<cmd>]                                               
                                                                             
    .           cp          exit        ls          rm          uname        
    [           cmp         expr        mkdir       rmdir       umount       
    ?           dirname     false       mkrd        set         unset        
    alias       dd          fdinfo      mount       sleep       uptime       
    unalias     df          free        mv          source      usleep      
    basename    dmesg       help        pidof       test        watch       
    break       echo        hexdump     printf      time        xd              
    cat         env         kill        ps          true                        
    cd          exec        pkill       pwd         truncate                    
                                                                                
Builtin Apps:                                                                   
    nsh    sh                                                                   
nsh>