businesscard-linux icon indicating copy to clipboard operation
businesscard-linux copied to clipboard

Boot from SDCard

Open SantX27 opened this issue 4 years ago • 3 comments

Hi, I was interested on your project but I saw that it can be run only from a flash chip. Is it possible to compile it for booting from an SDCard? I have a portable emulation device that uses the F1C100S and boots from there. I tried restoring the genimage and adding back the ext4 rootfs generation, but I have no idea how to get UBoot working.

SantX27 avatar Apr 20 '20 18:04 SantX27

Hi, sorry for the slow reply. In theory this is possible. It seems mainline U-Boot has a bug related to booting from the SD card; in my experience I could get the SPL to load, but it couldn't load the remainder of U-Boot from the card. Possibly this bug is related to the problem I fixed for the SPI controller, which was getting reset after every transaction.

What device are you using?

thirtythreeforty avatar Apr 28 '20 15:04 thirtythreeforty

Oh, I see. The device I'm using is a Miyoo/Bittboy Pocket Go. It's a small emulation "console" that uses the sdcard to boot off and to store the roms of the games, Most of the consoles built from that company uses the F1C100s like this one. There's updates made by the community, but I wanted to try and base a custom firmware off your work, since it has some very appealing features, like the USB Gadget support and a rather clean and simple buildroot environment. Also, thank you for taking your time to respond to this non-technical issue

SantX27 avatar Apr 29 '20 20:04 SantX27

It's definitely possible. I believe the U-Boot from Lichee can boot from SD. It's getting kind of old, but it might work if you don't care about fancy features. (I needed the fancy features :)

thirtythreeforty avatar Apr 29 '20 21:04 thirtythreeforty