[Elphel-support] Fix dropbear & cris-dist
Luc Deschenaux
luc.deschenaux at miprosoft.com
Mon May 23 16:24:59 PDT 2016
Hi Oleg !
Compiling newer versions of dropbear for the Elphel 353 firmware using
the crisv32 compiler was failing with "bignum invalid" errors.
Last time I had to remove some "useless" code from dropbear in order to
compile it successfuly.
This time instead I patched the crisv32 assembler with the attached
cris-dist patch, according to
http://mhonarc.axis.se/dev-etrax/msg09904.html (see attached html)
To recompile the cris-dist package successfully we just had to setup a
virtual machine with VirtualBox, installing a minimal Debian wheezy
(base system only) using debian-7.9.0-amd64-netinst.iso image, followed
with only
apt-get install build-essential
then added the following line
patch -p0 < ../cris-dist-1.64-bignum.patch
to
http://wiki.elphel.com/index.php?title=Elphel_Software_Kit_for_Ubuntu#Downloading_and_unpacking_gcc-cris
For dropber, only an additional CLOCK_MONOTONIC=1 definition was needed
in order to compile the latest release (see attached dropbear patch)
Concerning cris-dist, it should be easy for the Elphel PPA maintainer to
update the package on https://launchpad.net/~elphel/+archive/ubuntu/ppa
(adding the bignum patch and rebuild the binary package)
If anybody need it in the meanwhile I can send a link by mail for the
cris-dist deb package I built using checkinstall/Makefile/tar ...
Best to you,
Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cris-dist-1.64-bignum.patch
Type: text/x-patch
Size: 2256 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20160524/a53afca6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dropbear-2016.73-CLOCK_MONOTONIC.patch
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20160524/a53afca6/attachment-0001.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20160524/a53afca6/attachment-0002.html>
More information about the Support-list
mailing list