Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-kuk
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
Packages & Registries
Packages & Registries
Container Registry
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
Dietmar Muscholik
meta-kuk
Commits
f356b7d1
Commit
f356b7d1
authored
Nov 19, 2021
by
Dietmar Muscholik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy the device tree
parent
c93c2d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
recipes-bootloader/u-boot-kuk_2019.04.bb
recipes-bootloader/u-boot-kuk_2019.04.bb
+30
-1
No files found.
recipes-bootloader/u-boot-kuk_2019.04.bb
View file @
f356b7d1
DESCRIPTION = "U-Boot for K&K boards."
PROVIDES += "u-boot"
require recipes-bsp/u-boot/u-boot.inc
#require u-boot-imx-common.inc
#require recipes-bsp/u-boot/u-boot-imx-common.inc
PROVIDES += "u-boot"
DEPENDS += "bison-native"
#DEPENDS += "dtc-native"
SRCBRANCH = "kuk_imx_v2019.04_5.4.3_2.0.0"
SRCPROTO = "ssh"
UBOOT_SRC = "git://git@gitlab.keith-koep.com:30001/imx/uboot-imx.git"
...
...
@@ -20,3 +23,29 @@ B = "${WORKDIR}/build"
COMPATIBLE_MACHINE = "(mx7|mx8|mx8m)"
UBOOT_INITIAL_ENV = ""
# borrowed from u-boot-imx_2020.04.bb
BOOT_TOOLS = "imx-boot-tools"
do_deploy_append_mx8m () {
# Deploy u-boot-nodtb.bin and fsl-imx8mq-XX.dtb, to be packaged in boot binary by imx-boot
if [ -n "${UBOOT_CONFIG}" ]
then
for config in ${UBOOT_MACHINE}; do
i=$(expr $i + 1);
for type in ${UBOOT_CONFIG}; do
j=$(expr $j + 1);
if [ $j -eq $i ]
then
install -d ${DEPLOYDIR}/${BOOT_TOOLS}
install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type}
fi
done
unset j
done
unset i
fi
}
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