Giter Site home page Giter Site logo

Comments (4)

madisongh avatar madisongh commented on August 23, 2024

There should still be an eks partition even if you don't have secure boot enabled. You can find out more about why it's having trouble locating the partition using strace (see here).

I made the addition of the other partitions in 6bacf26 to test the ability of completely reformatting and repopulating the entire eMMC in the installer image I'm using for the secureboot-enabled TX2. IIRC I ran into this same issue using nv_update_engine, so I switched to using my own tegra-bootloader-update tool for updates as well as the initial installation. There's probably a better solution that doesn't involve making changes to the BUP payloads that nv_update_engine can't handle.

(updated to add) Now I remember... nv_update_engine doesn't handle having blobs in the BUP payload for non-redundant partitions.

from test-distro.

kekiefer avatar kekiefer commented on August 23, 2024

Thanks, that explains it. This turns off my big flashing red light for not being able to rewrite the flash during updates in the inevitable case NVIDIA decide to change up the entire flash layout in L4T (again).

I think it makes sense to put the tegra-boot-tools in meta-tegra, for the same reasons we moved tegra-bup-payload. I'd also like to be able to use tegra-bootinfo for other update mechanisms in the way it is used in testdistro.

As I'm looking at tegra-bootinfo, I'm also thinking the bootcountcheck service and the initrd-setup that calls it might be nice as well, to avoid duplicating all that, but that's starting to feel a little bit too specialized.

from test-distro.

madisongh avatar madisongh commented on August 23, 2024

This turns off my big flashing red light for not being able to rewrite the flash during updates in the inevitable case NVIDIA decide to change up the entire flash layout in L4T (again).

Yeah, this is tricky. I'm not sure I have it working for all cases... I did come up with an OTA upgrader to handle an update from R32.2.x to R32.3.1, and a slightly different method to handle my slightly-off R32.3.1 flash layout updating to the correct layout (which also works with R32.4.2) that didn't require a complete reformat of the flash. But the bootloader is very finicky in ways I'm not sure I fully understand yet.

I think it makes sense to put the tegra-boot-tools in meta-tegra

I'm open to this. The tools there could use some additional sprucing up in the code and the documentation, though.

from test-distro.

kekiefer avatar kekiefer commented on August 23, 2024

Thanks for the input. I'll spend a little more time with tegra-boot-tools and send over any PRs that make sense.

from test-distro.

Related Issues (5)

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.