Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    mq dual [VIN_ERR]ov5640 request i2c2 adapter failed!

    其它全志芯片讨论区
    3
    13
    672
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      a892755772 LV 5 last edited by

      mq dual 编译运行后 ov5640 老报这个错
      有人知道原因吗

      Q 1 Reply Last reply Reply Quote Share 0
      • Y
        YterAA LV 7 last edited by

        I2C没有使能

        I2C没有使能时一般会异常报错:

        [VFE]Sub device register "ov2775_mipi" i2c_addr = 0x6c start!
        [VFE_ERR]request i2c adapter failed!
        [VFE_ERR]vfe sensor register check error at input_num = 0
        

        出现上述的错误,是因为使用 twi 进行 I2C 通信但没有使能 twi 导致的错误,此时需要确认 dts 中,[twiX] 中的 status 是否已经设置为 okay。

        A 2 Replies Last reply Reply Quote Share 0
        • A
          a892755772 LV 5 @YterAA last edited by

          @yteraa 我改成okay了 还是出现同样的错误

          1 Reply Last reply Reply Quote Share 0
          • A
            a892755772 LV 5 @YterAA last edited by YuzukiTsuru

            @yteraa 不好意思 我今天发现我没有改成功 现在我已经没有报这个错误了
            但是现在提示说找不到这个ov5640设备 我明明已经连接这个
            能帮我再看看吗

            o insmod ./lib/modules/5.4.61/kernel/drivers/media/platform/sunxi-vin/vin_v4l2.ko
            [   48.051803] sunxi-vin-core 5809000.vinc: Adding to iommu group 0
            [   48.072904] [VIN_WARN]get csi isp clk fail
            [   48.077510] [VIN_WARN]get csi isp src clk fail
            [   48.082502] [VIN_WARN]get csi mipi clk fail
            [   48.087180] [VIN_WARN]get csi mipi src clk fail
            [   48.092315] [VIN_WARN]get csi isp clk fail
            [   48.096915] [VIN_WARN]Get isp reset control fail
            [   48.113944] [ov5640]PWR_ON!
            [   48.118491] sun8iw20-pinctrl pio: pin PE3 already requested by 2500000.uart; cannot claim for 5800800.vind
            [   48.129449] sun8iw20-pinctrl pio: pin-131 (5800800.vind) status -22
            [   48.136481] sun8iw20-pinctrl pio: could not request pin 131 (PE3) from group PE3  on device pio
            [   48.146236] sunxi-vin-media 5800800.vind: Error applying setting, reverse things back
            [   48.154980] [VIN_ERR]mclk0 request pin handle failed!
            [   48.215784] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.224511] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.234199] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.240573] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.246963] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.255763] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.265439] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.271751] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.278092] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.286809] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.296479] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.302826] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.309186] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.314845] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.323564] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.333233] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.339597] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.345995] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.354722] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.364386] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.370696] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.377034] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.385752] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.395431] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.401746] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.408037] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.413667] [ov5640]V4L2_IDENT_SENSOR = 0
            [   48.418209] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.426937] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.436619] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.442973] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.449378] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.458160] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.467773] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.474084] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.480435] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.489150] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.498832] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.505174] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.511527] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.517185] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.525903] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.535578] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.541893] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.548232] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.556958] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.566639] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.572950] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.579305] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.588020] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.597694] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.604013] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.610323] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.615931] [ov5640]retry = 0, V4L2_IDENT_SENSOR = 0
            [   48.621548] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.630333] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.639929] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.646218] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.652588] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.661373] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.670967] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.677305] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.683714] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.692514] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.702110] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.708455] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.714817] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.720488] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.729217] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.738895] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.745187] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.751538] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.760321] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.769995] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.776285] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.782640] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.791439] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.801114] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.807408] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.813717] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.819388] [ov5640]retry = 1, V4L2_IDENT_SENSOR = 0
            [   48.824950] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.833668] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.843340] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.849701] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.856096] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.864823] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.874420] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.880731] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.887067] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.895784] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.905382] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.911695] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.917990] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   48.923669] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.932387] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.941982] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.948272] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.954621] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.963340] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   48.972934] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   48.979242] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   48.985584] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   48.994303] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.003898] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.010211] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.016511] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   49.022140] [ov5640]retry = 2, V4L2_IDENT_SENSOR = 0
            [   49.027707] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.036422] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.046019] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.052336] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.058680] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.067407] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.077001] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.083312] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.089668] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.098384] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.108007] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.114320] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.120638] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   49.126296] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.135025] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.144620] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.150930] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.157276] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.166001] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.175597] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.181906] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.188243] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.196957] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.206551] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.212865] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.219183] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   49.224793] [ov5640]retry = 3, V4L2_IDENT_SENSOR = 0
            [   49.230410] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.239195] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.248859] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.255150] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.261517] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.270317] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.279915] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.286259] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.292675] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.301471] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.311076] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.317422] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.323784] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   49.329460] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.338177] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.347850] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.354163] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.360520] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.369246] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.378913] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.385201] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.391553] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
            [   49.400336] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
            [   49.409999] 0x02502a00: 01011001 00000001 00007900 00020001 
            [   49.416288] 0x02502a10: 00008040 00010004 00010010 00000002 
            [   49.422604] [VIN_DEV_I2C]ov5640 sensor read retry = 2
            [   49.428224] [ov5640]retry = 4, V4L2_IDENT_SENSOR = 0
            [   49.433801] [ov5640] error, chip found is not an target chip.
            [   49.440255] [ov5640]PWR_OFF!
            [   49.443614] sun8iw20-pinctrl pio: pin PE3 already requested by 2500000.uart; cannot claim for 5800800.vind
            [   49.454462] sun8iw20-pinctrl pio: pin-131 (5800800.vind) status -22
            [   49.461505] sun8iw20-pinctrl pio: could not request pin 131 (PE3) from group PE3  on device pio
            [   49.471210] sunxi-vin-media 5800800.vind: Error applying setting, reverse things back
            [   49.479949] [VIN_ERR]mclk0 request pin handle failed!
            [   49.497824] sensor_remove ov5640 sd = (ptrval)!
            [   49.502997] [VIN_ERR]registering ov5640, No such device!
            [   49.508988] [VIN]vinc1 is null
            
            Y 1 Reply Last reply Reply Quote Share 0
            • Y
              YterAA LV 7 @a892755772 last edited by YuzukiTsuru

              @a892755772

              [   49.391553] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
              [   49.400336] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3c)
              [   49.422604] [VIN_DEV_I2C]ov5640 sensor read retry = 2
              [   49.428224] [ov5640]retry = 4, V4L2_IDENT_SENSOR = 0
              [   49.433801] [ov5640] error, chip found is not an target chip.
              [   49.440255] [ov5640]PWR_OFF!
              

              出现上述错误打印时,可按以下操作逐步debug。

              (1)确认 sys_config.fex 中配置的 sensor I2C 地址是否正确(sensor datasheet 中标注,读地址为 0x6d,写地址为 0x6c,那么dts 配置 sensor I2C 地址为 0x6c);
              (2)在完成以上操作之后,在 senor 上电函数中,将掉电操作屏蔽,保持 sensor 一直上电状态,方便 debug;
              (3)确认 I2C 地址正确之后,测量 sensor 的各路电源电压是否正确且电压幅值达到 datasheet 标注的电压要求;
              (4)测量 MCLK 的电压幅值与频率,是否正常;
              (5)测量 sensor 的 reset、pown 引脚电平配置是否正确,I2C 引脚 SCK、SDA 是否已经硬件上拉;
              (6)确认 I2C 接口使用正确并使能(CCI / TWI);
              (7)如果还是 I2C 出错,协调硬件同事使用逻辑分析仪等仪器进行debug;

              1 Reply Last reply Reply Quote Share 0
              • Q
                小wei LV 5 last edited by

                你好。请问你的ov5640摄像头能成功使用了吗?我遇到了点麻烦想请教一下你

                1 Reply Last reply Reply Quote Share 0
                • Q
                  小wei LV 5 @a892755772 last edited by

                  @a892755772 你好,请问你的ov5640现在改成功了吗

                  A 1 Reply Last reply Reply Quote Share 1
                  • A
                    a892755772 LV 5 @qq519472926 last edited by whycan

                    @qq519472926 还不行啊 卡主了

                    目前是把twi2使能 吧gmac0禁用了 video0有了 但是还提示错误

                    mangopi login: [    5.723106] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
                    [    5.734370] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
                    [    5.744295] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
                    [    5.754062] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
                    [    7.800745] sunxi-vin-core 5809000.vinc: Adding to iommu group 0
                    [    7.810364] [VIN_WARN]get csi isp clk fail
                    [    7.815061] [VIN_WARN]get csi isp src clk fail
                    [    7.820046] [VIN_WARN]get csi mipi clk fail
                    [    7.824806] [VIN_WARN]get csi mipi src clk fail
                    [    7.829916] [VIN_WARN]get csi isp clk fail
                    [    7.834548] [VIN_WARN]Get isp reset control fail
                    [    7.857278] [ov5640]PWR_ON!
                    [    7.916252] [ov5640]V4L2_IDENT_SENSOR = 5640
                    [    7.965291] [ov5640]PWR_OFF!
                    [    7.981120] [VIN]vinc1 is null
                    [    7.984633] [VIN_ERR]Bt.601 Pipeline csi subdev is NULL, DevID is 0
                    

                    对了 串口要改掉 不能是uart0 因为是PE2 PE3😞
                    但是uboot改了没有用 内核可以

                    Q 3 Replies Last reply Reply Quote Share 0
                    • Q
                      小wei LV 5 @a892755772 last edited by

                      @a892755772 方便加qq一起交流吗。我现在也遇到了问题

                      1 Reply Last reply Reply Quote Share 0
                      • Q
                        小wei LV 5 @a892755772 last edited by whycan

                        @a892755772
                        我这启动打印就很奇怪。我接不接摄像头都是这样打印。感觉少了好多ko模块没加载。可以看看你的启动LOG吗

                        [SNDCODEC][sunxi_card_init][583]:card init finished
                        sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                        sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
                        sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
                        sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
                        input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
                        mmc0: new high speed SDXC card at address aaaa
                        [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
                        mmcblk0: mmc0:aaaa SC64G 59.5 GiB
                        sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                        NET: Registered protocol family 10
                        Segment Routing with IPv6
                        sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                         mmcblk0: p1 p2 p3 p4 p5 p6
                        NET: Registered protocol family 17
                        Loading compiled-in X.509 certificates
                        sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
                        sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
                        sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
                        sunxi-i2c sunxi-i2c2: probe success
                        mmc1: new high speed SDIO card at address 0001
                        vin_csi 5801000.csi: Adding to iommu group 0
                        sunxi-vin-core 5809000.vinc: Adding to iommu group 0
                        [VIN_WARN]get csi isp clk fail
                        [VIN_WARN]get csi isp src clk fail
                        [VIN_WARN]get csi mipi clk fail
                        [VIN_WARN]get csi mipi src clk fail
                        [VIN_WARN]get csi isp clk fail
                        [VIN_WARN]Get isp reset control fail
                        **ov5640 2-003c: endpoint node not found
                        ov5640: probe of 2-003c failed with error -22
                        [VIN_ERR]222registering ov5640, No such device!**
                        [VIN]vinc1 is null
                        cfg80211: Loading compiled-in X.509 certificates for regulatory database
                        cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
                        platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
                        cfg80211: failed to load regulatory.db
                        clk: Not disabling unused clocks
                        ALSA device list:
                          #0: audiocodec
                        alloc_fd: slot 0 not NULL!
                        random: fast init done
                        EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null)
                        VFS: Mounted root (ext4 filesystem) readonly on device 179:5.
                        devtmpfs: mounted
                        Freeing unused kernel memory: 148K
                        This architecture does not have kernel memory protection.
                        Run /pseudo_init as init process
                        mount: mounting none on /dev failed: Device or resource busy
                        mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such file or directory
                        Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
                        /pseudo_init: line 395: mkfs.ext4: not found
                        
                        1 Reply Last reply Reply Quote Share 0
                        • Q
                          小wei LV 5 @a892755772 last edited by whycan

                          @a892755772 有空的话把你下面几个文件贴一下看看嘛

                          device/config/chips/xxx/configs/xx/sys_config.fex
                          device/config/chips/xxx/configs/xx/board.dts
                          lichee/linux-5.4/arch/riscv/boot/dts/sunxi/sun20iw1p1.dtsi
                          target/allwinner/d1s-common/modules.mk
                          
                          A 1 Reply Last reply Reply Quote Share 0
                          • A
                            a892755772 LV 5 @qq519472926 last edited by

                            @qq519472926 我没有ysy_confgi.fex
                            我的是t113-s3的 板子是mq dual

                            Q 1 Reply Last reply Reply Quote Share 0
                            • Q
                              小wei LV 5 @a892755772 last edited by

                              @a892755772 另外几个呢

                              1 Reply Last reply Reply Quote Share 0
                              • 1 / 1
                              • First post
                                Last post

                              Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                              行为准则 | 用户协议 | 隐私权政策