-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
@pix thank you for your great work.
I'm trying to build in mac (intel).
I've done the undocumented steps by checking the issues.
I got stuck with grep which apparently works a little different and the script fails. I managed to change the script to ggrep and it fixed some parts but still fails the verification:
cp _build/nrf51822_xxac_s130.bin _build/nrf51822_xxac_s130_patched.bin
xxd -p -c 100000 ../../tools/output-50_NRF/50_NRF_keyfile | xxd -r -p | dd of=_build/nrf51822_xxac_s130_patched.bin skip=1 bs=1 seek=116680 conv=notrunc
56+0 records in
56+0 records out
56 bytes transferred in 0.000312 secs (179487 bytes/sec)
xxd -p -c 100000 _build/nrf51822_xxac_s130_patched.bin | grep -q 2d6e20454e444f464b455953454e444f464b455953454e444f464b455953210a || (echo "The key was not patched correctly!"; exit 1)
The key was not patched correctly!
make: *** [patched_nrf51822_xxac] Error 1
What's the prefered arch for building this firmware? I imagined windows would be harder.
Metadata
Metadata
Assignees
Labels
No labels