Comments (5)
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.
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.
@freebendy I merged your PR. Thanks for looking at it. Please prepare a PR to fix this error as well.
from u-boot-fslc.
@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.
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)
- fetch u-boot-fslc always error. HOT 1
- yocto build error with SATA HOT 9
- Developing on a fork from u-boot-fslc is a pain HOT 1
- Wandboard: wrong mmc partition used HOT 1
- Wrong Image Format for bootm command HOT 3
- Not working with WARP7 HOT 2
- Disable PSCI support HOT 1
- how can i boot form sata ,with imx6q_sabresd ,thanks HOT 2
- Makefile.lib generates wrong syntax dts files HOT 1
- Add support for 'bmode' command on iMX8 HOT 4
- imx6 uImage not found (porting linux) HOT 1
- wrong pad define in arch/arm/dts/imx6ull-pinfunc.h HOT 4
- mxc_nand lacking support? HOT 6
- Backport 'ARM: imx: soc: Select default TEXT_BASE for MX7' to v2020.04+fslc HOT 2
- How to enable USB support for imx8mm device HOT 3
- CONFIG_IMX_HAB with SPL is broken on i.mx6 HOT 7
- imx8mm evk boot from Sdcard HOT 1
- P2020RDB-PC relocation with a new toolchain HOT 3
- Broken support for Hummingboard i2 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from u-boot-fslc.