linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem with linux porting
@ 2005-04-05  8:54 Atit_Shah
  2005-04-05 10:01 ` Eugene Surovegin
  0 siblings, 1 reply; 3+ messages in thread
From: Atit_Shah @ 2005-04-05  8:54 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 3574 bytes --]

Hi All,

 

We are having a problem with porting of Linux.

 

We are using the Linux kernel image modified to work on an EP8248 (having
the MPC8248 Processor) Board. We have our board configured the same as the
EP8248 board. We have made no changes to the Kernel Image and it crashes.
The last message it shows on the console is "Uncompressing Kernel....ok" and
the console log_buffer has the following: 

 

"<6>Memory BAT mapping: BAT2=32Mb, BAT3=0Mb, residual: 0Mb.

<4>Oops: kernel access of bad area, sig: 11.<4>NIP: 00000000 XER: 00000000
LR: 00000000 SP: 00000000 REGS: c0150000 TRAP: 0000    Not tainted.<4>MSR:
00000000 EE: 0PR: 0 FP: 0 ME:0 IR/DR: 00.<4> TASK = c014f470[0] 'swapper'
Last syscall: 0 .<4>last math 00000000 last altivec 00000000.<4>Call
backtrace: 00000004 ."

 

 

The EP8248 Board have the following configurations:

 

1. 8MB Flash 

            Port Size = 32 Bit

            Bottom Boot

 

2. 16MB SDRAM 

            Port Size = 32 Bit

 

3. EEPROM

 

4. Frequency

            Core:  346MHz

            CPM:   198MHz

            BUS:   99MHz

            Input: 66MHz

 

5. Memory Map 

=====================================================================

Memory Region            Size                       Address Range

=====================================================================

SDRAM                    16MByte                0000_0000 - 00FF_FFFF

Flash                        8MByte                  FF80_0000 - FFFF_FFFF

 

 

The board we are using has 

 

1. 16MB Flash 

            Port Size = 32 Bit

            Bottom Boot

 

2. 32MB SDRAM 

            Port Size = 64 Bit

 

3. No EEPROM

 

4. Frequency

            Core:  400MHz

            CPM:   200MHz

            BUS:   100MHz

            Input: 100MHz   

 

5. Memory Map 

=====================================================================

Memory Region            Size                                    Address
Range                         

======================================================================

SDRAM                    32MByte                           0000_0000 -
01FF_FFFF

Flash                        16MByte                           FF00_0000 -
FFFF_FFFF

 

 

The value of the IMMR in HCRW is both boards is configured to 0xF0000000.
The value of IMAP_ADDR in linux/arch/ppc/platforms/ep8248.h and
u-boot/include/configs/ep8248.h is 0xF0000000. The BD_INFO structure and the
values are being passed perfectly from u-boot to Linux. The cmd_start and
cmd_end are also perfect - verified using the memory dump command in u-boot.


 

We have performed RAM test through u-boot and it has passed it.

 

We would be grateful if somebody could throw more light on where we are
going wrong and help us successful port Linux. If you require any more info
i would be more than glad to provide you with the same.

 

Thanks and Regards

Atit

 

 

 

 

                                    

 

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

[-- Attachment #2: Type: text/html, Size: 17151 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with linux porting
  2005-04-05  8:54 Problem with linux porting Atit_Shah
@ 2005-04-05 10:01 ` Eugene Surovegin
  0 siblings, 0 replies; 3+ messages in thread
From: Eugene Surovegin @ 2005-04-05 10:01 UTC (permalink / raw)
  To: Atit_Shah; +Cc: linuxppc-embedded

On Tue, Apr 05, 2005 at 02:24:01PM +0530, Atit_Shah wrote:
> We are having a problem with porting of Linux.

[snip]

> 4. Frequency
> 
>             Core:  346MHz
> 
>             CPM:   198MHz
> 
>             BUS:   99MHz
> 
>             Input: 66MHz

What does "Input" clock mean?

If it's a CLKIN, why is Bus clock not equal to it?

--
Eugene

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Problem with linux porting
@ 2005-04-05 13:48 Atit_Shah
  0 siblings, 0 replies; 3+ messages in thread
From: Atit_Shah @ 2005-04-05 13:48 UTC (permalink / raw)
  To: Eugene Surovegin; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

sorry the bus and input frequenies are same and its 100MHz. 

yes it is the clkin freq

-----Original Message-----
From: Eugene Surovegin [mailto:ebs@ebshome.net] 
Sent: Tuesday, April 05, 2005 3:31 PM
To: Atit_Shah
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Problem with linux porting

On Tue, Apr 05, 2005 at 02:24:01PM +0530, Atit_Shah wrote:
> We are having a problem with porting of Linux.

[snip]

> 4. Frequency
> 
>             Core:  346MHz
> 
>             CPM:   198MHz
> 
>             BUS:   99MHz
> 
>             Input: 66MHz

What does "Input" clock mean?

If it's a CLKIN, why is Bus clock not equal to it?

--
Eugene

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

[-- Attachment #2: Type: text/html, Size: 2631 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-05 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05  8:54 Problem with linux porting Atit_Shah
2005-04-05 10:01 ` Eugene Surovegin
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05 13:48 Atit_Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).