Open BugHunter2k opened 1 year ago
On Pi 4 a 64-bit kernel is running by default. See https://github.com/raspberrypi/firmware/issues/1795
It can be switched to 32-bit by adding arm_64bit=0 to config.txt.
After that the installation should work.
It can be switched to 32-bit by adding arm_64bit=0 to config.txt.
After that the installation should work.
Would make sense to add that to the docs.
It can be switched to 32-bit by adding arm_64bit=0 to config.txt. After that the installation should work.
Would make sense to add that to the docs.
+1
We can directly link to this in the install script as well.
This has been added to the documentation for now https://github.com/MiczFlor/RPi-Jukebox-RFID/pull/2057 It might be interesting to use @BugHunter2k's solutions long-term. Maybe you find the time to put it into a pull request?
With the error reports from https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1815#issuecomment-1816263508 on using a mixed setup (32 bit OS and 64 bit Kernel), maybe this check is the right thing to do after all? @pabera
If so, the message should be updated accordingly.
Do we know what does not work with 64 bit exactly?
Do we know what does not work with 64 bit exactly?
ERROR: Only 32 bit operating systems supported. Please use a 32bit version of RaspianOS!
We are defining this boundary ourselves, and in fact we haven't tested if this actually already works. Docker Development environments run on 64bit, so I would believe this can also work for RPi with amd64
/aarch64
.
We just need to test and in case all works well, we can remove this check entirely.
But, the question is, what is the optimal solution for a Phoniebox when it comes to speed (on start up) and compatibility (of newer and older libaries). Here are a few considerations.
32-bit Architecture
64-bit Architecture:
I think once we have tested 64 bit, we could remove the check.
Older Pi’s run on 32 bit anyway, so it shouldn’t be a problem for those, right?
Hello tother... i have tested the installation prozess and can agree with this settings to config.txt: arm_64bit=0
AND, i think an important step, that is not documented yet --> Expand filesystem! by reading the install-steps, i didn't do that, and after about 3/4h my installation-prozess terminates by an error. lookin in the log file, i'll knew the error --> not enough space :/
would be nice, if someone can write this in the installation-description.
cheers Joko
Hi Joko(@wrsmcode),
AND, i think an important step, that is not documented yet --> Expand filesystem!
Usually the expansion is performed by default on first boot. How did you flash your SD Card and what image did you use?
https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2313#issuecomment-2155357857
64 bit seems to work, we could discuss, if we remove that boundary @pabera
Describe your problem
Installation aborts with:
What's your hardware set up?
RPi 4 Model B with 4GB OS: Raspberry Pi OS Lite (32-Bit)
installation Checks
uname -m
that givesaarch64
(Procesortype)dpkg --print-architecture
armhf
getconf LONG_BIT
32