manish mahajan [mailto:[email protected]] wrote:


]Hello,
]
]I am new to Edk-II development. I tried hello world sample program provided
]here: 
http://sourceforge.net/apps/mediawiki/tianocore/index.php?]title=Getting_Started_Writing_Simple_Application
]
]I am using arm-64 chip. I hooked MyHellowWorld.inf to
]"tianocore/ArmPlatformPkg/<vendor>Pkg/Mustang-UHP.dsc.
]UHP image build is successful. But when I load the new UEFI,
]I don't see my "hello world" print on the console. I directly
]see UEFI bootup log and boot options.
]
]Since, "UefiMain" is defined as an entry point, when this
]function will be invoked? or do I need to manually call it
]from other function? My understanding is that "ENTRY_POINT"
]in .inf is like main() function in C.
]
]What should I do to make sure that UefiMain function is getting called?

If I am understanding the sequence correctly, your application
must be manually launched. For example, copy the helloworld.efi
to a FAT formatted USB flash drive, then move that drive to the
arm-64 board. Boot the arm-64 board to a UEFI shell prompt. Then
type "fs0:" or whatever is mapped to the USB flash drive. After
that, type helloworld.efi to actually execute the hello world
application. In other words, adding helloworld.inf to the DSC file
causes it to get built, but it does not cause it to execute as part
of the boot sequence.
Thanks,
Scott

]Thanks,
]Manish
 


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to