armbian_build/patch/u-boot/u-boot-qemu-x86/0001-hack-higher-ramdisk-load-address-both-in-u-boot-source-and-bootscript.patch
Ricardo Pardini d6c1414d2f u-boot: rewrite/rebase u-boot patches for a few boards; drop long-forgotten old version patches; no actual changes
- I guess this is most of the u-boot's I've touched over the years; notable exception is the orangepi3b (patches live in Kwiboo's tree)
- this is in preparation for bumping versions, hopefully soon
- radxa-zero, radxa-zero2, khadas-vim3, khadas-vim3l: drop patches for old u-boot versions no longer used
2024-03-09 20:03:29 +01:00

36 lines
977 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ricardo Pardini <ricardo@pardini.net>
Date: Sat, 18 Feb 2023 11:40:33 +0100
Subject: hack: higher ramdisk load address both in u-boot source and
bootscript
---
include/configs/x86-common.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 8bd0716c08d2..f1907792d338 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -13,7 +13,7 @@
*/
/* Default environment */
-#define CFG_RAMDISK_ADDR 0x4000000
+#define CFG_RAMDISK_ADDR 0x8000000
#if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
#define CFG_OTHBOOTARGS "othbootargs=\0"
#else
@@ -33,7 +33,7 @@
CFG_OTHBOOTARGS \
"scriptaddr=0x7000000\0" \
"kernel_addr_r=0x1000000\0" \
- "ramdisk_addr_r=0x4000000\0" \
+ "ramdisk_addr_r=0x8000000\0" \
"ramdiskfile=initramfs.gz\0"
--
Armbian