Re: [PATCH] MIPS: zboot: put appended dtb into a section

From: John Thomson
Date: Mon Oct 26 2020 - 09:12:43 EST


On Mon, 26 Oct 2020, at 12:29, Chuanhong Guo wrote:
> 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.

Thank you Chuanhong Guo, this worked for me.

I have successfully network boot tested this change on ath79 hardware:
- kernel vmlinuz.bin
then appended DTB, and packed into a uImage (out of kernel tree)
- kernel vmlinuz
then updated ELF DTB appended_dtb section, and ELF booted

Cheers,
--
John Thomson