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
774cdb93
Commit
774cdb93
authored
4 years ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
WIP reform2: tweak all scripts for reform2
parent
7213138b
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
mkreform.sh
+5
-5
5 additions, 5 deletions
mkreform.sh
mkuboot.sh
+1
-1
1 addition, 1 deletion
mkuboot.sh
mkuserland.sh
+6
-6
6 additions, 6 deletions
mkuserland.sh
multistrap.conf
+2
-2
2 additions, 2 deletions
multistrap.conf
with
14 additions
and
14 deletions
mkreform.sh
+
5
−
5
View file @
774cdb93
...
...
@@ -54,17 +54,17 @@ sudo cp -av target-userland/* target/
# install custom kernel
# mkkernel.sh needs to run before. this creates zImage and imx6qp-mntreform.dtb.
sudo cp
linux/arch/arm/boot/
z
Image target
sudo cp
linux/arch/arm/boot/dts/
imx6qp
-mntreform.dtb target
sudo cp
mnt-blk-icon.bmp target
sudo cp
linux/arch/arm
64
/boot/Image target
sudo cp
linux/arch/arm
64
/boot/dts/
freescale/imx8mq
-mnt
-
reform
2
.dtb target
#
sudo cp mnt-blk-icon.bmp target
# install custom u-boot
# mkuboot.sh needs to run before. this creates u-boot.imx.
sudo
umount target
# install u-boot
sudo dd
if
=
./u-boot/
u-boot.imx
of
=
$LOOPDISK
bs
=
1k
seek
=
1
# install u-boot
for i.MX8M
sudo dd
if
=
./u-boot/
flash.bin
of
=
$LOOPDISK
bs
=
1k
seek
=
33
# detach the image
sudo
udisksctl loop-delete
-b
$LOOPDISK
...
...
This diff is collapsed.
Click to expand it.
mkuboot.sh
+
1
−
1
View file @
774cdb93
...
...
@@ -14,7 +14,7 @@ cp mntreform-config .config
export
CROSS_COMPILE
=
aarch64-linux-gnu-
export
ARCH
=
arm
make
-j
4
flash.bin
make
-j
16
flash.bin
cd
..
This diff is collapsed.
Click to expand it.
mkuserland.sh
+
6
−
6
View file @
774cdb93
...
...
@@ -22,13 +22,13 @@ chown root:root -R target-userland/bin target-userland/usr target-userland/sbin
chown
root:shadow target-userland/etc/shadow
cp
target-scripts/
*
target-userland/root/
cp
target-scripts/.bash_profile target-userland/root/
cp
reform/reformd/reformd.sh target-userland/root/
#
cp reform/reformd/reformd.sh target-userland/root/
# X startup config
cp
target-scripts/.xinitrc target-userland/root/
#
cp target-scripts/.xinitrc target-userland/root/
# i3 default config
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/
#
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/
...
...
@@ -36,6 +36,6 @@ cp etc-templates/i3status.conf target-userland/root/.config/
#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
#
mv target-userland/root/reformd-init-script.sh target-userland/etc/init.d/reformd
cp
etc-templates/xorg.conf target-userland/etc/X11
mkdir
-p
target-userland/var/local/log
This diff is collapsed.
Click to expand it.
multistrap.conf
+
2
−
2
View file @
774cdb93
...
...
@@ -7,10 +7,10 @@ aptsources=Debian
allowrecommends
=
false
[
Debian
]
packages
=
adduser
apt
apt
-
utils
apt
-
file
bsdmainutils
procps
gpgv
debian
-
archive
-
keyring
readline
-
common
gnupg
cpio
init
-
system
-
helpers
cron
netbase
groff
-
base
iproute2
ifupdown
isc
-
dhcp
-
common
isc
-
dhcp
-
client
iptables
iputils
-
ping
kmod
less
logrotate
man
-
db
manpages
nano
net
-
tools
netcat
-
traditional
nfacct
rsyslog
tasksel
-
data
tasksel
traceroute
vim
-
common
vim
emacs
wget
whiptail
ssh
wicd
-
curses
wicd
-
gtk
wpasupplicant
zsh
htop
build
-
essential
sysvinit
-
core
xterm
elinks
ntpdate
ntp
usbutils
fbset
screen
brightnessctl
curl
coreutils
xorg
i3
i3status
i3lock
suckless
-
tools
py3status
alsa
-
utils
sudo
ca
-
certificates
parted
file
locales
git
make
ed
mesa
-
utils
console
-
setup
console
-
data
unicode
-
data
unifont
ttf
-
unifont
kbd
kmscube
gpm
open
box
mplayer
apulse
pciutils
gparted
grafx2
minetest
mupdf
lxappearance
faenza
-
icon
-
theme
pcmanfm
cryptsetup
meshlab
libgtk
-
3
-
0
libvte
-
2
.
91
-
0
usb
-
modeswitch
wvdial
pmount
sakura
obconf
openbox
-
menu
wicd
-
gtk
tint2
compton
unzip
gtk2
-
engines
gdb
telnet
sxiv
kicad
inkscape
gimp
slic3r
gedit
gnumeric
vim
-
gtk3
claws
-
mail
netsurf
-
gtk
irssi
busybox
libllvm6
.
0
strace
bc
milkytracker
dfu
-
programmer
gcc
-
avr
binutils
-
avr
avrdude
arduino
-
mk
zathura
meson
ninja
-
build
libudev
-
dev
libmtdev
-
dev
libevdev
-
dev
libxshmfence
-
dev
xutils
-
dev
autoconf
autogen
libtool
pkg
-
config
python3
-
mako
zlib1g
-
dev
expat
valgrind
bison
llvm
flex
libunwind
-
dev
libwayland
-
dev
wayland
-
protocols
libwayland
-
egl
-
backend
-
dev
libx11
-
dev
libx11
-
xcb
-
dev
libxdamage
-
dev
libxfixes
-
dev
libxcb
-
dri3
-
dev
libxcb
-
xfixes0
-
dev
libxcb
-
sync
-
dev
libxrandr
-
dev
libxext
-
dev
libxcb
-
glx0
-
dev
libxcb
-
present
-
dev
libxcb
-
dri2
-
0
-
dev
gettext
libpixman
-
1
-
dev
libbsd
-
dev
libxkbfile
-
dev
libxfont
-
dev
nettle
-
dev
libdbus
-
1
-
dev
libsystemd
-
dev
libpciaccess
-
dev
autopoint
figlet
intltool
packages
=
adduser
apt
apt
-
utils
apt
-
file
bsdmainutils
procps
gpgv
debian
-
archive
-
keyring
readline
-
common
gnupg
cpio
init
-
system
-
helpers
cron
netbase
groff
-
base
iproute2
ifupdown
isc
-
dhcp
-
common
isc
-
dhcp
-
client
iptables
iputils
-
ping
kmod
less
logrotate
man
-
db
manpages
nano
net
-
tools
netcat
-
traditional
nfacct
rsyslog
tasksel
-
data
tasksel
traceroute
vim
-
common
vim
emacs
wget
whiptail
ssh
wicd
-
curses
wicd
-
gtk
wpasupplicant
zsh
htop
build
-
essential
sysvinit
-
core
xterm
elinks
ntpdate
ntp
usbutils
fbset
screen
tmux
brightnessctl
curl
coreutils
xorg
weston
sway
suckless
-
tools
alsa
-
utils
sudo
ca
-
certificates
parted
file
locales
git
make
ed
mesa
-
utils
console
-
setup
console
-
data
unicode
-
data
unifont
ttf
-
unifont
kbd
kmscube
gpm
black
box
mplayer
pciutils
gparted
grafx2
mupdf
lxappearance
faenza
-
icon
-
theme
pcmanfm
cryptsetup
meshlab
libgtk
-
3
-
0
libvte
-
2
.
91
-
0
usb
-
modeswitch
wvdial
pmount
wicd
-
gtk
unzip
gtk2
-
engines
gdb
telnet
sxiv
kicad
inkscape
gimp
gedit
gnumeric
vim
-
gtk3
claws
-
mail
netsurf
-
gtk
firefox
irssi
busybox
libllvm6
.
0
strace
bc
milkytracker
dfu
-
programmer
gcc
-
avr
binutils
-
avr
avrdude
arduino
-
mk
feh
zathura
meson
ninja
-
build
libudev
-
dev
libmtdev
-
dev
libevdev
-
dev
libxshmfence
-
dev
xutils
-
dev
autoconf
autogen
libtool
pkg
-
config
python3
-
mako
zlib1g
-
dev
expat
valgrind
bison
llvm
flex
libunwind
-
dev
libwayland
-
dev
wayland
-
protocols
libwayland
-
egl
-
backend
-
dev
libx11
-
dev
libx11
-
xcb
-
dev
libxdamage
-
dev
libxfixes
-
dev
libxcb
-
dri3
-
dev
libxcb
-
xfixes0
-
dev
libxcb
-
sync
-
dev
libxrandr
-
dev
libxext
-
dev
libxcb
-
glx0
-
dev
libxcb
-
present
-
dev
libxcb
-
dri2
-
0
-
dev
gettext
libpixman
-
1
-
dev
libbsd
-
dev
libxkbfile
-
dev
libxfont
-
dev
nettle
-
dev
libdbus
-
1
-
dev
libsystemd
-
dev
libpciaccess
-
dev
autopoint
figlet
intltool
lm
-
sensors
source
=
http
://
http
.
debian
.
net
/
debian
keyring
=
debian
-
archive
-
keyring
suite
=
sid
suite
=
bullseye
omitdebsrc
=
false
additional
=
reinstall
=
...
...
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