Open coc opened 3 years ago
Docker must be installed on mac to compile for Raspi on your mac. You could also compile on the Raspi directly by copying the code over to Raspi.
@aajain-com Thanks for info! When running raspi_sdcard_setup.sh, the sleep times before the reboots must be increased if using a Raspberry PI zero.
Is it possible to install the HomeKitADK on an existing raspbian installation instead of creating a new SD card image from scratch? How?
Yes, I found out myself:
SETUP_SKIP_SD=1 SETUP_SKIP_BASE_SETUP=1 SETUP_HOSTNAME=myServer SETUP_PASSWORD=XXXXX Tools/raspi_sdcard_setup.sh
will ssh into existing myServer.local, install a bunch of dependencies there, ... and fail when avahi is stopped and mdnsresponder started instead. After manually switching back to avahi I can
make DOCKER=0 TARGET=Raspi
mkdir .HomeKitStore
Tools/provision_raspi.sh --category 5 .HomeKitStore
Output/Raspi-armv6k-unknown-linux-gnueabihf/Debug/IP/Applications/Lock.OpenSSL
and it works! (shouldn't all this be in the docs? Still looking for instructions for cross-compilation with docker...)
this should definitely be in the docs if it's not already.
If I want install ADK on a Rasberry Pi, docker must be installed on Mac, not on Raspberry Pi, right?