MPC8313: fsl_elbc_nand and MDR

2010-04-26 Thread Ron Madrid
I am having what appears to be a little conflict with this driver, particularly with the MDR. My hardware uses NAND flash and an FPGA connected through the UPM. After the kernel is up and running, sometimes I cannot verify the data in the UPM RAM array. I am guessing right now that this is due

Re: MPC8313: fsl_elbc_nand and MDR

2010-04-26 Thread Ron Madrid
From: Scott Wood scottw...@freescale.com Subject: Re: MPC8313: fsl_elbc_nand and MDR To: Ron Madrid ron_mad...@sbcglobal.net Cc: linuxppc-...@ozlabs.org Date: Monday, April 26, 2010, 11:34 AM Ron Madrid wrote: I am having what appears to be a little conflict with this driver

Re: MPC8313: fsl_elbc_nand and MDR

2010-04-26 Thread Ron Madrid
From: Scott Wood scottw...@freescale.com Subject: Re: MPC8313: fsl_elbc_nand and MDR To: Ron Madrid ron_mad...@sbcglobal.net Cc: linuxppc-...@ozlabs.org Date: Monday, April 26, 2010, 12:10 PM Ron Madrid wrote: When you say current UPM code are you talking about fsl_upm.c? Cause that's

Re: MPC8313: fsl_elbc_nand and MDR

2010-04-26 Thread Ron Madrid
From: Anton Vorontsov cbouatmai...@gmail.com Subject: Re: MPC8313: fsl_elbc_nand and MDR To: Scott Wood scottw...@freescale.com Cc: linuxppc-...@ozlabs.org, Ron Madrid ron_mad...@sbcglobal.net Date: Monday, April 26, 2010, 12:29 PM On Mon, Apr 26, 2010 at 02:28:00PM -0500, Scott Wood wrote

JFFS2 warnings

2010-03-01 Thread Ron Madrid
I'm getting a bunch of these after I 'reboot' or 'poweroff' several times. Empty flash at 0x0056205c ends at 0x00562800 Empty flash at 0x00565334 ends at 0x00565800 Empty flash at 0x00576104 ends at 0x00576800 JFFS2 notice: (848) check_node_data: wrong data CRC in data node at 0x00577034: read

Question about inclusion in mainline

2010-02-05 Thread Ron Madrid
Quick question. I have a 8313 based custom board. If I wanted to include my config file and dts into mainline are there any restrictions or requirements? Just curious. Thanks, please let me know. Ron ___ Linuxppc-dev mailing list

Bus Error on MPC8313

2009-11-13 Thread Ron Madrid
I wrote a custom driver for an MPC8313 based board. Everything seems to have been working for a long time, but now one of my IOCTL functions seems to be having a problem. I'm getting a Bus error reported by my application and also a kernel Oops. Here's what the kernel is reporting. Oops:

Re: Bus Error on MPC8313

2009-11-13 Thread Ron Madrid
--- On Fri, 11/13/09, Scott Wood scottw...@freescale.com wrote: From: Scott Wood scottw...@freescale.com Subject: Re: Bus Error on MPC8313 To: Ron Madrid ron_mad...@sbcglobal.net Cc: linuxppc-...@ozlabs.org Date: Friday, November 13, 2009, 11:33 AM Ron Madrid wrote: I wrote a custom

Re: Bus Error on MPC8313

2009-11-13 Thread Ron Madrid
--- On Fri, 11/13/09, Scott Wood scottw...@freescale.com wrote: And when this does happen in usually causes a lockup, so I haven't been able to check the status of any arbiter registers. The system is up long enough to print an oops; you could stick some output in the trap handler.

USB drivers

2009-04-01 Thread Ron Madrid
I have a custom board based on the MPC8313ERDB and have communications capabilities over Ethernet using internet sockets. Basically, just data transfer from the host (my board) to a client (a PC). I want to be able to perform similar transactions across USB. I have done some cursory reading

Re: Bootlog bug?

2009-03-30 Thread Ron Madrid
--- On Thu, 3/26/09, Michael Ellerman mich...@ellerman.id.au wrote: From: Michael Ellerman mich...@ellerman.id.au Subject: Re: Bootlog bug? To: ron_mad...@sbcglobal.net Cc: linuxppc-dev@ozlabs.org Date: Thursday, March 26, 2009, 3:51 PM On Thu, 2009-03-26 at 11:25 -0700, Ron Madrid wrote

Bootlog bug?

2009-03-26 Thread Ron Madrid
I have a little problem with my boot messages. I'm not sure what this is, but does anyone have any ideas as to what it could be or what further information I could give to help track this down. As of now this is not manifesting itself, but I don't know what it might do. Using MPC831x RDB

Problem building kernel

2008-12-11 Thread Ron Madrid
Hello all, I got the latest kernel from git://git.denx.de/linux-2.6-denx.git and after configuring with menuconfig I am seeing these errors. I feel like this could be something simple that I am just unaware of, but I'm not sure and haven't been able to find anything useful when doing a web

Re: Problem building kernel

2008-12-11 Thread Ron Madrid
Thank you. That took care of it. I knew it was something small. Ron - Original Message From: Kumar Gala ga...@kernel.crashing.org To: Ron Madrid ron_mad...@sbcglobal.net Cc: linuxppc-dev@ozlabs.org Sent: Thursday, December 11, 2008 4:21:26 PM Subject: Re: Problem building

[PATCH] Add support for Marvell 88E1118 PHY

2008-11-05 Thread Ron Madrid
This patch will add support for the Marvell 88E1118 PHY which supports gigabit ethernet among other things. Signed-off-by: Ron Madrid [EMAIL PROTECTED] --- drivers/net/phy/marvell.c | 66 + 1 files changed, 66 insertions(+), 0 deletions(-) diff

Re: [PATCH] Add support for Marvell 88E1118 PHY

2008-11-05 Thread Ron Madrid
Thank you. I will send it to the netdev list. Ron Madrid - Original Message From: Kumar Gala [EMAIL PROTECTED] To: Ron Madrid [EMAIL PROTECTED] Cc: linuxppc-dev@ozlabs.org Sent: Wednesday, November 5, 2008 3:33:55 PM Subject: Re: [PATCH] Add support for Marvell 88E1118 PHY

Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Scott, I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't the main linux-2.6 repository? If it didn't I think I might have a solution. BTW I'm using 2.6.26-rc8 Ron

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
} }, + .oobfree = { {2, 6}, {11, 13}, {27, 13}, {43, 13}, {59, 5} }, .oobavail = 48, }; Ron --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Thank you (once again). I found the information. Ron --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: /* Large Page FLASH with FMR[ECCM] = 0 */ static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = { .eccbytes = 12, .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56

Re: Using DMA interrupt on MPC8313

2008-06-16 Thread Ron Madrid
. In your driver how are you getting the IRQ value that you pass to request_irq? - k On Jun 13, 2008, at 6:52 PM, Ron Madrid wrote: I don't know why request_irq is succeeding when the fsldma and dmaengine drivers are installed. I'm using the same dts in both cases. Ron

Re: Using DMA interrupt on MPC8313

2008-06-16 Thread Ron Madrid
= 71 0x8; }; }; --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: Here's my code. There are a few other things that happen but they are inconsequential to this problem. I'm sure that the request_irq call is right, especially since it works

Re: Using DMA interrupt on MPC8313

2008-06-16 Thread Ron Madrid
Thank you for the help (again). I've got my driver registering the isr on it's own now. In the end the problem was the dts and also not using irq_of_parse_and_map. Ron --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: I don't see a dma node in the mpc8377mds.dts (2.6.25). I found

Re: Using DMA interrupt on MPC8313

2008-06-13 Thread Ron Madrid
On Jun 12, 2008, at 3:04 PM, Ron Madrid wrote: Well in that case wouldn't I need to use the fsldma driver? Or is dmaengine a generic dma driver? Ron --- Kumar Gala [EMAIL PROTECTED] wrote: On Jun 12, 2008, at 2:35 PM, Ron Madrid wrote: I'm trying to write a driver

Re: Using DMA interrupt on MPC8313

2008-06-13 Thread Ron Madrid
? - k On Jun 13, 2008, at 2:02 PM, Ron Madrid wrote: So after I've built the kernel to include the dmaengine and fsldma drivers, my driver is allowed to register its ISR via request_irq. However, if these drivers are not installed then request_irq fails in my driver. So

Re: Using DMA interrupt on MPC8313

2008-06-13 Thread Ron Madrid
So are you implying that the request_irq function should work without any other initialization function before it? Ron --- Timur Tabi [EMAIL PROTECTED] wrote: Ron Madrid wrote: I don't know why request_irq is succeeding when the fsldma and dmaengine drivers are installed. I'm using

Using DMA interrupt on MPC8313

2008-06-12 Thread Ron Madrid
I'm trying to write a driver that would make use of the DMA on the MPC8313. I'm attempting to register the interrupt with request_irq but it is not passing. Is there something that I need to do before I call request_irq, maybe in the dts or somewhere else? Ron

Re: Using DMA interrupt on MPC8313

2008-06-12 Thread Ron Madrid
Well in that case wouldn't I need to use the fsldma driver? Or is dmaengine a generic dma driver? Ron --- Kumar Gala [EMAIL PROTECTED] wrote: On Jun 12, 2008, at 2:35 PM, Ron Madrid wrote: I'm trying to write a driver that would make use of the DMA on the MPC8313. I'm attempting

JFFS2 problem, still

2008-05-29 Thread Ron Madrid
marker, and so on. This is causing a large problem as now my blocks are being marked as bad. So my second question is, where is the code that performs this formatting of the NAND device immediately after mounting of the rootfs? Ron Madrid ___ Linuxppc

Re: JFFS2 FS not writeable

2008-05-28 Thread Ron Madrid
--- Scott Wood [EMAIL PROTECTED] wrote: You may want to try increasing the OR[SCY] field or other timing parameters associated with the NAND flash. So are you saying that when this happened in the past it was a timing issue? This change would need to happen in u-boot correct? Ron

Re: JFFS2 FS not writeable

2008-05-28 Thread Ron Madrid
could point me in the right direction. Let me know if I'm off base here, but I think this is where my problem is. Ron Madrid ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: JFFS2 FS not writeable

2008-05-27 Thread Ron Madrid
--- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: I'm trying to make new directories, create files, save changes to files, etc. and when I reboot my changes are not being saved. I'm sorry if this is vague, but I haven't run into this problem before in previous kernels. I'm using

Re: JFFS2 FS not writeable

2008-05-27 Thread Ron Madrid
In which function should I start searching for this problem? What would cause a block to be marked bad? Ron --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: I have tried the latest code and now, I'm able to write a limited amount. After which when I reboot, more than 100