openwrt/target
Robert Marko 8e331dc930 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:
c063e27e02

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:29 +00:00
..
imagebuilder imagebuilder: invoke bundle-libraries.sh w/o buildroot dirs in $PATH 2021-09-01 08:07:25 +00:00
linux ipq40xx: arm: compressed: add appended DTB section 2021-09-01 08:07:29 +00:00
sdk sdk: invoke bundle-libraries.sh w/o buildroot dirs in $PATH 2021-09-01 08:07:25 +00:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define PWM_SUPPORT arch feature flag 2021-09-01 08:07:01 +00:00
Makefile