Comments (11)
well that rules out cache inconsistencies.
I'll keep investigating, if you find other ways to workaround the bug, post them here, it might be a clue about what's going wrong
from linux.
tagging @iAmInActions because he's worked on this issue with us recently.
apparently buildroot needs a specific patch to enable multilib - exactly why I'm not sure yet, but it seems to fix this issue when executing programs off the SD card.
can you confirm this didn't happen with the old virtio-based driver? there might be some caching issue, but none of the other SD drivers have provisions for invalidation or SMP management, so idk
from linux.
ya the old virtio based driver had no issues. i dont think its a multilib issue either as i didnt need to enable it to fix the issues. it does sound like a caching issue because after reading the executable with sha256sum or something else and try to execute it will run just fine. it seems to only cause issues on the first execution of the file.
from linux.
thinking about it again it might be the driver behaving incoherently within the instruction cache.
could you try building a version with disabled icache (check "System Type -> Disable I-Cache (I-bit)") and see if you can still trigger the bug? seems like a surefire way to determine this.
from linux.
issue still persists after enabling "Disable I-Cache (I-bit)"
from linux.
@spike11302000 I just pushed a new driver in the branch that uses DMA, can you test again?
from linux.
it seems to work but im unable to write it just reports as a read only filesystem
from linux.
hmmm
theres something weird going on
first i had to lock on the micro sd adapter but when i switch it to unlock the system will hang when mount and the last message i see is
3ds-sdhc 10100000.sdhc-controller: buffer error: 80000000
i have tried different microsd adapters but same thing. i dont have time to test other sd cards at the moment but i will try to do that tomorrow
from linux.
I have a regular sd card and I can try it in a few hours
from linux.
Yeah buffer error 0x80000000
basically means there's another transfer going on (ILA bit)... It's probably a bug regarding writes and the DMA engine system, I might be signaling end-of-request while it's still active and causing this bug. I'll just clean up that logic so that end of writes are signaled by DATAEND and end of reads are signaled by the DMA transfer finishing.
from linux.
Sorry for the slight delay but I just pushed a fix that should fix this: 1053381
Can anyone try it? Works for me
from linux.
Related Issues (20)
- Can't compile the code HOT 3
- Password issues HOT 2
- Lack of SD write support and WiFi HOT 6
- logging in as "root" with password "toor" doesn't work HOT 4
- Keyboard is too tiny to easily type in HOT 1
- Does the password changed ? HOT 2
- sudo and apt support HOT 3
- can't reboot HOT 1
- /start-weston.sh doesnt work HOT 2
- The Password Isn't Showing Up HOT 9
- sdcard read/write & io errors HOT 2
- Needs to use an up-to-date base HOT 5
- Desktop? HOT 4
- what have i to put? HOT 2
- Why are upstream commits from `github.com/torvalds/linux` not being merged? HOT 2
- New model extended RAM not available HOT 1
- Canβt log in after installing from universal shop HOT 10
- new 3ds LX can't write correctly HOT 2
- Cant Mount SD card. Screen freezes. New 3DSXl HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux.