by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:59
  • Jan 31 2019 21:20

    prusnak on new_mem_layout

    make bootloader smaller by cha… (compare)

  • Jan 31 2019 20:52

    prusnak on new_mem_layout

    introduce new memory layout fi… (compare)

  • Jan 31 2019 20:23

    prusnak on master

    format: black uppercase of hex … (compare)

  • Jan 31 2019 20:20

    prusnak on master

    firmware: process tx.branch_id … (compare)

  • Jan 31 2019 20:08

    prusnak on master

    tests: pass branch_id in zcash … (compare)

  • Jan 31 2019 19:53

    prusnak on master

    protob: add branch_id to SignTx… (compare)

  • Jan 31 2019 19:47

    prusnak on master

    defs: fix permissions on png fi… (compare)

  • Jan 31 2019 18:20

    prusnak on master

    signing: use the new hasher_Ini… (compare)

  • Jan 31 2019 18:18

    prusnak on master

    hasher: add param_size to hashe… (compare)

  • Jan 31 2019 18:06

    prusnak on master

    hasher: don't hardcore zcash st… (compare)

  • Jan 31 2019 17:35
  • Jan 31 2019 15:53
    matejcik commented #357
  • Jan 31 2019 14:44

    matejcik on master

    debuglink: add null debuglink, … flake8: add typing imports wher… (compare)

  • Jan 31 2019 05:31
  • Jan 31 2019 02:53
  • Jan 31 2019 02:24
    webees closed #72
  • Jan 31 2019 02:23
    webees edited #72
  • Jan 31 2019 02:23
    webees edited #72
  • Jan 30 2019 19:46
MIP
@MIPPL
So I follow the instructions, clone monorepo, apply changes, and build .bin file. But when I upload the custom_firmware to the Trezor One, it says "error wrong headers"
I downloaded source from release/2020-04 (v1.9.0 I think). Am I missing anything? Without a Trezor supporting the coin I cannot test the wallet integration, and without a wallet integration I cannot get the PR accepted... thank you very much in advance
matejcik
@matejcik
@MIPPL what is your Trezor One bootloader version?
you first need to upgrade to official fw 1.8.0 or later to be able to upload custom fw (derived from) version 1.8.0 or later
MIP
@MIPPL
Hi @matejcik, boot loader is 1.8.0 I think. Trezor One arrived yesterday. I also upgraded to latest fw before trying the custom upgrade. Thank you
MIP
@MIPPL
yep retried for n-th time and the same. I compiled firmware.bin in an Ubuntu 16 environment. I can try doing the same in an ubuntu 18 just in case...
matejcik
@matejcik
firmware.bin is probably a firmware for Trezor T.......
MIP
@MIPPL
I picked it from the legacy folder
not the core one
still I will retry building in a more modern environment (and maybe give a shot to the emulator if this doesn't work either)
matejcik
@matejcik
build result from legacy should be called trezor.bin
MIP
@MIPPL
I just finished build_docker.sh in ubuntu 18.04
$ ls build/legacy/firmware
firmware.bin firmware.elf
I am using release/2020-04 just in case that's relevant
loading
wrong firmware header
:(
MIP
@MIPPL
did this upgrade from the web wallet
matejcik
@matejcik
that might be a problem. please try upgrading with trezorctl
MIP
@MIPPL
Thank you!. 2 updates.
a. I could execute the fw in the emulation (model T) so that could be enough for now
b. I uploaded the fw file into the model One (real) using trezorctl and succeeded in installing, but when I restart the device, it says something like "Hard error"
at this moment having achieved a. is enough for me to continue with the wallet integration
1deadbee
@1deadbee
Hi Trezor!
Is there a way to get high definition time on the device?
Neither systick nor DWT worked for me.
Any code involving systick or DWT, such as timer_init() and dwt_enable_cycle_counter(), resulted in hard faults.
1deadbee
@1deadbee
Would prefer to use DWT if possible.
Thanks.
matejcik
@matejcik
i don't know for sure but I suspect you'd need to get to privileged mode, and that's disabled by the bootloader
what is your usecase?
mattt21
@mattt21
Hey guys, https://eth1.trezor.io/ is not synced/is forked? Blocks do not match https://etherscan.io/.
mattt21
@mattt21
@matejcik
1deadbee
@1deadbee
Is there a way to activate privileged mode?
I was able to find only set_mode_unprivileged function.
Does MEMORY_PROTECT play any role?
It's a research project.
@matejcik
matejcik
@matejcik
privileged mode is active at boot time, and it can only be disabled but not re-enabled. for obvious reasons.
i honestly don't know if the bootloader activates it or not, from the code it seems not. you can check by calling is_mode_unprivileged() though
in any case if you're putting unofficial firmware on an official device, you'll have to compile with MEMORY_PROTECT=0
and if you need privileged mode and don't have it that way, you'll have to build your own devkit
Qiang Zhu
@freedostudio
Hi, we are from QuarkChain team, QuarkChain is a public chain that enable sharding, now quarkchain needs hardware wallet support, so we wanna know what should we provide if we want qkc to be supported on your wallet, Thanks you very much!
matejcik
@matejcik
@freedostudio take a look at https://wiki.trezor.io/Developers_guide:Contributing. also note that we currently only accept new implementations for coins that are in the Top 30 by market cap
outpoints
@outpoints
Does anybody know why I'm unable to build the electron app?
user@DESKTOP:/mnt/c/Users/asd/trezor-suite$ yarn suite:dev:desktop
yarn run v1.22.4
$ yarn workspace @trezor/suite-desktop dev:desktop
error Command "dev:desktop" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/bin/node
Arguments: /usr/share/yarn/lib/cli.js dev:desktop
Directory: /mnt/c/Users/asd/trezor-suite/packages/suite-desktop
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I'm running in WSL but I don't think that has anything to do with it
outpoints
@outpoints
Guess it is an issue with WSL lmao
Steven Roose
@stevenroose
@prusnak @matejcik Hi, I'm from the Liquid team at Blockstream and we're looking at perhaps changing our Asset protocol to make it more friendly for HWs to implement. We're specifically wondering if a Trezor could potentially read a field from a (length-bound) JSON object.
Enso
@Ensout
holo