diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-05-11 16:16:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-12 09:10:52 +0100 |
commit | 17ad93ee402f79607453fddaddcd17ae8b2e8d42 (patch) | |
tree | 3ecb4969687234f3958143fdf2baea9991442254 /meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch | |
parent | 94181dac072e8a688ef555036acffdf5dff9ef40 (diff) | |
download | poky-17ad93ee402f79607453fddaddcd17ae8b2e8d42.tar.gz |
kexec-tools: refresh patches with devtool
* to make it easier to rebase
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch b/meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch new file mode 100644 index 0000000000..029650f35c --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools/0001-powerpc-change-the-memory-size-limit.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 211cae4b6a02a4d9d37bfcd76f3702696e095fc3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Quanyang Wang <quanyang.wang@windriver.com> | ||
3 | Date: Tue, 16 Jun 2015 12:59:57 +0800 | ||
4 | Subject: [PATCH] powerpc: change the memory size limit | ||
5 | |||
6 | When run "kexec" in powerpc board, the kexec has a limit that | ||
7 | the kernel text and bss size must be less than 24M. But now | ||
8 | some kernel size exceed the limit. So we need to change the limit, | ||
9 | else will get the error log as below: | ||
10 | |||
11 | my_load:669: do | ||
12 | Could not find a free area of memory of 0x12400 bytes... | ||
13 | Could not find a free area of memory of 0x13000 bytes... | ||
14 | locate_hole failed | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | |||
18 | Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> | ||
19 | --- | ||
20 | kexec/arch/ppc/kexec-ppc.h | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/kexec/arch/ppc/kexec-ppc.h b/kexec/arch/ppc/kexec-ppc.h | ||
24 | index 04e728e..6bae9ec 100644 | ||
25 | --- a/kexec/arch/ppc/kexec-ppc.h | ||
26 | +++ b/kexec/arch/ppc/kexec-ppc.h | ||
27 | @@ -44,7 +44,7 @@ void dol_ppc_usage(void); | ||
28 | * During inital setup the kernel does not map the whole memory but a part of | ||
29 | * it. On Book-E that is 64MiB, 601 24MiB or 256MiB (if possible). | ||
30 | */ | ||
31 | -#define KERNEL_ACCESS_TOP (24 * 1024 * 1024) | ||
32 | +#define KERNEL_ACCESS_TOP (36 * 1024 * 1024) | ||
33 | |||
34 | /* boot block version 17 as defined by the linux kernel */ | ||
35 | struct bootblock { | ||