Update for Raspberry Pi 4 owners. They have finally released an update for our kernels to 64 bit. Running the update will help speed up your system to some degree and open the door to other linux based 64bit apps that wouldn't work before. Sadly existing apps on our systems are still currently 32 bit however this gives room for future growth. And also as a mining controller, if there are any future mining software that requires 64 bit processing you'll have your device in proper order.
To see what your current kernel is at just type the following command:
uname -a
And you should get the following results (or close depending on which update you are running on)
Linux Goober-Pi4 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux
Yup, named my machine Goober
But from here you will see the kernel is armv7l now the update process:
sudo rpi-update
and you will be presented with the following. Take a Y for the update
pi@Goober-Pi4:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15811 100 15811 0 0 82780 0 --:--:-- --:--:-- --:--:-- 83215
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.19.66-v7l+
PARTSIZE:268435968
#############################################################
WARNING: 'rpi-update' updates to pre-releases of the linux
kernel tree and Videocore firmware.
'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer.
DO NOT use 'rpi-update' as part of a regular update process.
##############################################################
Would you like to proceed? (y/N)
Once this completes it will tell you to reboot in order for the firmware to take place. Do not reboot yet. There is one other change we will need to make first. Type the following:
sudo nano /boot/config.txt
Then scroll all the way to the very bottom and key the following
arm_64bit=1
Then hit your control key and X. It will ask to save. Take a Y. Then it will request filename. Leave it defaulted as it'll show config.txt just hit Enter and now you are done. Reboot the Raspberry Pi.
After reboot, to verify you are now at 64 bit just key the uname -a command again as follows:
pi@Goober-Pi4:~ $ uname -a
Linux Goober-Pi4 4.19.71-v8+ #1263 SMP PREEMPT Thu Sep 12 16:28:48 BST 2019 aarch64 GNU/Linux
Now you'll see aarch64 is listed now.
**edit**
Also don't forget to do the standard updates:
sudo apt-get update
sudo apt-get upgrade -y