linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* I cann't initialize the OR/BR registers in cpu_init.c??
@ 2003-10-13  5:15 wang cheng
  2003-10-13 15:16 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: wang cheng @ 2003-10-13  5:15 UTC (permalink / raw)
  To: linuxppc-embedded


hello !
   all
   I'm porting u-boot-0.4.0 to my WindRiver MDP PRO board now,some
addressing specifications are listed below.I choose the

fads823 as the model.I have vision ICE ii & vision CLICK to program
flash and debug the code.
   I compile the code in the vmware linux environment.After "make
myboard_config" and  "make",I copy the u-boot(ELF) to the

vision CLICK path in windows environment£¬then Convert to .BIN file,
program to  flash,run,use the hyperterminal  as the

console.
   Now in the cpu_init.c ,I masked all the OR/BR initialization
clause,for when I released them there's nothing displayed on

the hyperterminal ;but when masked them ,the program can run to
the "=>"(after main_loop();)with the vision ICE II and to the

relocate_code()(in the board_init_f();)without the visionICE II ,some
register value are listed below in the vision CLICK BKM

mode.

**1.why I cann't initialize the OR/BR registers in the cpu_init.c
**2.how to modify the dram initialization to pass the relocate_code()
3.can you tell me something details about the BCSR register in the
FADS823 model.
4.are there any better model for WindRiver MDPRRO board ?

Any suggests are very appreciated!

specifications:
Addressing:
Total address range	4GB (on and off board)
Flash Memory 		1.0MB on board
			16MB SIMM (4MB Std.)
SRAM Memory 		2MB (512K Std.)
DRAM Memory 		32MB SIMM (16MB Std.)
EEPROM 			8K

>BKM>sc
****************** SIU              *****************
IMMR             xxxxxxxx  FF000000      SIUMCR           FF000000
00610000
SYPCR            FF000004  FFFFFF88      SWSR             FF00000E
0000
SIPEND           FF000010  00000000      SIMASK           FF000014
00400000
SIEL             FF000018  00000000      SIVEC            FF00001C
3C000000
TESR             FF000020  00000000      SDCR             FF000030
00004001

****************** UPM_A            *****************
UPMA_T0          FF00017C  0FF3FC00      UPMA_T1          FF00017C
1FF7FC07
UPMA_T2          FF00017C  FFFFFFFF      UPMA_T3          FF00017C
FFFFFFFF
 ......

****************** UPM_B            *****************
UPMB_T0          FF00017C  0FF3CC24      UPMB_T1          FF00017C
0FF3CC04
UPMB_T2          FF00017C  0CF3CC04      UPMB_T3          FF00017C
00F3CC04
UPMB_T4          FF00017C  00F3CC00      UPMB_T5          FF00017C
37F7CC47
UPMB_T6          FF00017C  FFFFFFFF      UPMB_T7          FF00017C
FFFFFFFF
U .....

****************** MEMC             *****************
BR0              FF000100  FFF00801      OR0              FF000104
FFF00760
BR1              FF000108  00000000      OR1              FF00010C
00000000
BR2              FF000110  000000C1      OR2              FF000114
FF000800
BR3              FF000118  00000000      OR3              FF00011C
00000000
BR4              FF000120  03000081      OR4              FF000124
FBF80010
BR5              FF000128  10000401      OR5              FF00012C
FFC00760
BR6              FF000130  00000000      OR6              FF000134
00000000
BR7              FF000138  00000000      OR7              FF00013C
00000000
MAR              FF000164  00000000      MCR              FF000168
0000001B
MAMR             FF000170  0C120111      MBMR             FF000174
2FB20111
MSTAT            FF000178  0000          MPTPR            FF00017A
0800
MDR              FF00017C  FF0C0027

****************** CLOCKS           *****************
SCCRK            FF000380  55CCAA33      SCCR             FF000280
01800000
PLPRCRK          FF000384  55CCAA33      PLPRCR           FF000284
00400000
RSRK             FF000388  55CCAA33      RSR              FF000288
D0000000

****************** SI               *****************
SIMODE           FF000AE0  00000000      SIGMR            FF000AE4
00
SISTR            FF000AE6  00            SICMR            FF000AE7
00
SICR             FF000AEC  00000000      SIRP             FF000AF0
00000000

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: I cann't initialize the OR/BR registers in cpu_init.c??
  2003-10-13  5:15 I cann't initialize the OR/BR registers in cpu_init.c?? wang cheng
@ 2003-10-13 15:16 ` Wolfgang Denk
  2003-10-22  2:04   ` PCI adapter interface using IBM ppc440gp Jeff H. Zhong
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2003-10-13 15:16 UTC (permalink / raw)
  To: wang cheng; +Cc: linuxppc-embedded


In message <3498237a46.37a4634982@rails.com.cn> you wrote:
>
>    I'm porting u-boot-0.4.0 to my WindRiver MDP PRO board now,some
> addressing specifications are listed below.I choose the

You  asked  the  very  same  question  just  two  hours  ago  on  the
U-Boot-users mailing list.


Please read and digest my reply first before sending the same message
to more mailing lists.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"UNIX was not designed to stop you from doing stupid things,  because
that would also stop you from doing clever things."       - Doug Gwyn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* PCI adapter interface using IBM ppc440gp
  2003-10-13 15:16 ` Wolfgang Denk
@ 2003-10-22  2:04   ` Jeff H. Zhong
  2003-10-22 19:56     ` Khai Trinh
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff H. Zhong @ 2003-10-22  2:04 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded, Eugene Surovegin


Hi Dear Wolfgang, Eugene and whole group,

We like to use the pci bus on the 440GP as an adapter interface, not a
host interface. Is there any support for this mode in the linuxppc kernel?

Your input is highly appreciated,

Many thanks in advance,
--Jeff


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: PCI adapter interface using IBM ppc440gp
  2003-10-22  2:04   ` PCI adapter interface using IBM ppc440gp Jeff H. Zhong
@ 2003-10-22 19:56     ` Khai Trinh
  0 siblings, 0 replies; 4+ messages in thread
From: Khai Trinh @ 2003-10-22 19:56 UTC (permalink / raw)
  To: Jeff H. Zhong; +Cc: linuxppc-embedded, Eugene Surovegin


I work for Titan Corporation. Our division made a PCI
board out of the PPC440GP and uses its PCI interface
to talk to either Solaris or Windows Host. We have
embedded linux 4.10.17 running on it.

You can contact Titan Sales at 858-527-4100 or
858-231-4100. Maybe you can get it as a reference
board for your design although we are not really into
the reference design market.

--Khai
--- "Jeff H. Zhong" <jeff@doremilabs.com> wrote:
>
> Hi Dear Wolfgang, Eugene and whole group,
>
> We like to use the pci bus on the 440GP as an
> adapter interface, not a
> host interface. Is there any support for this mode
> in the linuxppc kernel?
>
> Your input is highly appreciated,
>
> Many thanks in advance,
> --Jeff
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-10-22 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-13  5:15 I cann't initialize the OR/BR registers in cpu_init.c?? wang cheng
2003-10-13 15:16 ` Wolfgang Denk
2003-10-22  2:04   ` PCI adapter interface using IBM ppc440gp Jeff H. Zhong
2003-10-22 19:56     ` Khai Trinh

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).