导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. tianyun923
    T
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 185
    • 主题 2
    • 帖子 4
    • 最佳 0
    • 群组 0

    tianyun923LV 2

    @tianyun923

    185
    积分
    0
    声望
    1
    资料浏览
    4
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    tianyun923 取消关注 关注

    tianyun923 发布的最新帖子

    • v831上怎么更换成imx307驱动了,网上也找不到资料,全志官方有支持吗

      v831上怎么更换成imx307驱动了,网上也找不到资料,全志官方有支持吗

      发布在 V Series
      T
      tianyun923
    • 回复: imx307适配v853设备树?

      @tianyun923 原理图如下,请大神帮忙看看了
      07616f14-0721-4951-af4a-792e1376e672-image.png
      fd75453d-f953-4207-8286-f46e9ac00ecc-image.png

      发布在 V Series
      T
      tianyun923
    • 回复: imx307适配v853设备树?

      @yuzukitsuru 有下面就是开机完整的log

      [210]HELLO! BOOT0 is starting Dec  9 2020 16:17:45!
      [215]BOOT0 commit : 5689aee
      [217]board init start
      [220]set pll start
      [222]set pll end
      [224][pmu]: bus read error
      [226]board init ok
      [228]chip id check OK
      [230]DRAM BOOT DRIVE INFO: V0.41
      [234]DRAM CLK = 480 MHz
      [236]DRAM Type = 2 (2:DDR2,3:DDR3)
      [239]DRAMC read ODT  off.
      [242]DRAM ODT off.
      [244]DRAM SIZE =64 M
      [251]DRAM simple test OK.
      [253]rtc standby flag is 0x0, super standby flag is 0x0
      [259]dram size =64
      [262]card no is 0
      [263]sdcard 0 line count 4
      [266][mmc]: mmc driver ver 2019-11-4 14:19
      [270][mmc]: sdc0 spd mode error, 2
      [273][mmc]: set f_max to 50M, set f_max_ddr to 25M
      [278][mmc]: mmc 0 bias 0
      [286][mmc]: Wrong media type 0x0
      [289][mmc]: ***Try SD card 0***
      [308][mmc]: HSSDR52/SDR25 4 bit
      [310][mmc]: 50000000 Hz
      [313][mmc]: 30436 MB
      [315][mmc]: ***SD/MMC 0 init OK!!!***
      [353]Loading boot-pkg Succeed(index=0).
      [357]Entry_name        = optee
      [360]Entry_name        = u-boot
      [365]Entry_name        = dtb
      [368]Jump to second Boot.
      MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-27-g7f6d3375 #1 Thu Dec 10 03:28:16 UTC 2020 arm
      ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
      ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:127: no pmu node
      
      
      U-Boot 2018.05-00006-ge196180 (Feb 11 2022 - 15:23:40 +0800) Allwinner Technology
      
      [00.437]CPU:   Allwinner Family
      [00.439]Model: sun8iw19
      I2C:   ready
      [00.444]DRAM:  64 MiB
      [00.446]Relocation Offset is: f9f70000
      [00.463]secure enable bit: 0
      [00.465]pmu_axp2101_probe pmic_bus_read fail
      [00.469]drivers/sunxi_power/pmu_axpnull.c pmu_axpnull_probe 26 axpdummy probe
      [00.476]bmu_axp2101_probe pmic_bus_read fail
      [00.480]BMU: AXPNULL
      [00.483]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=120Mhz
      [00.489]gic: sec monitor mode
      [00.492]flash init start
      [00.494]workmode = 0,storage type = 1
      [00.497]MMC:     0
      [00.499]get mem for descripter OK !
      
      card_caps:0x3000000a
      host_caps:0x3000003f
      [00.739]sunxi flash init ok
      [00.743]Loading Environment from SUNXI_FLASH... OK
      [00.761]update dts
      root_partition is rootfs
      set root to /dev/mmcblk0p4
      [00.773]update part info
      [00.775]update bootcmd
      [00.777]No ethernet found.
      Hit any key to stop autoboot:  0
      ## Booting kernel from Legacy Image at 45000000 ...
         Image Name:   ARM OpenWrt Linux-4.9.118
         Image Type:   ARM Linux Kernel Image (uncompressed)
         Data Size:    3204984 Bytes = 3.1 MiB
         Load Address: 40008000
         Entry Point:  40008000
      [02.088]Starting kernel ...
      
      [02.090]mmc 2 not find, so not exit
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.9.118 (xs@xs-pc) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #9 PREEMPT Fri Oct 28 09:06:17 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: sun8iw19
      [    0.000000] ion_mem_reserve: err format for ion reserve list!
      [    0.000000] cma: Reserved 4 MiB at 0x43c00000
      [    0.000000] Memory policy: Data cache writeback
      [    0.000000] On node 0 totalpages: 16384
      [    0.000000] free_area_init_node: node 0, pgdat c05bfa3c, node_mem_map c3b77000
      [    0.000000]   Normal zone: 128 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
      [    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] CPU: All CPU(s) started in SVC mode.
      [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      [    0.000000] pcpu-alloc: [0] 0
      [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init rdinit=/rdinit partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:UDISK@mmcblk0p6 cma=4M mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw19p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-00006-ge196180(02/11/2022-15:23:40)
      [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
      [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
      [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
      [    0.000000] Memory: 54448K/65536K available (3355K kernel code, 945K rwdata, 1244K rodata, 140K init, 136K bss, 6992K reserved, 4096K cma-reserved)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
      [    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
      [    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
      [    0.000000]     modules : 0xbf800000 - 0xc0000000   (   8 MB)
      [    0.000000]       .text : 0xc0008000 - 0xc034f0c8   (3357 kB)
      [    0.000000]       .init : 0xc04b1000 - 0xc04d4000   ( 140 kB)
      [    0.000000]       .data : 0xc04d4000 - 0xc05c05f8   ( 946 kB)
      [    0.000000]        .bss : 0xc05c05f8 - 0xc05e277c   ( 137 kB)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000023] Switching to timer-based delay loop, resolution 41ns
      [    0.000168] Console: colour dummy device 80x30
      [    0.000195] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000210] pid_max: default: 32768 minimum: 301
      [    0.000391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000405] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.001021] CPU: Testing write buffer coherency: ok
      [    0.001308] Setting up static identity map for 0x400081c0 - 0x4000820c
      [    0.003376] devtmpfs: initialized
      [    0.030444] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.030941] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.030970] futex hash table entries: 256 (order: -1, 3072 bytes)
      [    0.031293] atomic64_test: passed
      [    0.031308] pinctrl core: initialized pinctrl subsystem
      [    0.032352] NET: Registered protocol family 16
      [    0.033732] DMA: preallocated 16 KiB pool for atomic coherent allocations
      [    0.035273] dump_class_init,857, success
      [    0.036762] sunxi iommu: irq = 23
      [    0.042952] sun8iw19p1-r-pinctrl r_pio: initialized sunXi PIO driver
      [    0.059195] sun8iw19p1-pinctrl pio: initialized sunXi PIO driver
      [    0.061917] iommu: Adding device 1c0e000.ve to group 0
      [    0.063395] iommu: Adding device 2300000.eise to group 0
      [    0.071005] iommu: Adding device 1480000.g2d to group 0
      [    0.071745] iommu: Adding device 2400000.nna to group 0
      [    0.076481] iommu: Adding device csi0 to group 0
      [    0.077597] iommu: Adding device csi1 to group 0
      [    0.078984] iommu: Adding device 2100000.isp to group 0
      [    0.079959] iommu: Adding device 2104000.scaler to group 0
      [    0.080590] iommu: Adding device 2104400.scaler to group 0
      [    0.081052] iommu: Adding device 2104800.scaler to group 0
      [    0.081606] iommu: Adding device 2104c00.scaler to group 0
      [    0.082691] iommu: Adding device vinc0 to group 0
      [    0.083563] iommu: Adding device vinc1 to group 0
      [    0.125233] pwm module init!
      [    0.129199] sunxi-pm debug v3.10
      [    0.132562] SCSI subsystem initialized
      [    0.133258] usbcore: registered new interface driver usbfs
      [    0.133421] usbcore: registered new interface driver hub
      [    0.133559] usbcore: registered new device driver usb
      [    0.133800] sunxi_i2c_adap_init()2553 - init
      [    0.134349] sunxi_i2c_probe()2213 - [i2c1] warning: failed to get regulator id
      [    0.134432] sunxi_i2c_probe()2281 - [i2c1] no_suspend = 0
      [    0.134453] twi1 supply twi not found, using dummy regulator
      [    0.134571] twi_request_gpio()452 - [i2c1] init name: twi1
      [    0.135863] media: Linux media interface: v0.10
      [    0.136065] Linux video capture interface: v2.00
      [    0.138584] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
      [    0.138901] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000
      [    0.139153] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
      [    0.140591] Advanced Linux Sound Architecture Driver Initialized.
      [    0.141568] Bluetooth: Core ver 2.22
      [    0.141706] NET: Registered protocol family 31
      [    0.141718] Bluetooth: HCI device and connection manager initialized
      [    0.141743] Bluetooth: HCI socket layer initialized
      [    0.141757] Bluetooth: L2CAP socket layer initialized
      [    0.144393] G2D: rcq version initialized.major:251
      [    0.145413] clocksource: Switched to clocksource arch_sys_counter
      [    0.170914] udc_init,0
      [    0.171100] NET: Registered protocol family 2
      [    0.172498] TCP established hash table entries: 16 (order: -6, 64 bytes)
      [    0.172520] TCP bind hash table entries: 16 (order: -6, 64 bytes)
      [    0.172530] TCP: Hash tables configured (established 16 bind 16)
      [    0.172603] UDP hash table entries: 256 (order: 0, 4096 bytes)
      [    0.172627] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
      [    0.172814] NET: Registered protocol family 1
      [    0.176520] workingset: timestamp_bits=30 max_order=14 bucket_order=0
      [    0.192540] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.197736] NET: Registered protocol family 38
      [    0.197793] io scheduler noop registered
      [    0.197803] io scheduler deadline registered
      [    0.198112] io scheduler cfq registered (default)
      [    0.199980] [DISP]disp_module_init
      [    0.200992] [DISP]disp_module_init finish
      [    0.202876] uart uart0: get regulator failed
      [    0.202906] uart0 supply uart not found, using dummy regulator
      [    0.203178] uart0: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a SUNXI
      [    0.203210] sw_console_setup()1777 - console setup baud 115200 parity n bits 8, flow n
      [    1.028180] console [ttyS0] enabled
      [    1.033391] misc dump reg init
      [    1.038152] sunxi-wlan wlan: wlan_busnum (1)
      [    1.042969] sunxi-wlan wlan: wlan_power_num (-1)
      [    1.048416] sunxi-wlan wlan: Missing wlan_io_regulator.
      [    1.054302] sunxi-wlan wlan: io_regulator_name ((null))
      [    1.060238] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
      [    1.068335] sunxi-wlan wlan: wlan_regon gpio=198  mul-sel=1  pull=0  drv_level=1  data=0
      [    1.077525] sunxi-wlan wlan: get gpio chip_en failed
      [    1.083130] sunxi-wlan wlan: wlan_hostwake gpio=199  mul-sel=0  pull=0  drv_level=1  data=0
      [    1.092581] sunxi-wlan wlan: wakeup source is disabled!
      [    1.098482] sunxi-wlan wlan: clk_name ()
      [    1.103884] [ADDR_MGT] addr_mgt_probe: success.
      [    1.112396] libphy: Fixed MDIO Bus: probed
      [    1.117873] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.125696] get drv_vbus is fail, 84
      [    1.129724] get ehci0-controller, regulator_io is no nocare
      [    1.136143] get ehci0-controller wakeup-source is fail.
      [    1.142219] sunxi ehci0-controller don't init wakeup source
      [    1.148573] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc05dc9dc, 0x:c4838000, irq_no:129
      [    1.160805] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.171073] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assigned bus number 1
      [    1.181041] sunxi-ehci 5101000.ehci0-controller: irq 297, io mem 0xc3774800
      [    1.215440] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00
      [    1.224556] hub 1-0:1.0: USB hub found
      [    1.229077] hub 1-0:1.0: 1 port detected
      [    1.234453] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.241909] get drv_vbus is fail, 84
      [    1.246016] get ohci0-controller, regulator_io is no nocare
      [    1.252286] get ohci0-controller wakeup-source is fail.
      [    1.258427] sunxi ohci0-controller don't init wakeup source
      [    1.264783] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc05dc18c
      [    1.274587] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
      [    1.284460] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assigned bus number 2
      [    1.294233] sunxi-ohci 5101000.ohci0-controller: irq 298, io mem 0xc3775000
      [    1.371176] hub 2-0:1.0: USB hub found
      [    1.375684] hub 2-0:1.0: 1 port detected
      [    1.381217] usbcore: registered new interface driver uas
      [    1.387714] usbcore: registered new interface driver usb-storage
      [    1.394716] usbcore: registered new interface driver ums-alauda
      [    1.401603] usbcore: registered new interface driver ums-cypress
      [    1.408702] usbcore: registered new interface driver ums-datafab
      [    1.415722] usbcore: registered new interface driver ums_eneub6250
      [    1.422892] usbcore: registered new interface driver ums-freecom
      [    1.429858] usbcore: registered new interface driver ums-isd200
      [    1.436782] usbcore: registered new interface driver ums-jumpshot
      [    1.443862] usbcore: registered new interface driver ums-karma
      [    1.450680] usbcore: registered new interface driver ums-onetouch
      [    1.457870] usbcore: registered new interface driver ums-realtek
      [    1.464874] usbcore: registered new interface driver ums-sddr09
      [    1.471739] usbcore: registered new interface driver ums-sddr55
      [    1.478662] usbcore: registered new interface driver ums-usbat
      [    1.485344] usb_serial_number:20080411
      [    1.490260] sunxi_gpadc_init,1793, success
      [    1.495355] sunxi_key_init: get key count failed
      [    1.500663] sunxi_gpadc_setup: get channel compare select failed
      [    1.507683] sunxi_gpadc_setup: get channel compare low data select failed
      [    1.515322] sunxi_gpadc_setup: get channel compare hig data select failed
      [    1.523007] sunxi_gpadc_setup:get channel0_compare_lowdata err!
      [    1.529730] sunxi_gpadc_setup:get channel0_compare_higdata err!
      [    1.537557] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
      [    1.544465] sunxi-rtc rtc: RTC enabled
      [    1.549332] i2c /dev entries driver
      [    1.554027] usbcore: registered new interface driver uvcvideo
      [    1.560721] USB Video Class driver (1.1.1)
      [    1.565334] sunxi cedar version 0.1
      [    1.569436] VE: install start!!!
      [    1.569436]
      [    1.574894] cedar_ve: cedar-ve the get irq is 291
      [    1.580427] VE: line 1811 set the sram data
      [    1.580427]
      [    1.587426] VE: ve_debug_proc_info:c05df658, data:c365c000, lock:c05df6e0
      [    1.587426]
      [    1.596956] VE: install end!!!
      [    1.596956]
      [    1.602466] google_vp9: sunxi google vp9 version 0.1
      [    1.609363] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    1.620122] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.629860] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.639289] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.648675] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.658019] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.667354] sun8iw19p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.677020] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.36 2019-11-26 20:26)
      [    1.685998] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
      [    1.691362] sunxi-mmc sdc0: No vmmc regulator found
      [    1.696879] sunxi-mmc sdc0: No vqmmc regulator found
      [    1.702465] sunxi-mmc sdc0: No vdmmc regulator found
      [    1.708061] sunxi-mmc sdc0: No vd33sw regulator found
      [    1.713744] sunxi-mmc sdc0: No vd18sw regulator found
      [    1.719440] sunxi-mmc sdc0: No vq33sw regulator found
      [    1.725123] sunxi-mmc sdc0: No vq18sw regulator found
      [    1.731384] sunxi-mmc sdc0: set host busy
      [    1.736020] sunxi-mmc sdc0: Got CD GPIO
      [    1.740451] sunxi-mmc sdc0: min-frequency:100000
      [    1.746035] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.005497] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
      [    2.035434] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.075616] sunxi-mmc sdc0: detmode:gpio irq
      [    2.075650] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.082587] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.105610] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.116734] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.36 2019-11-26 20:26)
      [    2.116882] sunxi-mmc sdc1: No vmmc regulator found
      [    2.116888] sunxi-mmc sdc1: No vqmmc regulator found
      [    2.116893] sunxi-mmc sdc1: No vdmmc regulator found
      [    2.116899] sunxi-mmc sdc1: No vd33sw regulator found
      [    2.116905] sunxi-mmc sdc1: No vd18sw regulator found
      [    2.116910] sunxi-mmc sdc1: No vq33sw regulator found
      [    2.116915] sunxi-mmc sdc1: No vq18sw regulator found
      [    2.116930] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed
      [    2.117403] sunxi-mmc sdc1: set host busy
      [    2.117467] mmc:failed to get gpios
      [    2.117814] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.117849] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
      [    2.149390] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.178385] sunxi-mmc sdc1: detmode:manually by software
      [    2.222756] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
      [    2.229176] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.239988] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
      [    2.240057] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.242554] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.250071] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
      [    2.261375] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.262257] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.262312] usbcore: registered new interface driver usbhid
      [    2.262314] usbhid: USB HID core driver
      [    2.262616] mostcore: init()
      [    2.264282] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.265160] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
      [    2.265359] digital_vol:0, lineout_vol:31, main_gain:23, pa_msleep:160, pa_level:1
      [    2.265369] adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:1, dachpf:0
      [    2.265625] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
      [    2.266021] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.266466] [sunxi_card_init] card init finished.
      [    2.266888] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.267108] sunxi-codec-machine sndcodec: sun8iw19codec <-> codec mapping ok
      [    2.267743] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.268587] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
      [    2.268623] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.269560] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
      [    2.269585] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.424531] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
      [    2.425187] NET: Registered protocol family 17
      [    2.425256] NET: Registered protocol family 15
      [    2.426197] Registering SWP/SWPB emulation handler
      [    2.523488] get det_vbus is fail, 84
      [    2.527609] get id is fail, 84
      [    2.532026] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:03 UTC (3)
      [    2.541546] ALSA device list:
      [    2.544892]   #0: sun8iw19-codec
      [    2.549004] Waiting for root device /dev/mmcblk0p4...
      [    2.617412] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.627755] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
      [    2.655430] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.674575] mmc0: host does not support reading read-only switch, assuming write-enable
      [    2.684276] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
      [    2.698434] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 4 timing UHS-SDR104 dt B
      [    2.708988] sunxi-mmc sdc0: sdc set ios:clk 150000000Hz bm PP pm ON vdd 21 width 4 timing UHS-SDR104 dt B
      [    2.719917] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
      [    2.728333] mmcblk0: mmc0:aaaa SD32G 29.7 GiB
      [    2.735892]  mmcblk0: p1 p2 p3 p4 p5 p6
      [    2.789622] VFS: Mounted root (squashfs filesystem) readonly on device 179:4.
      [    2.799937] devtmpfs: mounted
      [    2.803546] Freeing unused kernel memory: 140K
      [    2.808629] This architecture does not have kernel memory protection.
      mount: mounting none on /dev failed: Resource busy
      mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
      [    3.380057] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
      starting pid 712, tty '': '/etc/preinit'
      can't run '/etc/preinit': No such file or directory
      starting pid 713, tty '': '/bin/mount -t proc proc /proc'
      mount: mounting proc on /proc failed: Resource busy
      starting pid 714, tty '': '/bin/mount -t tmpfs tmpfs /run'
      starting pid 715, tty '': '/bin/mount -o remount,rw /'
      starting pid 716, tty '': '/bin/mkdir -p /dev/pts'
      starting pid 717, tty '': '/bin/mkdir -p /dev/shm'
      starting pid 718, tty '': '/bin/mount -a'
      starting pid 719, tty '': '/bin/hostname -F /etc/hostname'
      can't run '/bin/hostname': No such file or directory
      starting pid 720, tty '': '/etc/init.d/rcS boot'
      ------run rc.preboot file-----
      /etc/init.d/rcS: line 117: /bin/hostname: not found
      [    3.566982] random: fast init done
      [    3.572024] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
      /etc/init.d/rcS: line 119: /sbin/mdev: not found
      ------run rc.modules file-----
      ------run rc.final file-----
      Load mpp modules
      insmod: can't insert '/lib/modules/4.9.118/videobuf2-core.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.118/videobuf2-memops.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.118/videobuf2-v4l2.ko': No such file or directory[    3.627318] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
      
      [    3.639139] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
      [    3.648996] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
      [    3.685269] [VIN_ERR]registering imx307_mipi, No such device!
      insmod: can't insert '/lib/modules/4.9.118/sunxi_aio.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.118/sunxi_ise.ko': No such file or directory
      Starting logging: start-stop-daemon: unrecognized option: exec
      start-stop-daemon: unrecognized option: exec
      OK
      Populating /dev using udev: [    3.753468] udevd[769]: starting version 3.2
      [    3.759128] random: udevd: uninitialized urandom read (16 bytes read)
      [    3.766731] random: udevd: uninitialized urandom read (16 bytes read)
      [    3.774092] random: udevd: uninitialized urandom read (16 bytes read)
      [    3.806475] udevd[769]: specified group 'tty' unknown
      [    3.812650] udevd[769]: specified group 'dialout' unknown
      [    3.819128] udevd[769]: specified group 'kmem' unknown
      [    3.825129] udevd[769]: specified group 'input' unknown
      [    3.831343] udevd[769]: specified group 'video' unknown
      [    3.837782] udevd[769]: specified group 'lp' unknown
      [    3.843653] udevd[769]: specified group 'disk' unknown
      [    3.849748] udevd[769]: specified group 'cdrom' unknown
      [    3.856012] udevd[769]: specified group 'tape' unknown
      [    3.871398] udevd[770]: starting eudev-3.2
      [    3.886096] udevd: 2 output lines suppressed due to ratelimiting
      done
      mkdir: can't create directory '/dev/pts': File exists
      mkdir: can't create directory '/dev/shm': File exists
      Initializing random number generator... done.
      Starting network: /etc/init.d/S40network: line 31: /sbin/ifup: not found
      FAIL
      ifconfig: invalid hw-addr 00:
      Starting telnetd: udhcpc: SIOCGIFINDEX: No such device
      OK
      enable android usb
      insmod: can't insert '/lib/modules/4.9.118/sunxi_usb_udc.ko': No such file or directory
      insmod: can't insert '/lib/modules/4.9.118/sunxi_usbc.ko': No such file or directory
      [    4.148637] file system registered
      [    4.159977] Mass Storage Function, version: 2009/09/11
      [    4.165982] LUN: removable file: (no medium)
      [    4.203640] read descriptors
      [    4.207035] read strings
      sh: write error: Resource busy
      starting pid 833, tty '/dev/console': '-/bin/sh'
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
      ------run profile file-----
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
        | |  | || | || _ |  |_____||_||_|_||___||_,_|
        |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 5C1C9C53)
       ----------------------------------------------
      
      
      发布在 V Series
      T
      tianyun923
    • imx307适配v853设备树?

      请帮忙看看了v853适配imx307
      设备树修改了
      sensor0:sensor@0 {
      device_type = "sensor0";
      sensor0_mname = "imx307_mipi";
      sensor0_twi_cci_id = <1>;
      sensor0_twi_addr = <0x60>;
      sensor0_mclk_id = <0>;
      sensor0_pos = "rear";
      sensor0_isp_used = <1>;
      sensor0_fmt = <1>;
      sensor0_stby_mode = <0>;
      sensor0_vflip = <0>;
      sensor0_hflip = <0>;
      sensor0_iovdd-supply = <>;
      sensor0_iovdd_vol = <1800000>;
      sensor0_avdd-supply = <>;
      sensor0_avdd_vol = <2800000>;
      sensor0_dvdd-supply = <>;
      sensor0_dvdd_vol = <1200000>;
      sensor0_power_en = <>;
      sensor0_reset = <&pio PE 16 1 0 1 0>;
      sensor0_pwdn = <&pio PD 5 1 0 1 0>;
      status = "okay";
      };

      其他部分添加到Makefile,编译烧录测试的时候,提示
      [VIN_ERR]registering imx307_mipi, No such device!

      imx307_mipi.c驱动文件中显示名称是imx307_mipi
      搞不懂要怎么修改
      有大神帮忙看看了

      发布在 V Series
      T
      tianyun923