Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
62ab3cfd
Commit
62ab3cfd
authored
Jul 22, 2020
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u-boot: add ramdisk_addr_r for distro-boot
Signed-off-by:
Josua Mayer
<
josua@solid-run.com
>
parent
5c7bf24b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
patches/u-boot-LSDK-20.04/0020-lx2160a-add-ramdisk_addr_r-for-distro-boot-support.patch
...-lx2160a-add-ramdisk_addr_r-for-distro-boot-support.patch
+45
-0
No files found.
patches/u-boot-LSDK-20.04/0020-lx2160a-add-ramdisk_addr_r-for-distro-boot-support.patch
0 → 100644
View file @
62ab3cfd
From 75cdf0872954e3a096a00a698c3ec9fbd6e1f9c7 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Wed, 22 Jul 2020 15:22:48 +0200
Subject: [PATCH] lx2160a: add ramdisk_addr_r for distro-boot support
Because ramdisks can be huge, the addresses were reordered by size so
that ramdisk is loaded beyond kernel and fdt:
- 0x81000000: 1MB for DTB
- 0x81100000: 255MB for Kernel
- 0x90000000: open end for ramdisk
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
include/configs/lx2160a_common.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index d65e5c5cf2..4f23d9a96b 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -237,7 +237,8 @@
int select_i2c_ch_pca9547_sec(unsigned char ch);
#define EXTRA_ENV_SETTINGS \
"hwconfig=fsl_ddr:bank_intlv=auto\0" \
- "ramdisk_addr=0x800000\0" \
+ "ramdisk_addr=0x90000000\0" \
+ "ramdisk_addr_r=0x90000000\0" \
"ramdisk_size=0x2000000\0" \
"fdt_high=0xa0000000\0" \
"initrd_high=0xffffffffffffffff\0" \
@@ -248,9 +249,9 @@
int select_i2c_ch_pca9547_sec(unsigned char ch);
"scripthdraddr=0x80080000\0" \
"fdtheader_addr_r=0x80100000\0" \
"kernelheader_addr_r=0x80200000\0" \
- "kernel_addr_r=0x81000000\0" \
+ "kernel_addr_r=0x81100000\0" \
"kernelheader_size=0x40000\0" \
- "fdt_addr_r=0x90000000\0" \
+ "fdt_addr_r=0x81000000\0" \
"load_addr=0xa0000000\0" \
"kernel_size=0x2800000\0" \
"kernel_addr_sd=0x8000\0" \
--
2.27.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment