0

I've got empty 8Mb flash 25VF064C, what I don't use. So can I use it directly with my Pi?

Yes, I mean directly like /dev/mtd*.

If I can, then how? What do I have to install/recompile?

0

UPDATED ANSWER:

Nowadays you can just use device tree overlays what Raspberry Pi firmware supports.

In my case, adding dtoverlay=jedec-spi-nor,flash-spi0-0 to config.txt was enough to pull up /dev/mtd*0


I needed to edit boardconfig in kernel source.

If anyone else wants to get flash chip working, here's the patch: http://mikroskeem.insomnia247.nl/linux/raspberrypi-patches/mtdflash.patch

  • mikroskeem your link is not working could you update it? – Vytautas Matas Prascienius Sep 17 at 19:29
  • I don't have that patch around anymore, but there is way better solution for that now - use device tree. However as I haven't played around with Raspberry Pi-s for a while now, then I don't have any proper answers. – mikroskeem Sep 22 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.