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

Add emummc switch support #46

Merged
merged 3 commits into from
Jun 17, 2019
Merged

Add emummc switch support #46

merged 3 commits into from
Jun 17, 2019

Conversation

ckurtz22
Copy link
Contributor

Added support to mount switch emuMMC images. This is toggled with mount_nandhac by giving the -e flag. Needed a special case as emuMMC NAND images have BOOT0 and BOOT1 added to the beginning of them, so it needs to read everything from an offset.

When testing on my emuMMC partition on my SD, I had issues with a missing GPT backup header, but the image I flashed to my SD card had it. I might have messed up when flashing it, or may be an issue with emuMMC stuff causing it to go missing.

@ihaveamac
Copy link
Owner

ihaveamac commented Jun 16, 2019

Will review PRs soon, thanks!

@ihaveamac ihaveamac merged commit 4c05a82 into ihaveamac:master Jun 17, 2019
@ckurtz22
Copy link
Contributor Author

Something I just realized, I didn't add anything to the GUI for this setting so that might be something to check out. There is probably a way to auto detect if the image is an emuMMC or just normal rawnand.bin, would probably just check to see if the first section matches what BOOT0 would normally be. I might look into that later.

@ihaveamac
Copy link
Owner

I’ll add a checkbox or something to the gui later (warning it’s not very good code)

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

Successfully merging this pull request may close these issues.

2 participants