Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I'm working on a project using an MCS8144. I have built the kernel and flash filing system binaries, and if I load them onto an evaluation board with an ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    39

    Problems with JFFS2 on MCS8144


    Hi

    I'm working on a project using an MCS8144.

    I have built the kernel and flash filing system binaries, and if I load them onto an evaluation board with an M25P128 flash fitted it runs successfully. If I copy the same code to a board fitted with S25FL512S I get the following error "jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0080000: 0x2398 instead". For both flash devices I see the following message:
    Flash Found: 10220

    mcspi spi0.0: S25FL512S (65536 Kbytes)

    Creating 4 MTD partitions on "SPI Flash":

    0x00000000-0x00040000 : "Bootloader"

    0x00040000-0x00080000 : "Enviroment"

    0x00080000-0x00280000 : "bZimage"

    0x00280000-0x04000000 : "RootFS"

    This confirms to me that both flash devices are being identified and setup correctly.

    Can someone please explain why the S25FL512S device won't work?

    Kind regards

    Andrew
    Last edited by AJEllisuk; 08-22-2012 at 03:53 PM.

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Posts
    39
    Hi,

    I have fixed the problem I was having. I had specified the wrong page size for the flash chip I was using.

    Andrew

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •