diff options
author | Robert Marko <robimarko@gmail.com> | 2020-10-30 13:58:29 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-01-17 14:23:05 +0100 |
commit | b6461e46549b613480c1516d42527a6756ec7df7 (patch) | |
tree | bd9be5e429b02cbac36001c40e1440a4194507fc /target/linux/archs38/generic | |
parent | 43539a6aabbee86b5fb2fbb5c36c477407d98765 (diff) | |
download | upstream-b6461e46549b613480c1516d42527a6756ec7df7.tar.gz upstream-b6461e46549b613480c1516d42527a6756ec7df7.tar.bz2 upstream-b6461e46549b613480c1516d42527a6756ec7df7.zip |
ipq40xx: arm: compressed: add appended DTB section
This adds a appended_dtb section to the ARM decompressor
linker script.
This allows using the existing ARM zImage appended DTB support for
appending a DTB to the raw ELF kernel.
Its size is set to 1MB max to match the zImage appended DTB size limit.
To use it to pass the DTB to the kernel, objcopy is used:
objcopy --set-section-flags=.appended_dtb=alloc,contents \
--update-section=.appended_dtb=<target>.dtb vmlinux
This is based off the following patch:
https://github.com/openwrt/openwrt/commit/c063e27e02a9dcac0e7f5877fb154e58fa3e1a69
Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/archs38/generic')
0 files changed, 0 insertions, 0 deletions