Accepting request 435542 from Base:System
Update to v2016.09.01 and fix aarch64 efistub boot OBS-URL: https://build.opensuse.org/request/show/435542 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=82
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
%define udoo_spl 0
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2016.07
|
||||
%define archive_version 2016.09.01
|
||||
|
||||
Name: u-boot-rpi2
|
||||
Version: 2016.07
|
||||
Version: 2016.09.01
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the rpi2 platform
|
||||
License: GPL-2.0
|
||||
@@ -49,21 +49,27 @@ Patch0005: 0005-ARM-bcm283x-Implement-EFI-RTS-reset.patch
|
||||
Patch0006: 0006-efi_loader-gop-Expose-fb-when-32bpp.patch
|
||||
Patch0007: 0007-bcm2835-video-Map-frame-buffer-as-3.patch
|
||||
Patch0008: 0008-bcm2835-Reserve-the-spin-table-in-e.patch
|
||||
Patch0009: 0009-Revert-armv8-Enable-CPUECTLR.SMPEN-.patch
|
||||
Patch0010: 0010-bcm2835_gpio-Implement-GPIOF_FUNC.patch
|
||||
Patch0011: 0011-serial-bcm283x_mu-Detect-disabled-s.patch
|
||||
Patch0012: 0012-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0013: 0013-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0014: 0014-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0015: 0015-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0016: 0016-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0017: 0017-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0018: 0018-smbios-Provide-serial-number.patch
|
||||
Patch0019: 0019-common-env_nand-Ensure-that-we-have.patch
|
||||
Patch0009: 0009-x86-Move-table-csum-into-separate-h.patch
|
||||
Patch0010: 0010-x86-Move-smbios-generation-into-arc.patch
|
||||
Patch0011: 0011-efi_loader-Expose-efi_install_confi.patch
|
||||
Patch0012: 0012-smbios-Allow-compilation-on-64bit-s.patch
|
||||
Patch0013: 0013-smbios-Expose-in-efi_loader-as-tabl.patch
|
||||
Patch0014: 0014-efi_loader-Fix-efi_install_configur.patch
|
||||
Patch0015: 0015-smbios-Provide-serial-number.patch
|
||||
Patch0016: 0016-efi_loader-Update-description-of-in.patch
|
||||
Patch0017: 0017-efi_loader-Fix-memory-map-size-chec.patch
|
||||
Patch0018: 0018-efi_loader-Fix-crash-on-32-bit-syst.patch
|
||||
Patch0019: 0019-efi_loader-Move-efi_allocate_pool-i.patch
|
||||
Patch0020: 0020-efi_loader-Track-size-of-pool-alloc.patch
|
||||
Patch0021: 0021-efi_loader-Readd-freed-pages-to-mem.patch
|
||||
Patch0022: 0022-efi_loader-Keep-memory-mapping-sort.patch
|
||||
Patch0023: 0023-efi_loader-Do-not-leak-memory-when-.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
# u-boot-firefly-rk3288 needs python to build
|
||||
BuildRequires: python
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
@@ -116,9 +122,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0017 -p1
|
||||
%patch0018 -p1
|
||||
%patch0019 -p1
|
||||
%patch0020 -p1
|
||||
%patch0021 -p1
|
||||
%patch0022 -p1
|
||||
%patch0023 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
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
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@@ -128,12 +138,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||
%endif
|
||||
%if %rockchip_spl == 1
|
||||
for t in ; do
|
||||
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
|
||||
./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1475075897
|
||||
export SOURCE_DATE_EPOCH=1476530748
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@@ -176,7 +186,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
||||
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-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
|
||||
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
|
||||
|
Reference in New Issue
Block a user