parent
5ac7aa579a
commit
3d3f22e7be
@ -1,30 +1,45 @@
|
|||||||
From 3c6b7c0922370e9d0c1705706e7c47dcd234e6c8 Mon Sep 17 00:00:00 2001
|
From 3d0ce353cf62efea11aa88f814aa23bf8c04acc9 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <milan@petabyte.dev>
|
From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <milan@petabyte.dev>
|
||||||
Date: Wed, 30 Dec 2020 11:49:16 +0100
|
Date: Mon, 11 Jan 2021 15:13:10 +0100
|
||||||
Subject: [PATCH] configs/rpi: allow for bigger kernels
|
Subject: [PATCH] configs/rpi: allow for bigger kernels
|
||||||
|
|
||||||
---
|
---
|
||||||
include/configs/rpi.h | 8 ++++----
|
include/configs/rpi.h | 16 ++++++++--------
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
|
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
|
||||||
index 834f1cd2..b63ee96f 100644
|
index 834f1cd..10ab1e7 100644
|
||||||
--- a/include/configs/rpi.h
|
--- a/include/configs/rpi.h
|
||||||
+++ b/include/configs/rpi.h
|
+++ b/include/configs/rpi.h
|
||||||
@@ -163,10 +163,10 @@
|
@@ -153,20 +153,20 @@
|
||||||
"fdt_high=" FDT_HIGH "\0" \
|
* more than ~700M away from the start of the kernel image but this number can
|
||||||
"initrd_high=" INITRD_HIGH "\0" \
|
* be larger OR smaller depending on e.g. the 'vmalloc=xxxM' command line
|
||||||
"kernel_addr_r=0x00080000\0" \
|
* parameter given to the kernel. So reserving memory from low to high
|
||||||
- "scriptaddr=0x02400000\0" \
|
- * satisfies this constraint again. Reserving 1M at 0x02600000-0x02700000 for
|
||||||
- "pxefile_addr_r=0x02500000\0" \
|
- * the DTB leaves rest of the free RAM to the initrd starting at 0x02700000.
|
||||||
- "fdt_addr_r=0x02600000\0" \
|
+ * satisfies this constraint again. Reserving 1M at 0x02e00000-0x02f00000 for
|
||||||
- "ramdisk_addr_r=0x02700000\0"
|
+ * the DTB leaves rest of the free RAM to the initrd starting at 0x02f00000.
|
||||||
+ "scriptaddr=0x02c00000\0" \
|
* Even with the smallest possible CPU-GPU memory split of the CPU getting
|
||||||
+ "pxefile_addr_r=0x02d00000\0" \
|
- * only 64M, the remaining 25M starting at 0x02700000 should allow quite
|
||||||
+ "fdt_addr_r=0x02e00000\0" \
|
- * large initrds before they start colliding with U-Boot.
|
||||||
+ "ramdisk_addr_r=0x02f00000\0"
|
+ * only 64M, the remaining 17M starting at 0x02f00000 should allow reasonably
|
||||||
|
+ * sized initrds before they start colliding with U-Boot.
|
||||||
|
*/
|
||||||
|
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||||
|
"fdt_high=" FDT_HIGH "\0" \
|
||||||
|
"initrd_high=" INITRD_HIGH "\0" \
|
||||||
|
"kernel_addr_r=0x00080000\0" \
|
||||||
|
- "scriptaddr=0x02400000\0" \
|
||||||
|
- "pxefile_addr_r=0x02500000\0" \
|
||||||
|
- "fdt_addr_r=0x02600000\0" \
|
||||||
|
- "ramdisk_addr_r=0x02700000\0"
|
||||||
|
+ "scriptaddr=0x02c00000\0" \
|
||||||
|
+ "pxefile_addr_r=0x02d00000\0" \
|
||||||
|
+ "fdt_addr_r=0x02e00000\0" \
|
||||||
|
+ "ramdisk_addr_r=0x02f00000\0"
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||||
#define BOOT_TARGET_MMC(func) \
|
#define BOOT_TARGET_MMC(func) \
|
||||||
--
|
--
|
||||||
2.29.2
|
2.29.2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user