Widora NEO MTD partitions in DTS only using half flash

Morning All,

Wondering if this is the type of thing that a pull request could/should be created for or if there is some rational behind it. The Widora Neo comes with 32 megs of flash, but the .dts is treating it like it's 16 and leaving you very little space for the overlay partition if you're getting a bit package heavy.

df-h (mind you, I had left git in so it wasn't the most trim build)

/dev/root                13.3M     13.3M         0 100% /rom
tmpfs                    61.6M     28.0K     61.6M   0% /tmp
/dev/mtdblock6            1.3M    228.0K      1.1M  17% /overlay
overlayfs:/overlay        1.3M    228.0K      1.1M  17% /
tmpfs                   512.0K         0    512.0K   0% /dev


partition@30000 {
		label = "u-boot-env";
		reg = <0x30000 0x10000>;

	factory: partition@40000 {
		label = "factory";
		reg = <0x40000 0x10000>;
	partition@50000 {
		label = "firmware";
		reg = <0x50000 0x0fb0000>;

I've been setting that to

partition@50000 {
        label = "firmware";
        reg = <0x50000 0x1fb0000>;

For my builds to get back that extra 16megs.

/dev/root                 9.5M      9.5M         0 100% /rom
tmpfs                    61.4M    472.0K     61.0M   1% /tmp
/dev/mtdblock6           21.0M    684.0K     20.3M   3% /overlay
overlayfs:/overlay       21.0M    684.0K     20.3M   3% /
tmpfs                   512.0K         0    512.0K   0% /dev

Or maybe I have this backwards somehow?

Seems the so called new batch has 32M Flash....mine has 16M.

Your changes to the device tree source file should be correct for your device.

One would also need to change other files in order to build an image correctly.

I'll work on a proper patch when I have time...care to test the resulting firmware?

Just noticed that this device was missing in the ToH, and since it it supported since quite some time, I added a dataentry therefore: https://lede-project.org/toh/hwdata/widora/widora_widora-neo

Please review for correctness and completeness.


thanks!good job :smile:

Neo divided two batches, old is 16+128, the new is 32+128.
all is MByte.
Our english wiki will be perfected in the near future.:grinning: