cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
3,413 Views
Registered: ‎09-02-2008

powerpc xilix-linux with RAM mapped other than zero.

Hi all,

 

I've a system design with SDRAM mapped at 0xf8000000 rather than at 0. what are the changes i should make to successfully boot a kernel..?

 

my design with SDRAM at 0 (64MB) is working file with xilinx git line (2.6.27).  i was using 'make simpleImage.xilinx (where xilinx.dts is my device tree file)

 

i tried to change the link_address in arch/powerpc/boot/wrapper from 0x400000 to 0xf4000000. when i analysed the dump with step mode in xmd, it fails in platform_init() function in arch/powerpc/boot/simpleboot.c

 

may be at

 

/* Only interested in memory based at 0 */
 for (i = 0; i < *na; i++)
  if (*reg++ != 0)
   fatal("Memory range is not based at address 0\n");

 

 

can anyone tell what are the changes i shoud do if my memory ranges from 0xf8000000 to 0xfbffffff..? (64MB)

 

 

 

Device tree file is attached

 

 

Thanks in advance,

Sumesh.

 

 

0 Kudos
Reply
1 Reply
Xilinx Employee
Xilinx Employee
3,407 Views
Registered: ‎09-10-2008

I don't remember, but I remember this topic has been discussed on linuxppc-dev mailing list out in the community.

 

I would search there.  That's pretty custom so I don't tend to do that.

 

Thanks,

John

0 Kudos
Reply