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] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ