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
95924259
Commit
95924259
authored
Dec 02, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Makefile to use u-boot 2019.04
parent
9a446658
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
102 deletions
+102
-102
Makefile
Makefile
+102
-102
No files found.
Makefile
View file @
95924259
opiplus2e
:
opiplus2e-boot-cmd opiplus2e-fw_env.config
opiplus2e
:
opiplus2e-boot-cmd opiplus2e-fw_env.config
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi_env_in_mmc0.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi_env_in_mmc0.patch
$(MAKE)
-C
u-boot-201
8.05
orangepi_plus2e_defconfig
$(MAKE)
-C
u-boot-201
9.04
orangepi_plus2e_defconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mkdir
/uboot
mkdir
/uboot
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
dd
if
=
u-boot-201
8.05
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
dd
if
=
u-boot-201
9.04
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
@
echo
"
$$
BOOTCMD_OPIPLUS2E"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_OPIPLUS2E"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPLUS2E"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_OPIPLUS2E"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
opiplus2e-boot-cmd
:
opiplus2e-boot-cmd
:
define
BOOTCMD_OPIPLUS2E
define
BOOTCMD_OPIPLUS2E
...
@@ -36,29 +36,29 @@ endef
...
@@ -36,29 +36,29 @@ endef
export
FW_ENV_OPIPLUS2E
export
FW_ENV_OPIPLUS2E
opiplus2e-mender
:
opiplus2e-boot-cmd-mender opiplus2e-fw_env.config-mender
opiplus2e-mender
:
opiplus2e-boot-cmd-mender opiplus2e-fw_env.config-mender
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-mender.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-mender.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi_wdt.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi_wdt.patch
$(MAKE)
-C
u-boot-201
8.05
orangepi_plus2e_defconfig
$(MAKE)
-C
u-boot-201
9.04
orangepi_plus2e_defconfig
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
9.04
/.config
@
echo
"CONFIG_WDT=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_WDT=y"
>>
u-boot-201
9.04
/.config
@
echo
"CONFIG_WDT_SUNXI=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_WDT_SUNXI=y"
>>
u-boot-201
9.04
/.config
$(MAKE)
-C
u-boot-201
8.05
oldconfig
$(MAKE)
-C
u-boot-201
9.04
oldconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
u-boot-201
8.05
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
dd
if
=
u-boot-201
9.04
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
@
echo
"
$$
BOOTCMD_OPIPLUS2E_MENDER"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_OPIPLUS2E_MENDER"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPLUS2E_MENDER"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_OPIPLUS2E_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
opiplus2e-boot-cmd-mender
:
opiplus2e-boot-cmd-mender
:
define
BOOTCMD_OPIPLUS2E_MENDER
define
BOOTCMD_OPIPLUS2E_MENDER
...
@@ -79,26 +79,26 @@ endef
...
@@ -79,26 +79,26 @@ endef
export
FW_ENV_OPIPLUS2E_MENDER
export
FW_ENV_OPIPLUS2E_MENDER
opipcplus
:
opipcplus-boot-cmd opipcplus-fw_env.config
opipcplus
:
opipcplus-boot-cmd opipcplus-fw_env.config
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi_env_in_mmc0.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi_env_in_mmc0.patch
$(MAKE)
-C
u-boot-201
8.05
orangepi_pc_plus_defconfig
$(MAKE)
-C
u-boot-201
9.04
orangepi_pc_plus_defconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mkdir
/uboot
mkdir
/uboot
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
dd
if
=
u-boot-201
8.05
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
dd
if
=
u-boot-201
9.04
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
@
echo
"
$$
BOOTCMD_OPIPCPLUS"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_OPIPCPLUS"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPCPLUS"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_OPIPCPLUS"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
opipcplus-boot-cmd
:
opipcplus-boot-cmd
:
define
BOOTCMD_OPIPCPLUS
define
BOOTCMD_OPIPCPLUS
...
@@ -116,29 +116,29 @@ endef
...
@@ -116,29 +116,29 @@ endef
export
FW_ENV_OPIPCPLUS
export
FW_ENV_OPIPCPLUS
opipcplus-mender
:
opipcplus-boot-cmd-mender opipcplus-fw_env.config-mender
opipcplus-mender
:
opipcplus-boot-cmd-mender opipcplus-fw_env.config-mender
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-mender.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-mender.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-sunxi_wdt.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-sunxi_wdt.patch
$(MAKE)
-C
u-boot-201
8.05
orangepi_pc_plus_defconfig
$(MAKE)
-C
u-boot-201
9.04
orangepi_pc_plus_defconfig
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
9.04
/.config
@
echo
"CONFIG_WDT=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_WDT=y"
>>
u-boot-201
9.04
/.config
@
echo
"CONFIG_WDT_SUNXI=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_WDT_SUNXI=y"
>>
u-boot-201
9.04
/.config
$(MAKE)
-C
u-boot-201
8.05
oldconfig
$(MAKE)
-C
u-boot-201
9.04
oldconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
u-boot-201
8.05
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
dd
if
=
u-boot-201
9.04
/u-boot-sunxi-with-spl.bin
of
=
/dev/
$(ROOT_DEVICE)
bs
=
1024
seek
=
8
@
echo
"
$$
BOOTCMD_OPIPCPLUS_MENDER"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_OPIPCPLUS_MENDER"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_OPIPCPLUS_MENDER"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_OPIPCPLUS_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
opipcplus-boot-cmd-mender
:
opipcplus-boot-cmd-mender
:
define
BOOTCMD_OPIPCPLUS_MENDER
define
BOOTCMD_OPIPCPLUS_MENDER
...
@@ -159,20 +159,20 @@ endef
...
@@ -159,20 +159,20 @@ endef
export
FW_ENV_OPIPCPLUS_MENDER
export
FW_ENV_OPIPCPLUS_MENDER
terasicde10standard
:
terasicde10standard-boot-cmd terasicde10standard-fw_env.config
terasicde10standard
:
terasicde10standard-boot-cmd terasicde10standard-fw_env.config
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
$(MAKE)
-C
u-boot-201
8.05
socfpga_de10_nano_defconfig
$(MAKE)
-C
u-boot-201
9.04
socfpga_de10_nano_defconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mkdir
/uboot
mkdir
/uboot
sfdisk
--change-id
/dev/
$(ROOT_DEVICE)
1 a2
sfdisk
--change-id
/dev/
$(ROOT_DEVICE)
1 a2
dd
if
=
u-boot-201
8.05
/u-boot-with-spl.spf
of
=
/dev/
$(DISK)
1
dd
if
=
u-boot-201
9.04
/u-boot-with-spl.spf
of
=
/dev/
$(DISK)
1
@
echo
"
$$
BOOTCMD_TERASICDE10STANDARD"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_TERASICDE10STANDARD"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
terasicde10standard-boot-cmd
:
terasicde10standard-boot-cmd
:
define
BOOTCMD_TERASICDE10STANDARD
define
BOOTCMD_TERASICDE10STANDARD
...
@@ -190,21 +190,21 @@ endef
...
@@ -190,21 +190,21 @@ endef
export
FW_ENV_TERASICDE10STANDARD
export
FW_ENV_TERASICDE10STANDARD
terasicde10standard-mender
:
terasicde10standard-boot-cmd-mender terasicde10standard-fw_env.config-mender
terasicde10standard-mender
:
terasicde10standard-boot-cmd-mender terasicde10standard-fw_env.config-mender
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
$(MAKE)
-C
u-boot-201
8.05
socfpga_de10_nano_defconfig
$(MAKE)
-C
u-boot-201
9.04
socfpga_de10_nano_defconfig
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
9.04
/.config
$(MAKE)
-C
u-boot-201
8.05
oldconfig
$(MAKE)
-C
u-boot-201
9.04
oldconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
u-boot-201
8.05
/u-boot-with-spl.spf
of
=
/dev/
$(DISK)
1
dd
if
=
u-boot-201
9.04
/u-boot-with-spl.spf
of
=
/dev/
$(DISK)
1
@
echo
"
$$
BOOTCMD_TERASICDE10STANDARD_MENDER"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_TERASICDE10STANDARD_MENDER"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD_MENDER"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_TERASICDE10STANDARD_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
terasicde10standard-boot-cmd-mender
:
terasicde10standard-boot-cmd-mender
:
define
BOOTCMD_TERASICDE10STANDARD_MENDER
define
BOOTCMD_TERASICDE10STANDARD_MENDER
...
@@ -225,27 +225,27 @@ endef
...
@@ -225,27 +225,27 @@ endef
export
FW_ENV_TERASICDE10STANDARD_MENDER
export
FW_ENV_TERASICDE10STANDARD_MENDER
rpi3b
:
rpi3b-boot-cmd rpi3b-fw_env.config rpi3b-config
rpi3b
:
rpi3b-boot-cmd rpi3b-fw_env.config rpi3b-config
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
$(MAKE)
-C
u-boot-201
8.05
rpi_3_defconfig
$(MAKE)
-C
u-boot-201
9.04
rpi_3_defconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mkdir
/uboot
mkdir
/uboot
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
mkfs
-t
vfat
-n
UBOOT /dev/
$(DISK)
1
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
sed
-i
'/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0'
/etc/fstab
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
cp
u-boot-201
8.05
/u-boot.bin /uboot/u-boot.bin
cp
u-boot-201
9.04
/u-boot.bin /uboot/u-boot.bin
@
echo
"
$$
BOOTCMD_RPI3"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_RPI3"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
@
echo
"
$$
RPI3CONFIG"
>
/uboot/config.txt
@
echo
"
$$
RPI3CONFIG"
>
/uboot/config.txt
tar
xf rpi3-firmware.tar.xz
-C
/uboot
--no-same-owner
tar
xf rpi3-firmware.tar.xz
-C
/uboot
--no-same-owner
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
ln
-sf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_RPI3"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_RPI3"
>
/etc/fw_env.config
dd
if
=
/dev/zero
of
=
/uboot/uboot.env
bs
=
1024
count
=
16
dd
if
=
/dev/zero
of
=
/uboot/uboot.env
bs
=
1024
count
=
16
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
rpi3b-boot-cmd
:
rpi3b-boot-cmd
:
define
BOOTCMD_RPI3
define
BOOTCMD_RPI3
...
@@ -276,28 +276,28 @@ endef
...
@@ -276,28 +276,28 @@ endef
export
RPI3CONFIG
export
RPI3CONFIG
rpi3b-mender
:
rpi3b-boot-cmd-mender rpi3b-fw_env.config-mender rpi3b-config-mender
rpi3b-mender
:
rpi3b-boot-cmd-mender rpi3b-fw_env.config-mender rpi3b-config-mender
tar
xf u-boot-201
8.05
.tar.gz
tar
xf u-boot-201
9.04
.tar.gz
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-serial-number-fix.patch
patch
-Np1
-d
u-boot-201
8.05 < u-boot-2018.05
-mender.patch
patch
-Np1
-d
u-boot-201
9.04 < u-boot-2019.04
-mender.patch
$(MAKE)
-C
u-boot-201
8.05
rpi_3_defconfig
$(MAKE)
-C
u-boot-201
9.04
rpi_3_defconfig
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-201
9.04
/.config
@
echo
"CONFIG_BCM2835_WDT=y"
>>
u-boot-201
8.05
/.config
@
echo
"CONFIG_BCM2835_WDT=y"
>>
u-boot-201
9.04
/.config
$(MAKE)
-C
u-boot-201
8.05
oldconfig
$(MAKE)
-C
u-boot-201
9.04
oldconfig
$(MAKE)
-C
u-boot-201
8.05
$(MAKE)
-C
u-boot-201
9.04
mount /dev/
$(DISK)
1 /uboot
mount /dev/
$(DISK)
1 /uboot
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
dd
if
=
/dev/zero
of
=
/dev/
$(ROOT_DEVICE)
bs
=
512
seek
=
1
count
=
49151
cp
u-boot-201
8.05
/u-boot.bin /uboot/u-boot.bin
cp
u-boot-201
9.04
/u-boot.bin /uboot/u-boot.bin
@
echo
"
$$
BOOTCMD_RPI3_MENDER"
>
u-boot-201
8.05
/boot.cmd
@
echo
"
$$
BOOTCMD_RPI3_MENDER"
>
u-boot-201
9.04
/boot.cmd
u-boot-201
8.05/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2018.05
/boot.cmd /uboot/boot.scr
u-boot-201
9.04/tools/mkimage
-C
none
-A
arm
-T
script
-d
u-boot-2019.04
/boot.cmd /uboot/boot.scr
@
echo
"
$$
RPI3CONFIG_MENDER"
>
/uboot/config.txt
@
echo
"
$$
RPI3CONFIG_MENDER"
>
/uboot/config.txt
tar
xf rpi3-firmware.tar.xz
--no-same-owner
-C
/uboot
tar
xf rpi3-firmware.tar.xz
--no-same-owner
-C
/uboot
$(MAKE)
-C
u-boot-201
8.05
envtools
$(MAKE)
-C
u-boot-201
9.04
envtools
cp
u-boot-201
8.05
/tools/env/fw_printenv /sbin/fw_printenv
cp
u-boot-201
9.04
/tools/env/fw_printenv /sbin/fw_printenv
ln
-svf
/sbin/fw_printenv /sbin/fw_setenv
ln
-svf
/sbin/fw_printenv /sbin/fw_setenv
@
echo
"
$$
FW_ENV_RPI3_MENDER"
>
/etc/fw_env.config
@
echo
"
$$
FW_ENV_RPI3_MENDER"
>
/etc/fw_env.config
/sbin/fw_setenv reset
/sbin/fw_setenv reset
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
u-boot-201
8.05
rm
-rf
u-boot-201
9.04
rpi3b-boot-cmd-mender
:
rpi3b-boot-cmd-mender
:
define
BOOTCMD_RPI3_MENDER
define
BOOTCMD_RPI3_MENDER
...
...
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