public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
@ 2005-03-15 14:01 Bharath
  2005-03-15 14:26 ` Marco Schramel
  0 siblings, 1 reply; 6+ messages in thread
From: Bharath @ 2005-03-15 14:01 UTC (permalink / raw)
  To: u-boot

Hi,
	I am using a PQ2FADS-ZU board with u-boot.I have an option to change
jumpers and DIP Switches for setting the local bus to PCI mode.However
U-boot refuses proceed after Initialising DRAM.I went through the source and
initialises the LSDRAM after reading the BCSR.

Any pointers from the experts here would be really helpful.

TIA,

Cheers,

.Bharath.

In protocol design, perfection has been reached not when there is nothing
left to add, but when there is nothing left to take away. - Networking truth
#12, Ross Callon, RFC 1925 



-----Original Message-----
From: Der Herr Hofrat [mailto:der.herr at hofr.at]
Sent: Saturday, March 12, 2005 4:15 PM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] autostart



HI !

 I have a problem with device initialisation in the kernel (all up and
running
 in u-boot) , so I wanted to have u-boot load the kernel, decompress it but 
 then not actually start it -  reading the u-boot manual I found that one 
 should use autostart no. The sequence I used was:

   setenv ipaddr 192.168.1.250
   setenv serverip 192.168.1.34
   tftpboot 0x350000 vmlinux.PPCBoot
   setenv autostart no 
   bootm 0x350000 

 but that simply kicks up the kernel and ends up in a panic becaues the 
 network and serial port initialization don't work in the kernel which I'm 
 trying to debug that - but I can't seem to stop the kernel with a
breakpoint
 as the xilinx tools (XMD) simply does not set it, so I wanted u-boot to
stop
 at the kernel entry and step it from there - no luck though.

 So how can I get u-boot to just do the decompression but not pass control
to 
 the kernel ?

thx !
hofrat


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer

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

* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
  2005-03-15 14:01 [U-Boot-Users] uboot and Pci in Pq2fads-ZU Bharath
@ 2005-03-15 14:26 ` Marco Schramel
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Schramel @ 2005-03-15 14:26 UTC (permalink / raw)
  To: u-boot

Hi,


>I am using a PQ2FADS-ZU board with u-boot.I have an option to change
>jumpers and DIP Switches for setting the local bus to PCI mode.

Which interface do you use pci or local bus?
If you use pci, you will add the pci stuff (see board: pm828) in your board file and undef the local bus sdram settings . 
Good luck
Marco

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

* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
@ 2005-03-15 14:35 Bharath
  0 siblings, 0 replies; 6+ messages in thread
From: Bharath @ 2005-03-15 14:35 UTC (permalink / raw)
  To: u-boot


 Apologies , 

	I forgot to attach the dump in the last mail ,

Snip
----------------------------------------

U-Boot 1.1.1 (Dec 15 2004 - 15:19:46)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
 - dfbrg 1, corecnf 0x0a, busdf 5, cpmdf 1, plldf 0, pllmf 2
 - vco_out  300000000, scc_clk   75000000, brg_clk   18750000
 - cpu_clk  400000000, cpm_clk  150000000, bus_clk  100000000
 - pci_clk   75000000

CPU:   MPC8260 (HiP7 Rev 13, Mask 0.1 1K49M) at 400 MHz
Board: Motorola PQ2FADS-ZU
DRAM:  32 MB


------------------------------------------------
Stop


Any pointers on this would be really helpful,

TIA,

Cheers,


Bharath



-----Original Message-----
From: Bharath G - CTD , Chennai 
Sent: Tuesday, March 15, 2005 7:32 PM
To: u-boot-users at lists.sourceforge.net
Subject: uboot and Pci in Pq2fads-ZU 


Hi,
	I am using a PQ2FADS-ZU board with u-boot.I have an option to change
jumpers and DIP Switches for setting the local bus to PCI mode.However
U-boot refuses proceed after Initialising DRAM.I went through the source and
initialises the LSDRAM after reading the BCSR.

Any pointers from the experts here would be really helpful.

TIA,

Cheers,

.Bharath.

In protocol design, perfection has been reached not when there is nothing
left to add, but when there is nothing left to take away. - Networking truth
#12, Ross Callon, RFC 1925 



-----Original Message-----
From: Der Herr Hofrat [mailto:der.herr at hofr.at]
Sent: Saturday, March 12, 2005 4:15 PM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] autostart



HI !

 I have a problem with device initialisation in the kernel (all up and
running
 in u-boot) , so I wanted to have u-boot load the kernel, decompress it but 
 then not actually start it -  reading the u-boot manual I found that one 
 should use autostart no. The sequence I used was:

   setenv ipaddr 192.168.1.250
   setenv serverip 192.168.1.34
   tftpboot 0x350000 vmlinux.PPCBoot
   setenv autostart no 
   bootm 0x350000 

 but that simply kicks up the kernel and ends up in a panic becaues the 
 network and serial port initialization don't work in the kernel which I'm 
 trying to debug that - but I can't seem to stop the kernel with a
breakpoint
 as the xilinx tools (XMD) simply does not set it, so I wanted u-boot to
stop
 at the kernel entry and step it from there - no luck though.

 So how can I get u-boot to just do the decompression but not pass control
to 
 the kernel ?

thx !
hofrat


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer

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

* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
@ 2005-03-15 14:39 Rune Torgersen
  0 siblings, 0 replies; 6+ messages in thread
From: Rune Torgersen @ 2005-03-15 14:39 UTC (permalink / raw)
  To: u-boot

If you want to use PCI, try the 8266ADS board port instead (it should be
the same as the PQ2FADS board)
Your boot hangs because it is trying to initialize the local bus SDRAM,
and uou are trying to se it as PCI.


> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net 
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf 
> Of Bharath G - CTD , Chennai
> Sent: Tuesday, March 15, 2005 08:36
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] uboot and Pci in Pq2fads-ZU
> 
> 
> 
>  Apologies , 
> 
> 	I forgot to attach the dump in the last mail ,
> 
> Snip
> ----------------------------------------
> 
> U-Boot 1.1.1 (Dec 15 2004 - 15:19:46)
> 
> MPC8260 Reset Status: External Soft, External Hard
> 
> MPC8260 Clock Configuration
>  - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core 
> Freq 100-300
>  - dfbrg 1, corecnf 0x0a, busdf 5, cpmdf 1, plldf 0, pllmf 2
>  - vco_out  300000000, scc_clk   75000000, brg_clk   18750000
>  - cpu_clk  400000000, cpm_clk  150000000, bus_clk  100000000
>  - pci_clk   75000000
> 
> CPU:   MPC8260 (HiP7 Rev 13, Mask 0.1 1K49M) at 400 MHz
> Board: Motorola PQ2FADS-ZU
> DRAM:  32 MB
> 
> 
> ------------------------------------------------
> Stop
> 
> 
> Any pointers on this would be really helpful,
> 
> TIA,
> 
> Cheers,
> 
> 
> Bharath
> 
> 
> 
> -----Original Message-----
> From: Bharath G - CTD , Chennai 
> Sent: Tuesday, March 15, 2005 7:32 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: uboot and Pci in Pq2fads-ZU 
> 
> 
> Hi,
> 	I am using a PQ2FADS-ZU board with u-boot.I have an 
> option to change
> jumpers and DIP Switches for setting the local bus to PCI mode.However
> U-boot refuses proceed after Initialising DRAM.I went through 
> the source and
> initialises the LSDRAM after reading the BCSR.
> 
> Any pointers from the experts here would be really helpful.
> 
> TIA,
> 
> Cheers,
> 
> .Bharath.
> 
> In protocol design, perfection has been reached not when 
> there is nothing
> left to add, but when there is nothing left to take away. - 
> Networking truth
> #12, Ross Callon, RFC 1925 
> 
> 
> 
> -----Original Message-----
> From: Der Herr Hofrat [mailto:der.herr at hofr.at]
> Sent: Saturday, March 12, 2005 4:15 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] autostart
> 
> 
> 
> HI !
> 
>  I have a problem with device initialisation in the kernel (all up and
> running
>  in u-boot) , so I wanted to have u-boot load the kernel, 
> decompress it but 
>  then not actually start it -  reading the u-boot manual I 
> found that one 
>  should use autostart no. The sequence I used was:
> 
>    setenv ipaddr 192.168.1.250
>    setenv serverip 192.168.1.34
>    tftpboot 0x350000 vmlinux.PPCBoot
>    setenv autostart no 
>    bootm 0x350000 
> 
>  but that simply kicks up the kernel and ends up in a panic 
> becaues the 
>  network and serial port initialization don't work in the 
> kernel which I'm 
>  trying to debug that - but I can't seem to stop the kernel with a
> breakpoint
>  as the xilinx tools (XMD) simply does not set it, so I 
> wanted u-boot to
> stop
>  at the kernel entry and step it from there - no luck though.
> 
>  So how can I get u-boot to just do the decompression but not 
> pass control
> to 
>  the kernel ?
> 
> thx !
> hofrat
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> DISCLAIMER 
> This message and any attachment(s) contained here are 
> information that is confidential, proprietary to HCL Technologies 
> and its customers. Contents may be privileged or otherwise 
> protected by law. The information is solely intended for the 
> individual or the entity it is addressed to. If you are not 
> the intended recipient of this message, you are not authorized to 
> read, forward, print, retain, copy or disseminate this 
> message or any part of it. If you have received this e-mail in error, 
> please notify the sender immediately by return e-mail and 
> delete it from your computer
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=ick
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 

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

* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
@ 2005-03-16  6:58 Bharath
  2005-03-16 18:19 ` Yuli Barcohen
  0 siblings, 1 reply; 6+ messages in thread
From: Bharath @ 2005-03-16  6:58 UTC (permalink / raw)
  To: u-boot

Hi Marco/Rune,

		Thank you very much for the inputs. I tried undef'ing the
Local bus , still dosent seem to work, infact that was the first thing i
did. I have been successful in bringing up u-boot on my target board which
also has a PCI Interface on the local bus (it dosent have a LSDRAM there).
Am i missing something here ? Any BCSR's or PCI registers to be configured
for PQ2? 

Yeah sure will try adding the PCI stuff to this board and see if it works.

I was also wondering if anyone has got PCI working on PQ2FADS-ZU board with
u-boot ?

Thanks once again for the help,

Cheers,

.Bharath.


Reason is not useless, but reason is not enough. [...] Reason and faith are
like two shoes -- you can get a lot further with both than with just one. -
Character on Babylon 5


-----Original Message-----
From: Marco Schramel [mailto:Schramel.Linux at go.bartec.de]
Sent: Tuesday, March 15, 2005 7:56 PM
To: Bharath G - CTD , Chennai; U-BOOT
Subject: Re: [U-Boot-Users] uboot and Pci in Pq2fads-ZU


Hi,


>I am using a PQ2FADS-ZU board with u-boot.I have an option to change
>jumpers and DIP Switches for setting the local bus to PCI mode.

Which interface do you use pci or local bus?
If you use pci, you will add the pci stuff (see board: pm828) in your board
file and undef the local bus sdram settings . 
Good luck
Marco
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer

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

* [U-Boot-Users] uboot and  Pci in Pq2fads-ZU
  2005-03-16  6:58 Bharath
@ 2005-03-16 18:19 ` Yuli Barcohen
  0 siblings, 0 replies; 6+ messages in thread
From: Yuli Barcohen @ 2005-03-16 18:19 UTC (permalink / raw)
  To: u-boot

>>>>> Bharath G writes:

    Bharath> Hi Marco/Rune, Thank you very much for the inputs. I tried
    Bharath> undef'ing the Local bus , still dosent seem to work,

Local bus initialisation is under #ifdef CFG_LSDRAM_BASE so if this is
not defined, the local bus initialisation code won't even be compiled in.

    Bharath> infact that was the first thing i did. I have been
    Bharath> successful in bringing up u-boot on my target board which
    Bharath> also has a PCI Interface on the local bus (it dosent have a
    Bharath> LSDRAM there).  Am i missing something here ? Any BCSR's or
    Bharath> PCI registers to be configured for PQ2?

You have to select PCI or Local bus using jumper JP9. The jumper's
setting is reflected in BCSR3 and used by the code to set some
registers. If JP9 selects Local bus but you try to initialise PCI it
should fail.

-- 
========================================================================
 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] 6+ messages in thread

end of thread, other threads:[~2005-03-16 18:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 14:01 [U-Boot-Users] uboot and Pci in Pq2fads-ZU Bharath
2005-03-15 14:26 ` Marco Schramel
  -- strict thread matches above, loose matches on Subject: below --
2005-03-15 14:35 Bharath
2005-03-15 14:39 Rune Torgersen
2005-03-16  6:58 Bharath
2005-03-16 18:19 ` Yuli Barcohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox