<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
<BR>
I'll submit one once I get everything else working on this board that I need.... :-)<BR>
<BR>
<BR>
Walt<BR>
<BR>
<BR>
<BR>
On Mon, 2005-03-28 at 10:21 -0600, Kumar Gala wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">A patch to make this work properly would be appreciated.</FONT>
<FONT COLOR="#000000">- kumar</FONT>
<FONT COLOR="#000000">On Mar 28, 2005, at 10:06 AM, Walter L. Wimer III wrote:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Hi Mike,</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I had the same "hang" experience. The file arch/ppc/platforms/pq2ads.c</FONT>
<FONT COLOR="#000000">> contains the following function:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> void __init</FONT>
<FONT COLOR="#000000">> m82xx_board_setup(void)</FONT>
<FONT COLOR="#000000">> {</FONT>
<FONT COLOR="#000000">> /* Enable the 2nd UART port */</FONT>
<FONT COLOR="#000000">> *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2;</FONT>
<FONT COLOR="#000000">> }</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I had to ifdef-out the assignment statement above. It appears that the</FONT>
<FONT COLOR="#000000">> definition for BCSR_ADDR in the kernel code differs from what U-Boot </FONT>
<FONT COLOR="#000000">> is</FONT>
<FONT COLOR="#000000">> using, and that area of memory isn't properly mapped into the kernel</FONT>
<FONT COLOR="#000000">> address space this early in the boot sequence. As a result, I was</FONT>
<FONT COLOR="#000000">> getting an Oops() before the console was even enabled (I could see the</FONT>
<FONT COLOR="#000000">> Oops message by examining the kernel's printk log buffer using a</FONT>
<FONT COLOR="#000000">> BDI-2000 hardware debugger).</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Good luck,</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Walt Wimer</FONT>
<FONT COLOR="#000000">> TimeSys Corporation</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> On Sun, 2005-03-27 at 11:31 +0200, Mike Rapoport wrote:</FONT>
<FONT COLOR="#000000">> > Hi,</FONT>
<FONT COLOR="#000000">> > I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to</FONT>
<FONT COLOR="#000000">> > hang up at the very beginning.</FONT>
<FONT COLOR="#000000">> > I use ads8272_defconfig and then enable console on SCC:</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > CONFIG_SERIAL_CPM=y</FONT>
<FONT COLOR="#000000">> > CONFIG_SERIAL_CPM_CONSOLE=y</FONT>
<FONT COLOR="#000000">> > CONFIG_SERIAL_CPM_SCC1=y</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > when I boot the kernel from the u-boot the system hangs up right </FONT>
<FONT COLOR="#000000">> after</FONT>
<FONT COLOR="#000000">> > the kernel decompression.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> Linuxppc-embedded mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</A></FONT>
<FONT COLOR="#000000">> <A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>