Title: Creating offline wallet on raspberry pi Post by: JekyllIsland on July 07, 2014, 08:23:45 PM I thought this would be a fun little project and more productive then having 15-20+ paper wallets. Sadly i'm not as competent with computers as most of you here, although I can usually manage after a few hours of frustration. I was hoping somebody, or a few people could help dumb this down for me so i can understand it. Below I posted everything I’m supposed to do; assuming i don't encounter problems along the way. :D At the moment I’m stuck on step 18. of this tutorial www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
(http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/) Quote 18. Just add your compiler directory to your $PATH and start compiling. If you used my preferred prefix directory, you would want to add /opt/cross/x-tools/arm-unknown-linux-gnueabi/bin. I have ubuntu as my operating system for my raspberry pi, but i'm not sure exactly how to move the compiler directory to the raspberry pi, or even exactly what the $PATH is. ::) Now give your compiler a quick sanity check: Code: bootc@tarquin ~ $ arm-unknown-linux-gnueabi-gcc --version Code: bootc@tarquin ~ $ cat > test.c Here is the next tutorial, https://gist.github.com/FiloSottile/3646033 (https://gist.github.com/FiloSottile/3646033) I'm stuck on applying the patch. Now that you have your arm-unknown-linux-gnueabi-g++ working in your $PATH, clone the Armory repo Code: git clone git://github.com/etotheipi/BitcoinArmory.git This is the next step i don't understand exactly, how do i apply the patch to the two make files? Obviously i save it as CXX.patch, but what next? Quote Apply the attached patch to the two Makefiles (a smarter patch might be merged in the repo in the future) Code: patch -p1 < CXX.patch Quote Code: diff --git a/cppForSwig/Makefile b/cppForSwig/Makefile Code: CXX=arm-unknown-linux-gnueabi-g++ make Quote Finally, create a tarball to move to your shiny Raspberry Code: mkdir -p BitcoinArmoryRPi/img/ Any help is greatly appreciated :) Title: Re: Creating offline wallet on raspberry pi Post by: Initscri on July 07, 2014, 08:38:56 PM In order to add something to your path, go to your home directory, and edit ~/.profile with your favourite editor. I use nano for simplicity:
Code: nano ~/.profile Find the following line Code: PATH="$HOME/bin:$PATH" Add change that line to include the directory. It should be: Code: PATH="$HOME/bin:$PATH:/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin" If something is already defined (Meaning it is not the "PATH="$HOME/bin:$PATH"") just add a colon and enter the same path above). Let us know if you need any additional help. You can also use .bashrc using the export command, see http://askubuntu.com/questions/60218/how-to-add-a-directory-to-my-path (http://askubuntu.com/questions/60218/how-to-add-a-directory-to-my-path) for more info (This may be more recommended). Run source .bashrc afterwards. Posted from Bitcointa.lk - #HORMaB1aqDCeATIL Title: Re: Creating offline wallet on raspberry pi Post by: cp1 on July 07, 2014, 08:44:43 PM Why are you doing all that -- you just want armory on a raspberry pi, right? https://bitcoinarmory.com/download/
Scroll to Raspberry pi -- offline bundle |