quicky Posted February 24, 2015 Report Share Posted February 24, 2015 Hi Jack, I had a small issue with ftdi_user.h provided with DesignLab-1.0.1-linux64.tar.gz downloaded here http://forum.gadgetfactory.net/index.php?/files/getdownload/873-papilio-designlab-ide/ On Kubuntu 64 bits theapt-get install libftdi-devinstall the 64 bits version of lib ftdi whereas lines 12 and 13 refer to 32 bits version of papilio-prog executable.By the way execution of papilio-prog failed as it is not able to locate the 32 bits version of libftdi.By replacingchgrp dialout hardware/tools/papilio/lin32/papilio-progchgrp dialout tools/Papilio_Loader/programmer/linux32/papilio-progbychgrp dialout hardware/tools/papilio/lin64/papilio-progchgrp dialout tools/Papilio_Loader/programmer/linux64/papilio-progand adding the missing linux64/papilio-prog in toolscp -rf hardware/tools/papilio/lin64/papilio-prog tools/Papilio_Loader/programmer/linux64the papilio-prog run properly. It would be great if you could integrate the correction for DesignLab-1.0.3Would it be possible too to avoid the duplication of papilio-prog binaries in two different locations ? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 24, 2015 Report Share Posted February 24, 2015 I made a new issue in the DesignLab issue tracker and will try to find a solution for DesignLab 1.0.3. You ask if we could avoid duplication of the papilio-prog binaries. It would be possible to just provide the 32 bit version of the DesignLab and then ask people to install linux32 compatibility libraries... That would be much easier to support but I wasn't sure if people would like that approach... Jack. Quote Link to comment Share on other sites More sharing options...
quicky Posted February 24, 2015 Author Report Share Posted February 24, 2015 You ask if we could avoid duplication of the papilio-prog binaries. It would be possible to just provide the 32 bit version of the DesignLab and then ask people to install linux32 compatibility libraries... That would be much easier to support but I wasn't sure if people would like that approach... Jack. I just talk about the fact that papilio-prog is located here ( hardware/tools/papilio/lin32/papilio-prog ) and here (tools/Papilio_Loader/programmer/linux32/papilio-prog) The fact there is a 32 bits package and a 64 bits package of DesignLab is fine for me.Hope this make things more clear Quote Link to comment Share on other sites More sharing options...
quicky Posted March 5, 2015 Author Report Share Posted March 5, 2015 Hi Jack, I just download DesignLab 1.0.3 for Linux64 and look at ftdi_user script and it seems that the problem I reported about this topic has not been solved.The scrip still refer to 32bits version of papilio-prog Quote Link to comment Share on other sites More sharing options...
quicky Posted March 6, 2015 Author Report Share Posted March 6, 2015 Corresponding github issue is the following :https://github.com/GadgetFactory/DesignLab/issues/10 Quote Link to comment Share on other sites More sharing options...
Felix Posted March 9, 2015 Report Share Posted March 9, 2015 not that i have any clue what is in the script, but why not modify the script to do #!/bin/bash # grab os 32 or 64 type_osbits="$(getconf LONG_BIT)" # echo "osbits : $_osbits" case "$_osbits" in '32')echo "i am 32"# do 32 bit stuffs;; '64')echo "i am 64"# do 64 bit stuffs;; esac Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 9, 2015 Report Share Posted March 9, 2015 In DesignLab 1.0.4 there is no need to change the ftdi_user.sh (which is now setup-ubuntu.sh) for linux64. The correct binaries are copied by the build process so this script does not need to be modified. Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.