[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <a5b08af5-ed9d-4adc-a311-35f962233f47@www.fastmail.com>
Date: Mon, 26 Oct 2020 13:11:27 +0000
From: "John Thomson" <git@...nthomson.fastmail.com.au>
To: "Chuanhong Guo" <gch981213@...il.com>, linux-mips@...r.kernel.org
Cc: "Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
"open list" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] MIPS: zboot: put appended dtb into a section
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
Powered by blists - more mailing lists