WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-08-30 11:17:03

田埂上的梦
会员
注册时间: 2019-08-30
累计积分: 1

荔枝派zero,mipi摄像头挂载问题

参考1: https://whycan.cn/t_682.html
参考2: http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/bsp_cam.html
参考3: https://whycan.cn/t_2039.html

使用环境:参考1晕哥的linux3.4.39与uboot文件系统
根据参考2:官网BSP内核摄像头使用配置摄像头驱动
make ARCH=arm menuconfig

--- V4L platform devices
< >   Support for timberdale Video In/LogiWIN
<*>   SoC camera support
< >     imx074 support
< >     mt9m001 support
< >     mt9m111, mt9m112 and mt9m131 support
< >     mt9t031 support
< >     mt9t112 support
< >     mt9v022 support
< >     rj54n1cb0c support
< >     tw9910 support
< >     platform camera support
<M>     ov2640 camera support
<M>     ov5642 camera support
< >     ov6650 sensor support
< >     ov772x camera support
< >     ov9640 camera support
< >     ov9740 camera support
<M>   SuperH Mobile MIPI CSI-2 Interface driver
< >   SuperH Mobile CEU Interface driver
<*>   sunxi video front end (camera and etc)driver
<*>     v4l2 driver for SUNXI
Sensor CSI  --->
<M> ov5647_mipi
< > ov4689
< > ov4689 60fps
< > ar0330 mipi
< > ov4689 sdv
< > gc1004_mipi
<M> h22_mipi
< > nt99231_mipi

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j16 INSTALL_MOD_PATH=out modules
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j16 INSTALL_MOD_PATH=out modules_install

参考:晕哥 https://whycan.cn/t_682.html 烧入



问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题 问题
启动日志没有挂载成功,请教我需要如何去解决它

[    1.217706] i2c /dev entries driver
[    1.222178] usbcore: registered new interface driver i2c-diolan-u2c
[    1.229256] i2c-parport-light: adapter type unspecified
[    1.235758] [VFE]cci probe start cci_sel = 0!
[    1.240791] [VFE]cci probe end cci_sel = 0!
[    1.245575] [VFE]cci_init end
[    1.249096] [VFE]Welcome to Video Front End driver
[    1.254817] [VFE]pdev->id = 0
[    1.258227] [VFE]dev->mipi_sel = 0
[    1.262138] [VFE]dev->vip_sel = 0
[    1.265925] [VFE]dev->isp_sel = 0
[    1.275844] [VFE_WARN]vfe vpu clock is null
[    1.287262] [VFE]vfe_init end
[    1.290834] [VFE]probe_work_handle start!
[    1.295395] [VFE]..........................vfe clk open!.......................
[    1.304723] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.313611] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.322818] [VFE]v4l2 subdev register input_num = 0
[    1.328451] [VFE_ERR]get regulator csi_avdd error!
[    1.333932] [VFE_ERR]vfe_device_regulator_get error at input_num = 0

参考官网的启动日志 参考官网的启动日志 参考官网的启动日志

//cci.ko加载,即摄像头控制器初始化
[    0.808628] [VFE]cci probe start cci_sel = 0!
[    0.813793] [VFE]cci probe end cci_sel = 0!
[    0.818593] [VFE]cci_init end

//VFE驱加载

[    0.822038] [VFE]Welcome to Video Front End driver
[    0.827986] [VFE]pdev->id = 0
[    0.831435] [VFE]dev->mipi_sel = 0
[    0.835324] [VFE]dev->vip_sel = 0
[    0.839114] [VFE]dev->isp_sel = 0
[    0.849164] [VFE_WARN]vfe vpu clock is null
[    0.849164] [VFE_WARN]vfe vpu clock is null
[    0.860599] [VFE]pdev->id = 1
[    0.864021] [VFE]dev->mipi_sel = 1
[    0.868014] [VFE]dev->vip_sel = 1
[    0.871864] [VFE]dev->isp_sel = 0
[    0.875672] [VFE]probe_work_handle start!
[    0.880358] [VFE]..........................vfe clk open!.......................
[    0.880358] [VFE]..........................vfe clk open!.......................
[    0.889010] [VFE]v4l2 subdev register input_num = 0
[    0.894683] [VFE_WARN]vfe vpu clock is null
[    0.894683] [VFE_WARN]vfe vpu clock is null
[    0.899688] [VFE_ERR]vip1 request pinctrl handle for device [csi1] failed!
[    0.907603] [VFE_ERR]get regulator csi_avdd error!
[    0.913056] [VFE_ERR]vfe_device_regulator_get error at input_num = 0
[    0.913056] [VFE_ERR]vfe_device_regulator_get error at input_num = 0
[    0.920482] [VFE]vfe_init end
[    0.920482] [VFE]vfe_init end

//V4L2设备注册,生成video0

[    0.933586] [VFE]V4L2 device registered as video0
[    0.938969] [VFE]..........................vfe clk close!.......................
[    0.938969] [VFE]..........................vfe clk close!.......................
[    0.956440] [VFE]probe_work_handle end!
[    0.960938] [VFE]probe_work_handle start!
[    0.965515] [VFE]..........................vfe clk open!.......................
[    0.965515] [VFE]..........................vfe clk open!.......................
[    0.991682] [VFE]v4l2 subdev register input_num = 0
[    0.997227] [VFE]vfe sensor detect start! input_num = 0
[    0.997227] [VFE]vfe sensor detect start! input_num = 0
[    1.003274] [VFE]Find sensor name is "ov2640", i2c address is 60, type is "YUV" !
[    1.011824] [VFE]Sub device register "ov2640" i2c_addr = 0x60 start!
[    1.018998] [VFE_ERR]Error registering v4l2 subdevice No such device!
[    1.026388] [VFE_ERR]vfe sensor register check error at input_num = 0
[    1.026388] [VFE_ERR]vfe sensor register check error at input_num = 0
[    1.079242] [VFE]V4L2 device registered as video1
[    1.084960] [VFE]..........................vfe clk close!.......................
[    1.084960] [VFE]..........................vfe clk close!.......................
[    1.116779] [VFE]probe_work_handle end!
[    5.012110] [VFE]vfe_open
[    5.012110] [VFE]vfe_open
[    5.043465] [VFE]vfe_open
[    5.043465] [VFE]vfe_open
[    5.058511] [VFE]..........................vfe clk open!.......................
[    5.058511] [VFE]..........................vfe clk open!.......................
[    5.082179] [VFE]..........................vfe clk open!.......................
[    5.082179] [VFE]..........................vfe clk open!.......................
[    5.112320] [VFE]vfe_open ok
[    5.112320] [VFE]vfe_open ok
[    5.115853] [VFE]vfe_close
[    5.115853] [VFE]vfe_close
[    5.118958] [VFE]vfe select input flag = 0, s_input have not be used .
[    5.118958] [VFE]vfe select input flag = 0, s_input have not be used .
[    5.126480] [VFE]..........................vfe clk close!.......................
[    5.126480] [VFE]..........................vfe clk close!.......................
[    5.144821] [VFE]vfe_open ok
[    5.144821] [VFE]vfe_open ok
[    5.148348] [VFE]vfe_close
[    5.148348] [VFE]vfe_close
[    5.151598] [VFE]vfe select input flag = 0, s_input have not be used .
[    5.151598] [VFE]vfe select input flag = 0, s_input have not be used .
[    5.158972] [VFE]..........................vfe clk close!.......................
[    5.158972] [VFE]..........................vfe clk close!.......................
[    5.224773] [VFE]vfe_close end
[    5.224773] [VFE]vfe_close end
[    5.282919] [VFE]vfe_close end
[    5.282919] [VFE]vfe_close end

我的启动日志 我的启动日志 我的启动日志 我的启动日志

U-Boot SPL 2017.01-rc2-00073-gdd6e874 (Jul 11 2018 - 16:05:42)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2-00073-gdd6e874 (Jul 11 2018 - 16:05:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e874 (Jul 11 2018 - 16:05:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
290 bytes read in 14 ms (19.5 KiB/s)
## Executing script at 41900000
reading uImage
2906488 bytes read in 168 ms (16.5 MiB/s)
reading script.bin
35240 bytes read in 24 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 41000000 ...
   Image Name:   Linux-3.4.39
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2906424 Bytes = 2.8 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x1029 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.39 (root@book-virtual-machine) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-29) ) #11 Fri Aug 30 10:23:09 CST 2019
[    0.000000] Initialized persistent memory from 41d20800-41d307ff
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 64MB = 64MB total
[    0.000000] Memory: 28764k/28764k available, 36772k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0589000   (5636 kB)
[    0.000000]       .init : 0xc0589000 - 0xc05b0000   ( 156 kB)
[    0.000000]       .data : 0xc05b0000 - 0xc062fe30   ( 512 kB)
[    0.000000]        .bss : 0xc062fe54 - 0xc0713db4   ( 912 kB)
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000160] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000180] pid_max: default: 32768 minimum: 301
[    0.000323] Mount-cache hash table entries: 512
[    0.000905] CPU: Testing write buffer coherency: ok
[    0.001179] Setting up static identity map for 0x403f72e8 - 0x403f7340
[    0.001861] devtmpfs: initialized
[    0.003622] pinctrl core: initialized pinctrl subsystem
[    0.004115] NET: Registered protocol family 16
[    0.004450] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.004499] script_sysfs_init success
[    0.005290] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.006225] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.006601] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[    0.007430] persistent_ram: found existing buffer, size 20222, start 20222
[    0.099347] console [ram-1] enabled
[    0.100226] Not Found clk pll_isp in script
[    0.100359] Not Found clk pll_video in script
[    0.100590] Not Found clk pll_ve in script
[    0.100715] Not Found clk pll_periph0 in script
[    0.100839] Not Found clk pll_de in script
[    0.105932] bio: create slab <bio-0> at 0
[    0.106334] pwm module init!
[    0.108596] SCSI subsystem initialized
[    0.109070] usbcore: registered new interface driver usbfs
[    0.109262] usbcore: registered new interface driver hub
[    0.109634] usbcore: registered new device driver usb
[    0.109996] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.110027] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.110988] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x34)
[    0.111234] axp20_board 0-0034: failed reading at 0x03
[    0.111386] axp20_board: probe of 0-0034 failed with error -70
[    0.111737] Linux video capture interface: v2.00
[    0.111960] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.112538] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.113350] Switching to clocksource arch_sys_counter
[    0.119979] NET: Registered protocol family 2
[    0.119979] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120383] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.120554] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.120805] TCP: Hash tables configured (established 2048 bind 2048)
[    0.121037] TCP: reno registered
[    0.121162] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.121299] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.121779] NET: Registered protocol family 1
[    0.122349] RPC: Registered named UNIX socket transport module.
[    0.122587] RPC: Registered udp transport module.
[    0.122711] RPC: Registered tcp transport module.
[    0.122937] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.123410] standby_mode = 1.
[    0.123537] wakeup src cnt is : 3.
[    0.123682] pmu1_enable = 0x1.
[    0.123805] pmux_id = 0x1.
[    0.123938] config_pmux_para: script_parser_fetch err.
[    0.124167] pmu2_enable = 0x0.
[    0.124292] add_sys_pwr_dm: get ldo name failed
[    0.124415] add_sys_pwr_dm: get ldo name failed
[    0.124642] add_sys_pwr_dm: get ldo name failed
[    0.124769] add_sys_pwr_dm: get ldo name failed
[    0.124997] add_sys_pwr_dm: get ldo name failed
[    0.125119] add_sys_pwr_dm: get ldo name failed
[    0.125243] add_sys_pwr_dm: get ldo name failed
[    0.125472] add_sys_pwr_dm: get ldo name failed
[    0.125593] add_sys_pwr_dm: get ldo name failed
[    0.125819] add_sys_pwr_dm: get ldo name failed
[    0.125942] after inited: sys_mask config = 0x0.
[    0.126065] dynamic_standby enalbe = 0x0.
[    0.126338] sunxi_reg_init enter
[    0.128435] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.128725] NFS: Registering the id_resolver key type
[    0.129237] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.129501] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.129844] msgmni has been set to 56
[    0.131106] io scheduler noop registered
[    0.131246] io scheduler deadline registered
[    0.131456] io scheduler cfq registered (default)
[    0.132119] [DISP]disp_module_init
[    0.132645] cmdline,disp=
[    0.133326] [DISP] disp_get_rotation_sw,line:68:disp 0 out of range? g_rot_sw=0
[    0.133676] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[    0.136226] [DISP] Fb_map_kernel_logo,line:924:Fb_map_kernel_logo failed!
[    0.138898] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator
[    0.140086] [DISP]disp_module_init finish
[    0.140515] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.141116] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.141251] sw_uart_pm()890 - uart0 clk is already enable
[    0.141490] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.255195] console [ttyS0] enabled
[    0.814836] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.822761] spi spi0: master is unqueued, this is deprecated
[    0.829388] m25p_probe()982 - Use the Dual Mode Read.
[    0.835287] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.842226] partitions_register()869 - Invalid partitions count: -482082762
[    0.850606] Creating 4 MTD partitions on "spi0.0":
[    0.856159] 0x000000000000-0x000000080000 : "u-boot"
[    0.862803] 0x000000080000-0x000000100000 : "sys_config"
[    0.869717] 0x000000100000-0x000000400000 : "kernel"
[    0.876381] 0x000000400000-0x000001000000 : "rootfs"
[    0.884472] Failed to alloc md5
[    0.888231] eth0: Use random mac address
[    0.892816] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.920510] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.929559] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.938324] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.960038] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.967577] hub 1-0:1.0: USB hub found
[    0.971919] hub 1-0:1.0: 1 port detected
[    0.976925] sunxi-ehci sunxi-ehci.1: remove, state 1
[    0.982614] usb usb1: USB disconnect, device number 1
[    0.989095] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    1.005555] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.032762] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.041539] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    1.050236] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    1.114700] hub 1-0:1.0: USB hub found
[    1.119130] hub 1-0:1.0: 1 port detected
[    1.124036] sunxi-ohci sunxi-ohci.1: remove, state 1
[    1.129782] usb usb1: USB disconnect, device number 1
[    1.136125] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    1.152580] Initializing USB Mass Storage driver...
[    1.158302] usbcore: registered new interface driver usb-storage
[    1.165102] USB Mass Storage support registered.
[    1.170808] file system registered
[    1.176283] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.184222] android_usb gadget: Number of LUNs=1
[    1.189462]  lun0: LUN: removable file: (no medium)
[    1.195555] android_usb gadget: android_usb ready
[    1.201065] sunxikbd_script_init: key para not found, used default para.
[    1.210077] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    1.217706] i2c /dev entries driver
[    1.222178] usbcore: registered new interface driver i2c-diolan-u2c
[    1.229256] i2c-parport-light: adapter type unspecified
[    1.235758] [VFE]cci probe start cci_sel = 0!
[    1.240791] [VFE]cci probe end cci_sel = 0!
[    1.245575] [VFE]cci_init end
[    1.249096] [VFE]Welcome to Video Front End driver
[    1.254817] [VFE]pdev->id = 0
[    1.258227] [VFE]dev->mipi_sel = 0
[    1.262138] [VFE]dev->vip_sel = 0
[    1.265925] [VFE]dev->isp_sel = 0
[    1.275844] [VFE_WARN]vfe vpu clock is null
[    1.287262] [VFE]vfe_init end
[    1.290834] [VFE]probe_work_handle start!
[    1.295395] [VFE]..........................vfe clk open!.......................
[    1.304723] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.313611] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.322818] [VFE]v4l2 subdev register input_num = 0
[    1.328451] [VFE_ERR]get regulator csi_avdd error!
[    1.333932] [VFE_ERR]vfe_device_regulator_get error at input_num = 0
[    1.341269] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.350061] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.358813] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.367695] [VFE]V4L2 device registered as video0
[    1.373100] [VFE]..........................vfe clk close!.......................
[    1.381562] [VFE]probe_work_handle end!
[    1.386142] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.394910] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.403848] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    1.411229] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    1.422687] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    1.430385] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    1.436801] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    1.448792] no led_3, ignore it!
[    1.452577] no led_4, ignore it!
[    1.456273] no led_5, ignore it!
[    1.459963] no led_6, ignore it!
[    1.463774] no led_7, ignore it!
[    1.468827] leds-gpio: probe of leds-gpio failed with error -16
[    1.475812] usbcore: registered new interface driver usbhid
[    1.482246] usbhid: USB HID core driver
[    1.487383] ashmem: initialized
[    1.491289] logger: created 256K log 'log_main'
[    1.496559] logger: created 32K log 'log_events'
[    1.502268] logger: created 32K log 'log_radio'
[    1.507660] logger: created 32K log 'log_system'
[    1.514455] script_get_item return type err, consider it no ldo
[    1.522459] asoc: sndcodec <-> sunxi-codec mapping ok
[    1.532328] *******************Try sdio*******************
[    1.540267] TCP: cubic registered
[    1.544082] NET: Registered protocol family 17
[    1.549207] Registering the dns_resolver key type
[    1.554920] VFP support v0.3: [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    1.565201] ThumbEE CPU extension supported.
[    1.570113] Registering SWP/SWPB emulation handler
[    1.576455] *******************Try sd *******************
[    1.582844] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.591889] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.601918] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.612792] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.621399] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.629969] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.638865] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.647773] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 01:43:56 UTC (6236)
[    1.658701] ALSA device list:
[    1.662284]   #0: audiocodec
[    1.666014] Waiting for root device /dev/mmcblk0p2...
[    1.672847] mmc0: new high speed SD card at address 2163
[    1.679372] mmcblk0: mmc0:2163  122 MiB
[    1.685205]  mmcblk0: p1 p2
[    1.689195] mmcblk mmc0:2163: Card claimed for testing.
[    1.695290] mmc0:2163:  122 MiB
[    1.699106] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.707996] *******************sd init ok*******************
[    1.714486] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.723366] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.732040] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.740616] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.749267] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.757944] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.780878] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.790825] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.962365] EXT4-fs (mmcblk0p2): recovery complete
[    1.970860] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.980177] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.989613] devtmpfs: mounted
[    1.993378] Freeing init memory: 156K
[    2.113999] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK

Welcome to Buildroot
buildroot login:

离线

#2 2019-08-30 11:22:39

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,403

Re: 荔枝派zero,mipi摄像头挂载问题

具体脚本我记不起来, 但是可以参考荔枝派的固件里面的脚本 install.sh:

https://whycan.cn/t_2780.html#p22666
https://whycan.cn/t_2780.html#p22795

离线

#3 2019-08-30 13:15:21

晕哥小弟
会员
注册时间: 2019-04-04
累计积分: 184

Re: 荔枝派zero,mipi摄像头挂载问题

关注中......

离线

页脚