things i should have probably asked first:

have you tried the unicorn hat in raspbian, is it functional?

which unicorn hat is it exactly, which pins are you using?,

because it looks like there are ones that use

spi0 and others spi1 and as for spi:

spi@7e204000 is spi0

spi@7e215080 is spi1

spi@7e2150c0 is spi2

which doesn't actually exist on a raspberry pi unless you use the computing module, so it should probably remain disabled


this is the Unicorn Hat HD : https://shop.pimoroni.com/products/unicorn-hat-hd

I'll do the test of the raspbian.


I have tried again with one of the latest f28 build (20180419), same issue.



I have also these messages from dmesg, is it related ?

[   27.131987]  bcm2835_thermal spi_bcm2835aux spi_bcm2835 bcm2835_rng bcm2835_wdt leds_gpio xfs uas usb_storage libcrc32c vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_pcm snd_timer snd mmc_block soundcore drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm dwc2 udc_core sdhci_iproc sdhci_pltfm sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua [   27.219620] CPU: 0 PID: 5 Comm: kworker/u8:0 Not tainted 4.16.2-300.fc28.aarch64 #1
[   27.233188] Hardware name: raspberrypi rpi/rpi, BIOS 2018.03 04/15/2018
[   27.245700] Workqueue: events_unbound async_run_entry_fn
[   27.256928] pstate: 20400005 (nzCv daif +PAN -UAO)
[   27.267518] pc : gpiod_set_value+0x60/0x68
[   27.277239] lr : gpiod_set_value+0x30/0x68
[   27.286793] sp : ffff00000804bbc0
[   27.295392] x29: ffff00000804bbc0 x28: 0000000000000000
[   27.305921] x27: ffff800037073fb8 x26: ffff000008c8e008
[   27.316398] x25: 0000000000000000 x24: 000000000000002c
[   27.326889] x23: ffff0000013f40b8 x22: 0000000000000000
[   27.337376] x21: 0000000000000000 x20: 0000000000000000
[   27.347862] x19: ffff800031f76b00 x18: 00000000000000ef
[   27.358353] x17: 0000000000000000 x16: 0000000000000000
[   27.368820] x15: 00005f2acaff6414 x14: 000000000000000c
[   27.379257] x13: 0000000000000001 x12: 0000000000000000
[   27.389681] x11: 0000000000000003 x10: 0101010101010101
[   27.399951] x9 : 01fefefefefefeff x8 : ffff800030de1b00
[   27.410086] x7 : ffff800008007c80 x6 : ffff7e0000c37840
[   27.410095] x5 : 0000000000008d6b x4 : ffff80003e51d8e0
[   27.410102] x3 : 0000000000008d6c x2 : ffff800034794a28
[   27.410109] x1 : ffff800035d12400 x0 : 0000000000000001
[   27.410117] Call trace:
[   27.410134]  gpiod_set_value+0x60/0x68
[   27.410254]  bcm_gpio_set_shutdown+0x28/0x38 [hci_uart]
[   27.410364]  bcm_gpio_set_power+0xc0/0x168 [hci_uart]
[   27.482065]  bcm_serdev_probe+0x80/0xe8 [hci_uart]
[   27.482084]  serdev_drv_probe+0x28/0x38
[   27.497995]  really_probe+0x204/0x3c8
[   27.505029]  driver_probe_device+0x54/0xd8
[   27.512340]  __driver_attach+0x124/0x128
[   27.519341]  bus_for_each_dev+0x70/0xa8
[   27.526142]  driver_attach+0x30/0x40
[   27.532620]  driver_attach_async+0x20/0x60
[   27.539580]  async_run_entry_fn+0x4c/0x188
[   27.539587]  process_one_work+0x19c/0x3a8
[   27.539592]  worker_thread+0x4c/0x418
[   27.539600]  kthread+0x130/0x138
[   27.539615]  ret_from_fork+0x10/0x18
[   27.572525] ---[ end trace 3bb3eadcdf1398ca ]---
[   27.573515] uart-pl011 3f201000.serial: no DMA platform data
[   27.589215] WARNING: CPU: 0 PID: 5 at drivers/gpio/gpiolib.c:2986 gpiod_set_value+0x60/0x68 [   27.604174] Modules linked in: hci_uart btbcm btintel btqca brcmfmac bluetooth brcmutil cfg80211 smsc95xx rc_cec usbnet ecdh_generic mii crc32_ce gpio_raspberrypi_exp rfkill nvmem_core bcm2835_thermal spi_bcm2835aux spi_bcm2835 bcm2835_rng bcm2835_wdt leds_gpio xfs uas usb_storage libcrc32c vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_pcm snd_timer snd mmc_block soundcore drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm dwc2 udc_core sdhci_iproc sdhci_pltfm sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua [   27.687283] CPU: 0 PID: 5 Comm: kworker/u8:0 Tainted: G W        4.16.2-300.fc28.aarch64 #1
[   27.687287] Hardware name: raspberrypi rpi/rpi, BIOS 2018.03 04/15/2018
[   27.687311] Workqueue: events_unbound async_run_entry_fn
[   27.687321] pstate: 20400005 (nzCv daif +PAN -UAO)
[   27.687335] pc : gpiod_set_value+0x60/0x68
[   27.687343] lr : gpiod_set_value+0x30/0x68
[   27.687346] sp : ffff00000804bb50
[   27.687349] x29: ffff00000804bb50 x28: 0000000000000000
[   27.687357] x27: ffff800037073fb8 x26: ffff000008c8e008
[   27.687365] x25: 0000000000000000 x24: 000000000000002c
[   27.687372] x23: ffff0000013f40b8 x22: fffffffffffffffe
[   27.687380] x21: 0000000000000001 x20: 0000000000000001
[   27.687387] x19: ffff800031f76b00 x18: 0000000000000000
[   27.687394] x17: 0000000000000000 x16: 0000000000000000
[   27.687402] x15: 0000000000aaaaaa x14: 0e200e200e200e20
[   27.687410] x13: 0000000000000001 x12: 00000000ffffffff
[   27.687417] x11: ffff000000bb3088 x10: 0000000000000020
[   27.687424] x9 : 0000000000000000 x8 : ffff00000c115260
[   27.687432] x7 : 0000000000000000 x6 : 000000000000003f
[   27.687439] x5 : ffff00000804ba58 x4 : 0000000000000000
[   27.687446] x3 : 0000000000000002 x2 : ffff800034794a28
[   27.687453] x1 : ffff800035d12400 x0 : 0000000000000001
[   27.687461] Call trace:
[   27.687471]  gpiod_set_value+0x60/0x68
[   27.687597]  bcm_gpio_set_shutdown+0x28/0x38 [hci_uart]
[   27.687700]  bcm_gpio_set_power+0x40/0x168 [hci_uart]
[   27.687802]  bcm_open+0xe8/0x1c8 [hci_uart]
[   27.687903]  hci_uart_register_device+0x3c/0x2a0 [hci_uart]
[   27.688007]  bcm_serdev_probe+0x94/0xe8 [hci_uart]
[   27.688018]  serdev_drv_probe+0x28/0x38
[   27.688026]  really_probe+0x204/0x3c8
[   27.688033]  driver_probe_device+0x54/0xd8
[   27.688040]  __driver_attach+0x124/0x128
[   27.688046]  bus_for_each_dev+0x70/0xa8
[   27.688052]  driver_attach+0x30/0x40
[   27.688058]  driver_attach_async+0x20/0x60
[   27.688065]  async_run_entry_fn+0x4c/0x188
[   27.688071]  process_one_work+0x19c/0x3a8
[   27.688076]  worker_thread+0x4c/0x418
[   27.688083]  kthread+0x130/0x138
[   27.688093]  ret_from_fork+0x10/0x18
[   27.688098] ---[ end trace 3bb3eadcdf1398cb ]---
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-le...@lists.fedoraproject.org

Reply via email to