Message ID | de47b857667a73d205b20d419f4aebaa2a885484.1638210176.git.geert@linux-m68k.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 97ad1d89624df8f3f8f035ff3cdf24bbd9c6d7b1 |
Headers | show |
Series | MIPS: TXx9: Let MACH_TX49XX select BOOT_ELF32 | expand |
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.
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
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(+)