Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp357438pxx; Mon, 26 Oct 2020 10:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiUtmX0oRwtNPHV0FVM3ukP7yIw9Ou1UDsd4ABc7GD9WQ76/lFDfM9fY/CtO5IUkKFfBA5 X-Received: by 2002:a05:6402:2073:: with SMTP id bd19mr16148163edb.127.1603731921955; Mon, 26 Oct 2020 10:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603731921; cv=none; d=google.com; s=arc-20160816; b=LbqWvL2Wg/BGVEuba7Jv0CsYE+gYqfxTMoF50hfJ7hMavjiwOGv9QVIKSQRcEl6PKa gm9dmpAKYwkItiIqL1vgbsqaGzRGFf/xJ4M73s+wyD40rD7PS1D8Kl1eILRDVd0gR91K jxBXTSQRKdJTKtvVh+GegdCRekd4PBJo24E68hoF5rx641j/G338Wp+bardWG8eqoQ3h FQWyhrjri5m2LXjfyC0k/4UbPYQg+XMTUe8hHeloWWlyfg01rhbME+k7SR9dNcg0YmsN P5fu59brmzTstEaGG0oPRRsCfW3Ot8E3LilkRy5Sc9x2rseJmA9Urhm01RNQbNx5mW5G 2uzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=jE/sdEfYYfl7ageh2OP4YHEXIU+yjGIFM8hj9fv1juU=; b=tKZ4pprhOOfbYxypw55SR3kWDCxrYLIhWdwAWu51ilY8BAhsDv7TfocrohSzdOausD i6/WVuKh5I9RBZSX8PUmxjbS2al4O+ErjBeb1RcxLUxRYXq7N9gAX622OI/fX5DJZR56 auCfXrTmUua/k0OV6otQcDXzVEA9k8AEKZMGIbsxw00atyoxrYEdJdIi5HQUHkaCPpFP 3QyBjQAkbNh3sTpVf7LBWsf3Ch5e06FJ8/FacjhOvNctl3Ve/uoXkQEnybOAzoaxvf7I lZ6F8EfS+99boNDX+D7gQ7KOcx28LqBsuK11RfJM/iv7PEHbpPusJznghbhPvjPb1REF xEYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.com.au header.s=fm1 header.b=BslkchQb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=TXN289va; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.com.au Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qu4si7596855ejb.611.2020.10.26.10.04.57; Mon, 26 Oct 2020 10:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fastmail.com.au header.s=fm1 header.b=BslkchQb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=TXN289va; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1737621AbgJZNMc (ORCPT + 99 others); Mon, 26 Oct 2020 09:12:32 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42943 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731134AbgJZNMX (ORCPT ); Mon, 26 Oct 2020 09:12:23 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1C116772; Mon, 26 Oct 2020 09:12:22 -0400 (EDT) Received: from imap4 ([10.202.2.54]) by compute1.internal (MEProxy); Mon, 26 Oct 2020 09:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com.au; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm1; bh=jE/sdEfYYfl7ageh2OP4YHEXIU+y jGIFM8hj9fv1juU=; b=BslkchQbCSUTbY8LXI3nznM8fp+gv0tqDMW0V59wBk11 7FhFp5LLlOf8VbYhBRqvPDAE8im8lQWgyamU/JaMcReqQ+ro7wdKERlkB74GbM4G jlKL3d8krkSNkta3zcYc70nn1On5LgJx1saA9rioNlvZ63ovf+2tblFLRsqDEkDs ge1+x4XJQtfJ/N3EIq3wR3WHgtl9PTaTT6Ej15cb2ZX5rArOWPuqtnuOf6jgdLvf Lrx3hax+i5meO5TSJePcDYZ8m43CJuSuWfjhjvOZZrIppmSMoAAQ70RwILFxjwVw odEGhdTU83wz7uIxwHfxBl0rCl/f6jYiJyV7UTrgJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jE/sdE fYYfl7ageh2OP4YHEXIU+yjGIFM8hj9fv1juU=; b=TXN289va9ks6UmPy79R3D/ rz6doRLzy+uaHQ/1cIFjmrQ3CSdcoydxwwYhxsdH/Ke2zUWwSgSZo/rYEVEllQb7 DlXXCka8JkzbqZdom3iqzoKsH5UniM0ImEO+wtoyT+ySRhINCYYHXENhdpkeB1sg bIXiQ5TL/KglU0/egxens/pf4dcxfnFQ2L/qOBnZm9MRdkhKdsF+NP09C+Bg8KD1 BhJMm83Ad9I0ATA88foVOxrEVUxscOwhFIeGkR0U3kXDic2dSUUX5i/ZPMjCOom0 +NC83/FRomJd6mi1KvUZryDddbBM0B291n2J4SIwVqar2WSnbQyHtjN4Gqz2Xd6Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeejgdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedflfhohhhn ucfvhhhomhhsohhnfdcuoehgihhtsehjohhhnhhthhhomhhsohhnrdhfrghsthhmrghilh drtghomhdrrghuqeenucggtffrrghtthgvrhhnpeffuddufeefgeffgffhvdelveduieel leefgefffeegieelkeeifedtvdeuhefftdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehgihhtsehjohhhnhhthhhomhhsohhnrdhfrghsthhm rghilhdrtghomhdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3991E3C00A1; Mon, 26 Oct 2020 09:12:21 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13 Mime-Version: 1.0 Message-Id: In-Reply-To: <20201026122926.1774569-1-gch981213@gmail.com> References: <20201026122926.1774569-1-gch981213@gmail.com> Date: Mon, 26 Oct 2020 13:11:27 +0000 From: "John Thomson" To: "Chuanhong Guo" , linux-mips@vger.kernel.org Cc: "Thomas Bogendoerfer" , "open list" Subject: Re: [PATCH] MIPS: zboot: put appended dtb into a section Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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