From: "Pali Rohár" <pali@kernel.org>
To: Tom Rini <trini@konsulko.com>
Cc: "Priyanka Jain (OSS)" <priyanka.jain@oss.nxp.com>,
"Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
Qiang Zhao <qiang.zhao@nxp.com>,
Shengzhou Liu <shengzhou.liu@nxp.com>,
Alexander Graf <agraf@csgraf.de>, Bin Meng <bmeng.cn@gmail.com>,
Wolfgang Denk <wd@denx.de>, Sinan Akman <sinan@writeme.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH v3] powerpc: mpc85xx: Set TEXT_BASE addresses to real base values
Date: Tue, 28 Jun 2022 11:18:34 +0200 [thread overview]
Message-ID: <20220628091834.fztja3bcyxvjz4k5@pali> (raw)
In-Reply-To: <20220623123458.GZ2484912@bill-the-cat>
On Thursday 23 June 2022 08:34:58 Tom Rini wrote:
> On Thu, Jun 23, 2022 at 01:29:10PM +0200, Pali Rohár wrote:
> > On Thursday 16 June 2022 14:19:44 Pali Rohár wrote:
> > > Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE addresses are
> > > manually increased by 0x1000 due to .bootpg section. This section has size
> > > of 0x1000 bytes and is manually put by linker script before .text section
> > > (and therefore before base address) when CONFIG_SYS_MPC85XX_NO_RESETVEC is
> > > set. Due to this fact lot of other config options are manually increased by
> > > 0x1000 value to make correct layout. Note that entry point is not on
> > > CONFIG_SPL_TEXT_BASE (image+0x1000) but it is really on address
> > > CONFIG_SPL_TEXT_BASE-0x1000 (means at the start of the image).
> > >
> > > Cleanup handling of .bootpg section when CONFIG_SYS_MPC85XX_NO_RESETVEC is
> > > set. Put .bootpg code directly into .text section and move text base
> > > address to the start of .bootpg code. And finally remove +0x1000 value from
> > > lot of config options. With this removal custom PHDRS is not used anymore,
> > > so remove it too.
> > >
> > > After this change entry point would be at CONFIG_SPL_TEXT_BASE and not at
> > > address -0x1000 anymore.
> > >
> > > Tested on P2020 board with SPL and proper U-Boot.
> > >
> > > Signed-off-by: Pali Rohár <pali@kernel.org>
> > > ---
> >
> > PING???
> >
>
> Yes, I thought this was part of fsl-qoriq-2022-6-20-v2 but I see it is
> not. I really don't want to see this have problems to apply, again.
> But it probably will if it's not picked up pretty much now. Peng,
> should I grab this for next? Otherwise someone is going to need to grab
> this, edit and recountdiff it for it to apply as it's really not fair to
> ask Pali to rebase it yet again if it doesn't and git also doesn't
> handle it on a rebase.
>
> --
> Tom
Hm... So how to process this?
next prev parent reply other threads:[~2022-06-28 9:18 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 13:12 [PATCH 0/8] powerpc: mpc85xx: Fix and cleanup mpc85xx code Pali Rohár
2022-04-05 13:12 ` [PATCH 1/8] powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support Pali Rohár
2022-04-08 11:04 ` Pali Rohár
2022-04-05 13:12 ` [PATCH 2/8] powerpc: mpc85xx: Remove duplicate u-boot-nand.lds Pali Rohár
2022-04-05 13:12 ` [PATCH 3/8] powerpc: mpc85xx: Remove u-boot-nand_spl.lds Pali Rohár
2022-04-05 13:12 ` [PATCH 4/8] powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script Pali Rohár
2022-04-05 13:12 ` [PATCH 5/8] powerpc: mpc85xx: Put bss after image when not including reset vector Pali Rohár
2022-04-05 13:12 ` [PATCH 6/8] powerpc: mpc85xx: Define linker sections in ascending order Pali Rohár
2022-04-05 13:12 ` [PATCH 7/8] powerpc: mpc85xx: Set TEXT_BASE addresses to real base values Pali Rohár
2022-04-25 4:27 ` Priyanka Jain (OSS)
2022-04-25 12:31 ` Pali Rohár
2022-05-11 18:59 ` Pali Rohár
2022-05-18 10:51 ` Pali Rohár
2022-06-04 13:01 ` Pali Rohár
2022-04-25 12:29 ` [PATCH v2] " Pali Rohár
2022-06-16 8:57 ` Peng Fan (OSS)
2022-06-16 9:30 ` Pali Rohár
2022-06-16 12:19 ` [PATCH v3] " Pali Rohár
2022-06-23 11:29 ` Pali Rohár
2022-06-23 12:34 ` Tom Rini
2022-06-28 9:18 ` Pali Rohár [this message]
2022-06-28 13:42 ` Tom Rini
2022-06-28 14:52 ` Tom Rini
2022-06-28 17:43 ` Pali Rohár
2022-04-05 13:12 ` [PATCH 8/8] board: freescale: p1_p2_rdb_pc: Simplify SPL offset macros Pali Rohár
2022-06-28 17:53 ` [PATCH v2] " Pali Rohár
2022-06-28 18:17 ` Tom Rini
2022-06-28 18:22 ` Pali Rohár
2022-06-28 18:28 ` Tom Rini
2022-06-28 18:34 ` Pali Rohár
2022-06-28 18:39 ` Tom Rini
2022-06-28 18:41 ` Pali Rohár
2022-06-28 18:53 ` Tom Rini
2022-06-28 18:58 ` Pali Rohár
2022-06-28 19:08 ` Tom Rini
2022-06-28 19:13 ` Pali Rohár
2022-04-05 17:03 ` [PATCH 0/8] powerpc: mpc85xx: Fix and cleanup mpc85xx code Sinan Akman
2022-04-05 17:17 ` Pali Rohár
2022-04-05 18:10 ` Sinan Akman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220628091834.fztja3bcyxvjz4k5@pali \
--to=pali@kernel.org \
--cc=agraf@csgraf.de \
--cc=bmeng.cn@gmail.com \
--cc=peng.fan@oss.nxp.com \
--cc=priyanka.jain@oss.nxp.com \
--cc=qiang.zhao@nxp.com \
--cc=shengzhou.liu@nxp.com \
--cc=sinan@writeme.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).