[FS#667] ZBT 826 / ZBT 3526 - also available with 32MB fash - possible to add this devices, too ?

LEDE Bugs lede-bugs at lists.infradead.org
Sat Apr 1 11:01:20 PDT 2017


The following task has a new comment added:

FS#667 - ZBT 826 / ZBT 3526 - also available with 32MB fash - possible to add this devices, too ?
User who did this - Piotr Dymacz (pepe2k)

----------
@Mathias

Would it be possible to use the same DTS for all those devices (assuming only difference in flash size: 8/16/32/whatever MB) with use of [[http://lxr.free-electrons.com/source/include/linux/mtd/partitions.h#L23|MTDPART_SIZ_FULL]]? I can't find now if this can work on dts-enabled platforms (but just a quick google search [[http://lists.infradead.org/pipermail/linux-arm-kernel/2015-February/323652.html|gave me this]]), but instead of using something like (and thus providing separate DTS and images just because of different flash size):

	firmware {
		reg = ;
	};

we could use something like:

	firmware {
		reg = ;
	};

And, as the firmware partition is the last one on the device, its size will be expanded to the end (no matter what flash chip size is used) and could save us many additional images/DTS.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=667#comment2292



More information about the lede-bugs mailing list