This shows you the differences between two versions of the page.
ass:labs-2025:01:tasks:02 [2025/08/04 12:46] florin.stancu |
ass:labs-2025:01:tasks:02 [2025/08/04 19:51] (current) florin.stancu |
||
---|---|---|---|
Line 24: | Line 24: | ||
== Step 2.1. Build ARM Trusted Firmware-A (ATF / TF-A) == | == Step 2.1. Build ARM Trusted Firmware-A (ATF / TF-A) == | ||
- | |||
- | Following a successful build process, you should obtain a **bl31.bin** file (take note if its location, for you will need it later). | ||
<note tip> | <note tip> | ||
Line 38: | Line 36: | ||
If you're still having problems, you can also read the [[https://docs.u-boot.org/en/latest/board/nxp/imx93_frdm.html|u-boot mainline steps for FRDM iMX93]]. | If you're still having problems, you can also read the [[https://docs.u-boot.org/en/latest/board/nxp/imx93_frdm.html|u-boot mainline steps for FRDM iMX93]]. | ||
+ | |||
+ | Following a successful build process, you should obtain a **bl31.bin** file (take note if its location (use ''find'' to find it if lost) and copy it to your ''artifacts/'' dir, for you will need it later). | ||
=== The iMX proprietary firmware === | === The iMX proprietary firmware === | ||
Line 62: | Line 62: | ||
<code bash> | <code bash> | ||
- | # from the firmware-imx: | + | # from the firmware-imx (8 files!): |
- | lpddr4_imem_1d_v202201.bin lpddr4_dmem_1d_v202201.bin | + | lpddr4_imem_1d_v202201.bin lpddr4_dmem_1d_v202201.bin |
- | lpddr4_imem_2d_v202201.bin lpddr4_dmem_2d_v202201.bin | + | lpddr4_imem_2d_v202201.bin lpddr4_dmem_2d_v202201.bin |
- | lpddr4_pmu_train_1d_dmem.binlpddr4_pmu_train_1d_imem.bin | + | lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_1d_imem.bin |
- | lpddr4_pmu_train_2d_dmem.bin lpddr4_pmu_train_2d_imem.bin | + | lpddr4_pmu_train_2d_dmem.bin lpddr4_pmu_train_2d_imem.bin |
- | # and this is from firmware-sentinel: | + | # and this is from firmware-sentinel (just 1 req., fortunately): |
mx93a1-ahab-container.img | mx93a1-ahab-container.img | ||
</code> | </code> | ||
Line 170: | Line 170: | ||
The format is specific to each model and is usually described inside the chip's [[https://www.nxp.com/webapp/Download?colCode=IMX93RM|Technical Reference Manual]] (note: requires sign in!). | The format is specific to each model and is usually described inside the chip's [[https://www.nxp.com/webapp/Download?colCode=IMX93RM|Technical Reference Manual]] (note: requires sign in!). | ||
- | {{ :ass:labs-2025:01:imx93_firm_image_format.png?600| }} | + | {{ :ass:labs-2025:01:imx93_firm_image_format.png?600 |}} |
In order to generate a binary image file in this format, we must use a specific tool ofc. | In order to generate a binary image file in this format, we must use a specific tool ofc. | ||
Line 206: | Line 207: | ||
<code> | <code> | ||
imx-mkimage/iMX93 | imx-mkimage/iMX93 | ||
- | ├── bl31.bin # generated, we don't care | + | ├── bl31.bin # ARM Trusted Firmware |
├── boot-spl-container.img # also generated | ├── boot-spl-container.img # also generated | ||
├── flash.bin # generated by `make SOC=... dtbs=...` | ├── flash.bin # generated by `make SOC=... dtbs=...` |