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
a2dbada0
Commit
a2dbada0
authored
Sep 23, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Elphel/meta-elphel393
parents
72c90919
7d11444c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
elphel393.conf
conf/machine/elphel393.conf
+2
-3
device-tree.bbappend
recipes-bsp/device-tree/device-tree.bbappend
+7
-8
linux-xlnx_4.0.bbappend
recipes-kernel/linux/linux-xlnx_4.0.bbappend
+1
-0
No files found.
conf/machine/elphel393.conf
View file @
a2dbada0
...
@@ -15,9 +15,8 @@ UBOOT_MACHINE = "elphel393_config"
...
@@ -15,9 +15,8 @@ UBOOT_MACHINE = "elphel393_config"
SERIAL_CONSOLE
=
"115200 ttyPS0"
SERIAL_CONSOLE
=
"115200 ttyPS0"
MACHINE_DEVICETREE
:=
"
\
MACHINE_DEVICETREE
?=
"elphel393.dts"
elphel393
/
elphel393
.
dts
\
"
MACHINE_KCONFIG
:=
"common/elphel393_defconfig_${LINUX_VERSION}"
MACHINE_KCONFIG
:=
"common/elphel393_defconfig_${LINUX_VERSION}"
#hostname - applied to rootfs image
#hostname - applied to rootfs image
...
...
recipes-bsp/device-tree/device-tree.bbappend
View file @
a2dbada0
...
@@ -2,17 +2,15 @@
...
@@ -2,17 +2,15 @@
FILESEXTRAPATHS_append := "${TOPDIR}/../../linux-elphel/src/arch/arm/boot/dts:"
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-zynq-base.dtsi \
file://elphel393-bootargs-mmc.dtsi \
file://elphel393-bootargs-mmc.dtsi \
file://elphel393-bootargs-nand.dtsi \
file://elphel393-bootargs-nand.dtsi \
file://elphel393-bootargs-ram.dtsi \
file://elphel393-bootargs-ram.dtsi \
"
"
MACHINE_DEVICETREE := "\
elphel393.dts \
"
do_deploy(){
do_deploy(){
for DTS_FILE in ${DEVICETREE}; do
for DTS_FILE in ${DEVICETREE}; do
DTS_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'`
DTS_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'`
...
@@ -33,7 +31,7 @@ do_deploy(){
...
@@ -33,7 +31,7 @@ do_deploy(){
rm ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
rm ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
fi
fi
cp ${DEPLOY_DIR_IMAGE}/${
MACHIN
E}_${RLOC}.dtb ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
cp ${DEPLOY_DIR_IMAGE}/${
DTS_NAM
E}_${RLOC}.dtb ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
done
done
done
done
}
}
...
@@ -81,8 +79,9 @@ REMOTE_IP ??= "192.168.0.9"
...
@@ -81,8 +79,9 @@ REMOTE_IP ??= "192.168.0.9"
do_target_scp () {
do_target_scp () {
# mmc device tree only
# mmc device tree only
echo "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}/${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/devicetree.dtb
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
}
}
addtask do_target_scp after do_deploy
addtask do_target_scp after do_deploy
...
...
recipes-kernel/linux/linux-xlnx_4.0.bbappend
View file @
a2dbada0
...
@@ -176,6 +176,7 @@ REMOTE_IP ??= "192.168.0.9"
...
@@ -176,6 +176,7 @@ REMOTE_IP ??= "192.168.0.9"
do_target_scp () {
do_target_scp () {
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}"
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}
ssh -i ${IDENTITY_FILE} ${REMOTE_USER}@${REMOTE_IP} sync
}
}
addtask do_target_scp after do_deploy
addtask do_target_scp after do_deploy
...
...
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