What if you append "init=" e.g., something like "init=/bin/ash" as part of 
bootargs?

You may need to have a look at /etc/inittab in your filesystem.

Regards
-
Hemant



________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
kunal singh
Sent: Thursday, September 30, 2010 6:05 PM
To: Raffaele Recalcati
Cc: [email protected]
Subject: Re: problem with serial console

Hi Raffaele,

  Thanks for the suggestion.

 (1)  Console is fine. I am able to communicate with the u-boot (115200,n8). 
Also if I use printascii (a kernel function) I am able to output on console.
 (2) There is no message, after the kernel decompression (because console is 
not up). Here is what I see.

Load address: 0x82000000
Loading: ####T ###################T ##########################################
         ##################################################################
         ######################T ############################################
         #################################################################
         ###################T ##############################################T ##
         ######T ########################################
done
Bytes transferred = 1898828 (1cf94c hex)
## Booting image at 82000000 ...
   Image Name:   Linux-2.6.32-rc2-davinci1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1898764 Bytes =  1.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing 
Linux...........................................................................................................................
 done, booting the kernel.

/* AND THEN NOTHING BECAUSE CONSOLE IS NOT FUNCTIONAL, but booting goes on */

Regards,
kunal


On Wed, Sep 29, 2010 at 5:38 PM, Raffaele Recalcati 
<[email protected]<mailto:[email protected]>> wrote:
On Wed, Sep 29, 2010 at 4:48 AM, kunal singh 
<[email protected]<mailto:[email protected]>> wrote:
> Hi,
>
>    MY SETUP
>    -----------------
>    We have a dm6446 based board & we have been using 2.6.18 (MV) Linux.
> Recently I tried upgrading to kernel 2.6.32 (PSP 03.01).
>
>   PROBLEM
>   -------------------
>    When the kernel boots I can not see any boot messages on the  serial
> console. I assume that if the boot flow passes beyond console_init (in
> init/main.c) I should start to receive printk messages on the console. But
> it does not happen so.
>
>    ADDITIONAL INFORMATION
>    ---------------------
>    (1) If use the printascii function (low level debug print) in the
> init/main.c, I can get messages on serial console. So, I assume that nothing
> is wrong with hardware.
>    (2) The command line arguments (printed from kernel using printascii)
> show that console=ttyS0,115200n8
>
>   Any idea what could be wrong?

First
Check your setup.
I mean, with the same PC and serial port cable you can read and write
to another device with 115200n8 comfiguration?

Second
You need to copy, in the mail, every messages you have on the serial
line, from power up

Third
Check info here http://processors.wiki.ti.com/index.php/Category:DM644x

Good work,
Raffaele

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to