mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] MIPS: TXx9: Let MACH_TX49XX select BOOT_ELF32
Date: Tue, 30 Nov 2021 10:32:51 +0100	[thread overview]
Message-ID: <20211130093251.GA9308@alpha.franken.de> (raw)
In-Reply-To: <de47b857667a73d205b20d419f4aebaa2a885484.1638210176.git.geert@linux-m68k.org>

On Mon, Nov 29, 2021 at 07:57:14PM +0100, Geert Uytterhoeven wrote:
> Some bootloaders (e.g. VxWorks 5.5 System Boot) on TX49 systems do not
> support loading 64-bit kernel images.  Work around this by selecting
> BOOT_ELF32, to support running both 32-bit ("vmlinux" with
> CONFIG_32BIT=y) and 64-bit ("vmlinux.32" with CONFIG_64BIT=y) Linux
> kernels on TX49 devices with such a boot loader.
> 
> Suggested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> Tested on RBTX4927, running a Debian jessie 32-bit mipsel nfsroot userland, and
> some 32-bit and 64-bit test binaries.
> ---
>  arch/mips/txx9/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/mips/txx9/Kconfig b/arch/mips/txx9/Kconfig
> index 85c4c121c71f72d9..00f6fc446abeefe8 100644
> --- a/arch/mips/txx9/Kconfig
> +++ b/arch/mips/txx9/Kconfig
> @@ -6,6 +6,7 @@ config MACH_TX39XX
>  
>  config MACH_TX49XX
>  	bool
> +	select BOOT_ELF32
>  	select MACH_TXX9
>  	select CEVT_R4K
>  	select CSRC_R4K
> -- 
> 2.25.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

      reply	other threads:[~2021-11-30  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-29 18:57 Geert Uytterhoeven
2021-11-30  9:32 ` Thomas Bogendoerfer [this message]

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=20211130093251.GA9308@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.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

Powered by JetHome