Re: fsl-esdhc on P2020 weird endianess behavior

2011-01-24 Thread tiejun.chen
Elie De Brauwer wrote: > On 01/24/11 04:26, tiejun.chen wrote: >> Elie De Brauwer wrote: >>> Hello list, >>> >>> I have a P2020 processor on a custom board which uses the embedded >>> fsl-esdhc controller. Hardware-wise this is functional and in u-boot >>> everything seems to behave (mmc part 0 giv

Re: fsl-esdhc on P2020 weird endianess behavior

2011-01-24 Thread Elie De Brauwer
On 01/24/11 09:15, tiejun.chen wrote: Elie De Brauwer wrote: On 01/24/11 04:26, tiejun.chen wrote: Elie De Brauwer wrote: Hello list, I have a P2020 processor on a custom board which uses the embedded fsl-esdhc controller. Hardware-wise this is functional and in u-boot everything seems to beh

Re: fsl-esdhc on P2020 weird endianess behavior

2011-01-24 Thread tiejun.chen
Elie De Brauwer wrote: > On 01/24/11 09:15, tiejun.chen wrote: >> Elie De Brauwer wrote: >>> On 01/24/11 04:26, tiejun.chen wrote: Elie De Brauwer wrote: > Hello list, > > I have a P2020 processor on a custom board which uses the embedded > fsl-esdhc controller. Hardware-wise t

Re: fsl-esdhc on P2020 weird endianess behavior

2011-01-24 Thread Elie De Brauwer
On 01/24/11 10:28, tiejun.chen wrote: Elie De Brauwer wrote: On 01/24/11 09:15, tiejun.chen wrote: Elie De Brauwer wrote: On 01/24/11 04:26, tiejun.chen wrote: Elie De Brauwer wrote: Hello list, I have a P2020 processor on a custom board which uses the embedded fsl-esdhc controller. Hardwar

[PATCH 1/4 v4] video, sm501: add I/O functions for use on powerpc

2011-01-24 Thread Heiko Schocher
- add read/write functions for using this driver also on powerpc plattforms Signed-off-by: Heiko Schocher cc: linux-fb...@vger.kernel.org cc: devicetree-disc...@ozlabs.org cc: Ben Dooks cc: Vincent Sanders cc: Samuel Ortiz cc: linux-ker...@vger.kernel.org cc: Randy Dunlap cc: Paul Mundt -

[PATCH 2/4 v4] video, sm501: add edid and commandline support

2011-01-24 Thread Heiko Schocher
- add commandline options: sm501fb.mode: Specify resolution as "x[-][@]" sm501fb.bpp: Specify bit-per-pixel if not specified mode - Add support for encoding display mode information in the device tree using verbatim EDID block. If the "edid" entry in the "smi,sm501" node is presen

[PATCH 3/4 v4] video, sm501: add OF binding to support SM501

2011-01-24 Thread Heiko Schocher
- add binding to OF, compatible name "smi,sm501" Signed-off-by: Heiko Schocher cc: linux-fb...@vger.kernel.org cc: devicetree-disc...@ozlabs.org cc: Ben Dooks cc: Vincent Sanders cc: Samuel Ortiz cc: linux-ker...@vger.kernel.org cc: Randy Dunlap cc: Paul Mundt --- - changes since v1: add

[PATCH 4/4 v4] powerpc, video: add SM501 support for charon board.

2011-01-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher cc: linux-fb...@vger.kernel.org cc: devicetree-disc...@ozlabs.org cc: Ben Dooks cc: Vincent Sanders cc: Samuel Ortiz cc: linux-ker...@vger.kernel.org --- - changes since v1: - no board specific defconfig file for mpc52xx based boards as suggested from Wolfra

Re: BootX

2011-01-24 Thread kevin diggs
Hi, I've never done any real kernel debugging. Can anyone give any pointers on how to do early boot debugging on an old world (buggy OF) powermac? Can I do anything using a serial console? A little reading last night suggested that spinlocks are supposed to disappear for single processor machines

FSL DMA engine transfer to PCI memory

2011-01-24 Thread Felix Radensky
Hi, I'm trying to use FSL DMA engine to perform DMA transfer from memory buffer obtained by kmalloc() to PCI memory. This is on custom board based on P2020 running linux-2.6.35. The PCI device is Altera FPGA, connected directly to SoC PCI-E controller. 01:00.0 Unassigned class [ff00]: Altera Cor

Re: FSL DMA engine transfer to PCI memory

2011-01-24 Thread Scott Wood
On Mon, 24 Jan 2011 23:47:22 +0200 Felix Radensky wrote: > static int dma_transfer(struct dma_chan *chan, void *dst, void *src, > size_t len) > { > int rc = 0; > dma_addr_t dma_src; > dma_addr_t dma_dst; > dma_cookie_t cookie; > struct completion cmp; > enum dma_sta

Re: FSL DMA engine transfer to PCI memory

2011-01-24 Thread Ira W. Snyder
On Mon, Jan 24, 2011 at 11:47:22PM +0200, Felix Radensky wrote: > Hi, > > I'm trying to use FSL DMA engine to perform DMA transfer from > memory buffer obtained by kmalloc() to PCI memory. This is on > custom board based on P2020 running linux-2.6.35. The PCI > device is Altera FPGA, connected dir

Re: FSL DMA engine transfer to PCI memory

2011-01-24 Thread Felix Radensky
Hi Ira, Scott On 01/25/2011 12:26 AM, Ira W. Snyder wrote: On Mon, Jan 24, 2011 at 11:47:22PM +0200, Felix Radensky wrote: Hi, I'm trying to use FSL DMA engine to perform DMA transfer from memory buffer obtained by kmalloc() to PCI memory. This is on custom board based on P2020 running linux-2

Re: FSL DMA engine transfer to PCI memory

2011-01-24 Thread Ira W. Snyder
On Tue, Jan 25, 2011 at 01:39:39AM +0200, Felix Radensky wrote: > Hi Ira, Scott > > On 01/25/2011 12:26 AM, Ira W. Snyder wrote: > > On Mon, Jan 24, 2011 at 11:47:22PM +0200, Felix Radensky wrote: > >> Hi, > >> > >> I'm trying to use FSL DMA engine to perform DMA transfer from > >> memory buffer o

Re: About mpc85xx flash memory allocation

2011-01-24 Thread Mitsutaka Amano
On Tue, Jan 25, 2011 at 11:05 AM, tiejun.chen wrote: > Mitsutaka Amano wrote: >> On Mon, Jan 24, 2011 at 3:48 PM, tiejun.chen >> wrote: >>> Mitsutaka Amano wrote: Hi all, I'm testing the ppc platform is based on mpc85xx. 256MB Flash memory has been installed. Then I found thi

Re: BootX

2011-01-24 Thread kevin diggs
Hi, 4.2.4 does NOT work. 4.1.2 DOES work. Is there some magic PowerPC specific gcc patch somewhere? Should I reorient the computer relative to the planet's magnetic field when I compile with newer gcc? A magic handshake? what? Is anyone using a compiler newer than 4.1.2? Sorry, but I do not kn

Re: [PATCH 3/4 v4] video, sm501: add OF binding to support SM501

2011-01-24 Thread Paul Mundt
On Mon, Jan 24, 2011 at 10:57:38AM +0100, Heiko Schocher wrote: > - changes since v1: > add Ben Dooks, Vincent Sanders and Samuel Ortiz to cc, as suggested from > Paul Mundt. > - changes since v2: > add comments from Randy Dunlap: > - move parameter documentation to Documentation/fb/sm501.t

[PATCH] e500: Erratum cpu a005 workaround

2011-01-24 Thread Liu Yu
This errata can occur if a single-precision floating-point, double-precision floating-point or vector floating-point instruction on a mispredicted branch path signals one of the floating-point data interrupts which are enabled by the SPEFSCR (FINVE, FDBZE, FUNFE or FOVFE bits). This interrupt must

[PATCH 4/4 v5] powerpc, video: add SM501 support for charon board.

2011-01-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher cc: linux-fb...@vger.kernel.org cc: devicetree-disc...@ozlabs.org cc: Ben Dooks cc: Vincent Sanders cc: Samuel Ortiz cc: linux-ker...@vger.kernel.org cc: Paul Mundt --- - changes since v1: - no board specific defconfig file for mpc52xx based boards as suggested

Re: [PATCH 4/4 v5] powerpc, video: add SM501 support for charon board.

2011-01-24 Thread Paul Mundt
On Tue, Jan 25, 2011 at 07:45:46AM +0100, Heiko Schocher wrote: > @@ -197,6 +198,15 @@ > #address-cells = <1>; > }; > > + display@1,0 { > + compatible = "smi,sm501"; > + reg = <1 0x 0x0080 > +

Re: [PATCH 4/4 v5] powerpc, video: add SM501 support for charon board.

2011-01-24 Thread Heiko Schocher
Hello Paul, Paul Mundt wrote: > On Tue, Jan 25, 2011 at 07:45:46AM +0100, Heiko Schocher wrote: >> @@ -197,6 +198,15 @@ >> #address-cells = <1>; >> }; >> >> +display@1,0 { >> +compatible = "smi,sm501"; >> +reg

Re: [PATCH] e500: Erratum cpu a005 workaround

2011-01-24 Thread Kumar Gala
On Jan 25, 2011, at 12:02 AM, Liu Yu wrote: > This errata can occur if a single-precision floating-point, double-precision > floating-point or vector floating-point instruction on a mispredicted branch > path signals one of the floating-point data interrupts which are enabled by > the > SPEFSCR

[PATCH 3/4 v4] video, sm501: add OF binding to support SM501

2011-01-24 Thread Heiko Schocher
- add binding to OF, compatible name "smi,sm501" Signed-off-by: Heiko Schocher cc: linux-fb...@vger.kernel.org cc: devicetree-disc...@ozlabs.org cc: Ben Dooks cc: Vincent Sanders cc: Samuel Ortiz cc: linux-ker...@vger.kernel.org cc: Randy Dunlap cc: Paul Mundt --- - changes since v1: add

Re: [PATCH 3/4 v4] video, sm501: add OF binding to support SM501

2011-01-24 Thread Paul Mundt
On Tue, Jan 25, 2011 at 08:20:31AM +0100, Heiko Schocher wrote: > @@ -1934,7 +1943,29 @@ static int __devinit sm501fb_probe(struct > platform_device *pdev) > } > > if (info->pdata == NULL) { > - dev_info(dev, "using default configuration data\n"); > + int foun

Re: [PATCH 2/4 v4] video, sm501: add edid and commandline support

2011-01-24 Thread Paul Mundt
On Mon, Jan 24, 2011 at 10:57:27AM +0100, Heiko Schocher wrote: > @@ -1884,7 +1935,6 @@ static int __devinit sm501fb_probe(struct > platform_device *pdev) > > if (info->pdata == NULL) { > dev_info(dev, "using default configuration data\n"); > - info->pdata = &sm50