imxdl AGL can not input anything via serial port

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imxdl AGL can not input anything via serial port

1,392 次查看
luoyaojun
Contributor II

Welcome to Automotive Grade Linux 3.0.0+snapshot-20171215 (chinook)!

[ 2.960326] systemd[1]: Set hostname to <imx6qsabrelite>.
[ 3.325936] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 3.348665] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 3.377675] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 3.398024] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.427640] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.449441] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.478393] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.508847] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.552736] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.579229] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 3.607686] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 3.628368] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 3.658115] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 3.679438] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 3.708017] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 3.779537] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 3.809353] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 3.846902] systemd[1]: Starting Load Kernel Modules...
[ 3.850957] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting Load Kernel Modules...
[ 3.901401] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 3.930705] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 3.951951] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 3.964667] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 3.994851] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 4.032119] systemd[1]: Mounted Temporary Directory.
[ OK ] Mounted Temporary Directory.
[ 4.060718] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
[ 4.088287] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[ 4.101422] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ 4.133932] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[ 4.142061] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[ 4.154697] systemd[1]: Started Setup Virtual Console.
[ OK ] Started Setup Virtual Console.
[ 4.179177] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Mounting FUSE Control File System...
Starting Apply Kernel Variables...
Starting Flush Journal to Persistent Storage...
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ 4.581838] systemd-journald[172]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started Network Time Synchronization.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Time Synchronized.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
Starting Load/Save Screen Backlight...htness of backlight:backlight...
[ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Found device /dev/ttymxc0.
[ OK ] Started udev Coldplug all Devices.
Starting Start Psplash Boot Screen...
[ OK ] Reached target System Initialization.
[ OK ] Listening on dropbear.socket.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started System Logging Service.
[ OK ] Started Kernel Logging Service.
[ OK ] Started D-Bus System Message Bus.
Starting Connection service...
Starting Telephony service...
[ OK ] Started Weston reference Wayland compositor.
Starting Login Service...
Starting Permit User Sessions...
Starting Automotive Message Broker...
[ OK ] Started Start Psplash Boot Screen.
[ OK ] Started Permit User Sessions.
[ 7.321385] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
[ 7.367583] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Telephony service.
[ OK ] Started Connection service.
[ OK ] Started Login Service.
[ OK ] Started Automotive Message Broker.
[ OK ] Created slice User Slice of root.
Starting User Manager for UID 0...
[ OK ] Started Session c1 of user root.
Starting Hostname Service...
Starting WPA supplicant...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started Serial Getty on ttymxc0.
Starting Terminate Psplash Boot Screen...
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
[ OK ] Started Terminate Psplash Boot Screen.
[ OK ] Started WPA supplicant.
[ OK ] Reached target Network.
Starting Target Communication Framework agent...
[ OK ] Started Target Communication Framework agent.
[ OK ] Started User Manager for UID 0.
Stopping User Manager for UID 0...
[ OK ] Stopped User Manager for UID 0.
[ OK ] Removed slice User Slice of root.

Automotive Grade Linux 3.0.0+snapshot-20180102 imx6qsabrelite ttymxc0

imx6qsabrelite login:

can not input anything via serial line ,why?  i want to input username and passwd to login, but it not works,  kernel 4.4 and it works well, agl rootfs (compile by agl crosscompiler gcc5) created by bitbake (bitbake agl-ivi).

标签 (1)
0 项奖励
回复
4 回复数

969 次查看
b36401
NXP Employee
NXP Employee

Please doublecheck that terminal is configured correctly on the PC (115200 8N1, no hardware and software flow control).
Actually I met the same issue when I set flow control on by mistake.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

969 次查看
luoyaojun
Contributor II

I suspect “init” program problem

0 项奖励
回复

969 次查看
luoyaojun
Contributor II

i have been set terminal like this:

pastedImage_1.png

but it still not work...

when i change rootfs.tar.bz2(other cross compiler created), serial port can be work well.

0 项奖励
回复

969 次查看
b36401
NXP Employee
NXP Employee

Just in case here are the options of picocom terminal I am connecting i.MX7 board:

port is : /dev/ttyUSB1
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,

Have a great day,
Victor