Home
last modified time | relevance | path

Searched hist:d2e850e961835825492f37346ae76670bf4758f5 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/mips/boot/compressed/
H A Dld.scriptdiff d2e850e961835825492f37346ae76670bf4758f5 Mon Oct 26 13:29:25 CET 2020 Chuanhong Guo <gch981213@gmail.com> MIPS: zboot: put appended dtb into a section

This will make a separated section for dtb appear in ELF, and we can
then use objcopy to patch a dtb into vmlinuz when RAW_APPENDED_DTB
is set in kernel config.

command to patch a dtb:
objcopy --set-section-flags=.appended_dtb=alloc,contents \
--update-section=.appended_dtb=<target>.dtb vmlinuz

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>