diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2016-11-23 17:17:05 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-11-24 12:53:18 +0100 |
commit | 49856a4bb5818146d9cf951cb65a0903d3b38fd4 (patch) | |
tree | 6737653befe7c4c0509f2c4e3411f174eb4c7f8f /target/linux/apm821xx/dts | |
parent | 468735c3a2f75f4ae6592608c789d8753f418a84 (diff) | |
download | mtk-20170518-49856a4bb5818146d9cf951cb65a0903d3b38fd4.zip mtk-20170518-49856a4bb5818146d9cf951cb65a0903d3b38fd4.tar.gz mtk-20170518-49856a4bb5818146d9cf951cb65a0903d3b38fd4.tar.bz2 |
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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts')
-rw-r--r-- | target/linux/apm821xx/dts/wndr4700.dts | 1 |
1 files changed, 0 insertions, 1 deletions
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 { |