heneault / yocto-pitrezor

raspberry pi zero platform to run the trezor port pitrezor as a bitcoin wallet
https://www.pitrezor.com
MIT License
116 stars 30 forks source link

Is it possible to install and use the firmware without yocto? #20

Open uGiFarukh opened 1 year ago

uGiFarukh commented 1 year ago

Hello,

I do not have much knowledge about the trezor firmware. But is it possible to somehow install the firmware on a normal linux distribution of my choice rather than installing it with an yocto base and kernel? Please let me know in details.

Thank you.

heneault commented 1 year ago

You can compile the original emulator from trezor to test the firmware. The pitrezor specific modifications take care of the enabling the usb gadget mode, the gpio for switches and i2c/spi for display. If you just enable the emulator without the pitrezor option, you will get the same emulator as trezor is using to test and you can run it on any linux. However, in that mode, the usb is replaced by a udp protocol to communicate.

uGiFarukh commented 1 year ago

@heneault I want to run the latest trezor firmware with the latest trezor suit to get the benefits of all new available trezor model t functionalities. Will I be able to achieve that using the official emulator that trezor provides? Also, want to enable hardware accelerated number crunching and if any other trezor firmware related features on the pi zero alongside enabling one of the usb ports as host to connect it to PC and run trezor suit also. How should I proceed to achieve this?

Just wanna have all the trezor firmware functionalities and security features by leveraging the pi hardware as much as possible. I just don't need the buttons and i2c display because I want to use the emulator for those inputs.

yheneault commented 1 year ago

for the model t I dont know if this is possible

uGiFarukh commented 1 year ago

So for model one firmware? how to do what I mentioned above with the model one firmware?