ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Ltib - Unable to open an initial console


From: Péter
Subject: Re: [Ltib] Ltib - Unable to open an initial console
Date: Wed, 28 Apr 2010 20:25:26 +0200 (CEST)

Thx for your answer! 
 
The root file system has this file:  ext2://1/dev/console 
Inittab cant run this file. 
I dont set the pass while I build the kernel?! 
And the boot argument was first: ttyAM1 (NXP board serial port) 
I also tried boot whit console=tty0 and the boot information appeared in LCD. 
I connect an USB keyboard to the system and I can only rebbot the system with 
crl +
alt + del.The warning message dont disappeared. 
 
I can run some program in /bin when I write to the etc/inittab 
What I have to do to running my helloworld.out? 
The inittab can runing only the programs in /bin. :( 
 
 
> Hi Peter, 
> 
> Make sure you have a /dev/console on your target filesystem similar to 
> (i.e 5,1): 
> 
> crw------- 1 root root 5, 1 2010-04-03 11:38 /dev/console 
> 
> Make sure you pass (or have as a default) some console device in the 
> kernel boot arguments, e.g for the first serial port: 
> 
> console=/dev/ttyS0 
> 
> There are many more possibilities, but presumably that BSP should work 
> in the default configuration? maybe someone with that board can confirm 
> this. 
> 
> Regards, Stuart 
> 
> Péter wrote: 
>> Hi all, 
>> 
>> I need some help. I have a NXP board with LH7a404 processor. 
>> I build the kernel and root file system. After im booting the kernel, 
>> always I have  a warning message.WARNING: Unable to open an initial 
>> console. 
>> 
>> I looked for any help in web but I dont find the good solution. 
>> 
>> The kernel is running! I can do all command in etc/inittab. (for 
>> example:  ::sysinit:/bin/ls > example.txt)But I cant runnig my 
>> programs (for example:  hello.out <- this program must create a 
>> file and write to the file Hello world!) 
>> Can anybody help me? :( 
>> 
>> Péter 
 



----------------------------------------------------------------------------------
 
Képtáram:   http://rapid.xfree.hu
Blogom:     http://rapid.blog.xfree.hu
Videótáram: http://rapid.video.xfree.hu

Szótár: http://szotar.xfree.hu ( 587119 szópár )
Unatkozik? >>> http://video.xfree.hu

Szeretsz pókerezni ? Gyere és játssz Online a többiekkel!
http://www.xpoker.hu - A közösségi póker
        






reply via email to

[Prev in Thread] Current Thread [Next in Thread]