instant-pi
instant-pi copied to clipboard
any ready-to-flash image?
Hey, I was wondering if you have any ci/cd or something that makes ready-to-flash images? The docs here are unclear on how to put it all together and flash.
If its helpful I would be happy to figure out how to build this and then serve it on the rpi-imager fork I built at: https://github.com/guysoft/pi-imager
I don't have a build pipeline at the moment, but I'm open to the idea of one. Though, this project is currently in maintenance mode as I'm fairly occupied with work. If this is something you'd like to work one, I'd be happy to help however I can.
I am not sure how you actually build it? Do you build it or do you place the files inside an existing pi image? I could set up a build pipeline if I understand what you actually did there.
cd instant-pi-1b
./build-image.sh
This should be enough to build the image, though I haven't tested it in a few months. Let me know if there are any issues.
Fails for me at:
>>> host-m4 1.4.18 Building
PATH="/tmp/instant-pi/instant-pi-1b/buildroot/output/host/bin:/tmp/instant-pi/instant-pi-1b/buildroot/output/host/sbin:/home/guy/.cargo/bin:/home/guy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/tmp/instant-pi/instant-pi-1b/buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/tmp/instant-pi/instant-pi-1b/buildroot/output/host/lib/pkgconfig:/tmp/instant-pi/instant-pi-1b/buildroot/output/host/share/pkgconfig" /usr/bin/make -C /tmp/instant-pi/instant-pi-1b/buildroot/output/build/host-m4-1.4.18/
/usr/bin/make all-recursive
Making all in .
make[4]: Nothing to be done for 'all-am'.
Making all in examples
make[4]: Nothing to be done for 'all'.
Making all in lib
GEN alloca.h
GEN configmake.h
GEN c++defs.h
GEN arg-nonnull.h
GEN warn-on-use.h
GEN limits.h
GEN unused-parameter.h
GEN sys/types.h
GEN fcntl.h
GEN langinfo.h
GEN locale.h
GEN signal.h
GEN spawn.h
GEN math.h
GEN string.h
GEN stdlib.h
GEN stdio.h
GEN time.h
GEN unistd.h
GEN wchar.h
GEN sys/time.h
GEN sys/stat.h
GEN wctype.h
GEN sys/wait.h
/usr/bin/make all-am
CC gl_avltree_oset.o
CC binary-io.o
CC c-ctype.o
CC c-stack.o
CC clean-temp.o
CC c-strcasecmp.o
CC c-strncasecmp.o
CC cloexec.o
CC close-stream.o
CC closein.o
CC closeout.o
CC basename.o
CC dirname.o
CC basename-lgpl.o
CC dirname-lgpl.o
CC stripslash.o
In file included from /usr/include/signal.h:328,
from ./signal.h:52,
from c-stack.c:49:
c-stack.c:55:26: error: missing binary operator before token "("
55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
| ^~~~~~~~
CC execute.o
CC exitfail.o
CC fatal-signal.o
CC fd-hook.o
CC fd-safer-flag.o
CC dup-safer-flag.o
CC filenamecat.o
make[5]: *** [Makefile:1915: c-stack.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1674: all] Error 2
make[3]: *** [Makefile:1572: all-recursive] Error 1
make[2]: *** [Makefile:1528: all] Error 2
make[1]: *** [package/pkg-generic.mk:250: /tmp/instant-pi/instant-pi-1b/buildroot/output/build/host-m4-1.4.18/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
make: Leaving directory '/tmp/instant-pi/instant-pi-1b/buildroot'
guy@golem6:/tmp/instant-pi/instant-pi-1b$
I ran it on a RPi4 and it failed:
tmp-divrem_1.s: Assembler messages:
tmp-divrem_1.s:129: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
tmp-divrem_1.s:145: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
tmp-divrem_1.s:158: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
tmp-divrem_1.s:175: Error: selected processor does not support `mls r1,r4,r3,r8' in ARM mode
tmp-divrem_1.s:209: Error: selected processor does not support `mls r11,r4,r12,r3' in ARM mode
make[3]: *** [Makefile:768: divrem_1.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_fib2_ui -I/home/pi/instant-pi/instant-pi-1b/buildroot/output/host/include -O2 -I/home/pi/instant-pi/instant-pi-1b/buildroot/output/host/include -c fib2_ui.c -fPIC -DPIC -o .libs/fib2_ui.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mod_1 -I/home/pi/instant-pi/instant-pi-1b/buildroot/output/host/include -O2 -I/home/pi/instant-pi/instant-pi-1b/buildroot/output/host/include -c mod_1.c -fPIC -DPIC -o .libs/mod_1.o
make[3]: Leaving directory '/home/pi/instant-pi/instant-pi-1b/buildroot/output/build/host-gmp-6.1.2/mpn'
make[2]: *** [Makefile:956: all-recursive] Error 1
make[2]: Leaving directory '/home/pi/instant-pi/instant-pi-1b/buildroot/output/build/host-gmp-6.1.2'
make[1]: *** [Makefile:775: all] Error 2
make[1]: Leaving directory '/home/pi/instant-pi/instant-pi-1b/buildroot/output/build/host-gmp-6.1.2'
make: *** [package/pkg-generic.mk:250: /home/pi/instant-pi/instant-pi-1b/buildroot/output/build/host-gmp-6.1.2/.stamp_built] Error 2
make: Leaving directory '/home/pi/instant-pi/instant-pi-1b/buildroot'