Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
d339e821
Commit
d339e821
authored
Sep 22, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MACHINE_DEVICETREE to local.conf
parent
ca865294
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
elphel393.conf
conf/machine/elphel393.conf
+2
-3
device-tree.bbappend
recipes-bsp/device-tree/device-tree.bbappend
+5
-7
No files found.
conf/machine/elphel393.conf
View file @
d339e821
...
...
@@ -15,9 +15,8 @@ UBOOT_MACHINE = "elphel393_config"
SERIAL_CONSOLE
=
"115200 ttyPS0"
MACHINE_DEVICETREE
:=
"
\
elphel393
/
elphel393
.
dts
\
"
MACHINE_DEVICETREE
?=
"elphel393.dts"
MACHINE_KCONFIG
:=
"common/elphel393_defconfig_${LINUX_VERSION}"
#hostname - applied to rootfs image
...
...
recipes-bsp/device-tree/device-tree.bbappend
View file @
d339e821
...
...
@@ -2,17 +2,15 @@
FILESEXTRAPATHS_append := "${TOPDIR}/../../linux-elphel/src/arch/arm/boot/dts:"
SRC_URI += "file://elphel393.dts \
MACHINE_DEVICETREE ?= "elphel393.dts"
SRC_URI += "file://${MACHINE_DEVICETREE} \
file://elphel393-zynq-base.dtsi \
file://elphel393-bootargs-mmc.dtsi \
file://elphel393-bootargs-nand.dtsi \
file://elphel393-bootargs-ram.dtsi \
"
MACHINE_DEVICETREE := "\
elphel393.dts \
"
do_deploy(){
for DTS_FILE in ${DEVICETREE}; do
DTS_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'`
...
...
@@ -81,8 +79,8 @@ REMOTE_IP ??= "192.168.0.9"
do_target_scp () {
# mmc device tree only
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/
${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/devicetree.dtb
"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/
${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/devicetree.dtb
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/
mmc/devicetree.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc
"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/
mmc/devicetree.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc
ssh -i ${IDENTITY_FILE} ${REMOTE_USER}@${REMOTE_IP} sync
}
...
...
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