Closed meltdown03 closed 2 years ago
Its hard to know by this log, to debug it I've used more verbose logging and even then it was hard to figure out problems.
I've just uploaded my working binaries in the buildroot-tinyemu project, please try them first before trying other configurations.
Note your SD card is mounted as 20Mhz, this will slow things down a bit.
Name: SD128 Type: SDHC/SDXC Speed: 20 MHz Size: 122344MB
Its hard to know by this log, to debug it I've used more verbose logging and even then it was hard to figure out problems.
I've just uploaded my working binaries in the buildroot-tinyemu project, please try them first before trying other configurations.
Note your SD card is mounted as 20Mhz, this will slow things down a bit.
Name: SD128 Type: SDHC/SDXC Speed: 20 MHz Size: 122344MB
The binaries work for my OG ESP32 which I use the SPI method for SD mounting which for some reason I can only run at 5MHz max! Otherwise, I get errors. But it works! On my ESP32-S3 (I used the emulated himem and 20MHz SPI SD) it still doesn't. If I get it to work, do you want me to do a PR?
Ok, I got it working on the S3, and it's faster, about 53 seconds to get to the last kernel message. I was using the USB port and not the UART one, so it may have been working before.
The binaries work for my OG ESP32 which I use the SPI method for SD mounting which for some reason I can only run at 5MHz max! Otherwise, I get errors. But it works! On my ESP32-S3 (I used the emulated himem and 20MHz SPI SD) it still doesn't. If I get it to work, do you want me to do a PR?
Sure. PRs welcome.
It could be noise/parasitics issues, breadboards are notorious for that, try to use short, direct wires.
I used the premade buildroot file from the readme file. I had to tweak the name of the bin file in the
root-riscv32.cfg
file to get it to do anything, but it gets to this line and then just sits:I'm guessing I am missing a step somewhere.
The entire output is here (I was actually able to get it working on the my ESP32-S3, but it did the same thing on my ESP32):