Prawn:
I want to make Android system boot print out the kernel at boot stage serial print all the information he printed information is printk () to write out the form. But in the serial see all the information when printing starts normally, if I want to see all the printed information, such as how to modify it should source printk??? (KERN_NOTICE "Kernel command line:% s \ n", boot_command_line); Such printing information, how can print out the serial port it? ? Is not this debugging information, and in some places to do the relevant definition? ? ?
# Define printf_emerg (args. ..) printk (KERN_EMERG args)
# Define printf_alert (args. ..) printk (KERN_ALERT args)
# Define printf_crit (args. ..) printk (KERN_CRIT args)
# Define printf_err (args. ..) printk (KERN_ERR args)
# Define printf_warning (args. ..) printk (KERN_WARNING args)
# Define printf_notice (args. ..) printk (KERN_NOTICE args)
# Define printf_info (args. ..) printk (KERN_INFO args)
# Define printf_debug (args. ..) printk (KERN_DEBUG args)
# Define printf (args. ..) printk (args)
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
cat / proc / kmsg
No comments:
Post a Comment