Version Check

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Version Check

Post by knarf231 »

Is there a way to ensure I am running the 64bit version of DietPi? I installed onto a rpi4b and am running into an issue trying to get xteve to install. After trying to troubleshoot on an xteve discord the only logical conclusion they could come up with is that I did not install the 64bit version of the OS. I just wanted to verify before I start from scratch.

Thanks
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Version Check

Post by Joulinar »

Hi,

DietPi for RPi is based on Raspbian Lite. So question would be, is Raspbian Lite a 32 or 64 bit OS? 8)

So by default it should be 32bit. However end of last year RPi foundation released first kernel that is 64bit capable

https://www.raspberrypi.org/forums/view ... 9&t=250730

to get it activated you would need to add arm_64bit=1 into /DietPi/config.txt and reboot your system. Afterwards uname -a should display aarch64 instead of armv7l

Code: Select all

before
Linux DietPi3 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
after
Linux DietPi3 4.19.97-v8+ #1294 SMP PREEMPT Thu Jan 30 13:27:08 GMT 2020 aarch64 GNU/Linux
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Re: Version Check

Post by knarf231 »

I do not see that line of code anywhere in my config.txt.
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Version Check

Post by Joulinar »

you need to add arm_64bit=1 into /DietPi/config.txt

The code section was just the example of the output of uname -a before and after the change
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Re: Version Check

Post by knarf231 »

Any particular line?
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Version Check

Post by Joulinar »

simply add it to the end. it doesn't matter
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Re: Version Check

Post by knarf231 »

Ugh. Now my pi starts up. Goes through it’s normal sequence. When that has completed. I get a yellow box that says ‘restore pages’ but I have no mouse or keyboard functionality.
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Re: Version Check

Post by knarf231 »

Looks like it’s trying to load chromium.

It brought up DietPi vs Raspian lite file.

Still have no mouse ability. I’m using a mouse/keyboard combinatio. Keyboard has functionality. Can’t seem to understand how to load the normal desktop I was using.
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Version Check

Post by Joulinar »

can you try to use SSH (from a different computer) to your DietPi system ?? and check the autostart settings on dietpi-config?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
knarf231
Posts: 6
Joined: Mon Mar 16, 2020 11:35 am

Re: Version Check

Post by knarf231 »

Never mind. I’m working through it. Going to try the adding of the line to config now.
Post Reply