littlekernel / lk

LK embedded kernel
MIT License
3.15k stars 621 forks source link

read only fat32 driver with long filename support. #123

Closed pablomarx closed 8 years ago

travisg commented 8 years ago

Looks interesting, who's Steve White? Was this for some internal project?

pablomarx commented 8 years ago

I'm Steve. It was written for some Raspberry Pi projects, since they boot off a FAT partition – handy to read other files located on that partition.

Specifically, it was for a rewrite of a bare metal port of Squeak. I've long had a very crude version of this, but thought it'd be nice to host it on a clean code base (lk), and gain easy ability to get it running on other ARM SBCs (Beaglebone, etc). And for that project, it needs to read the Squeak image and source files from the boot partition, hence this FAT code.

I have a lot of other RPI code (DMA, EMMC, etc) that I'm trying to clean up and get PR'ed in the near future.

travisg commented 8 years ago

Oh neat. Looks pretty good, I'll test the merge against mainline and push it in if everything works fine. Some of the FS layer changed recently, so there may need to be a few tweaks.

travisg commented 8 years ago

Looks good, going to roll it in and run a LK formatting tool across it if you dont mind. It'll bump the indents up to 4, but will also make sure all the indents are spaces and whatnot.

travisg commented 8 years ago

Pushed into mainline. Thanks!