Skip to content

mismatch of "uname -m" output and "getconf LONG_BIT" #318

@uidn0158

Description

@uidn0158

My original raspberry pi operating system is aarmv71, and I updated to aarch64 on local raspberry pi using following steps, after reboot, I use uname -m to check that it means my update is success, but it is still 32 using getconf LONG_BIT, Does anyone know what is reason? thanks.

-> sudo apt-get update
-> sudo apt-get upgrade
-> curl -L https://github.com/Hexxeh/rpi-firmware/archive/master.tar.gz -o master.tar.gz
-> sudo -i
-> mkdir /root/.rpi-firmware
-> cd /root/.rpi-firmware && tar -xvzf /root/master.tar.gz
-> cp -r ./rpi-firmware-master/* ./
-> UPDATE_SELF=0 SKIP_DOWNLOAD=1 rpi-update
-> reboot
-> uname -a
Linux raspberrypi 5.10.43-v8+ #1425 SMP PREEMPT Wed Jun 16 18:03:16 BST 2021 aarch64 GNU/Linux
-> getconf LONG_BIT
32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions