aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CorOS-dev-environment/.gitignore (renamed from QC-dev-environment/.gitignore)0
-rw-r--r--CorOS-dev-environment/CorOS-emulation/Dockerfile22
-rw-r--r--CorOS-dev-environment/CorOS-emulation/docker-compose.yaml21
-rw-r--r--CorOS-dev-environment/README.md (renamed from QC-dev-environment/README.md)0
-rw-r--r--CorOS-dev-environment/filesystems/README.md (renamed from QC-dev-environment/filesystems/README.md)0
-rw-r--r--CorOS-dev-environment/init_system.sh (renamed from QC-dev-environment/init_system.sh)0
-rw-r--r--CorOS-dev-environment/install_qt_compiled.sh (renamed from QC-dev-environment/install_qt_compiled.sh)0
-rw-r--r--CorOS-dev-environment/install_qt_src.sh (renamed from QC-dev-environment/install_qt_src.sh)0
-rw-r--r--CorOS-dev-environment/install_toolchain(broken).sh (renamed from QC-dev-environment/install_toolchain(broken).sh)0
-rw-r--r--CorOS-dev-environment/install_toolchain.sh (renamed from QC-dev-environment/install_toolchain.sh)0
-rw-r--r--CorOS-dev-environment/qt-compiled-4.8.7.tar.gzbin0 -> 29628859 bytes
-rw-r--r--CorOS-dev-environment/update-builder.sh (renamed from QC-dev-environment/update-builder.sh)0
-rw-r--r--QC-dev-environment/qt-compiled-4.8.7.tar.gz3
13 files changed, 43 insertions, 3 deletions
diff --git a/QC-dev-environment/.gitignore b/CorOS-dev-environment/.gitignore
index b631c5c..b631c5c 100644
--- a/QC-dev-environment/.gitignore
+++ b/CorOS-dev-environment/.gitignore
diff --git a/CorOS-dev-environment/CorOS-emulation/Dockerfile b/CorOS-dev-environment/CorOS-emulation/Dockerfile
new file mode 100644
index 0000000..1f24b79
--- /dev/null
+++ b/CorOS-dev-environment/CorOS-emulation/Dockerfile
@@ -0,0 +1,22 @@
+# Slim Debian image with QEMU and dos2unix
+FROM debian:buster-slim
+
+# Add required packages in the noninteractive mode
+RUN apt-get -y update && apt-get -y -q install dos2unix qemu qemu-user-static
+
+# # Set toolchain PATH for remote container
+RUN mkdir -p /opt/ARM/sysroot
+ENV QEMU_LD_PREFIX="/opt/ARM/sysroot"
+
+# Mounting the QC-rootfs
+RUN mkdir qc-fs qc-fs-uncompressed qt_src
+
+WORKDIR /qt_src
+# # Copy and run the installer
+COPY qt-compiled-4.8.7.tar.gz install_qt_compiled.sh .
+
+WORKDIR /
+COPY init_system.sh update-builder.sh .
+RUN dos2unix init_system.sh update-builder.sh /qt_src/install_qt_compiled.sh
+
+ENTRYPOINT ["/bin/bash"]
diff --git a/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml b/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml
new file mode 100644
index 0000000..f83534c
--- /dev/null
+++ b/CorOS-dev-environment/CorOS-emulation/docker-compose.yaml
@@ -0,0 +1,21 @@
+# Docker compose file for easy volume mounting and running of the container
+
+services:
+ coros-emu:
+ image: opencortex/coros-emu:latest
+ build:
+ context: ../
+ dockerfile: CorOS-emulation/Dockerfile
+ tags:
+ - opencortex/coros-emu:latest
+
+ volumes:
+ - ../filesystems:/qc-fs
+ - ../mount:/mnt
+
+ environment:
+ # Edit this to your needs. This should be just the file name, not the path.
+ - UPDATE_FILE=verify.bin.gz
+
+ privileged: true
+ entrypoint: /bin/bash -c "while true; do sleep 1; done" \ No newline at end of file
diff --git a/QC-dev-environment/README.md b/CorOS-dev-environment/README.md
index b236306..b236306 100644
--- a/QC-dev-environment/README.md
+++ b/CorOS-dev-environment/README.md
diff --git a/QC-dev-environment/filesystems/README.md b/CorOS-dev-environment/filesystems/README.md
index fc4da30..fc4da30 100644
--- a/QC-dev-environment/filesystems/README.md
+++ b/CorOS-dev-environment/filesystems/README.md
diff --git a/QC-dev-environment/init_system.sh b/CorOS-dev-environment/init_system.sh
index 8b931f9..8b931f9 100644
--- a/QC-dev-environment/init_system.sh
+++ b/CorOS-dev-environment/init_system.sh
diff --git a/QC-dev-environment/install_qt_compiled.sh b/CorOS-dev-environment/install_qt_compiled.sh
index 2094de0..2094de0 100644
--- a/QC-dev-environment/install_qt_compiled.sh
+++ b/CorOS-dev-environment/install_qt_compiled.sh
diff --git a/QC-dev-environment/install_qt_src.sh b/CorOS-dev-environment/install_qt_src.sh
index 66a381b..66a381b 100644
--- a/QC-dev-environment/install_qt_src.sh
+++ b/CorOS-dev-environment/install_qt_src.sh
diff --git a/QC-dev-environment/install_toolchain(broken).sh b/CorOS-dev-environment/install_toolchain(broken).sh
index c3b05fa..c3b05fa 100644
--- a/QC-dev-environment/install_toolchain(broken).sh
+++ b/CorOS-dev-environment/install_toolchain(broken).sh
diff --git a/QC-dev-environment/install_toolchain.sh b/CorOS-dev-environment/install_toolchain.sh
index d4a5465..d4a5465 100644
--- a/QC-dev-environment/install_toolchain.sh
+++ b/CorOS-dev-environment/install_toolchain.sh
diff --git a/CorOS-dev-environment/qt-compiled-4.8.7.tar.gz b/CorOS-dev-environment/qt-compiled-4.8.7.tar.gz
new file mode 100644
index 0000000..8b8658c
--- /dev/null
+++ b/CorOS-dev-environment/qt-compiled-4.8.7.tar.gz
Binary files differ
diff --git a/QC-dev-environment/update-builder.sh b/CorOS-dev-environment/update-builder.sh
index ab4e8b9..ab4e8b9 100644
--- a/QC-dev-environment/update-builder.sh
+++ b/CorOS-dev-environment/update-builder.sh
diff --git a/QC-dev-environment/qt-compiled-4.8.7.tar.gz b/QC-dev-environment/qt-compiled-4.8.7.tar.gz
deleted file mode 100644
index b6c5d9e..0000000
--- a/QC-dev-environment/qt-compiled-4.8.7.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fe15ddfe0556182666237ec6cc767eef3216d59f51529b9d7a62654a4d07dbee
-size 29628859