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/AM5726: Kernel debug print

Part Number: AM5726
Other Parts Discussed in Thread: BEAGLEBOARD-X15, AM5728

Tool/software: Linux

Hello,

I am using linux kernel 4.4.32.

At the time of booting i got below prints.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.32-gadde2ca9f8 (root@AHMCPU1852) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Feb 6 8
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM5728 BeagleBoard-X15

There is no any print like

Uncompressing Linux........done, booting the kernel.

How can i enable above prints.

Regards,
Prerak
  • Hello,

    What is the PSDK that you are using here?
    I can not allocate PSDK that is using this kernel version.
    Please check this e2e thread:
    e2e.ti.com/.../590728

    Hope this helps.

    BR
    Margarita
  • I am using 03.02.00.05 PSDK

    Regards,
    Prerak
  • Hi Magarita,

    I am getting all prints aftre kernel start.
    Only "Uncompressing Linux........done, booting the kernel" print doesn't appears.

    Regards,
    Prerak
  • Hello,

    I see the this on my side:

    ....
    107254 bytes read in 43 ms (2.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe2000, end 8ffff2f5 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.59-ga75d8e9305 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP PREEMPT Sat Dec 23 10:02:24 EST 2017
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3
    [ 0.000000] efi: Getting EFI parameters from FDT:
    ....

    Is this what you are seeing also?

    BR
    Margarita
  • Hi,

    Yes i have seen same logs. That issue has been resolved. Thanks For your support.

    I am facing another problem regarding kernel and filesystem.

    I want to disable logs coming from kernel and filesystem on serial console.

    I am able to disable kernel logs by setting 

    #define CONSOLEDEV          "ttyO6" 

    in " include/configs/coustom_board.h" in u-boot code. But still i can see filesystem logs on serial console.

    Please suggest way to disable filesystem logs from serial console.

    Below is the logs for your referance:

    NAND read: device 0 offset 0xc00000, size 0x800000
     8388608 bytes read: OK
    Looks like Main Kernel is corrupted Lets read from backup partition
    Value Read is 0x25
     WDT Started
    Kernel image @ 0x82000000 [ 0x000000 - 0x36ee40 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffff7af ... OK

    Starting kernel ...



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

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

    Arago 2016.10 am57xx-evm ttyS2

    Regards,

    Prerak

  • Hello,

    I am sorry for delay. If I understand your question right have you tried in uboot something like console null?

    Please check these threads:
    e2e.ti.com/.../299281
    e2e.ti.com/.../2230139

    BR
    Margarita
  • Hi,

    I have tried your suggested links. Below is the output for same.

    1). e2e.ti.com/.../299281
    But there is systemd instead of inittab in my architecture.

    2). e2e.ti.com/.../2230139
    I have tried the same thing as suggested in above link but it only disabled kernel logs. Filesystem logs still continue.


    On top of above things, I have tried as per below link.

    e2e.ti.com/.../2444450

    But as Kemal suggest there is no effect of dts file if I am using "am57xx_evm_nodt_config" config file. But in my case, it affects.

    Please help me to resolve this issue.

    Regards,
    Prerak
  • Hello,

    I see in the menuconfig for u-boot [ ] Support a silent console (NEW) . Could you try this option?

    BR
    Margarita
  • Hello Prerak,

    I see the last question has been answered here:
    e2e.ti.com/.../665019

    so I am closing this thread.

    BR
    Margarita