diff --git a/README.md b/README.md index 9d0d076..3d0d892 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This code is used to build the linux platform image for the raspberry pi zero an 1. [Install Docker](https://docs.docker.com/engine/installation/) 2. `git clone https://github.com/heneault/yocto-pitrezor.git` 3. `cd yocto-pitrezor` -4. `sudo ./build-pitrezor.sh TAG [raspberrypi4-64 | raspberrypi0-2w-64]` (where TAG is 1.10.5.0 for example, if left blank the script builds latest commit in master branch). You can optionnaly specify "raspberrypi4-64" or "raspberrypi0-2w-64" to build an image for one of these platform. Otherwise the default platform is pi zero. +4. `sudo ./build-pitrezor.sh TAG [raspberrypi4-64 | raspberrypi0-2w-64]` (where TAG is 1.11.1.0 for example, if left blank the script builds latest commit in master branch). You can optionnaly specify "raspberrypi4-64" or "raspberrypi0-2w-64" to build an image for one of these platform. Otherwise the default platform is pi zero. This creates file `build/pitrezor-MACHINE-TAG.zip` . diff --git a/meta-pitrezor/recipes-core/pitrezor/pitrezor_git.bb b/meta-pitrezor/recipes-core/pitrezor/pitrezor_git.bb index 988d97e..7f5de43 100644 --- a/meta-pitrezor/recipes-core/pitrezor/pitrezor_git.bb +++ b/meta-pitrezor/recipes-core/pitrezor/pitrezor_git.bb @@ -13,7 +13,7 @@ SRC_URI = "git://github.com/heneault/trezor-firmware.git;branch=pitrezor \ file://pitrezor.config \ " -SRCREV = "1e62209d024b7e84a7368be8175735372b8080c9" +SRCREV = "82d709c8643f5a1581d3d94c51687b7e0fb0c114" S = "${WORKDIR}/git" @@ -24,8 +24,8 @@ do_compile() { export EMULATOR=1 export PIZERO=1 export CPUFLAGS="" - export RANDOM_DEV_FILE="/dev/random" export ARCH_BITS=${SITEINFO_BITS} + export CC_FOR_BUILD=${BUILD_CC} cd legacy make vendor make -C emulator/pizero