Code Monkey home page Code Monkey logo

Comments (3)

pelwell avatar pelwell commented on August 12, 2024

getconf shows the configuration of the Debian OS. What you have done is:

  1. update to the latest version of your installed OS (presumably Raspberry Pi OS) which would have changed the kernel,
  2. downloaded a snapshot of the firmware repo, including a new kernel,
  3. moved the files around a bit,
  4. installed it without downloading it using rpi-update (why not just use sudo rpi-update and skip steps 2 and 3?).

At some point you must also have set arm_64bit=1 in config.txt. Without that you would still be running a 32-bit OS on a 32-bit kernel. As it is you are running a 32-bit OS on a 64-bit kernel, which is why getconf LONG_BIT returns 32.

You can't upgrade to a 64-bit ARM OS from a 32-bit ARM OS, just as you can't upgrade from an X86_64 OS to an 32-bit ARM OS - in both cases you need to start from scratch.

from rpi-update.

uidn0158 avatar uidn0158 commented on August 12, 2024

Hello pelwell,

I added "arm_bit64=1" in end of /boot/config.txt, and I use uname -a to get aarch64 which means it is 64-bit kernel running, am I right?
The reason I skip to use sudo rpi-update directly as I got an error "!!! Failed to download update for rpi-update!
!!! Make sure you have ca-certificates installed and that the time is set correctly", and I can't perform rpi-update even I re-install ca-certificates and sync. the time.

How I can fix my issue? re-install the system 2020-05-27-raspios-buster-arm64.zip using imager? or whether I could update to 64-bit ARM OS from 64-bit kernel?

Thanks for your supportl

Tim

from rpi-update.

pelwell avatar pelwell commented on August 12, 2024

Although the 32- and 64-bit OSes can both be run on the same device they are completely different architectures - you have to start from a fresh image download.

from rpi-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.