Skip to end of metadata
Go to start of metadata

This guide assumes you have a USB tty serial cable, such as TTL-232RG TTL to USB Serial Converter Generic Cable, connected from your host machine to a HDP-TTJ-500 board.

Step-by-step guide (Windows)

  1. Download and install the FTD virtual COM port (VCP) driver from http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.00%20WHQL%20Certified.exe
  2. Insert the TTL-232RG USB connector into your computer and attach to the other end to a HDP-TTJ-500 board.
  3. Check the COM port settings by going into the Windows Device Manager -> Ports (COM & LPT) and find an entry named "USB Serial Port (COMx)" where x is the COM port number.  Right click on the entry and left click "Properties".  Confirm that the dialog shows the Manufacturer is "FDTI" (see Example USB Serial Port Properties).
    • If the manufacturer is not "FDTI" then try a different COM port until you find the right one.
  4. Download and install putty for Windows from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
  5. Start putty and click on the "Session" category in the left hand panel
  6. Now select the "Serial" radio button for serial port communications
  7. In the "Serial line" text box, enter "COMx" where x is the COM port number discovered from step 3.
  8. In the "Speed" text boox, enter "115200".
  9. Now click on the "Open" button the start the connection.  You should see a black console screen appear.
  10. Press enter to see the imx6qttj500 login prompt.

 

 

 

Step-by-step guide (Linux)

  1. Download and install minicom to you Linux host machine e.g., sudo apt-get install minicom
  2. Identify the /dev/ttyXXX device that maps to the USB serial cable e.g., /dev/ttyUSB0
  3. As root, start minicom using the command minicom -D /dev/ttyXXX
  4. Once minicom has started, open the serial communications protocol settings by pressing <CTRL>-<A> followed by <P>.
  5. Configure the protocol settings to 115200-8-N-1 i.e., 115200 baud, 8 data bits, no parity, 1 stop bit.
  6. To test your connection, try resetting or power cycling your HDP-TTJ-500 board and observe the boot-up trace to console
  7. Press enter and make sure you see the login prompt appear as shown in Login Prompt
  8. To exit the minicom session press <CTRL>-<A> followed by <X>.

 

Icon

If you are not sure which /dev/ttyXXX device maps to your USB serial cable, then try running ls /sys/bus/usb-serial to get a list of all attached USB serial devices.

Login Prompt

 

Poky (Yocto Project Reference Distro) 1.5.4 imx6qttj500 /dev/ttymxc0
imx6qttj500 login: 

 

Example boot-up trace

 

U-Boot 2013.04-04989-gca87997 (Feb 16 2015 - 09:10:29)
CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
CPU:   Temperature 50 C, calibration data: 0x5af4ef7d
Reset cause: POR
Board: MX6Q/ICO-TTJ500
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
Found PFUZE100! deviceid=10,revid=11
mmc0 is current device
Net:   Calling phydev->drv->config
FEC [PRIME]
Warning: failed to set MAC address
Normal Boot
Hit any key to stop autoboot:  0
mmc0 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
6006168 bytes read in 398 ms (14.4 MiB/s)
Booting from mmc ...
reading imx6q-ttj500-ldo.dtb
44273 bytes read in 21 ms (2 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-3.10.17-rt12-1.0.2_ga+g335
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6006104 Bytes = 5.7 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Loading Kernel Image ... OK
OK
   Using Device Tree in place at 18000000, end 1800dcf0
Starting kernel ...
[    0.756494] mxc_sdc_fb fb.29: ipu0-di0 already in use
[    0.756619] mxc_sdc_fb fb.30: ipu0-di0 already in use
[    0.856467] Wait for CR ACK error!
[    0.868037] fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
ALSA: Restoring mixer settings...
No state is present for card imxhdmisoc
Found hardware: "imx-hdmi-soc" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxhdmisoc
Configuring network interfaces... done.
Starting rpcbind daemon...done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting advanced power management daemon: No APM support in kernel
(failed.)
creating NFS state directory: done
NFS daemon support not enabled in kernel
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
Starting Telephony daemon
Starting Linux NFC daemon
Starting OProfileUI server
Running local boot scripts (/etc/rc.hdmi).
Running local boot scripts (/etc/rc.local).
Stopping Bootlog daemon: bootlogd.