On 12-06-25 10:06 AM, Om Prakash PAL wrote:
Hi Bruce,
Yes,its arm board.
Yes, I have verified and kernel bootline is properly passed to the kernel by 
bootloader.

And does it (the bootline) contain /dev/tty0 ? .. because if things are
properly configured, it really shouldn't be trying to open it.

Cheers,

Bruce


Best Regards,
Om Prakash Pal

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfi...@windriver.com]
Sent: Monday, June 25, 2012 6:38 PM
To: Om Prakash PAL
Cc: Khem Raj; yocto@yoctoproject.org
Subject: Re: [yocto] Porting of specific Kernel/Driver into yocto.

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.

Cheers,

Bruce

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

Reply via email to