From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from exchange.timesys.com (mail.timesys.com [65.117.135.102]) by ozlabs.org (Postfix) with ESMTP id 06EE667A6F for ; Tue, 29 Mar 2005 02:24:20 +1000 (EST) From: "Walter L. Wimer III" To: Kumar Gala In-Reply-To: <4a399aeb5127923823feb2ced5eb0e1d@freescale.com> References: <1112026020.25896.8.camel@excalibur.timesys.com> <4a399aeb5127923823feb2ced5eb0e1d@freescale.com> Content-Type: multipart/alternative; boundary="=-f73AD8Ds9y5jYawdsNFW" Date: Mon, 28 Mar 2005 11:24:18 -0500 Message-Id: <1112027058.25896.10.camel@excalibur.timesys.com> Mime-Version: 1.0 Cc: linuxppc-embedded@ozlabs.org Subject: Re: Problem running Linux 2.6.11 on MPC8272ADS List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-f73AD8Ds9y5jYawdsNFW Content-Type: text/plain Content-Transfer-Encoding: 7bit I'll submit one once I get everything else working on this board that I need.... :-) Walt On Mon, 2005-03-28 at 10:21 -0600, Kumar Gala wrote: > A patch to make this work properly would be appreciated. > > - kumar > > On Mar 28, 2005, at 10:06 AM, Walter L. Wimer III wrote: > > > > > > > Hi Mike, > > > > I had the same "hang" experience. The file arch/ppc/platforms/pq2ads.c > > contains the following function: > > > > void __init > > m82xx_board_setup(void) > > { > > /* Enable the 2nd UART port */ > > *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2; > > } > > > > > > > > I had to ifdef-out the assignment statement above. It appears that the > > definition for BCSR_ADDR in the kernel code differs from what U-Boot > > is > > using, and that area of memory isn't properly mapped into the kernel > > address space this early in the boot sequence. As a result, I was > > getting an Oops() before the console was even enabled (I could see the > > Oops message by examining the kernel's printk log buffer using a > > BDI-2000 hardware debugger). > > > > > > > > > > Good luck, > > > > Walt Wimer > > TimeSys Corporation > > > > > > > > > > > > On Sun, 2005-03-27 at 11:31 +0200, Mike Rapoport wrote: > > > Hi, > > > I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to > > > hang up at the very beginning. > > > I use ads8272_defconfig and then enable console on SCC: > > > > > > CONFIG_SERIAL_CPM=y > > > CONFIG_SERIAL_CPM_CONSOLE=y > > > CONFIG_SERIAL_CPM_SCC1=y > > > > > > > > > when I boot the kernel from the u-boot the system hangs up right > > after > > > the kernel decompression. > > > > > > > _______________________________________________ > > Linuxppc-embedded mailing list > > Linuxppc-embedded@ozlabs.org > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > --=-f73AD8Ds9y5jYawdsNFW Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
I'll submit one once I get everything else working on this board that I need....  :-)


Walt



On Mon, 2005-03-28 at 10:21 -0600, Kumar Gala wrote:
A patch to make this work properly would be appreciated.

- kumar

On Mar 28, 2005, at 10:06 AM, Walter L. Wimer III wrote:

>
>
> Hi Mike,
>
> I had the same "hang" experience.  The file arch/ppc/platforms/pq2ads.c
> contains the following function:
>
>   void __init
>    m82xx_board_setup(void)
>   {
>          /* Enable the 2nd UART port */
>          *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2;
>   }
>
>
>
> I had to ifdef-out the assignment statement above.  It appears that the
>  definition for BCSR_ADDR in the kernel code differs from what U-Boot 
> is
>  using, and that area of memory isn't properly mapped into the kernel
>  address space this early in the boot sequence.  As a result, I was
>  getting an Oops() before the console was even enabled (I could see the
>  Oops message by examining the kernel's printk log buffer using a
>  BDI-2000 hardware debugger).
>
>
>
>
> Good luck,
>
> Walt Wimer
>  TimeSys Corporation
>
>
>
>
>
> On Sun, 2005-03-27 at 11:31 +0200, Mike Rapoport wrote:
>  > Hi,
>  > I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to
> > hang up at the very beginning.
>  > I use ads8272_defconfig and then enable console on SCC:
>  >
> > CONFIG_SERIAL_CPM=y
> > CONFIG_SERIAL_CPM_CONSOLE=y
> > CONFIG_SERIAL_CPM_SCC1=y
> >
> >
> > when I boot the kernel from the u-boot the system hangs up right 
> after
> > the kernel decompression.
> >
>
>  _______________________________________________
> Linuxppc-embedded mailing list
>  Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

--=-f73AD8Ds9y5jYawdsNFW--