![]() ![]() If you want to use them as "raw" serial port you will have to do first (example for port 1): By default serial ports are configured as terminal emulator (canonical mode).Intr = ^C quit = ^\ erase = ^? kill = ^U eof = ^D eol = ^J Įol2 = start = ^Q stop = ^S susp = ^Z rprnt = ^R werase = ^W To get current configuration (adapt serial port device name depending on your board, here ttymxc0):.change U-Boot consoledev envt variable, to tell Linux to display console on the LCD (for example): BIOS> setenv consoledev tty0.be sure that your device won't send data back in response of U-Boot boot's sequence. ![]() If you want to use it as a normal serial port on Linux then: So, without software modifications, this port is not available to connect a MODEM or any other RS-232 device.it is debug serial port 0 (-> /dev/ttyAM0 (2.6.35 kernel) or /dev/ttyAMA0 (3.x kernels)) on APF28.it is serial port 2 (-> /dev/ttymxc2) on APF51.it is serial port 0 (-> /dev/ttySMX0 or /dev/ttymxc0) on APF9328, APF27 & OPOS6UL.Console port is the default serial port on which you can interact with the board (U-Boot and Linux):./dev/ttySnN for 16550 compatible FPGA's IP./dev/ttyUSBN for USB serial converters.on APF28: /dev/ttySP (general purpose serial ports) or /dev/ttyAMxx (debug serial ports).Only their device nodes are changing to reflect the port type: On Linux, all serial ports are driven the same way. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |