Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
u-boot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
u-boot
Commits
b462d0cc
Commit
b462d0cc
authored
Sep 23, 2020
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENV_DEVICE may differ from ROOT_DEVICE
parent
b03eb82e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Makefile
Makefile
+10
-0
No files found.
Makefile
View file @
b462d0cc
...
...
@@ -20,6 +20,7 @@ opiplus2e: opiplus2e-boot-cmd opiplus2e-fw_env.config
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPLUS2E"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -69,6 +70,7 @@ opiplus2e-mender: opiplus2e-boot-cmd-mender opiplus2e-fw_env.config-mender
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPLUS2E_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -112,6 +114,7 @@ opipcplus: opipcplus-boot-cmd opipcplus-fw_env.config
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPCPLUS"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -161,6 +164,7 @@ opipcplus-mender: opipcplus-boot-cmd-mender opipcplus-fw_env.config-mender
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPCPLUS_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -196,6 +200,7 @@ terasicde10standard: terasicde10standard-boot-cmd terasicde10standard-fw_env.con
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
rm
-rf
u-boot-2020.04
terasicde10standard-boot-cmd
:
...
...
@@ -232,6 +237,7 @@ terasicde10standard-mender: terasicde10standard-boot-cmd-mender terasicde10stand
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
rm
-rf
u-boot-2020.04
terasicde10standard-boot-cmd-mender
:
...
...
@@ -272,6 +278,7 @@ rpi3b: rpi3b-boot-cmd rpi3b-fw_env.config rpi3b-config
@
echo
"
$$
FW_ENV_RPI3"
>
/etc/fw_env.config
dd
if
=
/dev/zero
of
=
/uboot/uboot.env
bs
=
1024
count
=
16
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -327,6 +334,7 @@ rpi3b-mender: rpi3b-boot-cmd-mender rpi3b-fw_env.config-mender rpi3b-config-mend
ln
-svf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_RPI3_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -389,6 +397,7 @@ amlogics905x: amlogics905x-boot-cmd amlogics905x-fw_env.config
@
echo
"
$$
FW_ENV_AMLOGICS905X"
>
/etc/fw_env.config
dd
if
=
/dev/zero
of
=
/uboot/uboot.env
bs
=
1024
count
=
16
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -439,6 +448,7 @@ amlogics905x-mender: amlogics905x-boot-cmd-mender amlogics905x-fw_env.config-men
ln
-svf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_AMLOGICS905X_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment