-
Notifications
You must be signed in to change notification settings - Fork 16
RPI build #1
Comments
I don't see why this wouldn't work as is on Raspberry Pi. Just run Linux on the Pi, and treat the Pi as if it's a "Linux PC" |
I let you try it and report here how it goes. |
Great. I haven't tried it personally, but I know that others have had success launching fusee payloads on the Raspberry Pi. As far as I can tell, none of the stuff here/for this repo is binary/architecture-dependent except the code you put on the switch, so if you compile the launcher it should "just work." |
Keep in mind that it's not fusée gelée, it's shofel2. While the method and code is globally the same, shofel2 has an additional step (sending coreboot.rom). |
either way, it’s python, which is architecture-independent :) |
Well fusée gelée works on Mac OS and Shofel2 doesn't |
I’m intending on booting this with macOS — I stepped away from my desk for lunch, but the SD finished burning. So I’ll tell you my experience. But the author of this project claims it works on macOS. And the script is just a python script. Try it, if nothing else it’s not going to brick your switch |
Shofel2 uses |
Huh. I see that in the script. I’ll see what I can do when I get back from
lunch. There isn’t a direct equivalent to `/proc` or any of its components
on macOS, but there are a number of portable ways to do what it appears
they are doing (get a list of file descriptors open by the calling
process?). The comment above the function definition (`# lol` verbatim)
suggests that f0f knows it’s a really hacky way of doing it.
Regardless procfs is on any Linux system, including the Pi.
…On Mon, May 7, 2018 at 1:15 PM Nathan S. ***@***.***> wrote:
Shofel2 uses /proc/self/fd which doesn't exist on Mac OS
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARYdRrVOiJ94_b2T1Ndq2Hd0G_6NzDuks5twIEpgaJpZM4T1PJy>
.
|
Mac OS has |
As you expected, this doesn't work on macOS out of the box, because Shofel2 is accessing I also couldn't get it to work with Fusee. That said, Fusee and Shofel2 use the same exploit, and are both written in Python. I'm going to open a new issue regarding macOS support, and I'm going to see if I have the skills to either port the coreboot payload to Fusee, or to port Shofel2 to macOS. I imagine at least one of the two shouldn't be particularly difficult… |
I suggest you open an issue on f0f's shofel2 repo too |
Already on it. Do me a favor and report back how the Pi works, because if it "just works" the way I expect then I imagine this issue can safely be closed :) |
Welp. |
Try patching the kernel with this https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch and recompiling, like this: https://gbatemp.net/threads/fusee-gelee-with-raspberry-pi-3.502136/page-3#post-7942153 |
Would it be possible to have a build of this for easy setup on raspberry pi?
The text was updated successfully, but these errors were encountered: