From: "Pali Rohár" <pali@kernel.org>
To: "Priyanka Jain (OSS)" <priyanka.jain@oss.nxp.com>
Cc: 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" <u-boot@lists.denx.de>
Subject: Re: [PATCH 7/8] powerpc: mpc85xx: Set TEXT_BASE addresses to real base values
Date: Sat, 4 Jun 2022 15:01:48 +0200 [thread overview]
Message-ID: <20220604130148.d3b67mz32fb5nbkp@pali> (raw)
In-Reply-To: <20220518105114.geqzrmgetdb5mdxt@pali>
On Wednesday 18 May 2022 12:51:14 Pali Rohár wrote:
> On Wednesday 11 May 2022 20:59:24 Pali Rohár wrote:
> > On Monday 25 April 2022 14:31:16 Pali Rohár wrote:
> > > On Monday 25 April 2022 04:27:51 Priyanka Jain (OSS) wrote:
> > > > >-----Original Message-----
> > > > >From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Pali Rohár
> > > > >Sent: Tuesday, April 5, 2022 6:43 PM
> > > > >To: Priyanka Jain <priyanka.jain@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>
> > > > >Cc: u-boot@lists.denx.de
> > > > >Subject: [PATCH 7/8] powerpc: mpc85xx: Set TEXT_BASE addresses to real base
> > > > >values
> > > > >
> > > > >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>
> > > > >---
> > > >
> > > > Kindly rebase to top of tree. There has been changed related configs.
> > > > I am picking patches till 6/8. So just send next version of 7/8 and 8/8
> > >
> > > Done! I rebased 7/8 on top of master and sent V2 to ML. 8/8 in current
> > > version still cleanly applied on 7/8, so I did not resent it. If there
> > > is some issue, please let me know.
> >
> > PING?
>
> Priyanka: PING
PING?
next prev parent reply other threads:[~2022-06-04 13:02 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 [this message]
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
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=20220604130148.d3b67mz32fb5nbkp@pali \
--to=pali@kernel.org \
--cc=agraf@csgraf.de \
--cc=bmeng.cn@gmail.com \
--cc=priyanka.jain@oss.nxp.com \
--cc=qiang.zhao@nxp.com \
--cc=shengzhou.liu@nxp.com \
--cc=sinan@writeme.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).