On 31.03.23 at 09:36, MOHAMMED HASSAN wrote:

        Can you please guide me as to what I need to load this binary
        executable file is my generated image file.


    Is this binary statically linked? Otherwise, you have no guarantee
    that
    it will run on your root filesystem.

It is statically linked file written using c language.


Good then.

    If so, you could write a recipe to integrate the binary into your
    root
    filesystem, as it's possible to do with pre-compiled libraries :
    
https://docs.yoctoproject.org/dev-manual/common-tasks.html#working-with-pre-built-libraries.

    Caution, in this document, the new override syntax (with ":"
    instead of
    "_") is shown, it doesn't apply to Dunfell.

    I hope this helps
    Cheers
    Michael.

-- Michael Opdenacker, Bootlin
    Embedded Linux and Kernel engineering
    https://bootlin.com


Will it be okay for me to refer the above link for my specific case?


I'd say yes, write a similar recipe for your binary.
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59561): https://lists.yoctoproject.org/g/yocto/message/59561
Mute This Topic: https://lists.yoctoproject.org/mt/97967124/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to