S26HL/HS-T Semper™ Flash with HyperBus™ Interface under Linux – KBA225114
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Author: GernotH_31 Version: **
Translation - Japanese: LinuxでのHyperBus™インターフェイスを備えたS26HL / HS-T Semper™フラッシュ - KBA225114 - Community Translated (JA)
Question:
How can I add S26HL/HS-T Semper™ flash support to Linux?
Answer:
Cypress’ S26HL/HS-T Semper flash with HyperBus™ interface uses the same command set as classic parallel NOR flash. Therefore, the appropriate Linux MTD driver is the standard driver for AMD/Spansion/Cypress NOR flash devices available under drivers/mtd/chips/cfi_cmdset_0002.c (part of every Linux kernel source tree). Similar to the previous S26KL/KS-S generation, the new Semper devices require status register polling instead of checking legacy toggling status (see KBA218974).
However, the S26HL/HS-T parts also implement some new changes related to the device ID and Common Flash Interface (CFI) information. CFI data has been replaced by Serial Flash Discoverable Parameters (SFDP) data and the device IDs have been moved from address 0 to address 0x800 in the ID/CFI/SFDP overlay mode. This means Linux cannot use the standard CFI probing mechanism to detect S26HL/HS-T Semper devices. Instead, device parameters may either be hard-coded (for example, hard-coded into the JEDEC driver) or retrieved dynamically via the SFDP code.
A Linux patch that implements these changes is available. It is part of the Parallel and HyperBus Flash driver patch that can be downloaded from www.cypress.com.
- Tags:
- driver
- flash
- hyperbus
- hyperflash
- interface
- linux
- mtd
- nor
- parallel
- patch
- polling
- register
- s26hl01gt
- s26hl512t
- s26hs01gt
- s26hs512t
- semper
- serial
- status
- toggling
- write