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
Adam Chasen
reform-system-image
Commits
91d3e33f
Commit
91d3e33f
authored
4 years ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
WIP reform2 build process
parent
df7b6600
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
mkkernel.sh
+10
-15
10 additions, 15 deletions
mkkernel.sh
mkuserland.sh
+4
-4
4 additions, 4 deletions
mkuserland.sh
multistrap.conf
+1
-1
1 addition, 1 deletion
multistrap.conf
reform-linux
+1
-0
1 addition, 0 deletions
reform-linux
with
16 additions
and
20 deletions
mkkernel.sh
+
10
−
15
View file @
91d3e33f
...
...
@@ -3,31 +3,26 @@
set
-x
set
-e
export
ARCH
=
arm
export
LOADADDR
=
0x
10008
000
export
CROSS_COMPILE
=
a
rm
-linux-gnu
eabihf
-
export
ARCH
=
arm
64
export
LOADADDR
=
0x
40480
000
export
CROSS_COMPILE
=
a
arch64
-linux-gnu-
cp
./reform-linux/
imx6qp
-mntreform.dts ./linux/arch/arm/boot/dts/
cp
./reform-linux/
imx6qdl-mntreform
.dtsi ./linux/arch/arm/boot/dts/
cp
./reform-linux/kernel-config ./linux/.config
cp
./reform-linux/
reform2-imx8mq/imx8mq
-mnt
-
reform
2
.dts ./linux/arch/arm
64
/boot/dts/
freescale/
cp
./reform-linux/
reform2-imx8mq/imx8mq
.dtsi ./linux/arch/arm
64
/boot/dts/
freescale/
cp
./reform-linux/
reform2-imx8mq/
kernel-config ./linux/.config
cd
linux
#PATCHFILE=../reform-linux/drm-flip-done-timeout-workaround.patch
# TODO: apply a stack of patches
#PATCHFILE=../reform-linux/0017-pci-fix-suspend-on-i.MX6.patch
#if ! patch -Rsfp1 --dry-run <$PATCHFILE; then
# patch -p1 <$PATCHFILE
#else
# echo "Kernel already patched ($PATCHFILE)."
#fi
PATCHFILE
=
../reform-linux/0017-pci-fix-suspend-on-i.MX6.patch
if
!
patch
-Rsfp1
--dry-run
<
$PATCHFILE
;
then
patch
-p1
<
$PATCHFILE
else
echo
"Kernel already patched (
$PATCHFILE
)."
fi
make
-j4
zImage imx6qp-mntreform.dtb
make
-j16
Image freescale/imx8mq-mnt-reform2.dtb
cd
..
This diff is collapsed.
Click to expand it.
mkuserland.sh
+
4
−
4
View file @
91d3e33f
...
...
@@ -30,10 +30,10 @@ mkdir -p target-userland/root/.config/i3
cp
etc-templates/i3_config target-userland/root/.config/i3/config
cp
etc-templates/i3status.conf target-userland/root/.config/
# Reform sources
mkdir
-p
target-userland/root/sources
cp
-R
reform target-userland/root/sources/
cp
-R
reform-linux target-userland/root/sources/
cp
-R
reform-userland target-userland/root/sources/
#
mkdir -p target-userland/root/sources
#
cp -R reform target-userland/root/sources/
#
cp -R reform-linux target-userland/root/sources/
#
cp -R reform-userland target-userland/root/sources/
#cp -Rv pdfs target-userland/root/
mv
target-userland/root/reformd-init-script.sh target-userland/etc/init.d/reformd
...
...
This diff is collapsed.
Click to expand it.
multistrap.conf
+
1
−
1
View file @
91d3e33f
[
General
]
arch
=
arm
hf
arch
=
arm
64
noauth
=
false
unpack
=
true
debootstrap
=
Debian
...
...
This diff is collapsed.
Click to expand it.
reform-linux
@
94666dbc
Subproject commit 94666dbc8d383370f3af4d3dc0e400fd2e414617
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