[OpenWrt-Devel] m25p80: change en25q64 to w25q128

Baptiste Clenet bapclenet at gmail.com
Tue Jun 30 09:58:39 EDT 2015


2015-06-30 15:56 GMT+02:00 Rafał Miłecki <zajec5 at gmail.com>:
> On 30 June 2015 at 14:49, Baptiste Clenet <bapclenet at gmail.com> wrote:
>> 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
>
> OpenWrt image building system doesn't use DTS as source of hardware info

Ok so why can't the image (squashfs) be more than 4MBytes?
Or where could I configure it?

-- 
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