This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM4376: Starting Application after telnet process

Part Number: AM4376

Tool/software: Linux

Hi All,

We used AM4376 with TI Linux SDK.

We successfully silent the u-boot / kernel messages by enabling silent console option in u-boot and defining silent=1.

We successfully login using telnet on board. 

Our application start as systemd service in order to start at boot time. 

We define service as follow:

[Unit]
Description=Initmyapplication

[Service]
ExecStart=/usr/bin/myapplication &

Our application have some debug messages implemented using printf.

After completing login process using telnet those printf are not visible on telnet.

After killing application by kill -9 myapplication command and starting application by executing command /usr/bin/myapplication & debug printf are visible.

I have following question

1. How to get those printf when AM4376 start after power on and available on console when we login through telnet?

2. If we start our service after telnet service then those printf are available on console when we login using telnet ?

3. If yes how to do that? What should be the value of  'After' need to define systemd service?

4. Is there any other way to print debug printf output when we login using telnet?

Please guide me to solve the issue.

Regards,
Dhananjay Patil

  • Dhanajay,

    Thank you for your post. These are generic systemd questions. systemd is open source software that TI integrates into the SDK to ease development, but we do not support it. There is a community supported mailing list that might be helpful to you.