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
Reform
reform-system-image
Commits
4eadb0ca
Commit
4eadb0ca
authored
4 years ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
update mkimage.sh
parent
19fe8fd4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!12
RC1 of MNT Reform System Image and Rescue Image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reform2-imx8mq/mkimage.sh
+6
-8
6 additions, 8 deletions
reform2-imx8mq/mkimage.sh
with
6 additions
and
8 deletions
reform2-imx8mq/mkimage.sh
+
6
−
8
View file @
4eadb0ca
...
...
@@ -8,19 +8,17 @@ set -e
sudo
apt-get
-y
install
parted multistrap udisks2 gcc-aarch64-linux-gnu make device-tree-compiler qemu-user-static binfmt-support build-essential bison flex libssl-dev mmdebstrap
# build the linux kernel
#
./mkkernel.sh
./mkkernel.sh
# build u-boot
#
./mkuboot.sh
./mkuboot.sh
# build the debian userland and configure it
#sudo ./mkuserland.sh
# chroot into the userland and build custom packages (mesa, xserver...)
#sudo ./mkuserland2.sh
sudo
./mkuserland-new.sh
# chroot into the userland and build custom packages (mesa, xserver...)
sudo
./mkuserland2.sh
#
SIZE=
8188
M
SIZE
=
2048M
SIZE
=
9000
M
#
SIZE=2048M
# create ext4 partition from target root directory directly at 4MiB offset, 8192MiB (8GiB) image size
sudo
/sbin/mke2fs
-v
-L
'MNTREFORM'
-N
0
-O
64bit
-E
offset
=
4194304
-d
target-userland
-m
5
-r
1
-t
ext4 reform-system.img
$SIZE
...
...
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