Hello community,
here is the log from the commit of package u-boot-omap4panda for openSUSE:Factory checked in at 2012-04-19 08:51:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/u-boot-omap4panda (Old)
and /work/SRC/openSUSE:Factory/.u-boot-omap4panda.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot-omap4panda", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-04-12 17:09:43.803558694 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot-omap4panda.new/u-boot-omap3beagle.changes 2012-04-19 08:51:21.000000000 +0200
@@ -0,0 +1,117 @@
+-------------------------------------------------------------------
+Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org
+
+- Included u-boot.spec.in and gen_spec.sh in the spec file
+
+-------------------------------------------------------------------
+Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com
+
+- use ttyO2 as default console= on OMAP boards
+
+-------------------------------------------------------------------
+Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com
+
+- add u8500_href and origen configs
+
+-------------------------------------------------------------------
+Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com
+
+- fix lint failures
+
+-------------------------------------------------------------------
+Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com
+
+- don't install map
+
+-------------------------------------------------------------------
+Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com
+
+- generalize spec file to be able to build for more boards
+- add beagle board spec file
+- remove boot.scr
+
+-------------------------------------------------------------------
+Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com
+
+- rename to u-boot-omap4panda
+
+-------------------------------------------------------------------
+Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de
+
+- new package based on u-boot-omap4panda but use linaro u-boot git
+ repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git)
+ instead of mainline u-boot. This package also contains the MLO
+ (this package obsoletes the x-loader package)
+
+-------------------------------------------------------------------
+Tue Nov 29 22:53:44 UTC 2011 - joop.boonen@opensuse.org
+
+- COPYING CREDITS README are now in the standard package
+
+-------------------------------------------------------------------
+Thu Nov 24 21:08:58 UTC 2011 - joop.boonen@opensuse.org
+
+- Corrected the links
+
+-------------------------------------------------------------------
+Tue Nov 22 17:47:17 UTC 2011 - joop.boonen@opensuse.org
+
+- Build without u-boot tools as we have a u-boot-tools packages
+
+-------------------------------------------------------------------
+Sun Nov 20 17:00:43 UTC 2011 - joop.boonen@opensuse.org
+
+- Cleaned the spec file up the spec file
+- The name is the same as the package name
+
+-------------------------------------------------------------------
+Sun Nov 13 13:13:39 UTC 2011 - joop.boonen@opensuse.org
+
+- Build u-boot according to http://elinux.org/Panda_How_to_MLO_&_u-boot
+- Using .txt config file instead of .scr it's gerated via mkimage
+
+-------------------------------------------------------------------
+Wed Nov 09 22:55:09 UTC 2011 - joop.boonen@opensuse.org
+
+- Used scr file based on http://elinux.org definition
+- Build u-boot 20111109
+- Used the Meego panda u-boot as a base
+
+-------------------------------------------------------------------
+Fri Feb 18 00:00:00 UTC 2011 - raghuveer.murthy@ti.com>
+- 2010.09-MeeGo
+- Fix for u-boot fails to compile on armv7hl, BMC#13140
+
+-------------------------------------------------------------------
+Thu Nov 18 00:00:00 UTC 2010 - peter.j.zhu@intel.com>
+- 2010.09-MeeGo
+- Don't build against i586, BMC#10159
+
+-------------------------------------------------------------------
+Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09-MeeGo
+- Add Das u-boot package - FEA#9723
+
+-------------------------------------------------------------------
+Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Added option to enable boot.scr generation and copy
+
+-------------------------------------------------------------------
+Mon Oct 04 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Update to 2010.09
+
+-------------------------------------------------------------------
+Wed Sep 14 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Update to 2010.09.rc1
+- MeeGo customization
+- Enabled PandaBoard, Beagleboard build
+
+-------------------------------------------------------------------
+Wed Mar 31 00:00:00 UTC 2010 - silvan.calarco@mambasoft.it>
+- 2009.11.1-1mamba
+- update to 2009.11.1
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/u-boot-omap4panda/u-boot-omap4panda.changes 2011-12-06 16:24:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot-omap4panda.new/u-boot-omap4panda.changes 2012-04-19 08:51:21.000000000 +0200
@@ -1,0 +2,45 @@
+Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org
+
+- Included u-boot.spec.in and gen_spec.sh in the spec file
+
+-------------------------------------------------------------------
+Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com
+
+- use ttyO2 as default console= on OMAP boards
+
+-------------------------------------------------------------------
+Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com
+
+- add u8500_href and origen configs
+
+-------------------------------------------------------------------
+Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com
+
+- fix lint failures
+
+-------------------------------------------------------------------
+Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com
+
+- don't install map
+
+-------------------------------------------------------------------
+Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com
+
+- generalize spec file to be able to build for more boards
+- add beagle board spec file
+- remove boot.scr
+
+-------------------------------------------------------------------
+Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com
+
+- rename to u-boot-omap4panda
+
+-------------------------------------------------------------------
+Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de
+
+- new package based on u-boot-omap4panda but use linaro u-boot git
+ repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git)
+ instead of mainline u-boot. This package also contains the MLO
+ (this package obsoletes the x-loader package)
+
+-------------------------------------------------------------------
New Changes file:
--- /dev/null 2012-04-12 17:09:43.803558694 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot-omap4panda.new/u-boot-origen.changes 2012-04-19 08:51:21.000000000 +0200
@@ -0,0 +1,117 @@
+-------------------------------------------------------------------
+Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org
+
+- Included u-boot.spec.in and gen_spec.sh in the spec file
+
+-------------------------------------------------------------------
+Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com
+
+- use ttyO2 as default console= on OMAP boards
+
+-------------------------------------------------------------------
+Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com
+
+- add u8500_href and origen configs
+
+-------------------------------------------------------------------
+Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com
+
+- fix lint failures
+
+-------------------------------------------------------------------
+Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com
+
+- don't install map
+
+-------------------------------------------------------------------
+Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com
+
+- generalize spec file to be able to build for more boards
+- add beagle board spec file
+- remove boot.scr
+
+-------------------------------------------------------------------
+Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com
+
+- rename to u-boot-omap4panda
+
+-------------------------------------------------------------------
+Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de
+
+- new package based on u-boot-omap4panda but use linaro u-boot git
+ repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git)
+ instead of mainline u-boot. This package also contains the MLO
+ (this package obsoletes the x-loader package)
+
+-------------------------------------------------------------------
+Tue Nov 29 22:53:44 UTC 2011 - joop.boonen@opensuse.org
+
+- COPYING CREDITS README are now in the standard package
+
+-------------------------------------------------------------------
+Thu Nov 24 21:08:58 UTC 2011 - joop.boonen@opensuse.org
+
+- Corrected the links
+
+-------------------------------------------------------------------
+Tue Nov 22 17:47:17 UTC 2011 - joop.boonen@opensuse.org
+
+- Build without u-boot tools as we have a u-boot-tools packages
+
+-------------------------------------------------------------------
+Sun Nov 20 17:00:43 UTC 2011 - joop.boonen@opensuse.org
+
+- Cleaned the spec file up the spec file
+- The name is the same as the package name
+
+-------------------------------------------------------------------
+Sun Nov 13 13:13:39 UTC 2011 - joop.boonen@opensuse.org
+
+- Build u-boot according to http://elinux.org/Panda_How_to_MLO_&_u-boot
+- Using .txt config file instead of .scr it's gerated via mkimage
+
+-------------------------------------------------------------------
+Wed Nov 09 22:55:09 UTC 2011 - joop.boonen@opensuse.org
+
+- Used scr file based on http://elinux.org definition
+- Build u-boot 20111109
+- Used the Meego panda u-boot as a base
+
+-------------------------------------------------------------------
+Fri Feb 18 00:00:00 UTC 2011 - raghuveer.murthy@ti.com>
+- 2010.09-MeeGo
+- Fix for u-boot fails to compile on armv7hl, BMC#13140
+
+-------------------------------------------------------------------
+Thu Nov 18 00:00:00 UTC 2010 - peter.j.zhu@intel.com>
+- 2010.09-MeeGo
+- Don't build against i586, BMC#10159
+
+-------------------------------------------------------------------
+Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09-MeeGo
+- Add Das u-boot package - FEA#9723
+
+-------------------------------------------------------------------
+Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Added option to enable boot.scr generation and copy
+
+-------------------------------------------------------------------
+Mon Oct 04 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Update to 2010.09
+
+-------------------------------------------------------------------
+Wed Sep 14 00:00:00 UTC 2010 - nm@ti.com>
+- 2010.09.rc1-MeeGo
+- Update to 2010.09.rc1
+- MeeGo customization
+- Enabled PandaBoard, Beagleboard build
+
+-------------------------------------------------------------------
+Wed Mar 31 00:00:00 UTC 2010 - silvan.calarco@mambasoft.it>
+- 2009.11.1-1mamba
+- update to 2009.11.1
+
+-------------------------------------------------------------------
New Changes file:
u-boot-u8500href.changes: same change
New Changes file:
u-boot.changes: same change
Old:
----
u-boot-20111109.tar.bz2
New:
----
gen_spec.sh
rpmlintrc
u-boot-linaro-20111213.tar.bz2
u-boot-omap-ttyO2.patch
u-boot-omap3beagle.changes
u-boot-omap3beagle.spec
u-boot-omap4-lint-fix.patch
u-boot-origen.changes
u-boot-origen.spec
u-boot-u8500href.changes
u-boot-u8500href.spec
u-boot.changes
u-boot.spec
u-boot.spec.in
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ u-boot-omap3beagle.spec ++++++
#
# spec file for package u-boot-omap3beagle
#
# 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
#
# 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 x_loader 0
Name: u-boot-omap3beagle
Version: 20111213
Release: 0
Summary: The u-boot firmware for the omap3beagle arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: u-boot-linaro-%{version}.tar.bz2
Source1: openSUSE_panda.txt
# helper stuff to produce pieces of the spec file
Source200: u-boot.spec.in
Source201: gen_spec.sh
# rpmlintrc file
Source300: rpmlintrc
Patch1: u-boot-omap4-lint-fix.patch
Patch2: u-boot-omap-ttyO2.patch
Patch5: 0006-ARMV7-hardfp-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %x_loader == 1
Obsoletes: x-loader-omap3beagle
Provides: x-loader-omap3beagle
%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.
This package contains the firmware for the omap3beagle arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: System/Boot
%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-linaro-%{version}
# Any custom patches to be applied on top of mainline u-boot
%patch1 -p1
%patch2 -p1
%patch5 -p1
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/boot/u-boot.bin
%if %x_loader == 1
/boot/MLO
%endif
%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
++++++ u-boot-omap4panda.spec ++++++
--- /var/tmp/diff_new_pack.dyJ4OC/_old 2012-04-19 08:51:33.000000000 +0200
+++ /var/tmp/diff_new_pack.dyJ4OC/_new 2012-04-19 08:51:33.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package u-boot-omap4panda
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
#
@@ -18,24 +18,35 @@
#
+%define x_loader 1
Name: u-boot-omap4panda
-Version: 20111109
-Release: 0.0
-Summary: The u-boot firmware for the omap4_panda arm platform
+Version: 20111213
+Release: 0
+Summary: The u-boot firmware for the omap4panda arm platform
+License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
-Source: u-boot-%{version}.tar.bz2
+Source: u-boot-linaro-%{version}.tar.bz2
Source1: openSUSE_panda.txt
+# helper stuff to produce pieces of the spec file
+Source200: u-boot.spec.in
+Source201: gen_spec.sh
+# rpmlintrc file
+Source300: rpmlintrc
+Patch1: u-boot-omap4-lint-fix.patch
+Patch2: u-boot-omap-ttyO2.patch
Patch5: 0006-ARMV7-hardfp-build-fix.patch
-License: GPL-2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: x-loader-omap4panda
+%if %x_loader == 1
+Obsoletes: x-loader-omap4panda
+Provides: x-loader-omap4panda
+%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.
-This package contains the firmware for the omap4_panda arm platform.
+This package contains the firmware for the omap4panda arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
@@ -46,24 +57,23 @@
This package contains documentation for u-boot firmware
%prep
-%setup -q -n u-boot-%{version}
+%setup -q -n u-boot-linaro-%{version}
# Any custom patches to be applied on top of mainline u-boot
+%patch1 -p1
+%patch2 -p1
%patch5 -p1
%build
-make CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config
+make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-make USE_PRIVATE_LIBGG=yes
+make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%install
-#install -d -m 0755 tools/img2srec %{buildroot}%{_bindir}/img2srec
-#gzip u-boot
-#install -D -m 0644 u-boot.gz %{buildroot}/boot/u-boot.gz
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
-install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot.map
-#install -D -m 0644 %{SOURCE1} %{buildroot}/boot/boot.scr
-tools/mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Panda SD Boot" -d %{SOURCE1} %{buildroot}/boot/boot.scr
+%if %x_loader == 1
+install -D -m 0755 MLO %{buildroot}/boot/MLO
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,9 +81,9 @@
%files
%defattr(-,root,root)
/boot/u-boot.bin
-/boot/u-boot.map
-#/boot/u-boot.gz
-/boot/boot.scr
+%if %x_loader == 1
+/boot/MLO
+%endif
%doc COPYING CREDITS README
%files doc
++++++ u-boot-origen.spec ++++++
#
# spec file for package u-boot-origen
#
# 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
#
# 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 x_loader 0
Name: u-boot-origen
Version: 20111213
Release: 0
Summary: The u-boot firmware for the origen arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: u-boot-linaro-%{version}.tar.bz2
Source1: openSUSE_panda.txt
# helper stuff to produce pieces of the spec file
Source200: u-boot.spec.in
Source201: gen_spec.sh
# rpmlintrc file
Source300: rpmlintrc
Patch1: u-boot-omap4-lint-fix.patch
Patch2: u-boot-omap-ttyO2.patch
Patch5: 0006-ARMV7-hardfp-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %x_loader == 1
Obsoletes: x-loader-origen
Provides: x-loader-origen
%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.
This package contains the firmware for the origen arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: System/Boot
%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-linaro-%{version}
# Any custom patches to be applied on top of mainline u-boot
%patch1 -p1
%patch2 -p1
%patch5 -p1
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" origen_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/boot/u-boot.bin
%if %x_loader == 1
/boot/MLO
%endif
%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
++++++ u-boot-u8500href.spec ++++++
#
# spec file for package u-boot-u8500href
#
# 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
#
# 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 x_loader 0
Name: u-boot-u8500href
Version: 20111213
Release: 0
Summary: The u-boot firmware for the u8500href arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: u-boot-linaro-%{version}.tar.bz2
Source1: openSUSE_panda.txt
# helper stuff to produce pieces of the spec file
Source200: u-boot.spec.in
Source201: gen_spec.sh
# rpmlintrc file
Source300: rpmlintrc
Patch1: u-boot-omap4-lint-fix.patch
Patch2: u-boot-omap-ttyO2.patch
Patch5: 0006-ARMV7-hardfp-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %x_loader == 1
Obsoletes: x-loader-u8500href
Provides: x-loader-u8500href
%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.
This package contains the firmware for the u8500href arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: System/Boot
%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-linaro-%{version}
# Any custom patches to be applied on top of mainline u-boot
%patch1 -p1
%patch2 -p1
%patch5 -p1
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" u8500_href_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/boot/u-boot.bin
%if %x_loader == 1
/boot/MLO
%endif
%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
++++++ u-boot.spec ++++++
#
# spec file for package u-boot
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: u-boot
Version: 1
Release: 0
Summary: fake package
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
dummy package
%prep
%build
%install
%clean
%files
%changelog
++++++ gen_spec.sh ++++++
#!/bin/bash -e
BOARDNAME="$1"
BOARDCONFIG="$2"
if [ ! "$1" -o ! "$2" ]; then
for BOARDCONFIG in omap3_beagle omap4_panda u8500_href origen; do
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
BOARDCONFIG=${BOARDCONFIG}_config
$0 $BOARDNAME $BOARDCONFIG
done
exit 0
fi
if [ "$(echo $BOARDCONFIG | grep omap4)" ]; then
XLOADER=1
else
XLOADER=0
fi
sed "s/BOARDCONFIG/$BOARDCONFIG/g
s/BOARDNAME/$BOARDNAME/g
s/XLOADER/$XLOADER/g" < u-boot.spec.in > u-boot-$BOARDNAME.spec
cp u-boot.changes u-boot-$BOARDNAME.changes
++++++ rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *
addFilter("no-binary")
addFilter("name-repeated-in-summary")
addFilter("incorrect-fsf-address")
addFilter("file-contains-date-and-time")
addFilter("strict-aliasing-punning")
addFilter("no-rpm-opt-flags")
++++++ u-boot-omap-ttyO2.patch ++++++
From: Alexander Graf
Subject: [PATCH] use ttyO2 for omap boards
The default config for OMAP boards uses ttyS2, but our kernels expose it
as ttyO2. Switch to sane defaults, so we can boot without the need for a
working boot.scr.
Signed-off-by: Alexander Graf
Index: u-boot-linaro-20111213/include/configs/omap3_beagle.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_beagle.h
+++ u-boot-linaro-20111213/include/configs/omap3_beagle.h
@@ -229,7 +229,7 @@
"rdaddr=0x81000000\0" \
"usbtty=cdc_acm\0" \
"bootfile=uImage.beagle\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mpurate=auto\0" \
"buddy=none "\
"optargs=\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_evm.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_evm.h
+++ u-boot-linaro-20111213/include/configs/omap3_evm.h
@@ -200,7 +200,7 @@
"loadaddr=0x82000000\0" \
"usbtty=cdc_acm\0" \
"mmcdev=0\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mmcargs=setenv bootargs console=${console} " \
"root=/dev/mmcblk0p2 rw " \
"rootfstype=ext3 rootwait\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_overo.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_overo.h
+++ u-boot-linaro-20111213/include/configs/omap3_overo.h
@@ -155,7 +155,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mpurate=500\0" \
"vram=12M\0" \
"dvimode=1024x768MR-16@60\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_zoom1.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_zoom1.h
+++ u-boot-linaro-20111213/include/configs/omap3_zoom1.h
@@ -178,7 +178,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
"usbtty=cdc_acm\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mmcdev=0\0" \
"videomode=1024x768@60,vxres=1024,vyres=768\0" \
"videospec=omapfb:vram:2M,vram:4M\0" \
Index: u-boot-linaro-20111213/include/configs/omap4_common.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap4_common.h
+++ u-boot-linaro-20111213/include/configs/omap4_common.h
@@ -149,7 +149,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
"mmcdev=0\0" \
++++++ u-boot-omap4-lint-fix.patch ++++++
Index: u-boot-linaro-20111213/board/ti/panda/panda.c
===================================================================
--- u-boot-linaro-20111213.orig/board/ti/panda/panda.c
+++ u-boot-linaro-20111213/board/ti/panda/panda.c
@@ -94,15 +94,15 @@ void set_muxconf_regs_non_essential(void
#define OMAP44XX_SCRM_AUXCLK1 (OMAP44XX_SCRM_BASE + 0x314)
#define OMAP44XX_SCRM_AUXCLK3 (OMAP44XX_SCRM_BASE + 0x31c)
/* enable software ioreq */
- sr32(OMAP44XX_SCRM_AUXCLK3, 8, 1, 0x1);
+ sr32((void*)OMAP44XX_SCRM_AUXCLK3, 8, 1, 0x1);
/* set for sys_clk (38.4MHz) */
- sr32(OMAP44XX_SCRM_AUXCLK3, 1, 2, 0x0);
+ sr32((void*)OMAP44XX_SCRM_AUXCLK3, 1, 2, 0x0);
/* set divisor to 2 */
- sr32(OMAP44XX_SCRM_AUXCLK3, 16, 4, 0x1);
+ sr32((void*)OMAP44XX_SCRM_AUXCLK3, 16, 4, 0x1);
/* set the clock source to active */
- sr32(OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
+ sr32((void*)OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
/* enable clocks */
- sr32(OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
+ sr32((void*)OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
do_set_mux(CONTROL_PADCONF_CORE, core_padconf_array_non_essential,
sizeof(core_padconf_array_non_essential) /
Index: u-boot-linaro-20111213/board/ti/panda/ehci-panda.c
===================================================================
--- u-boot-linaro-20111213.orig/board/ti/panda/ehci-panda.c
+++ u-boot-linaro-20111213/board/ti/panda/ehci-panda.c
@@ -56,4 +56,5 @@ int ehci_hcd_stop(void)
gpio_set_value(GPIO_HUB_NRESET, 0);
gpio_free(GPIO_HUB_POWER);
gpio_free(GPIO_HUB_NRESET);
+ return 0;
}
Index: u-boot-linaro-20111213/drivers/mmc/omap_hsmmc.c
===================================================================
--- u-boot-linaro-20111213.orig/drivers/mmc/omap_hsmmc.c
+++ u-boot-linaro-20111213/drivers/mmc/omap_hsmmc.c
@@ -53,6 +53,7 @@ unsigned char omap4_vmmc_pbias_config(st
value = readl(CONTROL_PBIASLITE);
value |= (1 << 21) | (1 << 22) | (1 << 26);
writel(value, CONTROL_PBIASLITE);
+ return 0;
}
#endif
++++++ u-boot.spec.in ++++++
#
# spec file for package u-boot-BOARDNAME
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco
#
# 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 x_loader XLOADER
Name: u-boot-BOARDNAME
Version: 20111213
Release: 0
Summary: The u-boot firmware for the BOARDNAME arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: u-boot-linaro-%{version}.tar.bz2
Source1: openSUSE_panda.txt
# helper stuff to produce pieces of the spec file
Source200: u-boot.spec.in
Source201: gen_spec.sh
# rpmlintrc file
Source300: rpmlintrc
Patch1: u-boot-omap4-lint-fix.patch
Patch2: u-boot-omap-ttyO2.patch
Patch5: 0006-ARMV7-hardfp-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %x_loader == 1
Obsoletes: x-loader-BOARDNAME
Provides: x-loader-BOARDNAME
%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.
This package contains the firmware for the BOARDNAME arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: System/Boot
%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-linaro-%{version}
# Any custom patches to be applied on top of mainline u-boot
%patch1 -p1
%patch2 -p1
%patch5 -p1
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/boot/u-boot.bin
%if %x_loader == 1
/boot/MLO
%endif
%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
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org