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

[PS2] RetroArch doesn't start with an usb mass storage device connected formated with exFat #14635

Closed
jhonathanc opened this issue Nov 17, 2022 · 7 comments · Fixed by #14724
Closed

Comments

@jhonathanc
Copy link

jhonathanc commented Nov 17, 2022

Description

RetroArch doesn't start if an usb mass storage device formated with exFat is connected.

Expected behavior

RetroArch should, at least, start.

Actual behavior

RetroArch freezes on startup.

Steps to reproduce the bug

  1. Plug an exFat formated usb mass storage on PS2.
  2. Start retroarch using wLaunchELF, or using a burned CD.
  3. Retroach will freeze on startup.

Bisect Results

I tried with RA 1.12, 1.11.1 and nightly builds. None worked.

Enviromental Information

OS: PS2 platform
Devices: I used a Sandisk SDCZ60-032G 32GB thumb drive and also, a rocketec usb card reader with a micro sd card formated to exFat. Both works with wLaunchElf and OPL.

@INDRAPhilip
Copy link

For now, they are not yet using the new Drive fats nor the new ps2 sdk enhancements for retroach, so it has no support for exfat.

@jhonathanc jhonathanc changed the title [PS2] RetroArch doesn't start with an usb mass storage device connected formated with extFat [PS2] RetroArch doesn't start with an usb mass storage device connected formated with exFat Nov 19, 2022
@jhonathanc
Copy link
Author

jhonathanc commented Nov 20, 2022

I tried to change the bdmfs_vfat to bdmfs_fatfs on RA code, but I was not able to compile it :(. I'm almost sure it's a Makefile problem (because I'm not very skilled on it). I was trying to use only the CI to build it because I didn't want to install all the ps2sdk but I think I'll.

I also found an issue from ps2dev/ps2sdk repository about this same problem:
ps2dev/ps2sdk#284

@jhonathanc
Copy link
Author

jhonathanc commented Nov 20, 2022

Finally, I was able to compile RA (raboot.elf) with the bdmfs_fatfs driver and it works, but I don't know how to properly compile the cores, because every core I build don't work. (I think it's because it's not using the core defs). Do someone knows how to do it?

@INDRAPhilip
Copy link

@jhonathanc I also managed to change the drive to bdmfs_fatfs and the compilers, but I couldn't test it to create the cores, but who knows, maybe I'll make a pull request with the changes.

@jhonathanc
Copy link
Author

jhonathanc commented Nov 23, 2022

@INDRAPhilip the changes to RA were easy. Maybe @fjtrujy could help with the cores and with the CI script (I checked the CI twice, but I didn't find why it doesn't work with my changes).

@fjtrujy
Copy link
Collaborator

fjtrujy commented Nov 23, 2022

I need to update implementation and use the ps2_drivers library that I have created.
It is on my todo list

@fjtrujy
Copy link
Collaborator

fjtrujy commented Dec 11, 2022

Once this PR is merged you will have exFat support
#14724

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

Successfully merging a pull request may close this issue.

3 participants