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/AM5728: How can I remove linux Messages on ttys2 dev?

Part Number: AM5728

Tool/software: Linux

Hi.

I'm using AM572x custom board

I want to use linux console  ttys1 and DSP console use ttys 2.

But, ttys1 & ttys2 are show me linux console same.

then, I want to know how can I remove linux console messages on ttys2 dev.

TTYS1 Log:

U-Boot 2016.05-00118-g68750ff-dirty (Apr 19 2017 - 14:24:54 +0900)

CPU : DRA752-GP ES2.0
Model: TI AM5728 IDK
Board: AM572x IDK REV <NULL>
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1

..............................................

intermediate omission

.............................................

***************************************************************
***************************************************************
[ OK ] Started Print notice about GPLv3 packages.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target Network.
Starting Lightning Fast Webserver With Light System Requirements...
cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Starting Network Name Resolution...
[ OK ] Started Serial Getty on ttyS1.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS2.
[ OK ] Started Network Name Resolution.
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ OK ] Started Login Service.
[ OK ] Started uim-sysfs.service.
Starting telnetd.service...
Starting tiipclad-daemon.service...
[ OK ] Started telnetd.service.
[ OK ] Started tiipclad-daemon.service.
Starting thttpd.service...
[ OK ] Started thttpd.service.
Starting rng-tools.service...
[ OK ] Started rng-tools.service.
Starting gdbserverproxy.service...
[ OK ] Started gdbserverproxy.service.
Starting thermal-zone-init.service...
[ OK ] Started thermal-zone-init.service.
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am57xx-evm ttyS1

Arago 2016.08 am57xx-evm ttyS1

am57xx-evm login:

TTYS2 LOG:

U-Boot SPL 2016.05-00118-g68750ff-dirty (Apr 19 2017 - 14:24:54)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
sootoo23 - Searching Chip.. 'am57xx-beagle-x15'
sootoo23 - Searching Chip.. 'am572x-idk'
Selecting config 'am572x-idk', fdt 'fdt@2'
reading u-boot.img

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am57xx-evm ttyS2

Arago 2016.08 am57xx-evm ttyS2

am57xx-evm login:

Best Regards,

John Kim

  • root@am57xx-evm:~# systemctl disable serial-getty@ttyS2.service
  • Thank you for your answer.

    I think.. This Answer is allowed after booting sequence.
    These Outputs are set in Root File System Script?

    I want to remove ttys2 linux messages when i power on AM5728, not after Booting Sequence.

    Best Regards

    John Kim.
  • You mean these messages?

    U-Boot SPL 2016.05-00118-g68750ff-dirty (Apr 19 2017 - 14:24:54)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    sootoo23 - Searching Chip.. 'am57xx-beagle-x15'
    sootoo23 - Searching Chip.. 'am572x-idk'
    Selecting config 'am572x-idk', fdt 'fdt@2'
    reading u-boot.img
  • Hello,

    You can refer this link [1]

    [1] developer.toradex.com/.../how-to-disable-enable-debug-messages-in-linux

    Cheers,
    --Prabhakar Lad
  • I want to remove this message.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am57xx-evm ttyS2

    Arago 2016.08 am57xx-evm ttyS2

    am57xx-evm login:
  • Hi,

    The problem is that the DSP messages come up with the Linux messages during operation.
    Then I can't see the DSP message.

    ttyS2Log example:
    U-Boot SPL 2016.05-00118-g68750ff-dirty (Apr 19 2017 - 14:24:54)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    sootoo23 - Searching Chip.. 'am57xx-beagle-x15'
    sootoo23 - Searching Chip.. 'am572x-idk'
    Selecting config 'am572x-idk', fdt 'fdt@2'
    reading u-boot.img

    [DSP1] Core Init
    [CMEM] ARM-DSP Shared mem init Done.
    [UartTask] Init.
    [PCIe] Init.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am57xx-evm ttyS2

    Arago 2016.08 am57xx-evm ttyS2

    am57xx-evm login:


    Best Regards,
    John Kim
  • Please, check this page out.

  • Thnak you for your reply.

    I solved the problem.

    ------------------------------------------------------------------------------------------------------------------------------

    root@johnkim-VirtualBox:# ls /etc/systemd/system/getty.target.wants/
    getty@tty1.service serial-getty@ttyO2.service serial-getty@ttyS2.service

    root@johnkim-VirtualBox:# rm /etc/systemd/system/getty.target.wants/serial-getty\@tty*

    ------------------------------------------------------------------------------------------------------------------------------



    Best Regards,
    John Kim