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 /tools/kernel2minor | |
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 'tools/kernel2minor')
0 files changed, 0 insertions, 0 deletions