tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Overhaul of I2C and SPI device autoconfiguration



On Sun, 12 Sep 2021 13:25:17 +0200
Tobias Nygren <tnn%NetBSD.org@localhost> wrote:

> * aarch64: rkspi, m25p, ssdfb 

Stock GENERIC64 crashed on ROCKPro64, due to i2c assertion so couldn't test any of above.

iic3 at rkiic3: I2C bus
typec-portc (fcs,fusb302) at iic3 addr 0x22 not configured
panic: kernel diagnostic assertion "rv" failed: file "/usr/src/sys/dev/i2c/i2c.c", line 630
cpu0: Begin traceback...
trace fp ffffc00000f784e0
fp ffffc00000f78510 vpanic() at ffffc0000053bd5c netbsd:vpanic+0x14c
fp ffffc00000f78570 kern_assert() at ffffc0000079f928 netbsd:kern_assert+0x58
fp ffffc00000f78600 iic_enumerate_devices_callback() at ffffc000003448f4 netbsd:iic_enumerate_devices_callback+0xd4
fp ffffc00000f78670 of_i2c_enumerate_devices() at ffffc000006483cc netbsd:of_i2c_enumerate_devices+0x10c
fp ffffc00000f78730 device_call() at ffffc00000523e60 netbsd:device_call+0x90
fp ffffc00000f78780 iic_attach() at ffffc00000344ac0 netbsd:iic_attach+0x100
fp ffffc00000f78840 config_attach_internal() at ffffc0000051cf7c netbsd:config_attach_internal+0x1bc
fp ffffc00000f788a0 config_found() at ffffc0000051d0fc netbsd:config_found+0x5c
fp ffffc00000f78910 rk_i2c_attach() at ffffc00000041cf4 netbsd:rk_i2c_attach+0x254
fp ffffc00000f789b0 config_attach_internal() at ffffc0000051cf7c netbsd:config_attach_internal+0x1bc
fp ffffc00000f78a10 config_attach() at ffffc0000051d2a4 netbsd:config_attach+0x54
fp ffffc00000f78a80 fdt_scan() at ffffc00000648834 netbsd:fdt_scan+0x144
fp ffffc00000f78c10 fdt_rescan() at ffffc00000648ab0 netbsd:fdt_rescan+0x50
fp ffffc00000f78c40 config_attach_internal() at ffffc0000051cf7c netbsd:config_attach_internal+0x1bc
fp ffffc00000f78ca0 config_found() at ffffc0000051d0fc netbsd:config_found+0x5c
fp ffffc00000f78d10 arm_fdt_attach() at ffffc0000006aca0 netbsd:arm_fdt_attach+0x90
fp ffffc00000f78d70 config_attach_internal() at ffffc0000051cf7c netbsd:config_attach_internal+0x1bc
fp ffffc00000f78dd0 config_rootfound() at ffffc0000051d354 netbsd:config_rootfound+0x64
fp ffffc00000f78e30 cpu_configure() at ffffc0000006683c netbsd:cpu_configure+0x4c
fp ffffc00000f78e60 main() at ffffc0000079fc04 netbsd:main+0x2d4
fp 0000000000000000 aarch64_start() at ffffc0000000187c netbsd:aarch64_start+0x107c
cpu0: End traceback...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x4:        ret
db{0}>


Home | Main Index | Thread Index | Old Index