openbouffalo / buildroot_bouffalo

Linux Image for the BL808 CPU by Bouffalo Lab
128 stars 34 forks source link

Got data interrupt 0x00000002 even though no data operation was in progress. #24

Closed sl33nyc closed 1 year ago

sl33nyc commented 1 year ago

(First, thank you for a mostly working build! Following the Ox64 Wiki isn't ideal...)

The console is being spammed with the following:

[ 1053.937695] mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
[ 1053.938246] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 1053.938643] mmc0: sdhci: Sys addr:  0x51341040 | Version:  0x00000000
[ 1053.939042] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000000
[ 1053.939442] mmc0: sdhci: Argument:  0x12340000 | Trn mode: 0x00000023
[ 1053.939843] mmc0: sdhci: Present:   0x01f70000 | Host ctl: 0x00000006
[ 1053.940242] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[ 1053.940641] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000107
[ 1053.941040] mmc0: sdhci: Timeout:   0x0000000e | Int stat: 0x00000000
[ 1053.941439] mmc0: sdhci: Int enab:  0x02ff008b | Sig enab: 0x02ff008b
[ 1053.941839] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 1053.942238] mmc0: sdhci: Caps:      0x25fc0080 | Caps_1:   0x00002f77
[ 1053.942638] mmc0: sdhci: Cmd:       0x00000d1a | Max curr: 0x00000000
[ 1053.943037] mmc0: sdhci: Resp[0]:   0x00000e00 | Resp[1]:  0x0039b77f
[ 1053.943436] mmc0: sdhci: Resp[2]:   0x325b5900 | Resp[3]:  0x00400e00
[ 1053.943838] mmc0: sdhci: Host ctl2: 0x00004000
[ 1053.944118] mmc0: sdhci: ============================================

I'm unsure if it's specific to my SD card (flashed with Kernel 6.2-rc7 release image), but filing this in case this is a legit issue.

Fishwaldo commented 1 year ago

There is a "open" issue with the SD driver at the moment. We haven't been able to narrow it down yet as some people have no problems and others hit issues. Thanks for the feedback though

alexhorner commented 1 year ago

Related to #16