]>
Commit | Line | Data |
---|---|---|
93bc18fa GKH |
1 | From e4f2d1af7163becb181419af9dece9206001e0a6 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Burton <paul.burton@mips.com> | |
3 | Date: Tue, 28 May 2019 17:21:26 +0000 | |
4 | Subject: MIPS: pistachio: Build uImage.gz by default | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | From: Paul Burton <paul.burton@mips.com> | |
10 | ||
11 | commit e4f2d1af7163becb181419af9dece9206001e0a6 upstream. | |
12 | ||
13 | The pistachio platform uses the U-Boot bootloader & generally boots a | |
14 | kernel in the uImage format. As such it's useful to build one when | |
15 | building the kernel, but to do so currently requires the user to | |
16 | manually specify a uImage target on the make command line. | |
17 | ||
18 | Make uImage.gz the pistachio platform's default build target, so that | |
19 | the default is to build a kernel image that we can actually boot on a | |
20 | board such as the MIPS Creator Ci40. | |
21 | ||
22 | Marked for stable backport as far as v4.1 where pistachio support was | |
23 | introduced. This is primarily useful for CI systems such as kernelci.org | |
24 | which will benefit from us building a suitable image which can then be | |
25 | booted as part of automated testing, extending our test coverage to the | |
26 | affected stable branches. | |
27 | ||
28 | Signed-off-by: Paul Burton <paul.burton@mips.com> | |
29 | Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> | |
30 | Reviewed-by: Kevin Hilman <khilman@baylibre.com> | |
31 | Tested-by: Kevin Hilman <khilman@baylibre.com> | |
32 | URL: https://groups.io/g/kernelci/message/388 | |
33 | Cc: stable@vger.kernel.org # v4.1+ | |
34 | Cc: linux-mips@vger.kernel.org | |
35 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
36 | ||
37 | --- | |
38 | arch/mips/pistachio/Platform | 1 + | |
39 | 1 file changed, 1 insertion(+) | |
40 | ||
41 | --- a/arch/mips/pistachio/Platform | |
42 | +++ b/arch/mips/pistachio/Platform | |
43 | @@ -6,3 +6,4 @@ cflags-$(CONFIG_MACH_PISTACHIO) += \ | |
44 | -I$(srctree)/arch/mips/include/asm/mach-pistachio | |
45 | load-$(CONFIG_MACH_PISTACHIO) += 0xffffffff80400000 | |
46 | zload-$(CONFIG_MACH_PISTACHIO) += 0xffffffff81000000 | |
47 | +all-$(CONFIG_MACH_PISTACHIO) := uImage.gz |