[PATCH/RFC v7] ARM: boot: Obtain start of physical memory from DTB

Linus Walleij linus.walleij at linaro.org
Tue Jul 21 08:58:59 EDT 2020


On Mon, Jul 20, 2020 at 11:53 AM Arnd Bergmann <arnd at arndb.de> wrote:

> No idea what /exactly/ is going wrong, but I would point out that this is one
> of the platforms that is handled as a special case in the Makefile when
> setting TEXT_OFFSET:
(...)
> textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
> textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
> textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000

But what on earth is this? I just deleted this and the platform
boots just as well.

It was originally added by Stephen in
commit 9e775ad19f52d70a53797b4d0eb740c52b0a9567
"ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs"
to patch around memblocks in the board files in
mach-msm/* These boardfile hacks that seem to relate to this
textofs are now *GONE* but this is still here!

Laura, Stephen, Bjorn: can't we just delete these QCOM
textofs things so as to clean out some confusion?

Or is my APQ8060 odd once again and the rest of the world
crashes if we remove this?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list