I checked my changes into cvs, not sure exactly which kernel ipkgs have
the patch. I'll attach the patch file to this message.
This removes the mmc_h3800_irq_timeout messages for me for large mmc
writes. I have still seen them for some large reads, but it's not been
reproducable here.
Performance is greatly improved. I tested with SanDisk and Kingston
cards with no ill effects found.
Piotti Piero wrote:
> If I disturb you, sorry!
> -----Messaggio Inoltrato-----
>
>
>>From: Philip Blundell <pb_at_nexus.co.uk>
>>To: Piotti Piero <p.piotti_at_guttadauro.it>
>>Cc: IpaqList <ipaq_at_handhelds.org>
>>Subject: [iPAQ] Re: 2.4.19 -- 3870
>>Date: 08 Jan 2003 16:33:48 +0000
>>
>>Tim Riker had some MMC patches for an issue a bit like this. I don't
>>know if they were applied, or if so to which branch, but it would be
>>worth checking.
>>
>>p.
>>
>>On Wed, 2003-01-08 at 16:24, Piotti Piero wrote:
>>
>>>Finally I have installed kernel 2.4.19 on my 3870 :-)))
>>>But warning! If I install bootldr > 2.19.8 the asset partition is
>>>erased(!!!!) because the old kernel (2.4.18) don't use mtd_cmdline
>>>correctly. This may cause a crash of kernel.
>>>Now, all work fine. Only mmc give me a problem: I often see this message
>>>------------------------
>>>mmc_h3800_irq_timeout: irq_mask=000b status=0x2040 (FIFO_EMPTY
>>>END_COMMAND_RESP)
>>>Request info:
>>> index 0
>>> cmd 13
>>> arg 0x00010000
>>> rtype 1
>>> nob 0
>>> bl_len 0
>>> buffer 00000000
>>> result -1
>>>------------------------
>>>and program hangs for a second
>>>
>>>I use a MMC Kingston 128Mb in vfat format.
>>>
>>>How can I solve this problem?
>>>
>>>Bye
>>
>>--
>>Philip Blundell <pb_at_nexus.co.uk>
>>_______________________________________________
>>Open Source Software for Compaq iPAQ Handhelds.
>>iPAQ mailing list
>>iPAQ_at_handhelds.org
>>http://handhelds.org/mailman/listinfo/ipaq
>>irc://irc.openprojects.net #ipaq
>
-- Tim Riker - http://rikers.org/ - TimR@Debian.org former Lineo CTO - Tim@Lineo.com - http://www.Lineo.com/ BZFlag maintainer - http://BZFlag.org/ - for fun! diff -u -r1.8 -r1.6 --- arch/arm/mach-sa1100/h3600_asic_mmc.c 17 Dec 2002 06:16:13 -0000 1.8 +++ arch/arm/mach-sa1100/h3600_asic_mmc.c 15 Aug 2002 14:05:07 -0000 1.6 @@ -460,14 +460,14 @@ case MMC_READ_MULTIPLE_BLOCK: mmc_h3800_set_transfer( request->block_len, request->nob ); cdc = MMC_CMD_DATA_CONT_READ | MMC_CMD_DATA_CONT_DATA_ENABLE; - irq = MMC_INT_MASK_ALL; + irq = MMC_INT_MASK_BUFFER_READY | MMC_INT_MASK_DATA_TRANSFER_DONE; g_h3800_data.type = RT_READ; break; case MMC_WRITE_BLOCK: case MMC_WRITE_MULTIPLE_BLOCK: mmc_h3800_set_transfer( request->block_len, request->nob ); cdc = MMC_CMD_DATA_CONT_WRITE | MMC_CMD_DATA_CONT_DATA_ENABLE; - irq = MMC_INT_MASK_ALL; + irq = MMC_INT_MASK_BUFFER_READY | MMC_INT_MASK_PROGRAM_DONE; g_h3800_data.type = RT_WRITE; break; default:Received on Wed Jan 08 2003 - 18:26:19 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:33:21 EDT