Giter Club home page Giter Club logo

Comments (12)

Buanderie avatar Buanderie commented on August 15, 2024 2

Check your build setup... that script gets deployed by the tegra-state-scripts recipe, and it sounds like that isn't getting built for some reason.

The script was indeed missing from the deploy directory. Weird though the build step went through without error...
bitbake -c clean tegra-state-scripts; bitbake tegra-state-scripts did the job.

Thanks !

from tegra-demo-distro.

madisongh avatar madisongh commented on August 15, 2024 1

When doing manual installs, you must reboot first. If the reboot into the new rootfs succeeds, then log in and commit the update.

from tegra-demo-distro.

Buanderie avatar Buanderie commented on August 15, 2024

I did it as you said, rebooting after install and then committing. But it still uses the old partition.
INFO[0000] Mender running on partition: /dev/mmcblk0p1

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 15, 2024

Which branch are you using?

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 15, 2024

Also can you share the console output from mender install?

from tegra-demo-distro.

madisongh avatar madisongh commented on August 15, 2024

And also check if the update actually succeeded... if the boot failed, it would fallback to the old partition.

from tegra-demo-distro.

Buanderie avatar Buanderie commented on August 15, 2024

Here it is:

root@jetcam:~# mender --log-level debug --log-file /data/mender_install.log install /data/jetcam-image-minimal-jetson-xavier-nx-devkit-emmc.mender 
Installing Artifact of size 123020800...
.............................................................. - 100 %
Use -commit to update, or -rollback to roll back the update.
At least one payload requested a reboot of the device it updated.

Also, the produced log:
mender_install.log

It doesn't seem to have failed, from the look of it :/

from tegra-demo-distro.

Buanderie avatar Buanderie commented on August 15, 2024

Which branch are you using?

dunfell

from tegra-demo-distro.

Buanderie avatar Buanderie commented on August 15, 2024

And also check if the update actually succeeded... if the boot failed, it would fallback to the old partition.

As it does fallback to the old partition, I guess it failed to boot to the other one. But where should I look for the actual error message ? dmesg does not give me much (nothing out of the ordinary) information.

from tegra-demo-distro.

madisongh avatar madisongh commented on August 15, 2024

I don't see the ArtfifactInstall_Leave_80_bl-update script getting executed. That script is the one that informs the bootloader of the slot switch (as well as updating the bootloader in the target slot).

from tegra-demo-distro.

Buanderie avatar Buanderie commented on August 15, 2024

Indeed. It doesn't seem to be present in the .mender file either...

from tegra-demo-distro.

madisongh avatar madisongh commented on August 15, 2024

Check your build setup... that script gets deployed by the tegra-state-scripts recipe, and it sounds like that isn't getting built for some reason.

from tegra-demo-distro.

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.