All of lore.kernel.org
 help / color / mirror / Atom feed
From: uwe <uwe.walcher@fd-online.de>
To: linux-mtd@lists.infradead.org
Subject: Question about AMD elan SC520
Date: Mon, 15 Nov 2004 10:15:28 +0100	[thread overview]
Message-ID: <419873B0.9020106@fd-online.de> (raw)

Hi List,
i have a big problem and searching/trying now for some weeks.

Im trying to access the ELAN SC520 bord from Jumptec/Kontron with mtd 
and the sc520cdp.c driver. I am using Kernel 2.6.8.1. When i look at 
/proc/mtd i see

dev:             size              erasesize      name
mtd0:           01000000   00020000      "SC520CDP Flash Banks #0 and #1"
mtd1:           00080000   00020000      "SC520CDP DIL Flash"

Now my Problem. Every time i want to erase the flash (booting Linux with 
an extra disk on the evulation board (/dev/hdb1)) with flash_erase 
/dev/mtd0 i got the message: /dev/mtd0 Permission denied.
ftl_check /dev/mtd0 shows:
Memory region info:
 Region size=8 mb Erase block size=128 kb

No valid erase unit headers !

When the Kernel is booting, i saw the following Message :

-------- snip -----------
hda: SanDisk SDC1-32, CFA DISK drive
<4>hdb: WDC WD800JB-00CRA1, ATA DISK drive
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<4>hda: max request size: 128KiB
<6>hda: 62720 sectors (32 MB) w/1KiB Cache, CHS=490/4/32
<6> hda: hda1
<4>hdb: max request size: 128KiB
<6>hdb: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63
<6> hdb: hdb1 hdb2 hdb3
<6>$Id: ftl.c,v 1.53 2004/08/09 13:55:43 dwmw2 Exp $
<6>NFTL driver: nftlcore.c $Revision: 1.96 $, nftlmount.c $Revision: 1.37 $
<6>INFTL: inftlcore.c $Revision: 1.17 $, inftlmount.c $Revision: 1.14 $
<5>Could not find PAR responsible for SC520CDP Flash Bank #0
<5>Trying default address 0x8400000
<5>Could not find PAR responsible for SC520CDP Flash Bank #1
<5>Trying default address 0x8c00000
<5>SC520 CDP flash device: 0x800000 at 0x8400000
<7>CFI: Found no SC520CDP Flash Bank #0 device at location zero
<5>SC520 CDP flash device: 0x800000 at 0x8c00000
<7>CFI: Found no SC520CDP Flash Bank #1 device at location zero
<5>SC520 CDP flash device: 0x80000 at 0x9800000
<7>CFI: Found no SC520CDP DIL Flash device at location zero
<5>Concatenating MTD devices:
<5>(0): "SC520CDP Flash Bank #0"
<5>(1): "SC520CDP Flash Bank #1"
<5>into device "SC520CDP Flash Banks #0 and #1"

-----------snip------------

Now my Question: On <5> i read:

Could not find PAR responsible for SC520CDP Flash Bank #0

Must i disable the SanDisk SDC1in bios to give the PAR access to the 
flash, or whats wrong ?

Many thanks for your help

by

Uwe Walcher

                 reply	other threads:[~2004-11-15  9:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419873B0.9020106@fd-online.de \
    --to=uwe.walcher@fd-online.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.