Commit 109ca926 authored by Andrey Filippov's avatar Andrey Filippov

added new repos

parent 1cc70316
......@@ -22,21 +22,16 @@ do_install_append() {
oe_runmake ${EXTRA_OEMAKE} install
}
# --- Adding support for scp files to the target (similar to install) ---
# --- Adding support for scp installed files to the target ---
do_target_scp () {
SOURCE_PATH="${D}/*"
# echo "scp -pr ${SOURCE_PATH} ${REMOTE_USER}@${REMOTE_IP}:/"
scp -pr ${SOURCE_PATH} ${REMOTE_USER}@${REMOTE_IP}:/
#Without next echo - no trace of the scp in the log!
SSH_COMMAND='tar -C / -xzpf /image.tar.gz; rm -f /image.tar.gz; sync'
tar -czvf ${WORKDIR}/image.tar.gz -C ${WORKDIR}/image .
echo scp -p ${WORKDIR}/image.tar.gz ${REMOTE_USER}@${REMOTE_IP}:/
scp -p ${WORKDIR}/image.tar.gz ${REMOTE_USER}@${REMOTE_IP}:/
echo ssh ${REMOTE_USER}@${REMOTE_IP} ${SSH_COMMAND}
ssh ${REMOTE_USER}@${REMOTE_IP} ${SSH_COMMAND}
}
addtask do_target_scp after do_install
do_target_scp[doc] = "sch installed files to the target. TARGET_USER and TARGET_IP should be defined (ssh-copy-id TARGET_USER@TARGET_USER should be issued once)"
do_target_scp[doc] = "scp installed files to the target. TARGET_USER and TARGET_IP should be defined (ssh-copy-id TARGET_USER@TARGET_USER should be issued once)"
EXPORT_FUNCTIONS do_target_scp
#REMOTE_USER=root
#REMOTE_IP=192.168.0.7
#DESTDIR=/home/eyesis/git/elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/web-393/1_0-4/image
# echo "REMOTE_USER=${REMOTE_USER}"
# echo "REMOTE_IP=${REMOTE_IP}"
# echo "DESTDIR=${D}"
#scp -pr image/* root@192.168.0.7:/
......@@ -38,4 +38,11 @@ PE = "${@version_update('${VPATH}','${VFILE}',0)}"
PV = "${@version_update('${VPATH}','${VFILE}',1)}"
PR = "${@version_update('${VPATH}','${VFILE}',2)}"
FILESEXTRAPATHS_append := "${VPATH}:"
\ No newline at end of file
#SRCREV = "${PE}.${PV}.${PR}"
#SRCPV = "${PE}.${PV}.${PR}"
#SRCPV = "${AUTOREV}"
#__BB_DONT_CACHE = "1"
SRCREV = "${AUTOREV}"
FILESEXTRAPATHS_append := "${VPATH}:"
......@@ -268,5 +268,27 @@
"pca9500_eeprom 0x50 1 1 100",
"cy22393 0x69 1 1 100";
} ;
framepars_operations: elphel393-framepars@0 {
compatible = "elphel,elphel393-framepars-1.00";
};
histograms_operations: elphel393-histograms@0 {
compatible = "elphel,elphel393-histograms-1.00";
};
gamma_tables_operations: elphel393-gamma_tables@0 {
compatible = "elphel,elphel393-gamma_tables-1.00";
};
elphel393_mt9x001: elphel393-mt9x001@0 {
compatible = "elphel,elphel393-mt9x001-1.00";
};
klogger_393: klogger-393@0 {
compatible = "elphel,klogger-393-1.00";
klogger-393,buffer_size = <1048576>;
} ;
};
\ No newline at end of file
......@@ -17,7 +17,14 @@ SATA_EN=1
ifconfig eth0 192.168.0.7
PYDIR=/usr/local/bin
VERILOG_DIR=/usr/local/verilog
$PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs
echo imgsrv -p 2323
imgsrv -p 2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf
/www/pages/exif.php init=/etc/Exif_template.xml
echo "/etc/init_elphel393.sh done"
exit 0
#mkdir /tmp/local
......
......@@ -13,4 +13,4 @@ inherit elphel-dev
do_configure[noexec] = "1"
#do_compile[noexec] = "1"
FILES_${PN} += " ${base_prefix}/www/pages/*"
FILES_${PN} += " ${base_prefix}/www/pages/* ${base_prefix}/usr/local/bin/*"
EXTRA_OECONF += "--enable-elphel"
EXTRA_OECONF += "--enable-elphel \
--with-readline=${STAGING_LIBDIR}/.. \
"
DEV_DIR = "${TOPDIR}/../../rootfs-elphel/elphel-apps-php-extension"
......@@ -26,4 +29,18 @@ do_unpack_append(){
if not os.path.isdir(DEV_DIR+"/php"):
os.system("ln -sf "+S+" "+DEV_DIR+"/php")
}
\ No newline at end of file
}
# --- Adding support for scp installed files to the target ---
do_target_scp () {
#Without next echo - no trace of the scp in the log!
SSH_COMMAND='tar -C / -xzpf /image.tar.gz; rm -f /image.tar.gz; sync'
tar -czvf ${WORKDIR}/image.tar.gz -C ${WORKDIR}/image .
echo scp -p ${WORKDIR}/image.tar.gz ${REMOTE_USER}@${REMOTE_IP}:/
scp -p ${WORKDIR}/image.tar.gz ${REMOTE_USER}@${REMOTE_IP}:/
echo ssh ${REMOTE_USER}@${REMOTE_IP} ${SSH_COMMAND}
ssh ${REMOTE_USER}@${REMOTE_IP} ${SSH_COMMAND}
}
addtask do_target_scp after do_install
do_target_scp[doc] = "scp installed files to the target. TARGET_USER and TARGET_IP should be defined (ssh-copy-id TARGET_USER@TARGET_USER should be issued once)"
EXPORT_FUNCTIONS do_target_scp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment