[FS#337] ramips: Review DIR-610 A1 .dts partitions

LEDE Bugs lede-bugs at lists.infradead.org
Tue Dec 13 00:24:00 PST 2016


The following task has a new comment added:

FS#337 - ramips: Review DIR-610 A1 .dts partitions
User who did this - Mathias Kresin (mkresin)

----------
> * does ‘devconf’ needs to be there? (devdata seems to be used: “[ 12.413503] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “devdata”)

LEDE loads something from this partition. Therefore it is required.

> Also note that while flashing back to OEM I had all my settings recovered. So “devconf” looks like a dlink conf partition.
> * What about langpack?

Well, none of the partitions exist in LEDE, they are only required by the D-Link firmware. LEDE uses this portion of the flash for kernel+rootfs. I'm not really sure what you asking here.

> * What’s “boot env” and why don’t we declare it? 

boot env is usually the partition where u-boot stores it's settings. But the whole partitioning scheme of the D-Link firmware is broken.

The wireless calibration data are stored at 0x34000, which is in the u-boot env **and** devdata partition of the OEM firmware. That doesn't make any sense since the wireless data are unrelated to the u-boot env.

It's just the usual hacked/broken OEM firmware thing. Bits are shifted by the OEM till it somehow works. Regardless whether it makes sense or not.
----------

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



More information about the lede-bugs mailing list