UART debug

Started by hannan.khan, August 19, 2015, 03:07:09 PM

Previous topic - Next topic

hannan.khan

Hi

I have successfully connected UART0 to get the debug log but the data isn't enough, i.e. the data stops after 10 seconds. Is there any way to see the rest of the data?

i want to see if the CSI drivers are properly loaded so is there any other way i can look into that.

thanks in advance !!

JohnS

Which OS? Version?

I never heard of it stopping so probably a problem you can fix like poor power.

John

Gerrit

Quote from: hannan.khan on August 19, 2015, 03:07:09 PM
i want to see if the CSI drivers are properly loaded so is there any other way i can look into that.

check the output from the dmesg command if you are in linux

hannan.khan

the power is looking okay i have manually checked all the test points. i am working on the android 4.2.2 image provided by axonjakarta.wordpress.com

this is all i get on the debug port
QuoteU-Boot 2011.09-rc1 (Aug 13 2015 - 12:34:05) Allwinner Technology <CR><LF>
<CR><LF>
CPU:   SUNXI Family<CR><LF>
Board: SUN7I-EVB<CR><LF>
DRAM:  1 GiB<CR><LF>
NAND:  [NAND] set nand_good_block_ratio 840 <CR><LF>
2624 MiB<CR><LF>
In:    serial<CR><LF>
Out:   serial<CR><LF>
Err:   serial<CR><LF>
--------fastboot partitions--------<CR><LF>
-total partitions:11-<CR><LF>
-name-        -start-       -size-      <CR><LF>
bootloader  : 8000          8000        <CR><LF>
env         : 10000         8000        <CR><LF>
boot        : 18000         8000        <CR><LF>
system      : 20000         100000      <CR><LF>
data        : 120000        100000      <CR><LF>
misc        : 220000        8000        <CR><LF>
recovery    : 228000        10000       <CR><LF>
cache       : 238000        100000      <CR><LF>
databk      : 338000        80000       <CR><LF>
private     : 3b8000        8000        <CR><LF>
UDISK       : 3c0000        160000      <CR><LF>
-----------------------------------<CR><LF>
bootcmd set setargs_nand<CR><LF>
Hit any key to stop autoboot:  0 <CR><LF>
<CR><LF>
Starting kernel ...<CR><LF>
<CR><LF>
[    0.686667] fusion_F0710A 3-0010: query failed: -70<CR><LF>
[    2.502402] init: width = 800<CR><LF>
[    2.505823] init: height = 480<CR><LF>
[    2.509243] init: s.st_size = 1536000<CR><LF>
[    2.548650] EXT4-fs (nande): VFS: Can't find ext4 filesystem<CR><LF>
[    2.629638] init: buffer : /dev/block/nande[AXP]battery state change<CR><LF>
[    4.087488] init: do_umount: /data <CR><LF>
[    4.091439] init: do_umount error = Invalid argument<CR><LF>
[    4.250850] EXT4-fs (nandh): VFS: Can't find ext4 filesystem<CR><LF>
[    4.294656] init: buffer : /dev/block/nandh<CR><LF>
[    5.732729] init: do_umount: /cache <CR><LF>
[    5.737027] init: do_umount error = Invalid argument<CR><LF>
[    5.783527] init: start format /dev/block/UDISK<CR><LF>
[    5.788954] init: wait for format /dev/block/UDISK<CR><LF>
[    5.789159] init: fork to format /dev/block/UDISK<CR><LF>
[    8.319973] init: format /dev/block/UDISK ok<CR><LF>
[    8.326746] EXT4-fs (nandi): VFS: Can't find ext4 filesystem<CR><LF>
[    8.364693] init: buffer : /dev/block/nandi<CR><LF>
[    9.941994] init: do_umount: /databk <CR><LF>
[    9.946364] init: do_umount error = Invalid argument[uart]: uart0 LCR & BAUD changed, reset controller...<CR><LF>
[    9.979690] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'<CR><LF>
[    9.980210] init: cannot find '/system/bin/u3gmonitor', disabling 'u3gmonitor'<CR><LF>
[   10.300604] [gpio-err] gpio_irq_hdl: handler failed 60, bf115780<CR><LF>
[   10.720258] android_usb: already disabled<CR><LF>
[   10.725492] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead<CR><LF>
[   10.737797] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead<CR>