Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2211 - Increase UniElec U7621-06-256M-16M SPI frequency to 50MHz #7055

Open
openwrt-bot opened this issue Mar 30, 2019 · 2 comments
Open
Labels

Comments

@openwrt-bot
Copy link

user3016863:

According to the [[https://archive.org/details/datasheet_MX25L12805D/page/n23|datasheet]], the flash chip on the UniElec U7621-06-256M-16M board, MX25L12805D, is rated to support 33MHz for READ instructions and 50MHz for FAST_READ instructions.

@openwrt-bot
Copy link
Author

user3016863:

If I increase the SPI frequency to 33MHz by applying the following patch, time dd if=/dev/mtdblock3 of=/dev/null bs=64k decreases from 11.15s to 5.87s:
diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
index 603e2dd2d8..80f10593e5 100644
--- a/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
+++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
@@ -50,7 +50,7 @@
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;

  •   spi-max-frequency = <14000000>;
    
  •   spi-max-frequency = <33000000>;
    
      partitions {
      	compatible = "fixed-partitions";
    

@antermin
Copy link

antermin commented Jan 3, 2024

In #14277 (which features a similar model U7621-01 and same flash chip), the frequency has been increased to 50MHz.

Hopefully U7621-06 can also be patched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants