Skip to content

Commit f9a1e52

Browse files
rpardiniigorpecovnik
authored andcommitted
genio: u-boot: patch: include pxefile_addr_r == scriptaddr at 0x40000000
- include pxefile_addr_r == scriptaddr at 0x40000000 so PXE works OOB - before this, would need to be set in env manually Fixes: 431f53d
1 parent 1b1e24e commit f9a1e52

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

patch/u-boot/u-boot-genio/3306-GENIO-mt8195-fdt_addr_r-kernel_addr_r-ramdisk_addr_r-for-large-kernels-initrds.patch

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@ Subject: GENIO: mt8195: fdt_addr_r/kernel_addr_r/ramdisk_addr_r for large
55
kernels/initrds
66

77
General purpose OS's like Armbian have some huge initrds and kernels, make space.
8+
- include pxefile_addr_r == scriptaddr at 0x40000000 so PXE works OOB
89

910
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
1011
---
11-
include/configs/mt8195.h | 12 +++++-----
12-
1 file changed, 6 insertions(+), 6 deletions(-)
12+
include/configs/mt8195.h | 14 ++++++----
13+
1 file changed, 8 insertions(+), 6 deletions(-)
1314

1415
diff --git a/include/configs/mt8195.h b/include/configs/mt8195.h
1516
index 111111111111..222222222222 100644
1617
--- a/include/configs/mt8195.h
1718
+++ b/include/configs/mt8195.h
18-
@@ -133,11 +133,11 @@
19+
@@ -133,11 +133,12 @@
1920
#if !IS_ENABLED(CONFIG_SPI_FLASH)
2021
#define CONFIG_EXTRA_ENV_SETTINGS \
2122
"scriptaddr=0x40000000\0" \
2223
- "fdt_addr_r=0x44000000\0" \
24+
+ "pxefile_addr_r=0x40000000\0" \
2325
+ "fdt_addr_r=0x56000000\0" \
2426
"fdtoverlay_addr_r=0x44c00000\0" \
2527
"fdt_resize=0x3000\0" \
@@ -30,11 +32,12 @@ index 111111111111..222222222222 100644
3032
"fdtfile=" CONFIG_DEFAULT_FDT_FILE ".dtb\0" \
3133
"splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
3234
"splashsource=mmc_fs\0" \
33-
@@ -148,11 +148,11 @@
35+
@@ -148,11 +149,12 @@
3436
#else
3537
#define CONFIG_EXTRA_ENV_SETTINGS \
3638
"scriptaddr=0x40000000\0" \
3739
- "fdt_addr_r=0x44000000\0" \
40+
+ "pxefile_addr_r=0x40000000\0" \
3841
+ "fdt_addr_r=0x56000000\0" \
3942
"fdtoverlay_addr_r=0x44c00000\0" \
4043
"fdt_resize=0x3000\0" \

0 commit comments

Comments
 (0)