public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* MTD in a 44B0X borad
@ 2007-04-21  5:18 Wilson
  2007-04-21 18:53 ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Wilson @ 2007-04-21  5:18 UTC (permalink / raw)
  To: linux-mtd

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MTD in a 44B0X borad
  2007-04-21  5:18 MTD in a 44B0X borad Wilson
@ 2007-04-21 18:53 ` Josh Boyer
  2007-04-23 17:56   ` Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2007-04-21 18:53 UTC (permalink / raw)
  To: Wilson; +Cc: linux-mtd

On 4/21/07, Wilson <callwilson@gmail.com> wrote:
> 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?

Which kernel and mtd-utils versions are these?

josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MTD in a 44B0X borad
  2007-04-21 18:53 ` Josh Boyer
@ 2007-04-23 17:56   ` Wilson
  0 siblings, 0 replies; 3+ messages in thread
From: Wilson @ 2007-04-23 17:56 UTC (permalink / raw)
  To: linux-mtd

Hi Josh,

I use kernel 2.4.20 on uClinux 20030522.  And the mtd-utils version is 
default on uClinux 20030522.

Thanks,
Wilson

----- Original Message ----- 
From: "Josh Boyer" <jwboyer@gmail.com>
To: "Wilson" <callwilson@gmail.com>
Cc: <linux-mtd@lists.infradead.org>
Sent: Sunday, April 22, 2007 2:53 AM
Subject: Re: MTD in a 44B0X borad


> On 4/21/07, Wilson <callwilson@gmail.com> wrote:
>> 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?
>
> Which kernel and mtd-utils versions are these?
>
> josh 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-23 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-21  5:18 MTD in a 44B0X borad Wilson
2007-04-21 18:53 ` Josh Boyer
2007-04-23 17:56   ` Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox