Comments (3)
Oh, that's neat!
The (painful) alternative is to write the SDIO stuff required to get files off the SD card. That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)
This is a rather great middle ground. Thanks for sharing!
I will try to add it to the docs at some point and credit you :) Unfortunately I've been distracted from this project for a little while - but my plan is to come back to it very soon. It's so much fun!
from rpi4-osdev.
That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)
No, there are a couple (3 at least) of RPi baremetal FAT on SD/USB pieces of code in my repository list (which means it is/was here on GitHub somewhere), and I think at least one is in assembler - besides MS released FAT format to public, specifically for inclusion in Linux Kernel last year some time (2021 maybe 2020, after they bought GitHub - even tho its been in the kernel for 30+ years)
but if its in the ramfs
filesystem you should not even need that .. just the wav file and the code to copy/play it from memory
from rpi4-osdev.
@paulwratt I must confess that I've got code for reading the FAT filesystem off the SD card... I just don't like/trust it enough to publish it! It was a pretty limited & clunky implementation as a proof of concept... I agree that this is not needed if we use the ramfs
though. Weirdly I couldn't make @no-go's suggestion work. I suspect my brain was just on holiday that day (it happens!) and I haven't yet revisited it. I still really like the idea though which is why I left the issue open as a burning reminder 😄
from rpi4-osdev.
Related Issues (20)
- Typo - part 8 - "very my" HOT 2
- Typo - part 9 - "hz" HOT 4
- Link - part 11 - Not hypertext HOT 1
- Page number - part 14 - Incorrect page reference on datasheet HOT 1
- Explanation - part 14 - Active LOW HOT 1
- Typo - Part 14 - arp.c - random close comment HOT 1
- Raspberry Pi 4 kernel load address HOT 2
- Building to test on QEMU/KVM HOT 4
- Improve framebuffer drawing -- dual buffering or other technique? HOT 1
- Synchronous Exception at mmio_write() HOT 4
- External vs internal ethernet controller HOT 1
- Where is this stuff documented? HOT 1
- "Incorrect" mailbox protocol in part 5 HOT 2
- Question: USB Support HOT 12
- Timer 3 bar not fully painted in Part 13 (Interrupts) HOT 10
- Various Issues when creating the Makefile HOT 2
- fatal error becuase I apparantely didn't include my header files
- Question: How did you install aarch64? HOT 5
- Pull Up Pull down register is the wrong way around HOT 1
- part9-sound clock registers 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 rpi4-osdev.