2012-07-24 16:16:40 +02:00
|
|
|
#
|
2012-08-07 08:24:10 +02:00
|
|
|
# spec file for package u-boot-mx53loco
|
2012-07-24 16:16:40 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-08-07 08:24:10 +02:00
|
|
|
%define x_loader 0
|
|
|
|
%define origen_spl 0
|
2012-07-24 16:16:40 +02:00
|
|
|
|
2012-08-07 08:24:10 +02:00
|
|
|
Name: u-boot-mx53loco
|
Accepting request 146560 from Base:System
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
OBS-URL: https://build.opensuse.org/request/show/146560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=8
2012-12-28 22:50:19 +01:00
|
|
|
Version: 2012.10
|
2012-07-24 16:16:40 +02:00
|
|
|
Release: 0
|
2012-08-07 08:24:10 +02:00
|
|
|
Summary: The u-boot firmware for the mx53loco arm platform
|
2012-07-24 16:16:40 +02:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/Boot
|
|
|
|
Url: http://www.denx.de/wiki/U-Boot
|
|
|
|
Source: u-boot-%{version}.tar.bz2
|
|
|
|
Source1: openSUSE_panda.txt
|
|
|
|
Source300: rpmlintrc
|
|
|
|
Patch1: 0006-ARMV7-hardfp-build-fix.patch
|
|
|
|
Patch2: mlo-ext2.patch
|
|
|
|
Patch3: loadaddr-defaults.patch
|
2012-08-07 08:24:10 +02:00
|
|
|
Patch4: beagle-bootscr.patch
|
|
|
|
Patch5: mx53loco-bootscr.patch
|
|
|
|
Patch6: exynos-ext2.patch
|
Accepting request 146560 from Base:System
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
OBS-URL: https://build.opensuse.org/request/show/146560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=8
2012-12-28 22:50:19 +01:00
|
|
|
Patch7: sdhc-1.patch
|
|
|
|
Patch8: sdhc-2.patch
|
|
|
|
Patch9: sdhc-3.patch
|
2012-07-24 16:16:40 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Provides: u-boot-loader
|
|
|
|
Conflicts: otherproviders(u-boot-loader)
|
|
|
|
%if %x_loader == 1
|
2012-08-07 08:24:10 +02:00
|
|
|
Obsoletes: x-loader-mx53loco
|
|
|
|
Provides: x-loader-mx53loco
|
2012-07-24 16:16:40 +02:00
|
|
|
%endif
|
|
|
|
ExclusiveArch: %arm
|
|
|
|
|
|
|
|
%description
|
|
|
|
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
2012-08-07 08:24:10 +02:00
|
|
|
This package contains the firmware for the mx53loco arm platform.
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%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-%{version}
|
2012-08-07 08:24:10 +02:00
|
|
|
# is non-free licensed, and we don't need it (bnc#773824)
|
|
|
|
rm -rf board/Marvell
|
2012-07-24 16:16:40 +02:00
|
|
|
# Any custom patches to be applied on top of mainline u-boot
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2012-08-07 08:24:10 +02:00
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
Accepting request 146560 from Base:System
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
OBS-URL: https://build.opensuse.org/request/show/146560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=8
2012-12-28 22:50:19 +01:00
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%build
|
2012-08-07 08:24:10 +02:00
|
|
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config
|
2012-07-24 16:16:40 +02:00
|
|
|
# temporary disable of --build-id
|
|
|
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
|
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
|
|
|
|
|
|
%install
|
2012-08-07 08:24:10 +02:00
|
|
|
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
|
2012-07-24 16:16:40 +02:00
|
|
|
%if %x_loader == 1
|
|
|
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
|
|
|
%endif
|
2012-08-07 08:24:10 +02:00
|
|
|
%if %origen_spl == 1
|
|
|
|
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
|
|
|
|
%endif
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-08-07 08:24:10 +02:00
|
|
|
/boot/u-boot.imx
|
2012-07-24 16:16:40 +02:00
|
|
|
%if %x_loader == 1
|
|
|
|
/boot/MLO
|
|
|
|
%endif
|
2012-08-07 08:24:10 +02:00
|
|
|
%if %origen_spl == 1
|
|
|
|
/boot/origen-spl.bin
|
|
|
|
%endif
|
2012-07-24 16:16:40 +02:00
|
|
|
%doc COPYING CREDITS 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 doc/README.Modem
|
|
|
|
# Copy some useful kermit scripts as well
|
|
|
|
%doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd tools/scripts/send_image
|
|
|
|
# Now any h/w dependent Documentation
|
|
|
|
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
|
|
|
|
|
|
|
%changelog
|