by twodeeman » Tue Dec 19, 2017 7:08 pm
Power is from a 3A brick. I'm not in the panel yet. No problem booting vanilla raspian images. I actually used dd the first try, then switched to Etcher since it does a nice verify pass. I tried different sd cards -- cards that work fine with other images. No, I really do think that your image doesn't work in a Pi 2 model B v 1.2
As far as the reason to use this 2B 1.2 board rather than a 3 ... ummm... power requirements? Cooling? Price?
I read that the 'recommended' image doesn't work on the 3 in this very forum. Maybe the issue was fixed since that post. You can search for it. I get exactly the same problem: 4-slow/4-fast blinks and a rainbow pinwheel on the HDMI.
Regarding the github instructions, using an unmodified Raspian image, the make on step 8 fails with
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_session_ticket_key_callback’:
src/event/ngx_event_openssl.c:2673:9: error: ‘RAND_pseudo_bytes’ is deprecated [-Werror=deprecated-declarations]
RAND_pseudo_bytes(iv, 16);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/engine.h:19:0,
from src/event/ngx_event_openssl.h:22,
from src/core/ngx_core.h:73,
from src/event/ngx_event_openssl.c:9:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
^
cc1: all warnings being treated as errors
objs/Makefile:767: recipe for target 'objs/src/event/ngx_event_openssl.o' failed
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[1]: Leaving directory '/home/alarm/src/nginx-1.7.4'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
I'll probably figure this out eventually, but it's an unexpected slog. I thought this would be plug-n-play with a pre-built image or a simple install process.
--
C