element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MaaXBoard Hardware Design IMX8M High Assurance Boot (HAB) failing with CAAM error
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 1 reply
  • Subscribers 324 subscribers
  • Views 428 views
  • Users 0 members are here
Related

IMX8M High Assurance Boot (HAB) failing with CAAM error

tom-h
tom-h 9 months ago

Hi all,

I'm not sure if this is the right place for this question, but please point me in the right direction if not!

I am currently trying to use High Assurance Boot (HAB) on my IMX8M device. And run into the following error once I have booted up the device:

U-Boot SPL 2021.04-00002-gf752480a4c-dirty (Nov 15 2024 - 16:47:52 +0000)
power_bd71837_init
set buck8 to 1.2v for DDR4
DDRINFO: start DRAM init
DDRINFO: DRAM rate 2400MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0:  RNG instantiated
Normal Boot
Trying to boot from MMC1
hab fuse not enabled

Authenticate image from DDR location 0x401fcdc0...


U-Boot 2021.04-00002-gf752480a4c-dirty (Nov 15 2024 - 16:47:52 +0000)

CPU:   i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 46C
Reset cause: POR
Model: Avnet Maaxboard
DRAM:  2 GiB
Error binding driver 'caam_jr': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
initcall sequence 00000000bffcd8d0 failed at call 000000004021c440 (err=-96)
### ERROR ### Please RESET the board ###

HAB relies on CAAM, so I am assuming the issue I am facing is the error in binding the driver 'caam_jr'.

I have followed these steps:

https://github.com/Avnet/uboot-imx/blob/maaxboard_v2020.04_5.4.24_2.1.0/doc/imx/habv4/guides/mx8m_se...

I am using the default branch of uboot-imx:

https://github.com/Avnet/uboot-imx

I also needed to add the following extra config option to resolve an undefined reference to sec_init. Which is related to the SPL in the secure boot.

CONFIG_SPL_CRYPTO_SUPPORT=y;

Please can someone help me understand why I am seeing this error. I have followed the instructions referenced above, so any advice other than what is just included in the instructions would be greatly appreciated!

Thanks,

Tom

  • Sign in to reply
  • Cancel

Top Replies

  • tom-h
    tom-h 9 months ago +2 verified
    It turns out i needed to use a specific set of branches for each of the components needed to build U-Boot to work with HAB. When using the default branches for each of the following repositories it resulted…
  • tom-h
    +1 tom-h 9 months ago

    It turns out i needed to use a specific set of branches for each of the components needed to build U-Boot to work with HAB. When using the default branches for each of the following repositories it resulted in the original error. There may be other combinations that work. Here are the following repos:

    git clone --branch "maaxboard_lf-6.1.22-2.0.0" "https://github.com/Avnet/uboot-imx.git"

    git clone --branch "maaxboard_lf-6.1.22-2.0.0" "https://github.com/Avnet/imx-mkimage"

    git clone --branch "maaxboard_lf-6.1.22-2.0.0" "https://github.com/Avnet/imx-atf"

    curl "https://sources.buildroot.net/firmware-imx/firmware-imx-8.22.bin" --output firmware-imx-8.22.bin

    For me I have been following the IMX8m instructions as listed in my original post. The board I am using is the Maaxboard.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube