-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling on Raspberry Pi 4 #420
Comments
Does it stuck only on Raspberry Pi? Just tried on Linux PC, block 299200 synced ok:
(didn't tried to sync from 0, only popped my blockchain to some point prior block 299200)
Unfortunately I don't have RPi4 hardware, so I can only try cross-compiling when I have a time for this (don't have much time right now). If you have some howtos/tips on how to setup environment - please share. |
Thanks for your response :-) If i try the import without verification, it imports, of course the blockchain doesnt synchronize with the actual network and stucks at the last imported block. When it all works, im going to create a step-by-step tutorial, for setting up a graft&supernode on a raspberry pi 4 including all tweaks. :-) At this moment i try to compile the supernode on raspbian again with some new settings, i will post it here with detailed logs. Do you got some ideas for compiling settings on raspbian ? |
In near future i'll be only able to help to check your logs - in particular graftnoded's logs while it stuck with synchronizing around the block 299200 and build log. For runtime log:
For build issue - please either pass me a build log or some howto describing how to setup cross-compile environment (toolchain, libraries, etc) so i could try to build myself. But only RPi is have is the RPi3 |
Thats my building log, it seems to be a problem with "undefined reference to `__atomic_load_8'" Last try log: [ 93%] Linking CXX executable ../../bin/graft-blockchain-export |
Cmake Output: |
So you have this issue while building it as part of
|
Thanks for your help, it belongs only to graft-ng. I found something useful for crosscompiling here: |
Tried it with: set(CMAKE_C_FLAGS "-march=armv7") option(OPT_BUILD_TESTS "Build tests." OFF) Result: Am i wrong with these settings ? |
If youre successfull with crosscompiling, please add a compiled arm release ;-) |
I extracted from my actual SD-Card an raspbian environment including Toolchain for Crosscompiling: |
This is far better for compiling & testing: |
Im trying to build the supernode on a Raspberry Pi 4, i made changes to the Cmakelist for compiling on Raspbian Armv7.
The power of an actual Raspberry Pi 4 with 4 GB Ram (doing some optimizations like increasing /tmp to 2048mb and slight overclock) should be enough to compile and run a graftnode & supernode on this small device.
Compiling the graftnode works like a charm, of course the synchronization stucks at block 299200 (direct after switching form v11 to v12), maybe you got a hint for me, i tried everything and build the blockchain 5 times with diffderent options, it stucks everytime at he same block.
The compiling of the supernode works until 98% then it failed...
Some Ideas or changes for compiling the supernode on Raspbian armv7 ?
I tried Crosscompiling without success.
Im still working on a out-of-the box solution for the new Raspberry Pi 4, including a working Graft & Supernode with an actual lmdb on Board, changes will be here in my new pi fork: https://github.com/KryptoBilko/pigraft
This will push the Graft Network, if everyone can easily setup a supernode at home :-)
The text was updated successfully, but these errors were encountered: