[OpenWrt-Devel] m25p80: change en25q64 to w25q128
Baptiste Clenet
bapclenet at gmail.com
Tue Jun 30 08:49:42 EDT 2015
Hi,
I assume that if the size of the binary is too big, OpenWRT doesn't
create sysupgrade.bin file.
I've seen that the en25q64 is the default flash memory for the Ralink
MT7628 board. I'm using the w25q128 instead so I change this in the
dts:
m25p80 at 0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q128";
reg = <0 0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
Is that enough for OpenWRT to understand that my memory is twice
bigger? Because it still seems that it thinks my memory is only
8MBytes instead of 16 so the binary is not created
Cheers,
--
Baptiste
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list