From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nz-out-0506.google.com ([64.233.162.233]) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1Hf80J-00045v-8u for linux-mtd@lists.infradead.org; Sat, 21 Apr 2007 01:19:24 -0400 Received: by nz-out-0506.google.com with SMTP id i11so2185679nzi for ; Fri, 20 Apr 2007 22:19:21 -0700 (PDT) Message-ID: <002301c783d4$92653480$800101df@WILSONSAMSUNG> From: "Wilson" To: Subject: MTD in a 44B0X borad Date: Sat, 21 Apr 2007 13:18:57 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="big5"; reply-type=original Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all, Please give me a hand.. I need to get it done ASAP... Thanks. I would like to enable MTD in S3C44B0X with NOR flash SST 39VF160. When I erase mtd1, I got the following error messages: /> eraseall /dev/mtd1 MTD_open MTD_ioctl Erasing 4 KibyteMTD_ioctl @ 0 -- 0 % compInternal error: Oops: f9f4e CPU: 0 pc : [<00028f9c>] lr : [<0c7e0ac8>] Not tainted sp : 0c7ffc70 ip : 0c7ffbd8 fp : 00000000 r10: 0c7f0e84 r9 : 00000001 r8 : 0c7f0adc r7 : 00000000 r6 : 00000023 r5 : 00000002 r4 : 0000096c r3 : 000000ff r2 : 00000014 r1 : 0c7ffc80 r0 : 00000023 Flags: nZcv IRQs off FIQs on Mode SVC_32 Segment user Control: 0 Process sh (pid: 30, stackpage=0c3af000) Stack: 0c3affe0: 1) Do I need to modify the lock address 5555/2AAA in jedec_probe.c? 2) Do I need to modify the interrupt table(seems like an interrupt error)? P.S The boot up message of uClinux: (It looks good to me) s3c4510b flash device: 200000 at 1000000 Found: SST 39LF160/VF160 number of JEDEC chips: 1 Creating 2 MTD partitions on "SST39LF160 flash": 0x00000000-0x00160000 : "Reserved for bootloader and kernel (1408kB)" mtd: Giving out device 0 to Reserved for bootloader and kernel (1408kB) 0x00170000-0x001b0000 : "user partition (256K)" mtd: Giving out device 1 to user partition (256K) init_mtdchar: allocated major number 90. init_mtdblock: allocated major number 30. Any other things I missed here? Many Thanks, Wilson