Dear Mr. Kim,
Thank you for your reply.
I take the following steps and have solved the error.
Now I can see the login prompt, like following:
Tizen 3.0 odroid ttySAC2
odroid login:
Thank you very much.
BRs,
Jianzhong Fang
------- Original Message -------
Sender : Woochang Kim<wchang....@samsung.com> S5/Senior Engineer/Tizen Platform Lab./Samsung Electronics
Date : 一月 05, 2016 07:03 (GMT+08:00)
Title : Re: [Dev] [Yocto] Tizen-common on Odroid-XU3 running error
Hi, Jianzhong fang.
I had experienced the similar error in case of raspberry pi2.
Please check if there is serial-getty@ttySAC2.service in /etc/systemd/system/getty.target.wants.
If it does not exist, you need add the "systemd-serialgetty" package into image.
And check if the env variable "SERIAL_CONSOLE="115200 ttySAC2" with output of "bitbake -e".
It assumes that odroid uses the ttySAC2 as linux serial console. You can check linux kernel parameter from bootloader.
systemd-serialgetty needs "util-linux-agetty" package.
I added the below line rpi-hwup-image-tizen-micro.bb
CORE_IMAGE_EXTRA_INSTALL += "systemd-serialgetty util-linux-agetty"
Thanks,
/Woochang
------- Original Message -------
Sender : jianzhong fang<jz.f...@samsung.com> Senior Engineer/SRC-Nanjing-Product 2 Lab/Samsung Electronics
Date : 2016-01-04 17:03 (GMT+09:00)
Title : [Dev] [Yocto] Tizen-common on Odroid-XU3 running error
Dear all,
I build tizen-common on Odroid-XU3 using Yocto.
I want to load it by command mode not the graphical mode. So I do the following steps:
cd ./etc/systemd/system
delete default.target
ln -s /lib/systemd/system/multi-user.target default.target
Now I can not into the command mode and execute any commands, because of ignoring the serial-getty service.
[ 4.702905] systemd[1]: Cannot add dependency job for unit serial-getty@ttySAC2.service, ignoring: Unit serial-getty@ttySAC2.service failed to load: No such file or directory.
How can I solve the problem?
The serial log is in attachment.
Thank you.
BRs,
Jianzhong Fang
김우창(Woochang Kim)
Tizen Platform Lab
Software Center
SAMSUNG ELECTRONICS CO.,LTD
Mobile: +82 10 4397 0526
wchang....@samsung.com
|
_______________________________________________ General mailing list General@lists.tizen.org https://lists.tizen.org/listinfo/general