Re: MPC8641 based custom board kernel Bug

2013-12-30 Thread Sri Ram Vemulpali
You need to modify the base address of the each node to map in to processor address space. All device nodes in device tree are provisioned with physical addresses in processor domain. You need to understand the device tree structure. Check your specs regarding the I/O mapping of the processor memor

Re: MPC8641 based custom board kernel Bug

2013-12-30 Thread wyang
On 12/26/2013 01:09 PM, Ashish Khetan wrote: Hi, I was trying to port Linux-3.12 for MPC8641 based custom designed board for evaluation purpose. I have been facing a kernel bug at mpic initialization. Is somebody have faced this kind of bugs or can give me any pointer for further steps how to

Re: MPC8641 based custom board kernel Bug

2013-12-26 Thread Ashish Khetan
I am using the defconfig from linux kernel tree and for CCSR in u-boot its F800 so the same i am using in device tree... so my question is - is it unable to parse device tree ? or in device tree some thing need to modify in device tree or in kernel source... please give some light on this...

Re: MPC8641 based custom board kernel Bug

2013-12-26 Thread Sri Ram Vemulpali
Why do not you use deconfig from linux kernel tree. Modify only base address of CCSR (soc node) for child nodes of root in device tree. arch/powerpc/boot/dts/mpc8641_hpcn.dts. Sri On Thu, Dec 26, 2013 at 3:48 AM, Ashish Khetan wrote: > i tried to dig more inside mpic_alloc fails. the function >

Re: MPC8641 based custom board kernel Bug

2013-12-26 Thread Ashish Khetan
i tried to dig more inside mpic_alloc fails. the function of_find_matching_node calls inside from mpic_alloc() should return the node at which pic is connected but it returns NULL. but why? In device tree i am using the following.. may be it will helpful. /dts-v1/; / { model = "MPC8641HPCN";

MPC8641 based custom board kernel Bug

2013-12-25 Thread Ashish Khetan
Hi, I was trying to port Linux-3.12 for MPC8641 based custom designed board for evaluation purpose. I have been facing a kernel bug at mpic initialization. Is somebody have faced this kind of bugs or can give me any pointer for further steps how to solve kernel bugs will be really helpful. here is