fsck.ext4 /dev/mmcblk0p7
root@inomec:/# fsck.ext4 /dev/mmcblk0p7
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p7 is mounted.
e2fsck: Cannot continue, aborting.
啥也没干 最近经常报错,如下
[ 91.500992] random: 2 urandom warning(s) missed due to ratelimiting
[ 305.126902] EXT4-fs (mmcblk0p7): error count since last fsck: 66
[ 305.133676] EXT4-fs (mmcblk0p7): initial error at time 9871: ext4_iget:4567: inode 163
[ 305.142593] EXT4-fs (mmcblk0p7): last error at time 24096: ext4_iget:4567: inode 154
如下图,丢行后,底部被补充为黑色。
已经用种方法反复验证过了,就是数据接收过来丢行。更改mipi_bps这个值会影响下面黑色区域部分的高度,但是无论怎么改都不会消失。请问这是什么原因造成的,还有哪些参数可以调。
平台V536, 系统TinaLinux4.9
启动log如下,板子无法启动了,请问怎么重新烧录
sunxi#[152]HELLO! BOOT0 is starting!
[155]boot0 commit : edb664ec9618b2388deb8d5658aa223a2f47d641
[172]rsb_send_initseq: rsb clk 400Khz -> 3Mhz
[177]PMU: AXP2101
[179]set pll start
[182]set pll end
[183]rtc[3] value = 0x0000b015
[186]DRAM BOOT DRIVE INFO: V0.41
[190]the chip id is 0x00000004
[193]the chip id is 0x00000004
[196]the chip id is 0x00000004
[199]the chip id is 0x00000004
[202]the chip id is 0x00000004
[205]chip id check OK
[207]DRAM_VCC set to 1500 mv
[210]DRAM CLK =792 MHZ
[212]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[251]Training result is = 00000007
[254]Actual DRAM SIZE =1024 M
[257]DRAM SIZE =1024 MBytes, para1 = 000030fa, para2 = 04000000, dram_tpr13 = 08006843
[274]DRAM simple test OK.
[277]dram size =1024
[281]card no is 2
[283]sdcard 2 line count 8
[285][mmc]: mmc driver ver 2017-09-26 15:04
[289][mmc]: mmc 2 bias 00000000
[298][mmc]: ***Try MMC card %u***
[312][mmc]: MMC 5.1
[314][mmc]: HSDDR52/DDR50 %u bit
[317][mmc]: %u Hz
[319][mmc]: %u MB
[321][mmc]: ***SD/MMC %u init OK!!!***
[449]Loading boot-pkg Succeed(index=0).
[452]Entry_name = scp
[463]set arisc reset to de-assert state
[466]Entry_name = optee
[470]Entry_name = u-boot
[495]Entry_name = soc-cfg
[499]Entry_name = dtb
[503]Ready to disable icache.
[506]0xffffffff 0xffffffff
[508]0xff17ffff 0xffffffff
[511]0xff0c10ff 0xffffffff
[513]0x1111ffff 0xffffff13
[516]0xff17ffff 0xffffffff
[518]0x1212ffff 0xffffff11
[521]Jump to secend Boot.
U-Boot 2014.07 (Jan 11 2020 - 17:10:39) Allwinner Technology
uboot commit : 671972499d340c9bf2e6efc256418bd11668e23a
secure enable bit: 0
normal mode: with secure monitor
[0.556]pmbus: ready
[0.556]PMU: AXP21
[0.558]PMU: cpux 912 Mhz,AXI=304 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=150Mhz MBus=400Mhz
DRAM: 1 GiB
Relocation Offset is: 3bc1a000
gic: sec monitor mode
drv_disp_init
init_clocks: finish init_clocks.
pwm_request: reg = 0x300a000. pwm = 8.
request pwm success, pwm = 8.
drv_disp_init finish
[0.645]fetch script data boot_disp.auto_hpd fail
workmode = 0,storage type = 2
[0.646]MMC: 2
SUNXI SD/MMC: 2
Normal
used mbr [0], count = 9
read item0 copy0
Item0 (Map) magic is bad
the secure storage item0 copy0 is bad
read item0 copy1
Item0 (Map) magic is bad
the secure storage item0 copy0 == copy1, the data is good
the secure storage map is empty
no item name device_unlock in the map
sunxi storage read fail
no item name fastboot_status_flag in the map
sunxi storage read fail
sunxi secure storage has no flag
--------fastboot partitions--------
-total partitions:9-
-name- -start- -size-
boot-resource: 1000000 100000
env : 1100000 100000
boot : 1200000 1000000
rootfs : 2200000 20000000
recovery : 22200000 20000000
rootfs_data : 42200000 100000
misc : 42300000 100000
private : 42400000 100000
UDISK : 42500000 0
-----------------------------------
PowerBus = 2( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
reading bootlogo.bmp
230454 bytes read in 5 ms (44 MiB/s)
[0.769]fetch script data boot_disp.output_full fail
[0.772]
BMP file is to large!!!!!!!!!!!!!!
Hit any key to stop autoboot: 0
cmdline: boot_type=2
## Booting kernel from Legacy Image at 40007fc0 ...
Image Name: ARM OpenWrt Linux-4.9.118
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3273072 Bytes = 3.1 MiB
Load Address: 40008000
Entry Point: 40008000
XIP Kernel Image ... OK
reserving fdt memory region: addr=419e4000 size=13000
reserving fdt memory region: addr=419f7000 size=4000
reserving fdt memory region: addr=419fb000 size=5000
Using Device Tree in place at 42000000, end 4201a1bf
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.118 (jamo@bm-wuzhaohua) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #772 SMP PREEMPT Mon Oct 17 05:24:31 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: sun8iw16
[ 0.000000] cma: Reserved 384 MiB at 0x58000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 262144
[ 0.000000] free_area_init_node: node 0, pgdat c04e1580, node_mem_map d7738000
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 13 pages/cpu @d76de000 s24524 r8192 d20532 u53248
[ 0.000000] pcpu-alloc: s24524 r8192 d20532 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000c00 initcall_debug=0 console=ttyS4,115200 loglevel=8 root=/dev/mmcblk0p7 rw rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:recovery@mmcblk0p8:rootfs_data@mmcblk0p9:misc@mmcblk0p10:private@mmcblk0p11:UDISK@mmcblk0p1 cma=384M boot_type=2
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 639892K/1048576K available (3162K kernel code, 241K rwdata, 1232K rodata, 168K init, 150K bss, 15468K reserved, 393216K cma-reserved, 262144K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc031ebec (3163 kB)
[ 0.000000] .init : 0xc047c000 - 0xc04a6000 ( 168 kB)
[ 0.000000] .data : 0xc04a6000 - 0xc04e24c0 ( 242 kB)
[ 0.000000] .bss : 0xc04e24c0 - 0xc0507f4c ( 151 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000058] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000071] pid_max: default: 4096 minimum: 301
[ 0.000214] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000225] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000906] CPU: Testing write buffer coherency: ok
[ 0.001330] CPU0: update cpu_capacity 1024
[ 0.001343] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001369] Setting up static identity map for 0x40008240 - 0x4000828c
[ 0.170571] CPU1: update cpu_capacity 1024
[ 0.170579] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.170666] Brought up 2 CPUs
[ 0.170686] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.170693] CPU: All CPU(s) started in SVC mode.
[ 0.171422] devtmpfs: initialized
[ 0.193194] OF: Duplicate name in regulator@0, renamed to "regulator2#1"
[ 0.193235] OF: Duplicate name in regulator@0, renamed to "regulator3#1"
[ 0.193266] OF: Duplicate name in regulator@0, renamed to "regulator7#1"
[ 0.198612] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.199123] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.199144] futex hash table entries: 16 (order: -2, 1024 bytes)
[ 0.212359] pinctrl core: initialized pinctrl subsystem
[ 0.213713] NET: Registered protocol family 16
[ 0.214809] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.216205] dump_class_init,862, success
[ 0.220262] sun8iw16p1-r-pinctrl r_pio: initialized sunXi PIO driver
[ 0.233102] sun8iw16p1-pinctrl pio: initialized sunXi PIO driver
[ 0.234609] sunxi hwspinlock vbase:0xf0858000
[ 0.274721] pwm module init!
[ 0.279673] sunxi-pm debug v3.10
[ 0.280864] G2D: Module initialized.major:253
[ 0.281367] SCSI subsystem initialized
[ 0.282368] usbcore: registered new interface driver usbfs
[ 0.282487] usbcore: registered new interface driver hub
[ 0.282619] usbcore: registered new device driver usb
[ 0.282847] media: Linux media interface: v0.10
[ 0.282949] Linux video capture interface: v2.00
[ 0.284355] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[ 0.284608] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000
[ 0.284836] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[ 0.285443] Advanced Linux Sound Architecture Driver Initialized.
[ 0.286773] [axp2101] chip id detect 0x47 !
[ 0.286905] [axp2101] enable dcdc2 dvm.
[ 0.306955] clocksource: Switched to clocksource arch_sys_counter
[ 0.310435] get androidboot.mode fail
[ 0.310454] sunxi_i2c_adap_init()2494 - init
[ 0.310879] [i2c0] twi_regulator: vcc-pi
[ 0.310950] sunxi_i2c_probe()2253 - [i2c0] twi_drv_used = 1
[ 0.311044] twi_request_gpio()450 - [i2c0] init name: twi0
[ 0.312141] sunxi_i2c_dma_request()1104 - [i2c0] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers
[ 0.312482] [i2c1] twi_regulator: vcc-io
[ 0.312546] sunxi_i2c_probe()2253 - [i2c1] twi_drv_used = 1
[ 0.312624] twi_request_gpio()450 - [i2c1] init name: twi1
[ 0.313026] sunxi_i2c_dma_request()1104 - [i2c1] using dma0chan2 (tx) and dma0chan3 (rx)for DMA transfers
[ 0.314978] NET: Registered protocol family 2
[ 0.315602] TCP established hash table entries: 16 (order: -6, 64 bytes)
[ 0.315616] TCP bind hash table entries: 16 (order: -5, 128 bytes)
[ 0.315625] TCP: Hash tables configured (established 16 bind 16)
[ 0.315687] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.315709] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.315871] NET: Registered protocol family 1
[ 0.316158] sunxi budget cooling probe start !
[ 0.316182] CPU freq cooling register Success
[ 0.316199] CPU hotplug cooling register Success
[ 0.316545] CPU budget cooling register Success
[ 0.318857] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.330472] bounce: pool size: 64 pages
[ 0.330811] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.330824] io scheduler noop registered
[ 0.330832] io scheduler deadline registered
[ 0.331073] io scheduler cfq registered (default)
[ 0.332016] [DISP]disp_module_init
[ 0.382718] rotation hw function is configed to zero degree
[ 0.387721] [DISP]disp_module_init finish
[ 0.389445] uart0: ttyS0 at MMIO 0x5000000 (irq = 297, base_baud = 1500000) is a SUNXI
[ 0.390350] uart1: ttyS1 at MMIO 0x5000400 (irq = 298, base_baud = 1500000) is a SUNXI
[ 0.391189] uart4: ttyS4 at MMIO 0x5001000 (irq = 299, base_baud = 1500000) is a SUNXI
[ 0.391210] sw_console_setup()1777 - console setup baud 115200 parity n bits 8, flow n
[ 1.235018] console [ttyS4] enabled
[ 1.240016] misc dump reg init
[ 1.247026] loop: module loaded
[ 1.251554] [NAND]Failed to insmod nand!!!
[ 1.256734] sunxi-wlan wlan: wlan_busnum (1)
[ 1.261590] sunxi-wlan wlan: wlan_power_num (-1)
[ 1.266785] sunxi-wlan wlan: io_regulator_name (vcc-pg)
[ 1.272716] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[ 1.280706] sunxi-wlan wlan: wlan_regon gpio=203 mul-sel=1 pull=-1 drv_level=-1 data=0
[ 1.290070] sunxi-wlan wlan: get gpio chip_en failed
[ 1.295668] sunxi-wlan wlan: wlan_hostwake gpio=357 mul-sel=6 pull=-1 drv_level=-1 data=0
[ 1.305373] sunxi-wlan wlan: clk_name ()
[ 1.310896] libphy: Fixed MDIO Bus: probed
[ 1.316252] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.325107] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.333971] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.342801] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.351648] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.360481] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.369325] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.378157] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:ephy_25m
[ 1.387334] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.396150] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.404981] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.413807] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.422637] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.431457] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
[ 1.440284] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mad
[ 1.448917] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mdio
[ 1.458444] gmac-power1: NULL
[ 1.461781] gmac-power2: NULL
[ 1.466327] Failed to alloc md5
[ 1.469891] eth0: Use random mac address
[ 1.474662] usbcore: registered new interface driver asix
[ 1.480880] usbcore: registered new interface driver ax88179_178a
[ 1.487862] usbcore: registered new interface driver cdc_ether
[ 1.494534] usbcore: registered new interface driver net1080
[ 1.501023] usbcore: registered new interface driver cdc_subset
[ 1.507810] usbcore: registered new interface driver zaurus
[ 1.514197] usbcore: registered new interface driver cdc_ncm
[ 1.520588] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.527943] ehci-platform: EHCI generic platform driver
[ 1.534319] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.541318] ohci-platform: OHCI generic platform driver
[ 1.547638] usb_serial_number:20080411
[ 1.552111] sunxi_gpadc_init,1773, success
[ 1.557517] input: sunxi-gpadc0 as /devices/virtual/input/input0
[ 1.565432] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[ 1.572365] sunxi-rtc rtc: RTC enabled
[ 1.576967] i2c /dev entries driver
[ 1.581465] google_vp9: sunxi google vp9 version 0.1
[ 1.587796] bat_param node not found
[ 1.613849] input: axp2101-powerkey as /devices/platform/soc/pmu0/axp2101-powerkey/input/input1
[ 1.633111] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.642428] sunxi_cpufreq_init: only one opp_table
[ 1.647847] [cpu_freq] ERR: DEBUG: get cpu 0 device
[ 1.655716] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
[ 1.664670] sunxi-mmc sdc2: regulator prop vmmc,str vcc-emmc
[ 1.671052] sunxi-mmc sdc2: regulator prop vqmmc,str vcc-pc
[ 1.677336] sunxi-mmc sdc2: regulator prop vdmmc,str none
[ 1.683407] sunxi-mmc sdc2: Can't get vdmmc33sw regulator string
[ 1.690174] sunxi-mmc sdc2: Can't get vdmmc18sw regulator string
[ 1.696928] sunxi-mmc sdc2: Can't get vqmmc33sw regulator string
[ 1.703693] sunxi-mmc sdc2: Can't get vqmmc18sw regulator string
[ 1.710501] get() with no identifier
[ 1.714516] get() with no identifier
[ 1.718542] get() with no identifier
[ 1.722556] get() with no identifier
[ 1.726573] sunxi-mmc sdc2: No vmmc regulator found
[ 1.732064] sunxi-mmc sdc2: No vqmmc regulator found
[ 1.737656] sunxi-mmc sdc2: No vdmmc regulator found
[ 1.743235] sunxi-mmc sdc2: No vd33sw regulator found
[ 1.748925] sunxi-mmc sdc2: No vd18sw regulator found
[ 1.754603] sunxi-mmc sdc2: No vq33sw regulator found
[ 1.760291] sunxi-mmc sdc2: No vq18sw regulator found
[ 1.765981] sunxi-mmc sdc2: Cann't get uart0 pinstate,check if needed
[ 1.773682] sunxi-mmc sdc2: set host busy
[ 1.778277] mmc:failed to get gpios
[ 1.783162] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.816973] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.856978] sunxi-mmc sdc2: detmode:alway in(non removable)
[ 1.863281] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
[ 1.869287] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
[ 1.869311] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.877361] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.889196] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !!
[ 1.899988] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[ 1.905878] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[ 1.911777] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[ 1.917676] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[ 1.923570] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[ 1.929470] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[ 1.935459] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[ 1.941457] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[ 1.941474] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.947527] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.947579] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.955614] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.000034] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[ 2.009379] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[ 2.018692] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[ 2.028002] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[ 2.037325] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[ 2.046641] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[ 2.056239] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
[ 2.065082] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.076038] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdc
[ 2.082361] sunxi-mmc sdc0: Can't get vqmmc regulator string
[ 2.088768] sunxi-mmc sdc0: Can't get vdmmc regulator string
[ 2.095221] sunxi-mmc sdc0: regulator prop vdmmc33sw,str vcc33-pf
[ 2.102116] sunxi-mmc sdc0: regulator prop vdmmc18sw,str vcc18-pf
[ 2.109005] sunxi-mmc sdc0: regulator prop vqmmc33sw,str vcc33-pf
[ 2.115875] sunxi-mmc sdc0: regulator prop vqmmc18sw,str vcc18-pf
[ 2.122762] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B
[ 2.133891] get() with no identifier
[ 2.137939] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
[ 2.148398] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
[ 2.159152] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[ 2.159197] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[ 2.181226] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
[ 2.181269] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
[ 2.191853] mmc0: new HS400 MMC card at address 0001
[ 2.202482] mmcblk0: mmc0:0001 58A431 14.6 GiB
[ 2.212786] mmcblk0boot0: mmc0:0001 58A431 partition 1 4.00 MiB
[ 2.219846] get() with no identifier
[ 2.223067] mmcblk0boot1: mmc0:0001 58A431 partition 2 4.00 MiB
[ 2.230767] sunxi-mmc sdc0: No vmmc regulator found
[ 2.236253] sunxi-mmc sdc0: No vqmmc regulator found
[ 2.241855] sunxi-mmc sdc0: No vdmmc regulator found
[ 2.248098] sunxi-mmc sdc0: set host busy
[ 2.251209] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >
[ 2.251235] mmcblk0: p1 size 28418048 extends beyond EOD, truncated
[ 2.266265] sunxi-mmc sdc0: Got CD GPIO
[ 2.270696] sunxi-mmc sdc0: filter speed is 7340032 B/s
[ 2.276573] sunxi-mmc sdc0: filter sector is 8 sector
[ 2.282266] sunxi-mmc sdc0: Perf function is enable
[ 2.288019] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.326973] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.367120] sunxi-mmc sdc0: detmode:gpio irq
[ 2.367142] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.383761] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
[ 2.392672] sunxi-mmc sdc1: Can't get vmmc regulator string
[ 2.398957] sunxi-mmc sdc1: Can't get vqmmc regulator string
[ 2.405321] sunxi-mmc sdc1: Can't get vdmmc regulator string
[ 2.411698] sunxi-mmc sdc1: Can't get vdmmc33sw regulator string
[ 2.418464] sunxi-mmc sdc1: Can't get vdmmc18sw regulator string
[ 2.425218] sunxi-mmc sdc1: Can't get vqmmc33sw regulator string
[ 2.431981] sunxi-mmc sdc1: Can't get vqmmc18sw regulator string
[ 2.438742] get() with no identifier
[ 2.442757] get() with no identifier
[ 2.446770] get() with no identifier
[ 2.450793] get() with no identifier
[ 2.454807] get() with no identifier
[ 2.458830] get() with no identifier
[ 2.462845] get() with no identifier
[ 2.466862] sunxi-mmc sdc1: No vmmc regulator found
[ 2.472354] sunxi-mmc sdc1: No vqmmc regulator found
[ 2.477944] sunxi-mmc sdc1: No vdmmc regulator found
[ 2.483524] sunxi-mmc sdc1: No vd33sw regulator found
[ 2.489212] sunxi-mmc sdc1: No vd18sw regulator found
[ 2.494890] sunxi-mmc sdc1: No vq33sw regulator found
[ 2.500583] sunxi-mmc sdc1: No vq18sw regulator found
[ 2.506270] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed
[ 2.513923] sunxi-mmc sdc1: set host busy
[ 2.518506] mmc:failed to get gpios
[ 2.522686] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.533005] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 2.566970] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.606973] sunxi-mmc sdc1: detmode:manually by software
[ 2.607803] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 2.613782] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 2.618972] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.627017] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.637964] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !!
[ 2.648746] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.654628] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.660518] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.666400] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.672289] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[ 2.678181] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[ 2.684160] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[ 2.690147] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[ 2.690166] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.696125] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !!
[ 2.696145] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.730678] usbcore: registered new interface driver usbhid
[ 2.737003] usbhid: USB HID core driver
[ 2.742483] [sunxi_hdmi_codec_init] driver and deivce register finished.
[ 2.751076] sun8iw16p1-pinctrl pio: pin PH7 already requested by uart0; cannot claim for dmic
[ 2.760740] sun8iw16p1-pinctrl pio: pin-231 (dmic) status -22
[ 2.767223] sun8iw16p1-pinctrl pio: could not request pin 231 (PH7) from group PH7 on device pio
[ 2.777234] sunxi-dmic dmic: Error applying setting, reverse things back
[ 2.784792] sunxi-dmic: probe of dmic failed with error -22
[ 2.792399] gpio-spk setting ok
[ 2.796395] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
[ 2.805380] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0L Mixer
[ 2.817259] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
[ 2.825969] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0L Mixer
[ 2.837846] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
[ 2.846555] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0R Mixer
[ 2.858420] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
[ 2.867143] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0R Mixer
[ 2.879003] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
[ 2.887724] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD1L Mixer
[ 2.899575] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
[ 2.908296] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD1R Mixer
[ 2.920180] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
[ 2.928900] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2DACL Switch -> DACL Mixer
[ 2.940168] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
[ 2.948888] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2DACR Switch -> DACR Mixer
[ 2.960832] sunxi-codec-machine sndcodec: codec-aif1 <-> i2s mapping ok
[ 2.970665] sndhdmi sndhdmi: audiohdmi-dai <-> audiohdmi mapping ok
[ 2.978577] sndhdmi sndhdmi: [sunxi_sndhdmi_dev_probe] register card finished.
[ 2.987556] snddmic snddmic: ASoC: CPU DAI (null) not registered
[ 2.994317] snddmic snddmic: snd_soc_register_card() fail: -517
[ 3.001173] snddmic: probe of snddmic failed with error -16
[ 3.007983] NET: Registered protocol family 17
[ 3.013049] 8021q: 802.1Q VLAN Support v1.8
[ 3.018787] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.025285] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.032222] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.039091] sid_efuse_key_is_readable()756 - The key thermal_sensor write protect bit not burned!
[ 3.049174] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.055996] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.062817] sid_get_phy_base()316 - Failed to find "" in dts.
[ 3.072045] Registering SWP/SWPB emulation handler
[ 3.079069] HDMI 2.0 driver init start!
[ 3.083389] boot_hdmi=false
[ 3.086793] Get hdmi_power0:vcc18-hdmi
[ 3.092894] HDMI2.0 module init end
[ 3.102294] input: gpiokey as /devices/platform/soc/gpiokey/input/input2
[ 3.110429] sunxi-rtc rtc: setting system clock to 1970-01-01 00:02:23 UTC (143)
[ 3.119543] axp2101_dcdc2: incomplete constraints, leaving on
[ 3.126075] axp2101_dcdc4: incomplete constraints, leaving on
[ 3.132617] axp2101_rtc1: incomplete constraints, leaving on
[ 3.139283] axp2101_aldo3: incomplete constraints, leaving on
[ 3.145944] axp2101_cpuldos: incomplete constraints, leaving on
[ 3.152827] ALSA device list:
[ 3.156159] #0: audiocodec
[ 3.159404] #1: sndhdmi
[ 3.164428] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities
[ 3.174043] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities
[ 3.186781] EXT4-fs (mmcblk0p7): warning: mounting fs with errors, running e2fsck is recommended
[ 3.197382] EXT4-fs (mmcblk0p7): recovery complete
[ 3.202780] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 3.211952] VFS: Mounted root (ext4 filesystem) on device 179:7.
[ 3.220702] devtmpfs: mounted
[ 3.224285] Freeing unused kernel memory: 168K
[ 3.229327] This architecture does not have kernel memory protection.
[ 3.238301] EXT4-fs error (device mmcblk0p7): ext4_iget:4567: inode #145: comm swapper/0: bad extra_isize (45842 != 256)
[ 3.250864] Kernel panic - not syncing: Requested init /pseudo_init failed (error -117).
[ 3.259968] CPU1: stopping
[ 3.263013] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.118 #772
[ 3.269959] Hardware name: sun8iw16
[ 3.273902] [<c0012501>] (unwind_backtrace) from [<c000ff37>] (show_stack+0xb/0xc)
[ 3.282423] [<c000ff37>] (show_stack) from [<c0136383>] (dump_stack+0x5b/0x70)
[ 3.290551] [<c0136383>] (dump_stack) from [<c0011b21>] (handle_IPI+0x8d/0x104)
[ 3.298774] [<c0011b21>] (handle_IPI) from [<c000930b>] (gic_handle_irq+0x4b/0x54)
[ 3.307291] [<c000930b>] (gic_handle_irq) from [<c00105e5>] (__irq_svc+0x65/0xac)
[ 3.315703] Exception stack(0xd7093f98 to 0xd7093fe0)
[ 3.321381] 3f80: 00000000 0000089e
[ 3.330580] 3fa0: d76ed304 c00161e1 d7092000 c04a8fec 00000002 c04a903c 4000406a 410fc075
[ 3.339779] 3fc0: 00000000 00000000 c04a8d00 d7093fe8 c000deb5 c000deac 40000133 ffffffff
[ 3.348980] [<c00105e5>] (__irq_svc) from [<c000deac>] (arch_cpu_idle+0xc/0x20)
[ 3.357207] [<c000deac>] (arch_cpu_idle) from [<c003d339>] (cpu_startup_entry+0xa1/0xb8)
[ 3.366310] [<c003d339>] (cpu_startup_entry) from [<400094f1>] (0x400094f1)
[ 3.374142] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -117).
平台V536 ,我现在读取CMOS的的图片不正常,怎么看vin接收的信息?
我看代码里有vin_status_dump这个函数可以dump信息 请问具体怎么使用?我比较关注的是能打印出接受完一帧 这一帧的总共行数
@chengwei_peng 各种参数都尝试很多遍了,就是不行,用表笔测量信号的时候都能偶尔触发进入一次中断。
请问V536H怎么dump MIPI相关寄存器,看看具体是哪里的问题?
@chengwei_peng 大哥 我cmos输出是RAW8格式的,mbus_code是配置为MEDIA_BUS_FMT_Y8_1X8还是MEDIA_BUS_FMT_SBGGR8_1X8?我现在MIPI有波形,但是vin_isr中断都进不去,能不能指点一下 检查哪里?
平台V536H, 系统TinaLinux4.9
使用内部晶振设置了下面的代码,使用外部晶振如不需要特殊设置?
vin_set_mclk(sd, ON);
usleep_range(100, 120);
vin_set_mclk_freq(sd, MCLK);