LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-19-2014, 12:03 AM   #1
poplinux
Member
 
Registered: May 2012
Posts: 57

Rep: Reputation: Disabled
Do you have spi flash on Marvell 88F6281 platform?


Dear Sir.

I have a problem for use spi flash on mv6281 board.

spi flash
spansion FL128PIFL

linux kernel
ver 2.6.34

arch/arm/plat-feroceon/mv_drivers_lsp/mv_mtd/sflash.c::sflash_probe_init() are called and this api called register_mtd_chip_driver() with struct sflash_chipdrv.

sflash_chipdrv, see below.
Code:
 89 static struct mtd_chip_driver sflash_chipdrv = {
 90   .probe    = sflash_probe,
 91   .destroy  = sflash_destroy,
 92   .name   = "sflash",
 93   .module   = THIS_MODULE
 94 };

I'm expect will call sflash_probe(). But, is not called.
And can't find spansion FL128PIFL driver on linux source.

Question
1. Why do not called sflash_probe()
2. How can get driver for spansion FL128PIFL

Plase help.

Thank you

Last edited by poplinux; 03-19-2014 at 12:05 AM.
 
Old 03-20-2014, 09:31 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,560

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Is this a new device? Your kernel is 4 years old.
 
Old 03-20-2014, 07:40 PM   #3
poplinux
Member
 
Registered: May 2012
Posts: 57

Original Poster
Rep: Reputation: Disabled
Dear Sir.

Thank's your reply.

I konw that this kernel is old.

But It is a offical kernel in SDK. Can't change kernel version.


Thank you.
 
Old 07-13-2014, 11:36 PM   #4
poplinux
Member
 
Registered: May 2012
Posts: 57

Original Poster
Rep: Reputation: Disabled
Dear everyone.

Yeasterday. I'm modifed the cpu memory map. and now running SPI flash.

This issue was solved.

Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] initramfs fail on Marvell 88F6281 EVB poplinux Linux - Embedded & Single-board computer 3 07-25-2014 04:37 AM
[SOLVED] uboot fail for Marvell 88F6281. poplinux Linux - Hardware 1 07-13-2014 11:41 PM
Unable to Work with SPI FLASH(M25P64) using Microblaze processor,Spartan 6 FPGA manikumar086 Linux - Newbie 0 03-08-2012 04:55 AM
File written, under FreeDOS, on spi flash (formatted as FAT12) is not found in Linux Braiam Linux - Embedded & Single-board computer 2 01-18-2010 01:47 PM
SPI Flash driver (mtd) for Spansion S25FL128P luklem Linux - Embedded & Single-board computer 0 07-30-2009 10:04 AM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration