导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. inomec
    3. 帖子
    I
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 1695
    • 主题 20
    • 帖子 37
    • 最佳 0
    • 群组 0

    inomec 发布的帖子

    • 回复: 开发板报错

      @yixiuge 在 开发板报错 中说:

      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.
      
      
      发布在 Linux
      I
      inomec
    • 开发板报错

      啥也没干 最近经常报错,如下

      [   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
      
      
      发布在 Linux
      I
      inomec
    • 接收的CMOS图像丢行

      如下图,丢行后,底部被补充为黑色。
      已经用种方法反复验证过了,就是数据接收过来丢行。更改mipi_bps这个值会影响下面黑色区域部分的高度,但是无论怎么改都不会消失。请问这是什么原因造成的,还有哪些参数可以调。
      353156b3-c110-49f5-9e96-51911d7b76c7-image.png

      发布在 编译和烧写问题专区
      I
      inomec
    • 板子启动失败,怎么重新烧录

      平台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).
      
      
      发布在 编译和烧写问题专区
      I
      inomec
    • 怎么把VIN status的信息dump出来

      平台V536 ,我现在读取CMOS的的图片不正常,怎么看vin接收的信息?
      我看代码里有vin_status_dump这个函数可以dump信息 请问具体怎么使用?我比较关注的是能打印出接受完一帧 这一帧的总共行数

      发布在 其它全志芯片讨论区
      I
      inomec
    • V536接收CMOS图像显示异常

      下部有黑色区域,。麻烦帮忙分析一下是什么原因?
      3694a89a-01bd-4ea4-9659-09f76801d7f0-image.png

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: V536 MIPI-csi连续和非连续时钟怎么配置

      @chengwei_peng 各种参数都尝试很多遍了,就是不行,用表笔测量信号的时候都能偶尔触发进入一次中断。
      请问V536H怎么dump MIPI相关寄存器,看看具体是哪里的问题?

      发布在 其它全志芯片讨论区
      I
      inomec
    • V536 ISP打印[VIN_LOG_ISP]please close wdr in normal mode!!

      请问这个有影响吗?从哪里设置消除这个打印

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: V536 MIPI-csi连续和非连续时钟怎么配置

      @chengwei_peng 大哥 我cmos输出是RAW8格式的,mbus_code是配置为MEDIA_BUS_FMT_Y8_1X8还是MEDIA_BUS_FMT_SBGGR8_1X8?我现在MIPI有波形,但是vin_isr中断都进不去,能不能指点一下 检查哪里?

      发布在 其它全志芯片讨论区
      I
      inomec
    • CMOS使用外部晶振,代码中如何设置

      平台V536H, 系统TinaLinux4.9
      使用内部晶振设置了下面的代码,使用外部晶振如不需要特殊设置?

      vin_set_mclk(sd, ON);
      usleep_range(100, 120);
      vin_set_mclk_freq(sd, MCLK);
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • V536 MIPI-csi连续和非连续时钟怎么配置

      V536 MIPI-csi连续和非连续时钟怎么配置

      发布在 其它全志芯片讨论区
      I
      inomec
    • MIPI数据波形正常,但是vin_isr中断进不来

      平台V536H,系统TinaLinux,现在用示波器看MIPI数据都是正常的,为啥中断进不来呢?

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: CMOS输出MIPI数据正常,但是读不上来

      @chengwei_peng 这个字段啥意思,用修改吗?我看其他sensor驱动中CMB_PHYA_OFFSET1, CMB_PHYA_OFFSET2,CMB_PHYA_OFFSET23都有

      info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET2 | MIPI_NORMAL_MODE;
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • sensor驱动中一些字段得意义

      平台V536, TinaLinux4.9

      请问下面这个字段得三个赋值什么意思?我看其他得驱动CMB_PHYA_OFFSETx 这个有变化,应该如何选择?

      info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET1 | MIPI_NORMAL_MODE;
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: CMOS输出MIPI数据正常,但是读不上来

      @chengwei_peng 这个里面top_clk和isp_clk什么意思,这个值的大小怎么确定?

      static struct sensor_win_size sensor_win_sizes[] = {
          {
              .width = 906,
              .height = 640,
              .hoffset = 0, //1488,
              .voffset = 0, //1834,
              .hts = 906+2918,  //7648,                   /* line_length_pck TODO:*/
              .vts = 784,                     /* frame_length_lines,与寄存器的值要一致 */
              .pclk = 64 * 1000 * 1000,
              /* mipi_bps = hts * vts * fps * raw bit / lane num */
              .mipi_bps = 128 * 1000 * 1000, // TODO:
              /* 定义帧率, fps * hts * vts = pclk */
              .fps_fixed = 22,
              .bin_factor = 1,
              .intg_min = 4 << 4,
              .intg_max = 784 << 4,
              .gain_min = 1 << 4,  // TODO:
              .gain_max = 16 << 4, // TODO:
              .regs = sensor_906_640_regs,
              .regs_size = ARRAY_SIZE(sensor_906_640_regs),
              .set_size = NULL,
              .top_clk = 336000000,
              .isp_clk = 336000000,
          },
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: struct sensor_win_size结构体中参数问题

      自己顶一下,希望有人回答一下

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: CMOS输出MIPI数据正常,但是读不上来

      @chengwei_peng MIPI有挺多参数的,我们的代码里面只有info->time_hs可以调节吗?这个值可以有量化参考的东西吗,比如抓波形 量哪一段,是多长时间,然后根据时间设置这个值。

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: V536支持raw8数据的sensor吗

      @chengwei_peng

      vin_fmt vin_formats[] 这个数据结构中没有,下面这组数据

      {
      		.name		= "YUV 4:0:0 planar, GREY", // added by jamo@20220830
      		.fourcc		= V4L2_PIX_FMT_GREY,
      		.depth		= { 8 },
      		.memplanes	= 1,
      		.colplanes	= 1,
      		.mbus_code	= MEDIA_BUS_FMT_Y8_1X8,
      		.flags		= VIN_FMT_RAW,
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • V536支持raw8数据的sensor吗

      若是支持,pixelformat应该设置位哪个?
      驱动中数据结构应该设置位哪个?

      static struct sensor_format_struct sensor_formats[] = {
          {.desc = "RAW Bayer GBRG 8bit",
           .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, // 
           .regs = sensor_fmt_raw,
           .regs_size = ARRAY_SIZE(sensor_fmt_raw),
           .bpp = 1},
      };
      

      我们的sensor我觉得是应该设置位MEDIA_BUS_FMT_Y8_1X8,但是VIN好像不支持。

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: MIPI有信号输出了,cmerademo读数据读不上来

      @inomec
      log 如下

      root@inomec:/home/jamo# ./camerademo
      [CAMERA]**********************************************************
      [ 1983.710648] [MT9J003]sensor_power
      [CAMERA]*                                                        *
      [CAMERA]*              this is camera test.                 [ 1983.719571] [MT9J003]PWR_ON!
           *
      [CAMERA]*                                                        *
      [CAMERA]********************************************[ 1983.740686] [MT9J003]sensor_init
      **************
      [CAMERA]**********************************************************
      [CAMERA] open /dev/video1!
      [CAMERA]********[ 1983.748619] [MT9J003]sensor_detect
      **************************************************
      [CAMERA]**********************************************************
      [CAMERA][ 1983.764284] [MT9J003]MT9J003 ID is detect:0x2c01
       The path to data saving is /tmp.
      [CAMERA] The number of captured photos is 5.
      [CAMERA] save bmp format
      [CAMERA] do not use w[ 1983.780345] [VIN_ERR]vin is not support this pixelformat:12307
      atermarks
      [ 1983.797592] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.805089] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.811761] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.818410] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.825078] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.831772] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.838439] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.845109] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.851781] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.858444] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.865116] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.871789] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.878437] [VIN_ERR]vin is not support this pixelformat:12307
      [ 1983.885107] [VIN_ERR]vin is not support this pixelformat:12307
      [CAMERA]**********************************************************[ 1983.892256] [MT9J003]sensor_g_mbus_config
      
      [CAMERA] Using format parameters SGBRG8.
      [CAMERA] camera pixelformat: SGBRG8
      [CAMERA] Resolution size : 906 * 640
      [CAMERA] [ 1983.902306] [MT9J003]sensor_ioctl
      The photo save path is /tmp.
      [CAMERA] The number of photos taken is 5.
      [CAMERA] Camera capture framerate is 10/1
      [ 1983.918023] alloc_contig_range: [59120, 591af) PFNs busy
      [CAMERA] VIDIOC_S_FMT succeed
      [CAMERA] fmt.type = 9
      [CAMERA] fmt.fmt.pix_mp.width = 906
      [ 1983.933571] alloc_contig_range: [59120, 591bf) PFNs busy
      
      [CAMERA] fmt.fmt.pix_mp.pixelformat = SGBRG8
      [CAMERA] fmt.fmt.pix_mp.field = 1
      [ 1983.950637] alloc_contig_range: [59140, 591cf) PFNs busy
      [ 1983.963666] alloc_contig_range: [59140, 591df) PFNs busy
      [ 1983.970041] alloc_contig_range: [59140, 591ef) PFNs busy
      [ 1983.976437] alloc_contig_range: [59140, 591ff) PFNs busy
      [ 1983.982835] alloc_contig_range: [59180, 5920f) PFNs busy
      [ 1983.989208] alloc_contig_range: [59180, 5921f) PFNs busy
      [ 1983.995623] alloc_contig_range: [591a0, 5922f) PFNs busy
      [ 1984.002767] alloc_contig_range: [59120, 591af) PFNs busy
      [ 1984.010749] [MT9J003]sensor_g_mbus_config
      [ 1984.015263] [VIN]__sensor_get_parameter, flags=8, mbus_code=12307
      [ 1984.022358] [MT9J003]sensor_s_stream on = 1, 906*640 fps: 10 code: 3013
      [ 1984.029790] [MT9J003]sensor_reg_init
      [ 1984.073994] [MT9J003]sensor_reg_init
      [ 1984.091222] [MT9J003]0x3040 = 0x41
      [ 1984.095141] [MT9J003]0x202 = 0xb8
      [ 1984.098961] [MT9J003]0x104 = 0x1
      [ 1984.102717] [MT9J003]0x3002 = 0x72a
      [ 1984.106731] [MT9J003]0x3004 = 0x5d0
      [ 1984.110768] [MT9J003]0x34e = 0x280
      [ 1984.114686] [MT9J003]0x3006 = 0x9a9
      [ 1984.118702] [MT9J003]0x34c = 0x38a
      [ 1984.122642] [MT9J003]0x3008 = 0x959
      [ 1984.126657] [MT9J003]0x340 = 0x310
      [ 1984.130592] [MT9J003]0x104 = 0x0
      [ 1984.134315] [MT9J003]sensor_s_exp_gain
      [ 1984.138526] [MT9J003]sensor_set_gain exp = 637, 12544 Done!
      [ 1984.144803] [MT9J003]s_fmt set width = 906, height = 640
      [CAMERA] stream on succeed
      [ISP]video device name is vin_video1
      [ 1984.156722] [MT9J003]sensor_ioctl
      cutils:D/AWIspApi: F:awIspGetIspId, L:48, video1 --> isp0
      >>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
      [ISP]version:V1.00
      [ISP]tag   : isp-500-520-v2.00
      [ISP]branch: a50_merge
      [ISP]commit: 924456a4a4b18b614a8273f282b25ad4ee59f417
      [ISP]date  : Tue Feb 12 17:03:31 2019 +0800
      [ISP]author: zhengjiangwei
      --------------------------------------------------------
      
      [ISP]register sensor entity is MT9J003
      [ISP]open isp device[0] success!
      [ISP_WARN]open /mnt/isp0_ctx_saved.bin success!!!
      [ISP_WARN]cannot find MT9J003_906_640_10_0 isp config, use default!!!
      [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
      [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
      [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
      [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
      [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
      [ISP]create isp0 server thread!
      [CAMERA] capture num is [0]
      [CAMERA_ERR] select timeout,end capture thread![ 1986.175172] [MT9J003]sensor_s_stream on = 0, 906*640 fps: 10 code: 3013
      
      [CAMERA] Capture thread finish
      [ISP_ERR] func: events_loop, line: 162,isp0 event select timeout
      [ISP_WARN]open /mnt/isp0_ctx_saved.bin success!!!
      [ 1987.182439] [MT9J003]sensor_power
      [CAMERA] close /dev/video1
      [ 1987.190003] [MT9J003]PWR_OFF!
      [CAMERA_ERR] capture_photo return error
      
      
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • MIPI有信号输出了,cmerademo读数据读不上来

      平台V536H,系统tinaLinux4.9
      大哥大姐大嫂们 谁能指点一下,下一步怎么调试;

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: CMOS输出MIPI数据正常,但是读不上来

      @chengwei_peng cmos的FAE说ths-zero那个电压有点高,是CSI端没有配置成功。

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: CMOS输出MIPI数据正常,但是读不上来

      @chengwei_peng 在 CMOS输出MIPI数据正常,但是读不上来 中说:

      ths-prepare ths-zero 这些信息一般配置sensor端的,不修改SOC CSI端的。建议查看sensor的datasheet进行修改。sensor驱动中,info->time_hs 信息可以配置soc端的ths-prepare时间。

      info->time_hs这个值文档中没有描述,它的单位是什么?ns吗?

      发布在 其它全志芯片讨论区
      I
      inomec
    • CMOS输出MIPI数据正常,但是读不上来

      波形如下,
      请问应该如何检查CSI这端的问题,以及ths-prepare ths-zero在哪里配置?
      733358c9-7568-4927-90b3-51014eed46c6-微信图片_20220905173432.jpg

      5fe973c1-c787-47c0-ab3a-579495122584-image.png

      发布在 其它全志芯片讨论区
      I
      inomec
    • struct sensor_win_size结构体中参数问题

      请问结构体中这两个时钟具体啥意思?

      	unsigned long top_clk;
      	unsigned long isp_clk;
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • 关于VIN中media bus fmt和pixel code得问题

      平台:V536H,系统版本:Tinalinux 4.9,CMOS:MT9J003

      我在驱动中把mbus_code 设置为MEDIA_BUS_FMT_Y8_1X8,应用中读取得时候设置pixelformat =为V4L2_PIX_FMT_GREY

      static struct sensor_format_struct sensor_formats[] = {
          {.desc = "RAW Bayer Y 8bit",
           .mbus_code = MEDIA_BUS_FMT_Y8_1X8, 
           .regs = sensor_fmt_raw,
           .regs_size = ARRAY_SIZE(sensor_fmt_raw),
           .bpp = 1},
      };
      

      报下面这个错误,请问VIN是不支持这个格式吗?
      95.682933] [VIN_ERR]vin is not support this pixelformat:12289
      [ 95.689513] [VIN_ERR]vin_pipeline_try_format failed

      发布在 其它全志芯片讨论区
      I
      inomec
    • 回复: 全志vin sensor_win_size配置问题

      @xiaowenge V536H, Tinalinux4.9 用在掌纹仪上,CMOS MT9J003

      发布在 其它全志芯片讨论区
      I
      inomec
    • 全志vin sensor_win_size配置问题

      我的帧率不是整数,这里面的fps_fixed 应该怎么配置?

      {
      .width = VGA_WIDTH,
      .height = VGA_HEIGHT,
      .hoffset = 0,
      .voffset = 0,
      .hts = 928,
      .vts = 1720,
      .pclk = 48 * 1000 * 1000,
      .mipi_bps = 480 * 1000 * 1000,
      .fps_fixed = 30,
      .bin_factor = 1,
      .intg_min = 1 << 4,
      .intg_max = (1720) << 4,
      .gain_min = 1 << 4,
      .gain_max = 16 << 4,
      .regs = sensor_VGA_regs,
      .regs_size = ARRAY_SIZE(sensor_VGA_regs),
      .set_size = NULL,
      },
      
      发布在 其它全志芯片讨论区
      I
      inomec
    • CMOS连接到Bridge,sys_config.fex应该怎么配置

      平台是V536H,我CMOS是通过桥接芯片连接处理器的。请问这种情况下sys_config.fex应该怎么配置?[vind0/sensor0]配置为Bridge,[vind0/sensor1]配置为CMOS?

      发布在 Linux
      I
      inomec
    • 回复: VIN支持桥接芯片吗

      @chengwei_peng 在 VIN支持桥接芯片吗 中说:

      @inomec 一般就一个节点,具体需要几个,可以配置

      我问的这个问题其实很全志平台没有多大关系,只是我第一次做CMOS驱动有些不太明白。所以想请教一下。如果只有一个节点就能满足,那是不是要把CMOS驱动配置为Bridge的一个subdev?应用层操作时只需要操作bridge形成的节点?

      发布在 Linux
      I
      inomec
    • 回复: VIN支持桥接芯片吗

      @chengwei_peng 在 VIN支持桥接芯片吗 中说:

      @inomec 本身就是VIN就是基于内核的V4L2实现的,应用也都会可以基于V4L2开发应用,不需要考虑VIN驱动,内核的V4L2框架已经帮你屏蔽了这一层。
      另外,需要修改分辨率,需要sensor驱动的支持或者使用全志平台内置的硬件缩放单元进行缩放(全志CSI通路有支持缩放的硬件)。

      我们SDK中CMOS驱动有两个目录,drivers/media/i2c/xxxx 和 drivers/media/platform/sunxi-vin/modules/sensor/xxxx,两个目录中的驱动实现方式有些差异。我是想问我的bridge和CMOS驱动时按照哪种实现比较好?

      关于你说的第二点(全志CSI通路有支持缩放的硬件),请问有文档吗?应该怎么使用?

      发布在 Linux
      I
      inomec
    • CMOS接在bridge芯片上时,CMOS是作为子设备挂载到bridge吗?

      CMOS接在bridge芯片上时,CMOS是作为子设备挂载到bridge吗?

      发布在 Linux
      I
      inomec
    • 回复: VIN支持桥接芯片吗

      @chengwei_peng 在 VIN支持桥接芯片吗 中说:

      @inomec 支持的,将 TC358748当成一个sensor配置即可。

      您好,关于这点 我想再咨询一下,将 TC358748当成一个sensor配置是不是在/dev下会形成两个视频节点? 如果我想更改分辨率的话,是不是要分别设置两个节点?

      发布在 Linux
      I
      inomec
    • 回复: VIN支持桥接芯片吗

      @chengwei_peng 我没想自己实现😢 当然是越简单越好,我在你们全志的QQ群中问过,有人回答是VIN和标准V4L2都支持,由于标准的V4L2驱动示例多,,我就选择使用的V4L2驱动。若是不行的话 肯定还是按照你们的VIN框架来。

      发布在 Linux
      I
      inomec
    • 回复: VIN支持桥接芯片吗

      @chengwei_peng 可不可以按照V4L2的示例代码实现,不按照我们官方的VIN示例实现?

      请问软件逻辑上是下面的图1 还是图2
      ac856de8-7f68-4b28-baa3-6102d3f3ac8e-image.png
      d01671a9-2674-4c0b-af3b-a97ebb3d2111-image.png

      发布在 Linux
      I
      inomec
    • VIN支持桥接芯片吗

      请问VIN支持桥接芯片吗?我们需要接一个TC358748,把并口转为MIPI。
      有没有示例可供参考?

      发布在 Linux
      I
      inomec
    • 1 / 1