lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201106104848.GA9806@alpha.franken.de>
Date:   Fri, 6 Nov 2020 11:48:48 +0100
From:   Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To:     Chuanhong Guo <gch981213@...il.com>
Cc:     linux-mips@...r.kernel.org,
        John Thomson <git@...nthomson.fastmail.com.au>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] MIPS: zboot: put appended dtb into a section

On Mon, Oct 26, 2020 at 08:29:25PM +0800, 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.
> 
> 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@...il.com>
> ---
> Note:
> This should supersede this patch on linux-mips:
> [2/2] mips: boot compressed: add support for vlinuz ELF DTB [0]
> 
> [0] https://patchwork.kernel.org/project/linux-mips/patch/20201015201100.4130-2-git@johnthomson.fastmail.com.au/
>  
>  arch/mips/boot/compressed/ld.script | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ