aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/311-MIPS-zboot-put-appended-dtb-into-a-section.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: mips: zboot: put appended dtb into a sectionChuanhong Guo2020-10-291-0/+36
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 vmlinuz-dtb Signed-off-by: Chuanhong Guo <gch981213@gmail.com>