mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Linus Walleij" <linus.walleij@linaro.org>,
	"Karl Chan" <exxxxkc@getgoogleoff.me>,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Will Deacon" <will@kernel.org>
Cc: linux-arm-msm@vger.kernel.org,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	krzk+dt@kernel.org, "Conor Dooley" <conor+dt@kernel.org>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Stephen Boyd" <sboyd@kernel.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-clk@vger.kernel.org,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v6 0/5] Initial Support for Linksys EA9350 V3 (linksys-jamaica)
Date: Mon, 07 Oct 2024 22:00:04 +0000	[thread overview]
Message-ID: <ad82005d-729d-4165-afa5-61ca82382bc5@app.fastmail.com> (raw)
In-Reply-To: <CACRpkdbj8fkQf38n0t-==cFZj55TPgoTGM-dzESWgeRGfPHofQ@mail.gmail.com>

On Mon, Oct 7, 2024, at 20:23, Linus Walleij wrote:
> On Mon, Oct 7, 2024 at 6:35 PM Karl Chan <exxxxkc@getgoogleoff.me> wrote:
>
> Starting kernel ...
>
> undefined instruction
> pc : [<41208004>]          lr : [<4a921f8f>]
> reloc pc : [<41208004>]    lr : [<4a921f8f>]
> sp : 4a822838  ip : 00000001     fp : 00000000
> r10: 4a83b914  r9 : 4a822ea0     r8 : 00000000
> r7 : 00000000  r6 : 41208000     r5 : 4a97d848  r4 : 00000000
> r3 : 644d5241  r2 : 4a0ae000     r1 : 08040001  r0 : 00000000
> Flags: nzCV  IRQs off  FIQs off  Mode SVC_32
> Resetting CPU ...
>
> resetting ...
>
> So perhaps someone knows how we can get around this.
>
> It seems to me the U-Boot is in 32bit mode and tries to just
> execute an Aarch64 binary and that doesn't work.
>
> What we need is a 32bit mode preamble that can switch
> the machine to Aarch64 and continue.

I found this older patch for u-boot about a similar problem
on sunxi machines:

https://patchwork.ozlabs.org/project/uboot/patch/1480902750-839-12-git-send-email-andre.przywara@arm.com/#1528602

Karl, do you have the u-boot sources for this board? I found
a source tarball for kernel (both in 32-bit and 64-bit
mode) and userland on this machines at

https://support.linksys.com/kb/article/316-en/

but the u-boot sources in there don't seem to match the binary
(they are only used to build the u-boot tools, but not the
actual loader). Is this the same base you are working from,
or do you have something else beyond that?

      Arnd

  parent reply	other threads:[~2024-10-07 22:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 16:34 Karl Chan
2024-10-07 16:34 ` [PATCH v6 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
2024-10-07 18:11   ` Krzysztof Kozlowski
2024-10-07 16:34 ` [PATCH v6 2/5] arm64: dts: " Karl Chan
2024-10-07 17:28   ` Dmitry Baryshkov
2024-10-07 16:34 ` [PATCH v6 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32 Karl Chan
2024-10-07 17:25   ` Dmitry Baryshkov
2024-10-07 16:34 ` [PATCH v6 4/5] pinctrl: " Karl Chan
2024-10-07 17:26   ` Dmitry Baryshkov
2024-10-07 16:34 ` [PATCH v6 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
2024-10-07 17:26   ` Dmitry Baryshkov
2024-10-07 20:23 ` [PATCH v6 0/5] Initial Support for Linksys EA9350 V3 (linksys-jamaica) Linus Walleij
2024-10-07 21:52   ` Konrad Dybcio
2024-10-07 22:00   ` Arnd Bergmann [this message]
2024-10-08  8:47     ` Karl Chan
2024-10-08  9:11       ` Linus Walleij
2024-10-08 12:18         ` Karl Chan
2025-02-14 22:38 ` (subset) " Bjorn Andersson

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=ad82005d-729d-4165-afa5-61ca82382bc5@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=andersson@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=exxxxkc@getgoogleoff.me \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=will@kernel.org \
    /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

all inboxes | Powered by JetHome®