* What is the purpose of function omap_get_config()
@ 2008-11-05 12:30 章杰
2008-11-05 16:17 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: 章杰 @ 2008-11-05 12:30 UTC (permalink / raw)
To: linux-omap
Hello,
I am porting a lcd panel to OMAP2430. It didn't enter the probe
entry of the omapfb. I found that it did not register the device in
fb.c located in arch/arm/plat-omap. Because the function
omap_get_config( OMAP_TAG_LCD, struct omap_lcd_config )
which is invoked before platform_device_register returns NULL.
So I wonder the purpose of omap_get_config and where it gets the
configuration. Can anybody tell me in detail? Thanks very much!
Jerry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is the purpose of function omap_get_config()
2008-11-05 12:30 What is the purpose of function omap_get_config() 章杰
@ 2008-11-05 16:17 ` Tony Lindgren
2008-11-06 3:59 ` 章杰
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2008-11-05 16:17 UTC (permalink / raw)
To: 章杰; +Cc: linux-omap
* 章杰 <zhj8407@gmail.com> [081105 04:31]:
> Hello,
>
> I am porting a lcd panel to OMAP2430. It didn't enter the probe
> entry of the omapfb. I found that it did not register the device in
> fb.c located in arch/arm/plat-omap. Because the function
> omap_get_config( OMAP_TAG_LCD, struct omap_lcd_config )
> which is invoked before platform_device_register returns NULL.
>
> So I wonder the purpose of omap_get_config and where it gets the
> configuration. Can anybody tell me in detail? Thanks very much!
The omap specific ATAGs will be going away soon, so please rely only
on the configuration in your board-*.c file.
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is the purpose of function omap_get_config()
2008-11-05 16:17 ` Tony Lindgren
@ 2008-11-06 3:59 ` 章杰
0 siblings, 0 replies; 3+ messages in thread
From: 章杰 @ 2008-11-06 3:59 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap
Hello,
Thanks for your attention.
I gotta know the purpose of function omap_get_config. I added an
item related to OMAP_TAG_LCD to my board file, so it can register the
fb device successfully.
But I have another question. When I compile the frame buffer into
kernel, there is not any output information in my serial terminal
since
Uncompressing Linux............................................................................................
done, booting the kernel. If I compile it as module, it is fine.
However, debugging the module is not convenient on my board. I need to
add it to root filesystem and burn it to the flash.
I used u-boot as my bootloader. The bootargs is set to be
" noinitrd console=ttyS0,115200n8 root=/dev/mtdblock4 rootfstype=jffs2
init=/linuxrc mem=64M ".
How can I solve this problem? Thanks very much !
Jerry
2008/11/6 Tony Lindgren <tony@atomide.com>:
> * 章杰 <zhj8407@gmail.com> [081105 04:31]:
>> Hello,
>>
>> I am porting a lcd panel to OMAP2430. It didn't enter the probe
>> entry of the omapfb. I found that it did not register the device in
>> fb.c located in arch/arm/plat-omap. Because the function
>> omap_get_config( OMAP_TAG_LCD, struct omap_lcd_config )
>> which is invoked before platform_device_register returns NULL.
>>
>> So I wonder the purpose of omap_get_config and where it gets the
>> configuration. Can anybody tell me in detail? Thanks very much!
>
> The omap specific ATAGs will be going away soon, so please rely only
> on the configuration in your board-*.c file.
>
> Tony
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-06 3:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 12:30 What is the purpose of function omap_get_config() 章杰
2008-11-05 16:17 ` Tony Lindgren
2008-11-06 3:59 ` 章杰
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.