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
329a7255
Commit
329a7255
authored
Sep 11, 2022
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support DEFAULT_FDT_FILE in runme to select device-tree at compile-time
Signed-off-by:
Josua Mayer
<
josua@solid-run.com
>
parent
05560ba3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
patches/u-boot-LSDK-21.08/0038-lx2160a-support-CONFIG_DEFAULT_FDT_FILE-for-OS-devic.patch
...x2160a-support-CONFIG_DEFAULT_FDT_FILE-for-OS-devic.patch
+33
-0
runme.sh
runme.sh
+3
-0
No files found.
patches/u-boot-LSDK-21.08/0038-lx2160a-support-CONFIG_DEFAULT_FDT_FILE-for-OS-devic.patch
0 → 100644
View file @
329a7255
From 8e9e3bbab0804af9fef8de40d2c4268bc61b51dc Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Sun, 11 Sep 2022 12:57:49 +0300
Subject: [PATCH] lx2160a: support CONFIG_DEFAULT_FDT_FILE for OS device-tree
selection
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
include/configs/lx2160a_common.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index dc428c6f49..06057b7447 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -238,7 +238,14 @@
int select_i2c_ch_pca9547_sec(unsigned char ch);
"esbc_validate 0x80680000 ;" \
"fsl_mc start mc 0x80a00000 0x80e00000\0"
+#ifdef CONFIG_DEFAULT_FDT_FILE
+#define DEFAULT_FDT_FILE_ENV "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
+#else
+#define DEFAULT_FDT_FILE_ENV
+#endif
+
#define EXTRA_ENV_SETTINGS \
+ DEFAULT_FDT_FILE_ENV \
"hwconfig=fsl_ddr:bank_intlv=auto\0" \
"ramdisk_addr=0x85100000\0" \
"ramdisk_addr_r=0x85100000\0" \
--
2.37.3
runme.sh
View file @
329a7255
...
...
@@ -395,6 +395,9 @@ if [ "x$SECURE" == "xtrue" ]; then
else
make lx2160acex7_tfa_defconfig
fi
if
[
-n
"
${
DEFAULT_FDT_FILE
}
"
]
;
then
printf
"CONFIG_DEFAULT_FDT_FILE=
\"
%s
\"\n
"
"
${
DEFAULT_FDT_FILE
}
"
>>
.config
fi
make
-j
${
PARALLEL
}
export
BL33
=
$ROOTDIR
/build/u-boot/u-boot.bin
...
...
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