On 23. 09. 14 03:16, Oleg wrote:
Hello Luc,
Hello Oleg,
Latest dropbear, meaning 0.53.1 or 2014.65?
Yes, CVS is the latest, what another one do you mean?
I saw this one first:
https://sourceforge.net/p/elphel/elphel353-8.0/ci/master/tree/
There are some extra steps needed in order to update the revision and files
for a correct build. What would you prefer?
I see we have to remove dropbearmulti from target.list and change
release number in ./configure-files/devboard/devboard-tag--devboard-R2_10-1
a) You send me the changes made and I update it.
Maybe it's better since I dont know yet what to do for packaging in
distfiles.
Or you can tell me where to find instructions (I'd like to know anyway)
Up to you.
Latest version (2014.65) is on
https://matt.ucc.asn.au/dropbear/dropbear.html
I ran configure with
./configure --host=crisv32-axis-linux-gnu --prefix=/usr/local/crisv32
--with-zlib=/home/foxel/src/elphel353-8.2.15/elphel353/libs/zlib-1.2.3/
I had to apply the attached patch
or
b) I tell you that extra steps and add you to the developers if you have an
account on the sf.net.
I'm added yet (lucos) but I will not be able to upload the source code
on mirror.elphel.com/distfiles (Sasha can help for this I guess)
Thanks,
Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783 x124
Elphel, Inc.
Thank you,
Best regards.
Luc
--
Luc Deschenaux
t: 0788 266 366
v: 0225 085 085 @ netvoip.ch
diff -ru dropbear-2014.65/dbutil.c dropbear-2014.65.crisv32/dbutil.c
--- dropbear-2014.65/dbutil.c 2014-08-08 15:40:46.0 +0200
+++ dropbear-2014.65.crisv32/dbutil.c 2014-08-14 19:33:49.339265004 +0200
@@ -959,10 +959,11 @@
if (syscall(SYS_clock_gettime, CLOCK_MONOTONIC_COARSE, ts) == 0) {
return CLOCK_MONOTONIC_COARSE;
}
-
+/*
if (syscall(SYS_clock_gettime, CLOCK_MONOTONIC, ts) == 0) {
return CLOCK_MONOTONIC;
}
+ */
return -1;
}
#endif
diff -ru dropbear-2014.65/options.h dropbear-2014.65.crisv32/options.h
--- dropbear-2014.65/options.h 2014-08-08 15:40:47.0 +0200
+++ dropbear-2014.65.crisv32/options.h 2014-08-14 19:40:06.255258254 +0200
@@ -141,7 +141,7 @@
/* ECDSA is significantly faster than RSA or DSS. Compiling in ECC
* code (either ECDSA or ECDH) increases binary size - around 30kB
* on x86-64 */
-#define DROPBEAR_ECDSA
+/*#define DROPBEAR_ECDSA*/
/* Generate hostkeys as-needed when the first connection using that key type occurs.
This avoids the need to otherwise run dropbearkey and avoids some problems
@@ -157,7 +157,7 @@
/* Enable elliptic curve Diffie Hellman key exchange, see note about
* ECDSA above */
-#define DROPBEAR_ECDH
+/*#define DROPBEAR_ECDH*/
/* Control the memory/performance/compression tradeoff for zlib.
* Set windowBits=8 for least memory usage, see your system's
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com