Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel sometimes fails to start #15

Open
jepler opened this issue Feb 9, 2025 · 0 comments
Open

Panel sometimes fails to start #15

jepler opened this issue Feb 9, 2025 · 0 comments

Comments

@jepler
Copy link
Member

jepler commented Feb 9, 2025

The debugger shows that pio_sm_xfer_data is blocking:

#1  0x0000007f945506c4 in rp1_ioctl (pio=<optimized out>, request=<optimized out>, args=args@entry=0x7f8806e818) at src/piolib/pio_rp1.c:219
#2  0x0000007f945517dc in rp1_pio_sm_xfer_data (pio=<optimized out>, sm=<optimized out>, dir=<optimized out>, data_bytes=<optimized out>, data=<optimized out>) at src/piolib/pio_rp1.c:247
#3  0x0000007f94552e48 in pio_sm_xfer_data (data=0x7f877de010, data_bytes=65532, dir=0, sm=0, pio=0x3445cc60) at ./src/piolib/include/piolib.h:290
#4  piomatter::pio_sm_xfer_data_large (pio=0x3445cc60, sm=0, direction=direction@entry=0, size=<optimized out>, size@entry=202240, databuf=databuf@entry=0x7f877de010) at ./src/include/piomatter/piomatter.h:27
#5  0x0000007f94585b38 in piomatter::piomatter<piomatter::adafruit_matrix_bonnet_pinout_bgr, piomatter::colorspace_rgb888_packed>::blit_thread (this=0x343b6630) at ./src/include/piomatter/piomatter.h:181

dmesg shows that there's a problem with dma

[  391.580761] rp1-pio 1f00178000.pio: DMA wait timed out

OS & firmware:

$ uname -a
Linux m5 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
$ rpi-eeprom-update | grep CURRENT
   CURRENT: Wed 22 Jan 00:16:51 UTC 2025 (1737505011)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant