On 2012-06-25 07:08, Bruce Ashfield wrote:
On 12-06-25 08:53 AM, Om Prakash PAL wrote:
Hi Khem,
I have build core-image-core. but still this Error:
======================================================>
11.165466] EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
[ 11.172668] VFS: Mounted root (ext3 filesystem) on device 179:1.
[ 11.179260] Freeing init memory: 316K
INIT: version 2.88 booting
Error Cannot open /dev/tty0: No such device or address
mknod: /dev/console: File exists

=========================================================>

I have set SERIAL_CONSOLE="115200 ttyAMA2" then why its taking /dev/tty0 ?.

I've lost some of the context on the board you are working with, but
from ttyAMA2, I'm assuming it is an arm board. Have you verified that your
bootloader can pass the kernel bootline properly to the kernel ? It is
(unfortunately) fairly common that it isn't properly passed. If you
modify your configuration to have a built in command line with your
configuration, you may be able to get better setup to debug the
problem.

Note: if you (Om Prakash PAL) could send the entire boot log, we could make more
sense of your issues.  For example, the actual name(s) of serial devices 
supported
by the kernel will be listed there.

Also, I seem to recall that you had 'console=tty0' in your bootargs.

Send the complete log...

please help.

Best Regards,
Om Prakash Pal
_______________________________________
From: Khem Raj [raj.k...@gmail.com]
Sent: Friday, June 22, 2012 11:18 AM
To: Om Prakash PAL
Cc: Gary Thomas; yocto@yoctoproject.org
Subject: Re: [yocto] Porting of specific Kernel/Driver into yocto.

On Thu, Jun 21, 2012 at 10:37 PM, Om Prakash PAL
<omprakash....@stericsson.com> wrote:

and then console got stuck.

What do you have SERIAL_CONSOLE set to in your configuration?

I have set SERIAL_CONSOLE="115200 ttyAMA2". As we are using ttyAMA2 for console.

What is your target device? Do you really have /dev/ttyAMA2 serial port??.

Yes, I have /dev/ttyAMA2 serial port.

Can you try using say poky/master and generate root file system and
try that out ?
another option is to try core-image-core
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to