Re: MPC8641 based custom board kernel Bug

2013-12-26 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-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...

[PATCH] mtd: nand: remove pasemi_nand driver

2013-12-26 Thread Olof Johansson
The PA Semi platform is sparsely used these days (with just a handful of known users out there). I'm 100% sure none of them use the MTD NAND driver -- most standard use cases include PCI-e SATA controllers for storage instead, and boot is done from LPC NOR flash. So, there's little reason to keep

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: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2013-12-26 Thread Gerhard Sittig
[ dropping devicetree, we're DMA specific here ] On Tue, Dec 24, 2013 at 16:06 +0400, Alexander Popov wrote: > > --- a/drivers/dma/mpc512x_dma.c > +++ b/drivers/dma/mpc512x_dma.c > [ ... ] > @@ -950,6 +951,7 @@ static int mpc_dma_probe(struct platform_device *op) > INIT_LIST_HEAD(&dma->chan

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2013-12-26 Thread Gerhard Sittig
On Tue, Dec 24, 2013 at 16:06 +0400, Alexander Popov wrote: > > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt > @@ -0,0 +1,55 @@ > +* Freescale MPC512x DMA Controller > + > +[ ... ] > + > +DMA controller node properties: > + > +Required properties: > +- compatible:

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";

[PATCH v3.5 01/19] net: freescale: remove unused compare_addr()

2013-12-26 Thread Ding Tianhong
The function did not be used any more, so remove it. Cc: Li Yang Cc: net...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ding Tianhong --- drivers/net/ethernet/freescale/ucc_geth.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drive

Re: MPC8641 based custom board kernel Bug

2013-12-26 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