Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot from SDCard #16

Open
SantX27 opened this issue Apr 20, 2020 · 3 comments
Open

Boot from SDCard #16

SantX27 opened this issue Apr 20, 2020 · 3 comments

Comments

@SantX27
Copy link

SantX27 commented Apr 20, 2020

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.

@thirtythreeforty
Copy link
Owner

thirtythreeforty commented Apr 28, 2020

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?

@SantX27
Copy link
Author

SantX27 commented Apr 29, 2020

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

@thirtythreeforty
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants