Code Monkey home page Code Monkey logo

Comments (5)

freebendy avatar freebendy commented on August 12, 2024

After some debugging, the issue might be introduced by commit 1d756ad. If the hab is disabled and there is no SRKs programmed in the efuse (I think it is the normal case during development), calling hab_rvt_authenticate_image() in imx_hab_authenticate_image() leads to this randomly failure. After I added the following code if (!imx_hab_is_enabled()) goto hab_authentication_exit; before the hab_rvt_authenticate_image() to avoid the call. It succeeded to boot into Linux user space.

from u-boot-fslc.

fabioestevam avatar fabioestevam commented on August 12, 2024

@freebendy

Please submit your fix via the U-Boot mailing list, with all the folks involved in commit
1d756ad on Cc.

Thanks

from u-boot-fslc.

otavio avatar otavio commented on August 12, 2024

@freebendy I merged your PR. Thanks for looking at it. Please prepare a PR to fix this error as well.

from u-boot-fslc.

freebendy avatar freebendy commented on August 12, 2024

@otavio Thanks. I need a guidance here. The mainline u-boot does not support kernel HAB in bootm command yet, and the imx u-boot adds support of the legacy uImage in nxp-imx/uboot-imx@3b09ef6. I added the support of fitImage HAB on top of the imx commit above. I have 2 change commits on hand:

  • support fitImage HAB
  • fix the crash issue
    But I am not sure which u-boot (mainline, imx or fslc) should I create the PRs to.

from u-boot-fslc.

fabioestevam avatar fabioestevam commented on August 12, 2024

@freebendy

I suggest submitting the patches to the U-Boot mainline list first. After it gets reviewed there, then send a PR against u-boot-fslc.

Thanks

from u-boot-fslc.

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.