From 49856a4bb5818146d9cf951cb65a0903d3b38fd4 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Wed, 23 Nov 2016 17:17:05 +0100 Subject: apm821xx: make it possible to update the dtb partition on the WNDR4700 Currently, the device-tree partition is marked as read-only. Hence, userspace tools like mtd can't write into the partition. This however will be necessary in case the DTB needs to be updated. This patch also adds the kernel.dtb image, so the compiled DTB is exported as a file and available in the binary directory along the firmware images. Note: the u-boot does expects the dtb to be a uimage. To update the dtb manually: 1. copy the generated dtb to the router. 2. mtd erase /dev/mtd2 3. mtd write wndr4700.dtb /dev/mtd2 Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/wndr4700.dts | 1 - 1 file changed, 1 deletion(-) (limited to 'target/linux/apm821xx/dts') diff --git a/target/linux/apm821xx/dts/wndr4700.dts b/target/linux/apm821xx/dts/wndr4700.dts index e0fb4e3..d1a65f3 100644 --- a/target/linux/apm821xx/dts/wndr4700.dts +++ b/target/linux/apm821xx/dts/wndr4700.dts @@ -171,7 +171,6 @@ partition0,2@0x00180000 { label = "device-tree"; reg = <0x00180000 0x00020000>; - read-only; }; partition0,3@0x001a0000 { -- cgit v1.1