linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* dts file for ep8548A board
@ 2008-09-16  7:42 poornima r
  2008-09-16  9:44 ` John Traill
  0 siblings, 1 reply; 2+ messages in thread
From: poornima r @ 2008-09-16  7:42 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: rpoornar

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

Hi all,



I am working on ep8548A embedded planet board.

I am using mpc8548cds dtb file (mpc8548cds.dts file in
arch/powerpc/boot/dts directory of the kernel source) as my device tree
file.

I am tracing the kernel initilization path through BDI. 

The BDI tracing is hanging in early_init_devtree ( in machine_init
function) if the r3 register (physical pointer to device tree block) is
not set to dtb file loaded location in RAM. 

Once I set the r3 register manually in BDI (rm r3 <dtb file
location>) the kernel is passing machine_init function (passing
early_init_devtree( ) ).

I tried  to statically set r3 register in head_fsl_booke.S 
file by using ori instruction but I was not able to set the r3 value to
dtb file RAM location. 

Are any changes necessary in mps8548cds.dts for ep8548A board?

How do we and where should we set the r3 register value in head_fsl_booke.S file for device tree initilization?



Thanks,

Poornima

 

   



 




      

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

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

* Re: dts file for ep8548A board
  2008-09-16  7:42 dts file for ep8548A board poornima r
@ 2008-09-16  9:44 ` John Traill
  0 siblings, 0 replies; 2+ messages in thread
From: John Traill @ 2008-09-16  9:44 UTC (permalink / raw)
  To: rpoornar; +Cc: linuxppc-dev

Don't know if this helps but ..

The EP boards I've used have an old version of u-boot which don't support passing the device tree address so I've had to build a cuImage.

Cheers.

poornima r wrote:
> Hi all,
> 
> I am working on ep8548A embedded planet board.
> I am using mpc8548cds dtb file (mpc8548cds.dts file in 
> arch/powerpc/boot/dts directory of the kernel source) as my device tree 
> file.
> I am tracing the kernel initilization path through BDI.
> The BDI tracing is hanging in early_init_devtree ( in machine_init 
> function) if the r3 register (physical pointer to device tree block) is 
> not set to dtb file loaded location in RAM.
> Once I set the r3 register manually in BDI (rm r3 <dtb file location>) 
> the kernel is passing machine_init function (passing early_init_devtree( 
> ) ).
> I tried  to statically set r3 register in head_fsl_booke.S  file by 
> using ori instruction but I was not able to set the r3 value to dtb file 
> RAM location.
> Are any changes necessary in mps8548cds.dts for ep8548A board?
> How do we and where should we set the r3 register value in 
> head_fsl_booke.S file for device tree initilization?
> 
> Thanks,
> Poornima
>  
>  
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

-- 
John Traill
Systems Engineer
Network and Computing Systems Group

Freescale Semiconductor UK LTD
Colvilles Road
East Kilbride
Glasgow G75 0TG, Scotland

Tel: +44 (0) 1355 355494
Fax: +44 (0) 1355 261790

E-mail: john.traill@freescale.com

Registration Number: SC262720
VAT Number: GB831329053

[ ] General Business Use
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary

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

end of thread, other threads:[~2008-09-16  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16  7:42 dts file for ep8548A board poornima r
2008-09-16  9:44 ` John Traill

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