summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/gemini-sq201.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-17 18:00:10 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-12-09 01:19:22 +0300
commit738a05e673435afb986b53da43befd83ad87ec3b (patch)
tree114bea21c00de6267d95798230a0342588e4ef88 /arch/arm/boot/dts/gemini-sq201.dts
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-738a05e673435afb986b53da43befd83ad87ec3b.tar.xz
ARM: dts: Fix up the D-Link DIR-685 MTD partition info
The vendor firmware was analyzed to get the right idea about this flash layout. /proc/mtd contains: dev: size erasesize name mtd0: 01e7ff40 00020000 "rootfs" mtd1: 01f40000 00020000 "upgrade" mtd2: 00040000 00020000 "rgdb" mtd3: 00020000 00020000 "nvram" mtd4: 00040000 00020000 "RedBoot" mtd5: 00020000 00020000 "LangPack" mtd6: 02000000 00020000 "flash" Here "flash" is obviously the whole device and we know "rootfs" is a bogus hack to point to a squashfs rootfs inside of the main "upgrade partition". We know "RedBoot" is the first 0x40000 of the flash and the "upgrade" partition follows from 0x40000 to 0x1f8000. So we have mtd0, 1, 4 and 6 covered. Remains: mtd2: 00040000 00020000 "rgdb" mtd3: 00020000 00020000 "nvram" mtd5: 00020000 00020000 "LangPack" Inspecting the flash at 0x1f8000 and 0x1fa000 reveals each of these starting with "RGCFG1" so we assume 0x1f8000-1fbfff is "rgdb" of 0x40000. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/gemini-sq201.dts')
0 files changed, 0 insertions, 0 deletions