Coder Social home page Coder Social logo

Comments (6)

cuu avatar cuu commented on August 12, 2024 2

sorry to hear that
but R01 use the devel branch of ubuntu(because we had to , for latest mesa to work with)

it has risks to upgrade, according your feed back ,it seems that the kernel has been misplaced

so mount the sd card(with R01 os) on a PC (like Linux )

then go into the boot partition of the sd card

you will see

extlinux.conf  
extlinux.conf.cpi.bak  

replace extlinux.conf with extlinux.conf.cpi.bak

the extlinux.conf.cpi.bak is for this kind of situation

the apt upgrade will mess up the content of exlinux.conf

from devterm.

thomasdstewart avatar thomasdstewart commented on August 12, 2024 1

The official image leaves the Ubuntu RISC V kernels installed and after they get upgraded u-boot-update runs, which overwrites the extlinux.conf. Much like on a x86 system installing a new kernel updates the grub config file. The u-boot-update run makes a guess at which kernels you want to use, makes a menu to let you pick them all (you don't see the menu unless you see u-boot output in the debug uart) of course it assumes you want the latest version of linux, which does not boot. If you look at the content of the extlinux.conf after a u-boot-update run and the extlinux.conf.cpi.bak you can see they are completely different, as u-boot does not know about any of the custom allwinner d1 options. Probably the best quick option is setting that U_BOOT_UPDATE=false. The correct way would be to package the devterm r-01 kernel properly and understand how to integrate with u-boot-update more gracefully.

from devterm.

jw-0 avatar jw-0 commented on August 12, 2024

Thanks this worked, appreciate it

from devterm.

nzmichaelh avatar nzmichaelh commented on August 12, 2024

FWIW, /boot/exlinux/extlinux.conf is updated by u-boot-update. It looks like you can turn off automatic updating by adding U_BOOT_UPDATE=false to /etc/default/u-boot.

from devterm.

cuu avatar cuu commented on August 12, 2024

FWIW, /boot/exlinux/extlinux.conf is updated by u-boot-update. It looks like you can turn off automatic updating by adding U_BOOT_UPDATE=false to /etc/default/u-boot.

great!

from devterm.

andypiper avatar andypiper commented on August 12, 2024

Could you say more about the Mesa issue, please? I'd like to be able to install libsdl2-dev but that seems to have a conflict caused by the version of Mesa (or something else in the graphics stack).

What's the specific change to extlinux.conf that causes the boot failure?

from devterm.

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.