WhyCan Forum(哇酷开发者社区)

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn

您尚未登录。

#1 2020-09-11 16:53:46

liuliu
会员
注册时间: 2020-09-04
累计积分: 2

Widora 的buildroot,启动内核的时候有错误信息

我用的是github上的Widora全套buildroot,全不改动的情况下,所有功能都正常。
但就是在启动kernel的时候,每次都会有一段是报错的。
请问有谁知道是什么情况吗?
下面是启动的节录:

[    0.910851] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.923584] ------------[ cut here ]------------
[    0.928280] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:733 spidev_probe+0xcc/0x1b0
[    0.936278] /soc/spi@1c06000/spidev@0x00: buggy DT: spidev listed directly in DT
[    0.943704] Modules linked in:
[    0.946782] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.58 #18
[    0.952597] Hardware name: Allwinner suniv Family
[    0.957412] [<c010e6a8>] (unwind_backtrace) from [<c010b9c4>] (show_stack+0x10/0x14)
[    0.965233] [<c010b9c4>] (show_stack) from [<c01172d0>] (__warn+0xa8/0xd0)
[    0.972111] [<c01172d0>] (__warn) from [<c0117384>] (warn_slowpath_fmt+0x8c/0xb8)
[    0.979671] [<c0117384>] (warn_slowpath_fmt) from [<c045ec88>] (spidev_probe+0xcc/0x1b0)
[    0.987830] [<c045ec88>] (spidev_probe) from [<c045ab00>] (spi_drv_probe+0x7c/0xa0)
[    0.995541] [<c045ab00>] (spi_drv_probe) from [<c040b900>] (really_probe+0x1e0/0x344)
[    1.003423] [<c040b900>] (really_probe) from [<c040bbe8>] (driver_probe_device+0x5c/0x16c)
[    1.011705] [<c040bbe8>] (driver_probe_device) from [<c0409dc4>] (bus_for_each_drv+0x7c/0xc4)
[    1.020292] [<c0409dc4>] (bus_for_each_drv) from [<c040b6a4>] (__device_attach+0xc8/0x13c)
[    1.028610] [<c040b6a4>] (__device_attach) from [<c040aa74>] (bus_probe_device+0x84/0x8c)
[    1.036841] [<c040aa74>] (bus_probe_device) from [<c0407e44>] (device_add+0x3a8/0x5f4)
[    1.044825] [<c0407e44>] (device_add) from [<c045b168>] (spi_add_device+0x90/0x154)
[    1.052490] [<c045b168>] (spi_add_device) from [<c045bde4>] (spi_register_controller+0x844/0xa6c)
[    1.061415] [<c045bde4>] (spi_register_controller) from [<c045c03c>] (devm_spi_register_controller+0x30/0x6c)
[    1.071382] [<c045c03c>] (devm_spi_register_controller) from [<c0461034>] (sun6i_spi_probe+0x1a4/0x28c)
[    1.080834] [<c0461034>] (sun6i_spi_probe) from [<c040d6cc>] (platform_drv_probe+0x48/0x98)
[    1.089238] [<c040d6cc>] (platform_drv_probe) from [<c040b900>] (really_probe+0x1e0/0x344)
[    1.097543] [<c040b900>] (really_probe) from [<c040bbe8>] (driver_probe_device+0x5c/0x16c)
[    1.105846] [<c040bbe8>] (driver_probe_device) from [<c040be98>] (device_driver_attach+0x58/0x60)
[    1.114753] [<c040be98>] (device_driver_attach) from [<c040bef8>] (__driver_attach+0x58/0xcc)
[    1.123287] [<c040bef8>] (__driver_attach) from [<c0409cf0>] (bus_for_each_dev+0x70/0xb4)
[    1.131529] [<c0409cf0>] (bus_for_each_dev) from [<c040ad08>] (bus_add_driver+0x194/0x1cc)
[    1.139847] [<c040ad08>] (bus_add_driver) from [<c040c730>] (driver_register+0x74/0x108)
[    1.147993] [<c040c730>] (driver_register) from [<c0102c58>] (do_one_initcall+0x6c/0x1d8)
[    1.156229] [<c0102c58>] (do_one_initcall) from [<c0900e80>] (kernel_init_freeable+0x10c/0x1cc)
[    1.164990] [<c0900e80>] (kernel_init_freeable) from [<c06d2ff8>] (kernel_init+0x8/0x108)
[    1.173176] [<c06d2ff8>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[    1.180776] Exception stack(0xc1833fb0 to 0xc1833ff8)
[    1.185870] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.194079] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.202246] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.208899] ---[ end trace 0c83459f55c745b2 ]---
[    1.214630] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.221165] ehci-platform: EHCI generic platform driver
[    1.226827] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

离线

#2 2020-09-11 17:01:25

liuliu
会员
注册时间: 2020-09-04
累计积分: 2

Re: Widora 的buildroot,启动内核的时候有错误信息

顺便再问另一个问题:
每次启动完半分钟后就会出现这样的提示,这个提示是什么意思呢?

# [   31.843475] vcc3v0: disabling
[   31.846485] vcc3v3: disabling
[   31.849456] vcc5v0: disabling

离线

#3 2020-09-11 17:17:50

哇酷小二
管理员
注册时间: 2020-04-22
累计积分: 1,813

Re: Widora 的buildroot,启动内核的时候有错误信息

检查一下 dts文件, 可能 aodzip 有的设备, 而你没有。

离线

#4 2020-09-11 20:43:09

mango
会员
所在地: 小猿桌
注册时间: 2017-12-02
累计积分: 641
个人网站

Re: Widora 的buildroot,启动内核的时候有错误信息

先贴出你的dts,感觉是spi probe时碰到不存在的外设出现异常

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB