Accepting request 487710 from Base:System

Update to v2017.03, and add mvebudb-88f{3720,7040,8040} and tinker-rk3288

OBS-URL: https://build.opensuse.org/request/show/487710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=86
This commit is contained in:
Dominique Leuenberger 2017-04-20 18:53:21 +00:00 committed by Git OBS Bridge
parent f2a5a28164
commit 96b8546748
118 changed files with 9982 additions and 369 deletions

View File

@ -1,4 +1,4 @@
From b5facb51166914779628971afd309996b1900ccd Mon Sep 17 00:00:00 2001
From 3ff1b84161bcb99538111fed22b105a080605e8e Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Wed, 13 Apr 2016 13:44:29 +0200
Subject: [PATCH] XXX openSUSE XXX: Load dtb from partition 2
@ -16,10 +16,10 @@ Signed-off-by: Alexander Graf <agraf@suse.de>
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 9ecaf38..42e39e7 100644
index 0e01e82..efca44b 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -125,16 +125,16 @@
@@ -121,16 +121,16 @@
"fi\0" \
\
"load_efi_dtb=" \

View File

@ -1,4 +1,4 @@
From 6f767d5e668cb854662317401debe9e812ac348d Mon Sep 17 00:00:00 2001
From 7be6d47c2fb9c821b2966cbd34b7cf596a69edd1 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Mon, 2 May 2016 23:25:07 +0200
Subject: [PATCH] Revert "Revert "omap3: Use raw SPL by default for mmc1""
@ -9,7 +9,7 @@ This reverts commit 7fa75d0ac5502db813d109c1df7bd0da34688685.
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c
index 385310b..c7125e9 100644
index 7ae3d80..bdbc1c6 100644
--- a/arch/arm/mach-omap2/boot-common.c
+++ b/arch/arm/mach-omap2/boot-common.c
@@ -116,8 +116,6 @@ void save_omap_boot_params(void)

View File

@ -0,0 +1,67 @@
From 7cc861a93885f088bce2d51229543700b617f299 Mon Sep 17 00:00:00 2001
From: Joel Stanley <joel@jms.id.au>
Date: Fri, 16 Dec 2016 15:23:30 +1030
Subject: [PATCH] Makefile: Fix linking with modern binutils
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Since Binutils 1a9ccd70f9a7[1] u-boot will not link targets that set
CONFIG_SYS_TEXT_BASE=0 with the following error:
LD u-boot
arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
arm-linux-gnueabi-ld.bfd: final link failed: Bad value
The issue can be reproduced with the bad binutils and the rock2_defconfig
target.
This issue was also encountered by the powerpc kernel[2], with the fix
being to pass --no-dynamic-linker for linkers newer than 2.26 when this
flag was introduced. The option tells ld that the PIE or shared lib does
not need loaded program headers.
Ubuntu Zesty's Binutils 2.27.51.20161202 hits this error.
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=1a9ccd70f9a7
[2] https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=ff45000fcb56b5b0f1a14a865d3541746d838a0a
Signed-off-by: Joel Stanley <joel@jms.id.au>
[AF: Apply to LDFLAGS_$(SPL_BIN) as well, suggested by Tom Rini]
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
Makefile | 4 ++++
scripts/Makefile.spl | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/Makefile b/Makefile
index 323d646..10f1cbb 100644
--- a/Makefile
+++ b/Makefile
@@ -804,6 +804,10 @@ ALL-y += $(CONFIG_BUILD_TARGET:"%"=%)
endif
LDFLAGS_u-boot += $(LDFLAGS_FINAL)
+
+# Avoid 'Not enough room for program headers' error on binutils 2.28 onwards.
+LDFLAGS_u-boot += $(call ld-option, --no-dynamic-linker)
+
ifneq ($(CONFIG_SYS_TEXT_BASE),)
LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
endif
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index b52f996..dec0025 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -276,6 +276,10 @@ $(obj)/u-boot-x86-16bit-spl.bin: $(obj)/u-boot-spl FORCE
$(call if_changed,objcopy)
LDFLAGS_$(SPL_BIN) += -T u-boot-spl.lds $(LDFLAGS_FINAL)
+
+# Avoid 'Not enough room for program headers' error on binutils 2.28 onwards.
+LDFLAGS_$(SPL_BIN) += $(call ld-option, --no-dynamic-linker)
+
ifneq ($(CONFIG_SPL_TEXT_BASE),)
LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE)
endif

View File

@ -29,13 +29,15 @@ armv7_boards="$armv7_boards rpi_2 rpi_3_32b"
# Nvidia
armv7_boards="$armv7_boards colibri_t20 paz00 jetson-tk1"
# Rockchip
armv7_boards="$armv7_boards firefly-rk3288"
armv7_boards="$armv7_boards firefly-rk3288 tinker-rk3288"
# Marvell
armv7_boards="$armv7_boards clearfog"
# Altera
armv7_boards="$armv7_boards socfpga_de0_nano_soc"
aarch64_boards="dragonboard410c hikey odroid-c2 p2371-2180 pine64_plus rpi_3"
# Marvell
aarch64_boards="$aarch64_boards mvebu_db-88f3720 mvebu_db-88f7040 mvebu_db-88f8040"
ppc_boards="qemu-ppce500"
@ -114,7 +116,7 @@ udoo_neo)
BINEND=img
IMX6_SPL=1
;;
firefly-rk3288)
firefly-rk3288|tinker-rk3288)
BINEND=img
ROCKCHIP_SPL=1
ROCKCHIP_SPL_IMAGE_TYPES="rksd rkimage"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c425175f93a4bcf2ec9faf5658ef279633dbd7856a293d95bd1ff516528ecf2
size 12224884

3
u-boot-2017.03.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f54baf3f9325bf444c7905f3a5b6f83680edb1e6e1a4d5f8a5ad80abe885113f
size 12287670

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a10-olinuxino-lime" == "rpi" || "a10-olinuxino-lime" == "rpi2" || "a10-olinuxino-lime" == "rpi332b" || "a10-olinuxino-lime" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a10-olinuxino-lime
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a10-olinuxino-lime platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A10-OLinuXino-Lime_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A10-OLinuXino-Lime_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a13-olinuxino" == "rpi" || "a13-olinuxino" == "rpi2" || "a13-olinuxino" == "rpi332b" || "a13-olinuxino" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a13-olinuxino
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a13-olinuxino platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXino_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A13-OLinuXino_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a13-olinuxinom" == "rpi" || "a13-olinuxinom" == "rpi2" || "a13-olinuxinom" == "rpi332b" || "a13-olinuxinom" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a13-olinuxinom
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a13-olinuxinom platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXinoM_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A13-OLinuXinoM_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a20-olinuxino-lime" == "rpi" || "a20-olinuxino-lime" == "rpi2" || "a20-olinuxino-lime" == "rpi332b" || "a20-olinuxino-lime" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a20-olinuxino-lime
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a20-olinuxino-lime platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a20-olinuxino-lime2" == "rpi" || "a20-olinuxino-lime2" == "rpi2" || "a20-olinuxino-lime2" == "rpi332b" || "a20-olinuxino-lime2" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a20-olinuxino-lime2
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a20-olinuxino-lime2 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime2_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime2_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "a20-olinuxinomicro" == "rpi" || "a20-olinuxinomicro" == "rpi2" || "a20-olinuxinomicro" == "rpi332b" || "a20-olinuxinomicro" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-a20-olinuxinomicro
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the a20-olinuxinomicro platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino_MICRO_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino_MICRO_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "am335xboneblack" == "rpi" || "am335xboneblack" == "rpi2" || "am335xboneblack" == "rpi332b" || "am335xboneblack" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-am335xboneblack
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the am335xboneblack platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_boneblack_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" am335x_boneblack_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "am335xevm" == "rpi" || "am335xevm" == "rpi2" || "am335xevm" == "rpi332b" || "am335xevm" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-am335xevm
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the am335xevm platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "am57xxevm" == "rpi" || "am57xxevm" == "rpi2" || "am57xxevm" == "rpi332b" || "am57xxevm" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-am57xxevm
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the am57xxevm platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" am57xx_evm_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "am57xxevmnodt" == "rpi" || "am57xxevmnodt" == "rpi2" || "am57xxevmnodt" == "rpi332b" || "am57xxevmnodt" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-am57xxevmnodt
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the am57xxevmnodt platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_nodt_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" am57xx_evm_nodt_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "arndale" == "rpi" || "arndale" == "rpi2" || "arndale" == "rpi332b" || "arndale" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-arndale
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the arndale platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "bananapi" == "rpi" || "bananapi" == "rpi2" || "bananapi" == "rpi332b" || "bananapi" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-bananapi
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the bananapi platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Bananapi_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Bananapi_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "clearfog" == "rpi" || "clearfog" == "rpi2" || "clearfog" == "rpi332b" || "clearfog" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-clearfog
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the clearfog platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" clearfog_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" clearfog_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "colibrit20" == "rpi" || "colibrit20" == "rpi2" || "colibrit20" == "rpi332b" || "colibrit20" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-colibrit20
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the colibrit20 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" colibri_t20_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" colibri_t20_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "cubieboard" == "rpi" || "cubieboard" == "rpi2" || "cubieboard" == "rpi332b" || "cubieboard" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-cubieboard
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the cubieboard platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "cubieboard2" == "rpi" || "cubieboard2" == "rpi2" || "cubieboard2" == "rpi332b" || "cubieboard2" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-cubieboard2
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the cubieboard2 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "cubietruck" == "rpi" || "cubietruck" == "rpi2" || "cubietruck" == "rpi332b" || "cubietruck" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-cubietruck
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the cubietruck platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "dragonboard410c" == "rpi" || "dragonboard410c" == "rpi2" || "dragonboard410c" == "rpi332b" || "dragonboard410c" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-dragonboard410c
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the dragonboard410c platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" dragonboard410c_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" dragonboard410c_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "firefly-rk3288" == "rpi" || "firefly-rk3288" == "rpi2" || "firefly-rk3288" == "rpi332b" || "firefly-rk3288" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-firefly-rk3288
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the firefly-rk3288 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" firefly-rk3288_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" firefly-rk3288_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in rksd rkimage; do
./tools/mkimage -n rk3288 -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "highbank" == "rpi" || "highbank" == "rpi2" || "highbank" == "rpi332b" || "highbank" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-highbank
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the highbank platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "hikey" == "rpi" || "hikey" == "rpi2" || "hikey" == "rpi332b" || "hikey" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-hikey
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the hikey platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" hikey_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" hikey_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "hyundaia7hd" == "rpi" || "hyundaia7hd" == "rpi2" || "hyundaia7hd" == "rpi332b" || "hyundaia7hd" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-hyundaia7hd
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the hyundaia7hd platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Hyundai_A7HD_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Hyundai_A7HD_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "jetson-tk1" == "rpi" || "jetson-tk1" == "rpi2" || "jetson-tk1" == "rpi332b" || "jetson-tk1" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-jetson-tk1
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the jetson-tk1 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "lamobor1" == "rpi" || "lamobor1" == "rpi2" || "lamobor1" == "rpi332b" || "lamobor1" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-lamobor1
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the lamobor1 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Lamobo_R1_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Lamobo_R1_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "melea1000" == "rpi" || "melea1000" == "rpi2" || "melea1000" == "rpi332b" || "melea1000" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-melea1000
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the melea1000 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "merriia80optimus" == "rpi" || "merriia80optimus" == "rpi2" || "merriia80optimus" == "rpi332b" || "merriia80optimus" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-merriia80optimus
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the merriia80optimus platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Merrii_A80_Optimus_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" Merrii_A80_Optimus_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

File diff suppressed because it is too large Load Diff

217
u-boot-mvebudb-88f3720.spec Normal file
View File

@ -0,0 +1,217 @@
#
# spec file for package u-boot-mvebudb-88f3720
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define mvebu_spl 0
%define x_loader 0
%define rockchip_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0
%define origen_spl 0
%define udoo_spl 0
%define imx6_spl 0
%define socfpga_spl 0
%if "mvebudb-88f3720" == "rpi" || "mvebudb-88f3720" == "rpi2" || "mvebudb-88f3720" == "rpi332b" || "mvebudb-88f3720" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.03
Name: u-boot-mvebudb-88f3720
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mvebudb-88f3720 platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
Source2: arndale-bl1.img
Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
# Owns /usr/share/qemu directory
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
Requires(post): util-linux
%endif
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes: x-loader-mvebudb-88f3720
Provides: x-loader-mvebudb-88f3720
%endif
ExclusiveArch: aarch64
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the mvebudb-88f3720 platform.
%package doc
Summary: Documentation for the U-Boot Firmware
Group: Documentation/Other
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for U-Boot firmware.
%prep
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mvebu_db-88f3720_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
done
%endif
%install
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
%define uboot_dir %{_datadir}/qemu
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin spl/u-boot-spl; do
install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%if "%{name}" == "u-boot-qemu-ppce500"
mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
%endif
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %mvebu_spl == 1
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
%endif
%if %rockchip_spl == 1
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
for t in ; do
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
done
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
%endif
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif
%if %udoo_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
%endif
%if %imx6_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
%endif
%if %socfpga_spl == 1
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.
# a) Unmounted, then do nothing.
# b) Mounted as /boot/vc, then they're in the right place already.
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
if mountpoint -q /boot/efi; then
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
fi
%endif
%files
%defattr(-,root,root)
%{uboot_dir}/*
%doc Licenses/gpl-2.0.txt README
%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map
%changelog

File diff suppressed because it is too large Load Diff

217
u-boot-mvebudb-88f7040.spec Normal file
View File

@ -0,0 +1,217 @@
#
# spec file for package u-boot-mvebudb-88f7040
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define mvebu_spl 0
%define x_loader 0
%define rockchip_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0
%define origen_spl 0
%define udoo_spl 0
%define imx6_spl 0
%define socfpga_spl 0
%if "mvebudb-88f7040" == "rpi" || "mvebudb-88f7040" == "rpi2" || "mvebudb-88f7040" == "rpi332b" || "mvebudb-88f7040" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.03
Name: u-boot-mvebudb-88f7040
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mvebudb-88f7040 platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
Source2: arndale-bl1.img
Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
# Owns /usr/share/qemu directory
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
Requires(post): util-linux
%endif
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes: x-loader-mvebudb-88f7040
Provides: x-loader-mvebudb-88f7040
%endif
ExclusiveArch: aarch64
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the mvebudb-88f7040 platform.
%package doc
Summary: Documentation for the U-Boot Firmware
Group: Documentation/Other
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for U-Boot firmware.
%prep
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mvebu_db-88f7040_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
done
%endif
%install
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
%define uboot_dir %{_datadir}/qemu
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin spl/u-boot-spl; do
install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%if "%{name}" == "u-boot-qemu-ppce500"
mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
%endif
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %mvebu_spl == 1
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
%endif
%if %rockchip_spl == 1
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
for t in ; do
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
done
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
%endif
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif
%if %udoo_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
%endif
%if %imx6_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
%endif
%if %socfpga_spl == 1
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.
# a) Unmounted, then do nothing.
# b) Mounted as /boot/vc, then they're in the right place already.
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
if mountpoint -q /boot/efi; then
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
fi
%endif
%files
%defattr(-,root,root)
%{uboot_dir}/*
%doc Licenses/gpl-2.0.txt README
%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map
%changelog

File diff suppressed because it is too large Load Diff

217
u-boot-mvebudb-88f8040.spec Normal file
View File

@ -0,0 +1,217 @@
#
# spec file for package u-boot-mvebudb-88f8040
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define mvebu_spl 0
%define x_loader 0
%define rockchip_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0
%define origen_spl 0
%define udoo_spl 0
%define imx6_spl 0
%define socfpga_spl 0
%if "mvebudb-88f8040" == "rpi" || "mvebudb-88f8040" == "rpi2" || "mvebudb-88f8040" == "rpi332b" || "mvebudb-88f8040" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.03
Name: u-boot-mvebudb-88f8040
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mvebudb-88f8040 platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
Source2: arndale-bl1.img
Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
# Owns /usr/share/qemu directory
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
Requires(post): util-linux
%endif
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes: x-loader-mvebudb-88f8040
Provides: x-loader-mvebudb-88f8040
%endif
ExclusiveArch: aarch64
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the mvebudb-88f8040 platform.
%package doc
Summary: Documentation for the U-Boot Firmware
Group: Documentation/Other
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for U-Boot firmware.
%prep
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mvebu_db-88f8040_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
done
%endif
%install
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
%define uboot_dir %{_datadir}/qemu
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin spl/u-boot-spl; do
install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%if "%{name}" == "u-boot-qemu-ppce500"
mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
%endif
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %mvebu_spl == 1
install -D -m 0755 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb
%endif
%if %rockchip_spl == 1
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
for t in ; do
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
done
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
%endif
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif
%if %udoo_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
%endif
%if %imx6_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
%endif
%if %socfpga_spl == 1
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.
# a) Unmounted, then do nothing.
# b) Mounted as /boot/vc, then they're in the right place already.
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
if mountpoint -q /boot/efi; then
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
fi
%endif
%files
%defattr(-,root,root)
%{uboot_dir}/*
%doc Licenses/gpl-2.0.txt README
%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map
%changelog

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "mx53loco" == "rpi" || "mx53loco" == "rpi2" || "mx53loco" == "rpi332b" || "mx53loco" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-mx53loco
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mx53loco platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 1
%define socfpga_spl 0
%if "mx6cuboxi" == "rpi" || "mx6cuboxi" == "rpi2" || "mx6cuboxi" == "rpi332b" || "mx6cuboxi" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-mx6cuboxi
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mx6cuboxi platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6cuboxi_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mx6cuboxi_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "mx6qsabrelite" == "rpi" || "mx6qsabrelite" == "rpi2" || "mx6qsabrelite" == "rpi332b" || "mx6qsabrelite" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-mx6qsabrelite
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the mx6qsabrelite platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "nanopineo" == "rpi" || "nanopineo" == "rpi2" || "nanopineo" == "rpi332b" || "nanopineo" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-nanopineo
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the nanopineo platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" nanopi_neo_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" nanopi_neo_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "odroid-c2" == "rpi" || "odroid-c2" == "rpi2" || "odroid-c2" == "rpi332b" || "odroid-c2" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-odroid-c2
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the odroid-c2 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-c2_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" odroid-c2_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "odroid-xu3" == "rpi" || "odroid-xu3" == "rpi2" || "odroid-xu3" == "rpi332b" || "odroid-xu3" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-odroid-xu3
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the odroid-xu3 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-xu3_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" odroid-xu3_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "odroid" == "rpi" || "odroid" == "rpi2" || "odroid" == "rpi332b" || "odroid" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-odroid
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the odroid platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" odroid_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "omap3beagle" == "rpi" || "omap3beagle" == "rpi2" || "omap3beagle" == "rpi332b" || "omap3beagle" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-omap3beagle
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the omap3beagle platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "omap4panda" == "rpi" || "omap4panda" == "rpi2" || "omap4panda" == "rpi332b" || "omap4panda" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-omap4panda
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the omap4panda platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "orangepipc" == "rpi" || "orangepipc" == "rpi2" || "orangepipc" == "rpi332b" || "orangepipc" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-orangepipc
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the orangepipc platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" orangepi_pc_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" orangepi_pc_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "p2371-2180" == "rpi" || "p2371-2180" == "rpi2" || "p2371-2180" == "rpi332b" || "p2371-2180" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-p2371-2180
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the p2371-2180 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" p2371-2180_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" p2371-2180_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "paz00" == "rpi" || "paz00" == "rpi2" || "paz00" == "rpi332b" || "paz00" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-paz00
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the paz00 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "pcm051rev3" == "rpi" || "pcm051rev3" == "rpi2" || "pcm051rev3" == "rpi332b" || "pcm051rev3" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-pcm051rev3
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the pcm051rev3 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" pcm051_rev3_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" pcm051_rev3_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "pine64plus" == "rpi" || "pine64plus" == "rpi2" || "pine64plus" == "rpi332b" || "pine64plus" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-pine64plus
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the pine64plus platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" pine64_plus_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" pine64_plus_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "qemu-ppce500" == "rpi" || "qemu-ppce500" == "rpi2" || "qemu-ppce500" == "rpi332b" || "qemu-ppce500" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-qemu-ppce500
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the qemu-ppce500 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" qemu-ppce500_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" qemu-ppce500_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "rpi" == "rpi" || "rpi" == "rpi2" || "rpi" == "rpi332b" || "rpi" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-rpi
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the rpi platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" rpi_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "rpi2" == "rpi" || "rpi2" == "rpi2" || "rpi2" == "rpi332b" || "rpi2" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-rpi2
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the rpi2 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_2_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" rpi_2_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Apr 9 18:24:30 UTC 2017 - afaerber@suse.de
- Add tinker-rk3288
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.03
* Fix firefly-rk3288 and tinker-rk3288 build with binutils 2.28.
0003-Makefile-Fix-linking-with-modern-bi.patch
- U-Boot has no CFLAGS, so apply $RPM_OPT_FLAGS to HOSTCFLAGS instead
-------------------------------------------------------------------
Mon Mar 20 11:10:57 UTC 2017 - afaerber@suse.de
- Tidy Raspberry Pi conditionals
- Enable CONFIG_OF_LIBFDT_OVERLAY for Raspberry Pi only for now
-------------------------------------------------------------------
Mon Mar 20 09:43:14 UTC 2017 - afaerber@suse.de
- Add mvebudb-88f{3720,7040,8040}
-------------------------------------------------------------------
Tue Mar 14 08:47:33 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03
-------------------------------------------------------------------
Wed Mar 1 09:36:39 UTC 2017 - guillaume@opensuse.org
- Add libopenssl-devel as BuildRequires (needed by some configs)
-------------------------------------------------------------------
Tue Feb 28 08:37:55 UTC 2017 - guillaume@opensuse.org
- Updated to v2017.03-rc3
-------------------------------------------------------------------
Wed Feb 22 13:38:25 UTC 2017 - hsehic@suse.com

View File

@ -29,11 +29,15 @@
%define imx6_spl 0
%define socfpga_spl 0
%if "rpi3" == "rpi" || "rpi3" == "rpi2" || "rpi3" == "rpi332b" || "rpi3" == "rpi3"
%define is_rpi 1
%endif
# archive_version differs from version for RC version only
%define archive_version 2017.01
%define archive_version 2017.03
Name: u-boot-rpi3
Version: 2017.01
Version: 2017.03
Release: 0
Summary: The U-Boot firmware for the rpi3 platform
License: GPL-2.0
@ -45,10 +49,13 @@ Source3: update_git.sh
Source300: u-boot-rpmlintrc
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
# u-boot-clearfog (tools/kwbimage.c) needs openssl to build
BuildRequires: libopenssl-devel
# u-boot-firefly-rk3288 needs python to build
BuildRequires: python
%if "%{name}" == "u-boot-qemu-ppce500"
@ -56,7 +63,7 @@ BuildRequires: python
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@ -86,16 +93,24 @@ This package contains documentation for U-Boot firmware.
%setup -q -n u-boot-%{archive_version}
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_3_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" rpi_3_defconfig
%if 0%{?is_rpi}
# U-Boot is installed in the filesystem, so we are confident there's enough space.
echo "Attempting to enable fdt apply command (.dtbo) support."
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
%endif
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
@ -107,7 +122,7 @@ export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes |
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@ -168,7 +183,7 @@ install -D -m 0755 SPL %{buildroot}/boot/imx6-spl.bin
install -D -m 0755 u-boot-with-spl.sfp %{buildroot}/boot/u-boot-with-spl.sfp
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%if 0%{?is_rpi}
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.

Some files were not shown because too many files have changed in this diff Show More