Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Johannes Schauer Marin Rodrigues
reform-system-image
Commits
17d2bd95
Verified
Commit
17d2bd95
authored
1 year ago
by
Johannes Schauer Marin Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
add README.flashing
parent
d0a2e943
No related branches found
No related tags found
No related merge requests found
Pipeline
#2028
canceled
1 year ago
Stage: test
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
README.flashing
+41
-0
41 additions, 0 deletions
README.flashing
with
42 additions
and
0 deletions
.gitlab-ci.yml
+
1
−
0
View file @
17d2bd95
...
...
@@ -63,3 +63,4 @@ build:
-
"
reform-system-imx8mq.img.gz"
-
"
reform-system-ls1028a.bmap"
-
"
reform-system-ls1028a.img.gz"
-
"
README.flashing"
This diff is collapsed.
Click to expand it.
README.flashing
0 → 100644
+
41
−
0
View file @
17d2bd95
# Identify the system image for your Reform
You can find out the name of the system image for your platform by running the
following command:
sh -c '. /usr/share/reform-tools/machines/"$(cat /proc/device-tree/model).conf"; echo "$SYSIMAGE.img.gz"'
To find out the correct system image manually, consider this table:
| Machine | System image filename |
|---------------------------------------|------------------------------------|
| MNT Pocket Reform with BPI-CM4 Module | pocket-reform-system-a311d.img.gz |
| MNT Pocket Reform with i.MX8MP Module | pocket-reform-system-imx8mp.img.gz |
| MNT Reform 2 with BPI-CM4 Module | reform-system-a311d.img.gz |
| MNT Reform 2 with i.MX8MP Module | reform-system-imx8mp.img.gz |
| MNT Reform 2 (HDMI) | reform-system-imx8mq.img.gz |
| MNT Reform 2 with LS1028A Module | reform-system-ls1028a.img.gz |
| MNT Reform 2 with RCORE RK3588 Module | reform-system-rk3588.img.gz |
# Flashing the system image using bmaptool
If the utility called `bmaptool` is available on your system (found in package
`bmaptool` in Debian), then you can run this command to flash the image to your
SD-Card:
sudo bmaptool copy URL /dev/mmcblkX
Replace `URL` by the https link to the image and `/dev/mmcblkX` by the device
name of your SD-Card. The `bmaptool` utility will prevent you from flashing to
a device which has mounted partitions on it as a safety measure.
# Flashing the system image using dd
Follow these steps:
1. download the appropriate `*.img.gz` disk image from the pipeline artifacts
2. decompress the image using `gunzip disk.img.gz` replacing `disk.img.gz` with the name of your system image
3. identify the device name of your SD-Card, for example by running `lsblk` before and after inserting one
4. copy the image to the SD-Card using this command and replacing `disk.img` with the image name and `/dev/sdx` with the device name:
sudo dd if=disk.img of=/dev/sdx bs=8M status=progress
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