List view
- No due date•3/6 issues closed
Initial working version of the WiFi Buddy ESP32-C3 firmware
No due date•0/1 issues closedThis is a follow-up for things that would be good to support once all the items in #71 are complete. ## Booting from SD Card (or SPI flash) This is probably going to involve a couple things: * Figuring out how to prepare a binary image that the D1 will recognize and start booting from * Writing some kind of early stage bootloader (could be the whole kernel at first lol) * Figuring out how much of the SD card the hardware will load for us * Initializing the DDR3 memory * Booting without the help of XFEL I think the oreboot/rustsbi crates have at least figured out part of this (preparing an image, and initializing the DDR3 memory), though it may have been from a SPI flash and not an SD card, though the stock MQ-Pro boards do not come with SPI flash, so we would have to solder our own on. I've been looking around, and haven't found any docs on what the SD card image is supposed to look like, but there is now apparently support in U-Boot for whatever this format is. ## General SD Card Support For general operation, we probably will want to be able to read data from the SD card, and then eventually be able to write to it. We may need this in the early stage bootloader, depending on how much the hardware does for us on boot. For convenience, this probably also means porting one of the FAT fs libraries as well, on top of raw block operations. ## USB OTG support The details of this are tracked in #88. We will want this for "better than UART" I/O, especially until some kind of networking is supported ## ESP32C3 wifi Supporting the RTL wifi chip is likely... infeasible. We should look into using something like esp-hosted, or writing our own firmware for the ESP32 to act as a wifi modem over SPI. This will likely also entail supporting smoltcp (#38) as a network stack.
No due date•2/7 issues closed