<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks,<br>
<br>
I think I will have to be creative on this.<br>
The only GPIO I can use is the same as the LCD contrast pin. I think
I need to <br>
start it as a GPIO, put 0 on it and after the FB is inited mux it
back to LCD contrast function, if that is possible.<br>
<br>
Boaz.<br>
<br>
On 05/29/11 09:33, Baruch Siach wrote:
<blockquote cite="mid:20110529063350.GB32378@jasper.tkos.co.il"
type="cite">
<pre wrap="">Hi Boaz,
On Sun, May 29, 2011 at 09:08:58AM +0300, Boaz Ben-David wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Revisiting the issue below, it there a convinient way
to use the FB in barebox without creating a flicker on the LCD in
the transition from Barebox to the kernel?
</pre>
</blockquote>
<pre wrap="">
Probably not, at the moment.
One big problem (not the only one) is that the mx3fb driver uses DMA to
transfer the display image from the system RAM to the LCD. The ARM booting
document, however, requires the bootloader to "quiesce all DMA capable
devices" (Documentation/arm/Booting).
The best you can achieve (assuming you have designed your hardware correctly)
is to blank your LCD using a GPIO just before booting the kernel, and then
switch this GPIO again just after painting your logo from the newly boot
kernel.
baruch
</pre>
<blockquote type="cite">
<pre wrap="">On 03/08/11 09:10, Baruch Siach wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Boaz,
On Tue, Mar 08, 2011 at 09:03:55AM +0200, Boaz Ben-David wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yes, I am using the freescale kernel unfotunately.
Do you know of some way to fix this (a patch for the freescale kernel
maybe)?
</pre>
</blockquote>
<pre wrap="">A simple way to check whether this is the problems is to just disable the
framebuffer in the kernel build, and make sure that you can boot again.
Then, the fix for this problem is to move the request_irq() call to the end of
the .probe routine.
You should not expect any kind of support from Freescale for their released
Linux kernels.
baruch
</pre>
<blockquote type="cite">
<pre wrap="">On Tue, 2011-03-08 at 16:35 +1100, Marc Reilly wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Tuesday, March 08, 2011 03:35:10 am Boaz Ben-David wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
When using the iMX35 freescale 3stack we are having some issues with the FB
driver. On device boot we enable the fb using "fb0.enable=1" and then try
to boot the kernel from nand. The problem is that after the kernel is
loaded to RAM and extracted the board hangs. If we do not init the fb0
device but simply boot the kernel it works fine. Trying "fb0.enable=0"
before booting also did not help.
Did anyone encounter this issue yet or are we doing something wrong?
</pre>
</blockquote>
<pre wrap="">Are you using the freescale kernel? It doesn't handle loading the IPU driver
if the IPU has been enabled previously.. (an IRQ fires before all the driver
structures have been initialized and crashes)
Cheers,
Marc
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<div class="moz-signature">
<div class="moz-signature">
<div>
<table class="x_MsoNormalTable" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td style="padding: 0cm;"><br>
</td>
</tr>
<tr>
<td style="padding: 0cm;">
<table class="x_MsoNormalTable" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding: 0cm;">
<table class="x_MsoNormalTable"
style="width: 100%;" border="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding: 1.5pt 1.5pt 1.5pt
3pt;">
<p class="x_MsoNormal"
style="text-align: left;
line-height: 115%; direction: ltr;
unicode-bidi: embed;"> <span
style="color: rgb(31, 73, 125);"><br>
</span><b><span style="color:
rgb(102, 102, 102);">Boaz
Ben-David</span></b><span
style="color: rgb(102, 102,
102);"><br>
R&D Engineer</span><span
style="color: rgb(102, 102,
102);"></span></p>
</td>
<td style="width: 112.5pt; padding:
1.5pt 1.5pt 1.5pt 3pt;"
valign="bottom" width="150">
<p class="x_MsoNormal"
style="text-align: left;
line-height: 115%; direction: ltr;
unicode-bidi: embed;"> <span
style="font-size: 10pt;
line-height: 115%; color:
rgb(31, 73, 125);"><img
id="x_Picture_x0020_1"
src="cid:part1.03040207.05070008@wellsense-tech.com"
alt="cid:image001.jpg@01CBF829.06DE9870" height="51" width="148"></span><span
style="font-size: 10pt;
line-height: 115%; color:
rgb(31, 73, 125);"></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding: 0cm;">
<table class="x_MsoNormalTable"
style="width: 97.84%; border-width: 1pt
medium medium; border-style: solid none
none; border-color: rgb(153, 153, 153)
-moz-use-text-color -moz-use-text-color;"
border="1" cellpadding="0" width="97%">
<tbody>
<tr>
<td style="border-width: medium 1pt
medium medium; border-style: none
solid none none; border-color:
-moz-use-text-color rgb(153, 153,
153) -moz-use-text-color
-moz-use-text-color; padding: 0cm
3.75pt 0.75pt 3pt;" nowrap="nowrap">
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: center; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="center"> <b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);">Tel:</span></b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);">
+972.2.6470.709</span><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"></span></p>
</td>
<td style="border-width: medium 1pt
medium medium; border-style: none
solid none none; border-color:
-moz-use-text-color rgb(153, 153,
153) -moz-use-text-color
-moz-use-text-color; padding: 0cm
3.75pt 0.75pt 3pt;" nowrap="nowrap">
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: center; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="center"> <b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);">Mob:</span></b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);">
+972.54.678.1511</span><b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"></span></b></p>
</td>
<td style="border-width: medium 1pt
medium medium; border-style: none
solid none none; border-color:
-moz-use-text-color rgb(153, 153,
153) -moz-use-text-color
-moz-use-text-color; padding: 0cm
3.75pt 0.75pt 3pt;" nowrap="nowrap">
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: center; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="center"> <b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);">Email</span></b><b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(127, 127, 127);">: </span></b><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(127, 127, 127);"><a class="moz-txt-link-abbreviated" href="mailto:boaz.bd@wellsense-tech.com">boaz.bd@wellsense-tech.com</a></span><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(127, 127, 127);"></span></p>
</td>
<td style="border: medium none;
padding: 0cm 0.75pt 0.75pt 3pt;"
nowrap="nowrap">
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: right; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="right"> <span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"> </span></p>
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: right; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="right"> <span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"><a
href="redir.aspx?C=e6361e2526464b699e255e33ea5cfebb&URL=http%3a%2f%2fwww.themapsystem.com%2f"
target="_blank"><span
style="line-height: 115%;">www.themapsystem.com</span></a></span></p>
<p class="x_MsoNormal"
style="margin-right: 1.5pt;
text-align: right; line-height:
115%; direction: ltr;
unicode-bidi: embed;"
align="right"> <span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"> </span><span
style="font-size: 9pt;
line-height: 115%; color:
rgb(102, 102, 102);"></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height: 0.75pt;">
<td style="padding: 0cm; height: 0.75pt;">
<table class="x_MsoNormalTable" border="0"
cellpadding="0">
<tbody>
<tr style="height: 32.25pt;">
<td style="padding: 0.75pt 0.75pt
0.75pt 3pt; height: 32.25pt;"
valign="top">
<p class="x_MsoNormal"
style="text-align: left;
line-height: 115%; direction: ltr;
unicode-bidi: embed;"> <span
style="font-size: 7pt;
line-height: 115%; color:
rgb(102, 102, 102);"><img
id="x_Picture_x0020_2"
src="cid:part2.03090806.02010609@wellsense-tech.com"
alt="cid:image002.gif@01CBF829.06DE9870" border="0" height="11"
width="11"> Please consider
the impact on the environment
before printing this e-mail
and/or the attachment(s).</span><span
style="font-size: 7pt;
line-height: 115%; color:
rgb(102, 102, 102);"></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height: 0.75pt;">
<td style="padding: 0cm; height: 0.75pt;"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>