Hi,
I’m testing the OP-TEE feature on JetPack 5.1. I’m following the instructions from atf_and_optee_README.txt
but at the end it says:
Verifying the Image
----------------------------------------------------------------------
To verify the image:
1. Replace the default TOS image file with the newly generated TOS
image. The default TOS image file is located at:
<Linux_for_Tegra>/bootloader/tos-optee_t<platform>.img
2. Perform either of these tasks:
- Flash the system as normal.
This is useful for flashing a new system or replacing the
entire operating system.
- Re-flash the TOS image using these partition flash commands:
sudo ./flash.sh -k secure-os <your_board_conf_file> mmcblk0p1
ex:
sudo ./flash.sh -k secure-os jetson-xavier-nx-devkit mmcblk0p1
3. Copy all the files under ./optee/install/t<platform> to the target.
When I generate the TOS.img, I used the command that comes along with the instructions:
Generate the tos.img with the commands:
./gen_tos_part_img.py \
--monitor ./atf_build/arm-trusted-firmware/build/tegra/t<platform>/release/bl31.bin \
--os ./optee/build/t<platform>/core/tee-raw.bin \
--dtb ./optee/tegra<platform>-optee.dtb \
--tostype optee \
./tos.img
So I change the name of the tos.img for tos-optee_t194.img and move it to the bootloader.
Then I reflash the entire OS. And it won’t boot. It get stuck in the booting process showing some logs like:
failed to start nvpmodel
failed to start refresh fwupd
see systemctl status fwupd-refresh.system
Am I missing one step of the instructions here? Or there is an extra step that I’m not taking?
Best,
JDiego Delgado
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com