Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minimal-esp32c3-samples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projekt Telematik SS23 QEMU
minimal-esp32c3-samples
Commits
b9844818
Commit
b9844818
authored
1 year ago
by
davip00
Browse files
Options
Downloads
Patches
Plain Diff
Add boot ROM to docker image
parent
6d7ead53
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+17
-0
17 additions, 0 deletions
Dockerfile
esp32c3_rev3_rom.bin
+0
-0
0 additions, 0 deletions
esp32c3_rev3_rom.bin
with
17 additions
and
0 deletions
Dockerfile
+
17
−
0
View file @
b9844818
...
...
@@ -59,6 +59,17 @@ RUN git clone https://git.imp.fu-berlin.de/projekt-telematik-ss23-qemu/risc-v-qe
make
install
FROM
docker.io/debian:bookworm
AS
bootrom
RUN
apt update
&&
apt upgrade
-y
RUN
apt
install
-y
ca-certificates wget
RUN
cd
/tmp
&&
\
wget https://github.com/espressif/esp-rom-elfs/releases/download/20230320/esp-rom-elfs-20230320.tar.gz
&&
\
tar
-xvf
esp-rom-elfs-20230320.tar.gz
&&
\
mkdir
-p
/bootrom
&&
\
cp
/tmp/esp32c3_rev3_rom.elf /bootrom/
FROM
docker.io/debian:bookworm
AS
final
# Install qemu's runtime deps
RUN
apt update
&&
apt upgrade
-y
...
...
@@ -67,3 +78,9 @@ RUN apt install -y libpixman-1-0 libfdt1 libglib2.0-0 libiscsi7 libnfs13
RUN
apt
install
-y
gdb-multiarch make
COPY
--from=qemu /usr/local /usr/local
COPY
--from=toolchain /home/builder/x-tools/riscv32-unknown-elf/* /usr/local/bin/
# Install boot ROM for board
COPY
--from=bootrom /bootrom /bootrom
# Converting this from the ELF requires a patched esptool, so just copy it from our repo
COPY
esp32c3_rev3_rom.bin /bootrom
WORKDIR
/work
\ No newline at end of file
This diff is collapsed.
Click to expand it.
esp32c3_rev3_rom.bin
0 → 100644
+
0
−
0
View file @
b9844818
File added
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment