I use Xavier AGX and l4t version is 32.4.2.
I’m now tracing actions during boot time
I use “printk” to show messages just as I did in TX2 with l4t r28.3.
But serial console didn’t show any message I put.
So I print a test message with all log level and here is what I got:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.140 (fortx2@fortx2-H110N) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #3 SMP PREEMPT Tue Jun 23 09:55:54 CST 2020
[ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[ 0.000000] OF: fdt:memory scan node memory, reg size 48,
[ 0.000000] OF: fdt: - 80000000 , 2c000000
[ 0.000000] OF: fdt: - ac200000 , 44600000
[ 0.000000] OF: fdt: - 100000000 , 780000000
[ 0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options ‘’)
[ 0.000000] bootconsole [tegra_comb_uart0] enabled
[ 1.494534] @@@@ pr_emerg 0
[ 1.494563] @@@@ pr_alert 1
[ 1.494608] @@@@ pr_crit 2
[ 1.494624] @@@@ pr_err 3
[ 5.755271] @@@@ pr_emerg 0
[ 5.755382] @@@@ pr_alert 1
[ 5.755447] @@@@ pr_crit 2
[ 5.755498] @@@@ pr_err 3
[ 6.153263] cgroup: cgroup2: unknown option “nsdelegate”
[ 6.155072] pstore: decompression failed;returned -5
[ 7.453348] using random self ethernet address
[ 7.453477] using random host ethernet address
[ 7.473537] random: crng init done
[ 7.473638] random: 7 urandom warning(s) missed due to ratelimiting
[ 8.065935] using random self ethernet address
[ 8.066056] using random host ethernet address
Ubuntu 18.04.4 LTS localhost ttyTCU0
It seems that it won’t show log level lower than 4.(FYI ,I put those message at vi5_probe).
I have tried editing /etc/sysctl.conf, but this only become effective after booting process is finish.
I can just print my messages with higher level to solve this problem,
but I am wondering where to set this default level?
Btw, is the default message log level in R32.3.2 same as R28.3?
Edit :
I have checked /proc/cmdline:
root@localhost:~# cat /proc/cmdline
root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=8 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 quiet
Does that “quiet” and the end of cmdline means boot in quiet mode?
If so, where can I disable quiet mode?