Hi Philippe, On 8/18/23, Philippe Leduc <philippe.le...@mailfence.com.invalid> wrote: > Hello, > > I am currently in the process of porting NuttX to the i.MX8MP (Cortex-M7) > SoC
Did you see that: https://github.com/apache/nuttx/pull/10294 Maybe you can reuse or merge part of it. > from NXP. I managed to have a POC that boot and the serial seems to work > properly. However the console seems to behave strangely: I need to configure > my > client to handle the echo and to transform input and output. An example with > > picocom client: > picocom -b 115200 --omap crlf --imap lfcrlf --echo /dev/ttyUSB2 > > This seems to be unnecessary on other targets (I tried on a picopi and on an > > xmc4700). > > Is it a normal behavior? If not is someone have any clues to track this > bug? > It should work without these parameters. Did you try minicom as well? Try to force the ttyUSBx to use the expected configuration for NuttX (115200 8N1) # stty 115200 cs8 -parenb -crtscts -F /dev/ttyUSB0 Maybe the serial controller of i.MX8 has some peculiarity that needs to be considered. BR, Alan