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

RP2040 support possible/probable? #17

Open
sigboe opened this issue Jul 19, 2021 · 6 comments
Open

RP2040 support possible/probable? #17

sigboe opened this issue Jul 19, 2021 · 6 comments

Comments

@sigboe
Copy link

sigboe commented Jul 19, 2021

Just wondering if a port to the rp2040 is possible or probable. From just looking at the specs it should be possible right?
It doesn't have internal storage, but supports external storage and usually ships on boards with example 16MB.

Its also dual core 32 bit, maybe even PS5 would be possible in the future? I've seen a Chinese vendor (Brook Accessories) making ready to ship this August a co processor for one of their arcade pcb which will add PS5 support. Would be interesting to see how that works

@jmgao
Copy link
Contributor

jmgao commented Jul 20, 2021

There are some introductory efforts to port zephyr to RP2040 (zephyrproject-rtos/zephyr#33172, zephyrproject-rtos/zephyr#34835), once that happens (and peripheral support is implemented), everything should Just Work after updating the zephyr version used for passinglink.

I've seen a Chinese vendor (Brook Accessories) making ready to ship this August a co processor for one of their arcade pcb which will add PS5 support.

It's unclear to me whether this is DRM for an upsell, it's actually needed for performance reasons, or if it's actually a legitimate security chip harvested from a licensed controller.

@sigboe
Copy link
Author

sigboe commented Jul 20, 2021

It's unclear to me whether this is DRM for an upsell, it's actually needed for performance reasons, or if it's actually a legitimate security chip harvested from a licensed controller.

@jmgao
The company has said in social media that they tried to do it just as a firmware upgrade, but this was the solution they had to. I don't know if this is true. But I presume it is possible in china buying grey market chips flashed by a company that has a license to make licensed controllers.

@dogtopus
Copy link
Contributor

dogtopus commented Aug 2, 2021

Its also dual core 32 bit, maybe even PS5 would be possible in the future? I've seen a Chinese vendor (Brook Accessories) making ready to ship this August a co processor for one of their arcade pcb which will add PS5 support. Would be interesting to see how that works

I'd like to look into this more. However I don't have PS5 and the security chip is going to be a blackbox so no more test scripts for it.

It's unclear to me whether this is DRM for an upsell, it's actually needed for performance reasons, or if it's actually a legitimate security chip harvested from a licensed controller.

My guess is option 1 just like xbox360 (probably also one) before. There's no physical security chip AFAIK on DualSense and although performance on B***k boards suck it probably shouldn't be that bad (not to mention both auth on DualSense seem to be lighter than their DS4 counterpart (RSA2048, dual SHA1) with probably elliptic curve involved).

Also I bet the protocol between the dongle and the main micro is obfuscated but I haven't actually look into it due to laziness, retdec acting up (:confused:) and lack of any related hardware (i.e. PS5, UFB and the dongle).

@Nicknakin
Copy link

There are some introductory efforts to port zephyr to RP2040 (zephyrproject-rtos/zephyr#33172, zephyrproject-rtos/zephyr#34835), once that happens (and peripheral support is implemented), everything should Just Work after updating the zephyr version used for passinglink.

I've seen a Chinese vendor (Brook Accessories) making ready to ship this August a co processor for one of their arcade pcb which will add PS5 support.

It's unclear to me whether this is DRM for an upsell, it's actually needed for performance reasons, or if it's actually a legitimate security chip harvested from a licensed controller.

Just wanted to drop a comment to mention that it appears that there has been substantial progress on these issues as both have been merged and closed, not sure if it's enough for this project to begin supporting the 2040 but worth checking out!

@Nicknakin
Copy link

https://docs.zephyrproject.org/latest/boards/arm/rpi_pico/doc/index.html
Official support page on zephyr docs for the RP2040

@jmgao
Copy link
Contributor

jmgao commented Feb 15, 2022

I think the zephyr support is still not quite good enough (e.g. no USB support), but it looks like it's going to be usable soon. I've got some RP2040s coming in the mail!

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

4 participants