From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1KLdCi-0007vw-VX for linux-mtd@lists.infradead.org; Wed, 23 Jul 2008 12:12:25 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KLdCa-00045R-O5 for linux-mtd@lists.infradead.org; Wed, 23 Jul 2008 12:12:16 +0000 Received: from 82-135-208-232.static.zebra.lt ([82.135.208.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2008 12:12:16 +0000 Received: from augulis.darius by 82-135-208-232.static.zebra.lt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2008 12:12:16 +0000 To: linux-mtd@lists.infradead.org From: Darius Subject: XIP Kernel freeze Date: Wed, 23 Jul 2008 15:06:02 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: news List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi All, I'm using XIP kernel on i.MXL board MXLADS V2.0 This board has two 16bit NOR Flahs devices configured as one 32bit memory. Overall 32Mbytes Flash. Memory chips are Spansion S29PL127. kernel freezes when booting on this line from cfi_probe.c: cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); --->>> cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); First two commands are sent successful, but after last one kernel freezes. This happens almost everytime when booting kernel, but not allways. Sometimes, very rare, kernel is booting normaly. When kernel is booted successful, everything works ok - i can write and erase to and from flash memory. Where can be a problem? Is it possible that it is caused by hardware?