All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] U-BOOT for MPC885 Eval board
@ 2004-07-13 14:07 Sachin S Mehta
  2004-07-13 18:21 ` Yuli Barcohen
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin S Mehta @ 2004-07-13 14:07 UTC (permalink / raw)
  To: u-boot

Hi,

We  are using MPC885ADS Eval. board ,we are porting  U-Boot 1.1.1on it and working fine,
but we have following query

1. When we trying to change serial port from SMC1 to SMC2  by
  defining following in "MPC885ADS.h" :

	#define	CONFIG_8xx_CONS_SMC2	1	/* Console is on SMC2 */
	#undef	CONFIG_8xx_CONS_SMC1
	#undef	CONFIG_8xx_CONS_NONE	
we are not getting anything  on serial console.

2.  We are getting  8 Mbyte of Flash memory SIMM - theRPCF08324NE5BSSG-70 by RPC , which
internally composed of 16  AM29F040 devices. We are able to configure 2 MB Flash memory 
and working fine. 
But when we are trying to configure for 8MB  by changinf  following in "/board/fads/flash.c : flash_get_size()"

info->sector_count = 32;
info->size = 0x00800000;
 
instead of 
 
 info->sector_count = 8;
info->size = 0x00200000;

It gives some error as below :


CPU:   MPC885ZPnn at 120 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: MPC885ADS rev NR
DRAM:  (8 MB SDRAM)  8 MB
FLASH: Bus Fault @ 0x007f16b4, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 00560e18 Unknown values in msr
NIP: 007F16B4 XER: 00000100 LR: 007F168C REGS: 00560e18 TRAP: 0200 DAR: 007FB0EC
MSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 00000016 00560F08 00000000 00D40000 007FFAF8 007FB000 007FA834 00002088 
GPR08: 00000020 007FFA81 00000016 007FFACC 28000024 00000000 00800000 FDFD6000 
GPR16: 00000000 00800000 00000000 00000020 00000000 00000001 00000000 00000000 
GPR24: FF000100 FFFFFFFF 00000000 00000000 007FFA6C 00560F94 00800DD0 007FFA6C 
Call backtrace: 
005E9814 007F10EC 007D98A0 007D83B0 
machine check


Has anyone faced same problem?

thanks,
Sachin mehta

	

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

* [U-Boot-Users] U-BOOT for MPC885 Eval board
  2004-07-13 14:07 [U-Boot-Users] U-BOOT for MPC885 Eval board Sachin S Mehta
@ 2004-07-13 18:21 ` Yuli Barcohen
  0 siblings, 0 replies; 2+ messages in thread
From: Yuli Barcohen @ 2004-07-13 18:21 UTC (permalink / raw)
  To: u-boot

>>>>> Sachin S Mehta writes:

    Sachin> Hi, We are using MPC885ADS Eval. board ,we are porting
    Sachin> U-Boot 1.1.1on it and working fine,

What's wrong with the existing port? Version 1.1.1 is too old, and
existing port works fine for me.

    Sachin> but we have following query

    Sachin> 1. When we trying to change serial port from SMC1 to SMC2 by
    Sachin>    defining following in "MPC885ADS.h" :

    Sachin>    #define CONFIG_8xx_CONS_SMC2 1 /* Console is on SMC2 */
    Sachin>    #undef CONFIG_8xx_CONS_SMC1
    Sachin>    #undef CONFIG_8xx_CONS_NONE
    Sachin>    we are not getting anything on serial console.

You can't use FEC2 and SMC2 simultaneously, and the factory DIP switch
settings select FEC2. Make sure you've got correct settings and enable
SMC2 UART in BCSR.

    Sachin> 2.  We are getting 8 Mbyte of Flash memory SIMM -
    Sachin>     theRPCF08324NE5BSSG-70 by RPC , which internally
    Sachin>     composed of 16 AM29F040 devices. We are able to
    Sachin>     configure 2 MB Flash memory and working fine. But when
    Sachin>     we are trying to configure for 8MB by changinf following
    Sachin>     in "/board/fads/flash.c : flash_get_size()"

    Sachin> info-> sector_count = 32; size = 0x00800000;
 
    Sachin> instead of
 
    Sachin> info-> sector_count = 8; size = 0x00200000;

    Sachin> It gives some error as below :

...

    Sachin> Has anyone faced same problem?

Probably you didn't change BR0/OR0. Anyway, it works in current version
of U-Boot. Make sure that you've got updated BCSR, otherwise you have to
modify the SIMM because original BCSR does not recognise this SIMM
correctly.

-- 
========================================================================
 Yuli Barcohen       | Phone +972-9-765-1788 |  Software Project Leader
 yuli at arabellasw.com | Fax   +972-9-765-7494 | Arabella Software, Israel
========================================================================

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

end of thread, other threads:[~2004-07-13 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 14:07 [U-Boot-Users] U-BOOT for MPC885 Eval board Sachin S Mehta
2004-07-13 18:21 ` Yuli Barcohen

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.