I want to put my (custom) Sitara AM335x board into operation at power up, automatically.
That is I need to start my console Linux application right after the system is started (Angstroom/Arago).
It is valued also that if at any time I activate my terminal connection I will have a prompt from my console app, be it a hardware UART TTY, or SSL network terminal - as initially configured for the application in question, at it's start.
How do I do that?
The internet is full of advises on "how do I log in automatically?" of a sort "you never should do that"
I do not think this is the best answer and I'd like to invite the Linux experts to share better ideas on this.
Of course, there is an option to write something like a kernel driver/network service and allow the user, after regular log in, connect with this service, from the terminal. Those who tried, know that this is not always an acceptable solution.
So, at minimum,
can I somehow skip the log in process (log in the user automatically after the Linux is started) from the specified terminal, so that to using the bash script of this console terminal, start my console application?
Or any better idea...
Thanks!