From: alfred hitch <alfred.hitch@gmail.com>
To: Vikrant_Basotra <Vikrant_Basotra@satyam.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 File System Problem for ST MICRO ELECTRONICS FLASH
Date: Thu, 21 Apr 2005 10:01:12 -0400 [thread overview]
Message-ID: <29f91651050421070154aa1afc@mail.gmail.com> (raw)
In-Reply-To: <D8595042F3765A4285B848A78A2C2ED1016149@bsdmsg002.corp.satyam.ad>
I am not too sure, but cna u try eraseall on the mtd partition
and then write ur image using netflash or whatever u use ..
also make sure ur jffs2 image was padded correctly.
Cheers,
Alfred
On 4/21/05, Vikrant_Basotra <Vikrant_Basotra@satyam.com> wrote:
> Hello All,
> My board has one 16-bit flash: ST M29W640DB.
>
> M29W640DB (16 bit bus):
>
> 0x00000000-0x00700000 : "Root"
> 0x00700000-0x00720000 : "U-Boot Bootloader"
> 0x00720000-0x01000000 : "Linux Kernel"
>
> When power on, Linux kernel boots from flash and print out info such as:
> "
> ..............................................
> PPP generic driver version 2.4.2
> ..............................................
> EP8248 flash map (size->0x800000 mem->0xFF800000)
> Amd/Fujitsu Extended Query Table v1.3 at 0x0040
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling fast programming due to code brokenness.
> Creating 3 MTD partitions on "EP8248 flash memory":
> 0x00000000-0x00700000 : "Root"
> 0x00700000-0x00720000 : "U-Boot Bootloader"
> 0x00720000-0x01000000 : "Linux Kernel"
>
> ......................................
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x0020 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x22df instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x0008 instead
> Further such events for this erase block will not be printed
> ................................................................
> Further such events for this erase block will not be printed
> JFFS2: Erase block at 0x003a0000 is not formatted. It will be erased
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003c0000: 0x0020 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003c0004: 0x22df instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003c000c: 0x0008 instead
>
> Further such events for this erase block will not be printed
> JFFS2: Erase block at 0x003c0000 is not formatted. It will be erased
> ....................................................................
> ....................................................................
> "
> In u-boot, I entered commands to display memory:
> u-boot=> md 0xff000000
> The magic number 0x1985 IS here!No 0x0020 exists at all!!
>
> It's quite strange!! Why Linux detects 0x0020 instead?
>
> Why U-boot can read the data on flash correctly while linux can't?
>
> Why linux always read all data as 0x0020?
>
> When I simply replace ST M29W640DB with AMD AM29DL640D (the two chips are
> pin-to-pin compatible,) JFFS2 works very fine!
>
> What's the problem?
>
> I don't want to use AMD FLASH, can u suggest me what necessary changes are to be made in the code so that the ST M29W640DB Flash work,
>
> Regards,
> VB
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
next prev parent reply other threads:[~2005-04-21 14:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 11:10 JFFS2 File System Problem for ST MICRO ELECTRONICS FLASH Vikrant_Basotra
2005-04-21 14:01 ` alfred hitch [this message]
[not found] <B2627A2E13B6DE4BADE1746A7DFBFA7E07B7A9@aimsg.corp.audiocodes.com>
2005-04-22 2:47 ` alfred hitch
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=29f91651050421070154aa1afc@mail.gmail.com \
--to=alfred.hitch@gmail.com \
--cc=Vikrant_Basotra@satyam.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox