How to enable ttymxc3 on Debian Jessie for IMX6qpsabreauto board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable ttymxc3 on Debian Jessie for IMX6qpsabreauto board?

1,383 Views
polinaslavskaya
Contributor I

Hi, everybody,

I have debootstrapped Debian Jessie according to this howto.

Kernel and u-boot were built with Yocto fsl-bsp-community package.

My system is able to start but failing to load tty, so I can't login into the system:

[ ***] A start job is running for dev-ttymxc3.device (1min 20s / 1min 30s)random: nonblocking pool is initialized
[ TIME ] Timed out waiting for device dev-ttymxc3.device.
[DEPEND] Dependency failed for Serial Getty on ttymxc3.

Since Jessie doesn't use /etc/inittab I can't set terminal settings as it was showed in the example

  T0:23:respawn:/sbin/getty -L ttymxc0 115200 vt100

I have found the mailing list in which problem seems similar to mine described but I can't figure out what exactly I need to change in serial-getty@.service to make it work correctly.

Also, I have found this thread suggesting to rebuild kernel with options CONFIG_FHANDLE=y , CONFIG_IKCONFIG=y, but in /meta-freescale/recipes-kernel/linux/linux-imx-4.1.15 I found at least one config with CONFIG_IKCONFIG=y.

Not sure how to check this parameters are enabled with file system.

Also, seen some suggestions about adding

 Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk2p2 rootwait rw 

but have not idea where to add this actually.

So, I would appreciate any suggestions on how to actually enable tty on IMX6qpsabreauto with Debian Jessie.

Labels (3)
Tags (2)
0 Kudos
1 Reply

788 Views
polinaslavskaya
Contributor I

Maybe this will help someone:

I have added CONFIG_FHANDLE=y to kernel config and rebuild kernel, after that tty started working.

0 Kudos