Skip to content

dashpay/keepkey-firmware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeepKey Build Procedure for Ubuntu 14.04

Toolchain Installation

Update "apt-get"

$ sudo apt-get update

Remove gdb package. It causes error during gdb-arm-none-eabi toolchain installation

$ sudo apt-get remove gdb

Install supporting packages for build

$ sudo apt-get install git scons gcc-arm-none-eabi python-protobuf protobuf-compiler fabric exuberant-ctags gdb-arm-none-eabi default-jre

Download firmware source code from KeepKey respository (https://github.com/keepkey/keepkey-firmware.git)

$ git clone git@github.com:keepkey/keepkey-firmware.git

command line build

First build libopencm3. Change to firmware directory and start make

$ pushd libopencm3 && make && popd

Build final bootloader image. Change to firmware directory and run following command

$ ./b -b bldr -mp

Build final application image. Change to firmware directory and run following command

$ ./b -b app 

The resultant binaries will be located in ./build/arm-none-gnu-eabi/release/bin directory.

Packages

No packages published

Languages

  • C 92.7%
  • Perl 2.5%
  • C++ 1.5%
  • Python 1.1%
  • Makefile 1.1%
  • TeX 0.8%
  • Other 0.3%