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
c19bf247
Commit
c19bf247
authored
Dec 21, 2020
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Environment location config should be modified only if ENV_DEVICE is supplied
parent
edf51f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Makefile
Makefile
+10
-10
No files found.
Makefile
View file @
c19bf247
...
...
@@ -21,7 +21,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -71,7 +71,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -116,7 +116,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -166,7 +166,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -202,7 +202,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
rm
-rf
u-boot-2020.04
terasicde10standard-boot-cmd
:
...
...
@@ -239,7 +239,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
rm
-rf
u-boot-2020.04
terasicde10standard-boot-cmd-mender
:
...
...
@@ -280,7 +280,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -336,7 +336,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -399,7 +399,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
umount /dev/
$(DISK)
1
rm
-rf
u-boot-2020.04
...
...
@@ -450,7 +450,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
if
[
-n
"
$(ENV_DEVICE)
"
]
;
then
sed
-i
's/
$(ROOT_DEVICE)
/
$(ENV_DEVICE)
/'
/etc/fw_env.config
;
fi
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