[U-Boot-Users] RE: LCD on OMAP2430

I got the U-Boot prompt on my serial console now. The problem was with setting of one of the display clocks. However, I still get stdout: serial. I am trying to setup JTAG debugger to debug the U-Boot and see what is happening. Meanwhile, I looked at the console.c file and it seems like the overwrite_console() function must be returning 0 (because I have define CONFIG_CONSOLE_IS_IN_ENV ). But in the console_init_r() function, my lcd device is not found probably so it is using serial as stdout. Does it mean my device is not being registered with U-Boot framebuffer? I am using the common lcd.c and lcd.h files for common functions like registering the device etc. and am defining my board specific routines in a different file. Any help is greatly appreciated.
Thanks, Jigisha
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Wednesday, March 29, 2006 3:21 PM To: Goswami Jigisha-ejg014 Cc: Woodruff, Richard; u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] RE: LCD on OMAP2430
In message 4F9B2712E6C4C74582548D2260EE1D2D9E24B3@ct11exm64.ds.mot.com you wrote:
I realized about the Bad CRC warning afterwards. Anyway, the U-Boot hangs
Are you sure that it hangs? Do you have the LCD display connected? What do you see on it.
after that message and I do not see stdout, stdin and stderr that should come up on the console. How can I change that to my target LCD?
I know that stdin cannot be LCD, it has to be UART, But how can I change stdout to LCD? Can any one help?
Read the code. If LCD is enabled, both stdout and stderr will go to the LCD by default - which is probably why you don't see anything so you think the board is hanging while it's running fine.
Try typing a few times ENTER, followed by a "setenv stdout serial" (even if you don't see any echo for your typing).
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Anyone who knows history, particularly the history of Europe, will, I think, recognize that the domination of education or of government by any one particular religious faith is never a happy arrangement for the people. - Eleanor Roosevelt
participants (1)
-
Goswami Jigisha-ejg014