* [PATCH] mips: Always permit to build u-boot images
@ 2022-03-06 15:16 Paul Cercueil
2022-03-07 12:21 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2022-03-06 15:16 UTC (permalink / raw)
To: Thomas Bogendoerfer
Cc: YunQiang Su, linux-mips, linux-kernel, od, Paul Cercueil, stable
The platforms where the kernel should be loaded above 0x8000.0000 do not
support loading u-boot images, that doesn't mean that we shouldn't be
able to generate them.
Additionally, since commit 79876cc1d7b8 ("MIPS: new Kconfig option
ZBOOT_LOAD_ADDRESS"), the $(zload-y) variable was no longer hardcoded,
which made it impossible to use the uzImage.bin target.
Fixes: 79876cc1d7b8 ("MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS")
Cc: <stable@vger.kernel.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/mips/Makefile | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index e036fc025ccc..4478c5661d61 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -340,14 +340,12 @@ drivers-$(CONFIG_PM) += arch/mips/power/
boot-y := vmlinux.bin
boot-y += vmlinux.ecoff
boot-y += vmlinux.srec
-ifeq ($(shell expr $(load-y) \< 0xffffffff80000000 2> /dev/null), 0)
boot-y += uImage
boot-y += uImage.bin
boot-y += uImage.bz2
boot-y += uImage.gz
boot-y += uImage.lzma
boot-y += uImage.lzo
-endif
boot-y += vmlinux.itb
boot-y += vmlinux.gz.itb
boot-y += vmlinux.bz2.itb
@@ -359,9 +357,7 @@ bootz-y := vmlinuz
bootz-y += vmlinuz.bin
bootz-y += vmlinuz.ecoff
bootz-y += vmlinuz.srec
-ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0)
bootz-y += uzImage.bin
-endif
bootz-y += vmlinuz.itb
#
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: Always permit to build u-boot images
2022-03-06 15:16 [PATCH] mips: Always permit to build u-boot images Paul Cercueil
@ 2022-03-07 12:21 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2022-03-07 12:21 UTC (permalink / raw)
To: Paul Cercueil; +Cc: YunQiang Su, linux-mips, linux-kernel, od, stable
On Sun, Mar 06, 2022 at 03:16:48PM +0000, Paul Cercueil wrote:
> The platforms where the kernel should be loaded above 0x8000.0000 do not
> support loading u-boot images, that doesn't mean that we shouldn't be
> able to generate them.
>
> Additionally, since commit 79876cc1d7b8 ("MIPS: new Kconfig option
> ZBOOT_LOAD_ADDRESS"), the $(zload-y) variable was no longer hardcoded,
> which made it impossible to use the uzImage.bin target.
>
> Fixes: 79876cc1d7b8 ("MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
> arch/mips/Makefile | 4 ----
> 1 file changed, 4 deletions(-)
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 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-07 12:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-06 15:16 [PATCH] mips: Always permit to build u-boot images Paul Cercueil
2022-03-07 12:21 ` Thomas Bogendoerfer
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).