imx93 test hello_world application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx93 test hello_world application

473 Views
xiang_1001
Contributor III

I'm testing the hello_world application as documented, but I get an error. What's the cause?

 

xiang_1001_0-1759225375017.png

 

0 Kudos
Reply
3 Replies

446 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @xiang_1001 

 

Could you please the BSP /SDK version you are using ?

 

Regard

Daniel

0 Kudos
Reply

378 Views
xiang_1001
Contributor III

xiang_1001_0-1759972949899.png

 

0 Kudos
Reply

296 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @xiang_1001 

 

Based on your output, the multicore demo on the i.MX93 EVK is actually working correctly, despite the error message.

 

error -2 = ENOENT (No such file or directory). This is not fatal.

The kernel first tries to load the firmware using the default firmware loader mechanism (usually from /lib/firmware).

Since your firmware is in a custom path (/examples/...), it fails the default method.

Then it falls back to sysfs, which is exactly what you intended by writing the path to /sys/.../firmware.

Finally, it successfully boots the CM33 core with your ELF file.

 

So you don't need to fix anything.

 

 

Regards

Daniel

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2178091%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93%20test%20hello_world%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2178091%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20testing%20the%20hello_world%20application%20as%20documented%2C%20but%20I%20get%20an%20error.%20What's%20the%20cause%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xiang_1001_0-1759225375017.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22xiang_1001_0-1759225375017.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359032i17941F73AEB5E03B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22xiang_1001_0-1759225375017.png%22%20alt%3D%22xiang_1001_0-1759225375017.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2185219%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx93%20test%20hello_world%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185219%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242171%22%20target%3D%22_blank%22%3E%40xiang_1001%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBased%20on%20your%20output%2C%20the%20multicore%20demo%20on%20the%20i.MX93%20EVK%20is%20actually%20working%20correctly%2C%20despite%20the%20error%20message.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CCODE%3Eerror%20-2%3C%2FCODE%3E%20%3D%20%3CCODE%3EENOENT%3C%2FCODE%3E%20%3C%2FFONT%3E(No%20such%20file%20or%20directory).%20This%20is%20%3CSTRONG%3Enot%20fatal%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3EThe%20kernel%20first%20tries%20to%20load%20the%20firmware%20using%20the%20default%20firmware%20loader%20mechanism%20(usually%20from%20%3CFONT%20color%3D%22%23000000%22%3E%3CCODE%3E%2Flib%2Ffirmware%3C%2FCODE%3E%3C%2FFONT%3E).%3C%2FP%3E%0A%3CP%3ESince%20your%20firmware%20is%20in%20a%20custom%20path%20(%3CCODE%3E%2Fexamples%2F...%3C%2FCODE%3E)%2C%20it%20fails%20the%20default%20method.%3C%2FP%3E%0A%3CP%3EThen%20it%20falls%20back%20to%20sysfs%2C%20which%20is%20exactly%20what%20you%20intended%20by%20writing%20the%20path%20to%20%3CCODE%3E%2Fsys%2F...%2Ffirmware%3C%2FCODE%3E.%3C%2FP%3E%0A%3CP%3EFinally%2C%20it%20successfully%20boots%20the%20CM33%20core%20with%20your%20ELF%20file.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%20you%20don't%20need%20to%20fix%20anything.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2178160%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx93%20test%20hello_world%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2178160%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242171%22%20target%3D%22_blank%22%3E%40xiang_1001%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20please%20the%20BSP%20%2FSDK%20version%20you%20are%20using%20%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegard%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E