Draft
Conversation
Contributor
Author
|
f1f9c7a to
658be7a
Compare
The long-term availability of eMMC is in question. Support a modified EV-SC598-SOM where the SPI flash has been replaced with a NAND part that is pin compatible to evaluate performance on the EV-SC598-SOM. Define two devicetree overlays, for Linux and U-Boot, because the register values are off by one. This will eventually get cleaned up as part of a bigger effort to clean-up Linux and remove the U-Boot devicetrees. Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Contributor
Author
|
Reconfigure the clock tree to improve SPI NAND performance by 25% (4.4 MB/s to 5.5 MB/s). Increase CGU0_ODIV output (oclk_0) from 62.5 MHz to 250 MHz, configure the SPI controller to use oclk_0 as parent, and set spi-max-frequency to 83 MHz (actual: 83.3 MHz). This avoids modifying sclk0_0 which is shared by UARTs, I2C, timers, watchdog, and Ethernet. Since eMMC defaults to oclk_0 and cannot handle 250 MHz, reconfigure it to use dclk_0_half (167 MHz). Also disable eMMC as it is not used in this NAND-only configuration. Tested with: time nanddump /dev/mtd4 -l 1048576 -f /dev/null Signed-off-by: Philip Molloy <philip@philipmolloy.com>
Signed-off-by: Philip Molloy <philip@philipmolloy.com>
8429df3 to
16c7fd9
Compare
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Contributor
Author
|
Contributor
Author
|
The SPI controller driver includes an unused |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use hardware specific driver instead of genericspi-nanddriver and review part-specific supportTest the built-in ECC correction in the NANDEarly tests using
timeandnanddumpadd significant overhead and do not accurately reflect performance.