I have created a c project for a53 bare metal moudle,but some problem confusing me ? please help me!!!!!!!!
I want to add startup.s file for this project ,but In the debug mode the entry point isnot this file why ?
Yes, this should be fine to do - when your initialization code is done, you then call __main, which performs the c library initialization and other actions, before finally calling main().When you link the image, use --entry to define the function within your startup.s as being the real start of the code.
thanks again . Do I should change the arm ds5 setings?
See the LDFLAGS option in the makefile for this project, which contains "-e start64" (-e is a synonym for --entry).
thanks a lot !!I have maked a big sucess