Closed symgryph closed 1 year ago
@symgryph check the workspaces/ directory, is there one named odroid? The SKIFF_WORKSPACE
variable should be set to the same value as you used during the compilation process. If you didn't set it before, it will be named "default"
trying now
[root@violet SkiffOS]# make cmd/odroid/common/install
make[1]: Entering directory '/home/tmunn/src/SkiffOS/build'
make[2]: Entering directory '/home/tmunn/src/SkiffOS/configs/odroid/common/extensions'
Using boot.txt at /home/tmunn/src/SkiffOS/configs/odroid/m1/resources/boot-scripts/boot.txt
Using board-specific install_sd.sh
Mounting /dev/sdb1 to /tmp/tmp.dcXcqtKiEi/boot...
mount: /tmp/tmp.dcXcqtKiEi/boot: cannot mount /dev/sdb1 read-only.
dmesg(1) may have more information after failed mount system call.
Unmounting /tmp/tmp.dcXcqtKiEi/boot...
umount: /tmp/tmp.dcXcqtKiEi/boot: not mounted.
make[2]: *** [Makefile:5: install] Error 32
make[2]: Leaving directory '/home/tmunn/src/SkiffOS/configs/odroid/common/extensions'
make[1]: *** [Makefile:10: cmd/odroid/common/install] Error 2
make[1]: Leaving directory '/home/tmunn/src/SkiffOS/build'
make: *** [Makefile:2: cmd/odroid/common/install] Error 2
I did set my workspace to odroid, and the name of the workspace is odroid.
here are my variables after a compile (as non root), I am ROOT when running the commands, however, just not during the compile.
set | grep -i skiff
OLDPWD=/home/tmunn/src/SkiffOS/workspaces
PWD=/home/tmunn/src/SkiffOS
SKIFF_WORKSPACE=odroid
[root@violet SkiffOS]# set | grep -i sdb
ODROID_SD=/dev/sdb
@symgryph Please check sudo dmesg
logs and see if there are any warnings related to mount
. it seems like the mount /dev/sdb1 ./mountpoint
failed for some reason.
@symgryph I think if you have any issue installing directly to sd card (check dmesg for errors if so), you can use buildimage
instead as an intermediate step (flashing the image with dd after). Just make sure you have SKIFF_WORKSPACE set properly when you run the buildimage command.
Lmk if you need more help with this!
When I attempt to build (after having run a successful compile), I tried 2 things: 1. directly to sd card. Format works fine, but the install image fails.3.
I did set my environment variables according to the directions. Compile completed successfully. When trying to build to sd card (/dev/sdb) I get: