linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: pistachio: Build uImage.gz by default
@ 2019-05-28 17:21 Paul Burton
  2019-05-29 12:11 ` Philippe Mathieu-Daudé
  2019-05-29 20:35 ` Paul Burton
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Burton @ 2019-05-28 17:21 UTC (permalink / raw)
  To: linux-mips; +Cc: Paul Burton, Kevin Hilman, stable

The pistachio platform uses the U-Boot bootloader & generally boots a
kernel in the uImage format. As such it's useful to build one when
building the kernel, but to do so currently requires the user to
manually specify a uImage target on the make command line.

Make uImage.gz the pistachio platform's default build target, so that
the default is to build a kernel image that we can actually boot on a
board such as the MIPS Creator Ci40.

Marked for stable backport as far as v4.1 where pistachio support was
introduced. This is primarily useful for CI systems such as kernelci.org
which will benefit from us building a suitable image which can then be
booted as part of automated testing, extending our test coverage to the
affected stable branches.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
URL: https://groups.io/g/kernelci/message/388
Cc: stable@vger.kernel.org # v4.1+
---

 arch/mips/pistachio/Platform | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/pistachio/Platform b/arch/mips/pistachio/Platform
index d80cd612df1f..c3592b374ad2 100644
--- a/arch/mips/pistachio/Platform
+++ b/arch/mips/pistachio/Platform
@@ -6,3 +6,4 @@ cflags-$(CONFIG_MACH_PISTACHIO)		+=				\
 		-I$(srctree)/arch/mips/include/asm/mach-pistachio
 load-$(CONFIG_MACH_PISTACHIO)		+= 0xffffffff80400000
 zload-$(CONFIG_MACH_PISTACHIO)		+= 0xffffffff81000000
+all-$(CONFIG_MACH_PISTACHIO)		:= uImage.gz
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: pistachio: Build uImage.gz by default
  2019-05-28 17:21 [PATCH] MIPS: pistachio: Build uImage.gz by default Paul Burton
@ 2019-05-29 12:11 ` Philippe Mathieu-Daudé
  2019-05-29 20:35 ` Paul Burton
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-05-29 12:11 UTC (permalink / raw)
  To: Paul Burton; +Cc: linux-mips, Paul Burton, Kevin Hilman, stable

On Tue, May 28, 2019 at 7:34 PM Paul Burton <paul.burton@mips.com> wrote:
>
> The pistachio platform uses the U-Boot bootloader & generally boots a
> kernel in the uImage format. As such it's useful to build one when
> building the kernel, but to do so currently requires the user to
> manually specify a uImage target on the make command line.
>
> Make uImage.gz the pistachio platform's default build target, so that
> the default is to build a kernel image that we can actually boot on a
> board such as the MIPS Creator Ci40.
>
> Marked for stable backport as far as v4.1 where pistachio support was
> introduced. This is primarily useful for CI systems such as kernelci.org
> which will benefit from us building a suitable image which can then be
> booted as part of automated testing, extending our test coverage to the
> affected stable branches.
>
> Signed-off-by: Paul Burton <paul.burton@mips.com>
> Reviewed-by: Kevin Hilman <khilman@baylibre.com>
> Tested-by: Kevin Hilman <khilman@baylibre.com>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> URL: https://groups.io/g/kernelci/message/388
> Cc: stable@vger.kernel.org # v4.1+
> ---
>
>  arch/mips/pistachio/Platform | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/mips/pistachio/Platform b/arch/mips/pistachio/Platform
> index d80cd612df1f..c3592b374ad2 100644
> --- a/arch/mips/pistachio/Platform
> +++ b/arch/mips/pistachio/Platform
> @@ -6,3 +6,4 @@ cflags-$(CONFIG_MACH_PISTACHIO)         +=                              \
>                 -I$(srctree)/arch/mips/include/asm/mach-pistachio
>  load-$(CONFIG_MACH_PISTACHIO)          += 0xffffffff80400000
>  zload-$(CONFIG_MACH_PISTACHIO)         += 0xffffffff81000000
> +all-$(CONFIG_MACH_PISTACHIO)           := uImage.gz
> --
> 2.21.0
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: pistachio: Build uImage.gz by default
  2019-05-28 17:21 [PATCH] MIPS: pistachio: Build uImage.gz by default Paul Burton
  2019-05-29 12:11 ` Philippe Mathieu-Daudé
@ 2019-05-29 20:35 ` Paul Burton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Burton @ 2019-05-29 20:35 UTC (permalink / raw)
  To: Paul Burton; +Cc: linux-mips, Paul Burton, Kevin Hilman, stable, linux-mips

Hello,

Paul Burton wrote:
> The pistachio platform uses the U-Boot bootloader & generally boots a
> kernel in the uImage format. As such it's useful to build one when
> building the kernel, but to do so currently requires the user to
> manually specify a uImage target on the make command line.
> 
> Make uImage.gz the pistachio platform's default build target, so that
> the default is to build a kernel image that we can actually boot on a
> board such as the MIPS Creator Ci40.
> 
> Marked for stable backport as far as v4.1 where pistachio support was
> introduced. This is primarily useful for CI systems such as kernelci.org
> which will benefit from us building a suitable image which can then be
> booted as part of automated testing, extending our test coverage to the
> affected stable branches.
> 
> Signed-off-by: Paul Burton <paul.burton@mips.com>
> Reviewed-by: Kevin Hilman <khilman@baylibre.com>
> Tested-by: Kevin Hilman <khilman@baylibre.com>
> URL: https://groups.io/g/kernelci/message/388
> Cc: stable@vger.kernel.org # v4.1+
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Applied to mips-fixes.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-29 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 17:21 [PATCH] MIPS: pistachio: Build uImage.gz by default Paul Burton
2019-05-29 12:11 ` Philippe Mathieu-Daudé
2019-05-29 20:35 ` Paul Burton

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).