I have made the following changes intended for :
  CE:Adaptation:PandaBoard / tofrodos
  CE:Adaptation:PandaBoard / pvr-omap4
  CE:Adaptation:PandaBoard / pvr-omap4-kernel
  CE:Adaptation:PandaBoard / kernel-adaptation-pandaboard
  CE:Adaptation:PandaBoard / u-boot-omap4panda
  CE:Adaptation:PandaBoard / x-loader-omap4panda

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/3155

Thank You,
bossbot ([email protected])

[This message was auto-generated]

---

Request # 3155:

Messages from BOSS:
     INFO check_package_built_at_source (pvr-omap4): Build status is 'excluded' 
for CE_Adaptation_PandaBoard_armv7hl/armv8el (against 
CE:Adaptation:PandaBoard/Mer_Core_armv7hl/armv8el).
     Could not notify CE-maintainers (no address found)

State:   review          2011-11-19T12:14:58 bossbot

Reviews:
     accepted by bossbot : Prechecks completed; none failed.
     new by   None

Changes:
  submit: home:sage:Mer:Adaptation:pandaboard / tofrodos -> 
CE:Adaptation:PandaBoard / tofrodos
  
changes files:
--------------

++++++ new changes file:
--- tofrodos.changes
+++ tofrodos.changes
@@ -0,0 +1,6 @@
+* Fri Nov 18 2011 Marko Saukko <[email protected]> - 1.7.9
+- Updated to 1.7.9
+- Added .yaml for spectacle
+
+* Fri Aug 05 2011 Joe Konno <[email protected]> - 1.7.8
+- Repackaged for MeeGo

new:
----
  tofrodos-1.7.9.tar.gz
  tofrodos.changes
  tofrodos.spec
  tofrodos.yaml

spec files:
-----------

++++++ new spec file:
--- tofrodos.spec
+++ tofrodos.spec
@@ -0,0 +1,72 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+# << macros
+
+Name:       tofrodos
+Summary:    DOS/UNIX text file conversion tool
+Version:    1.7.9
+Release:    1
+Group:      Applications/Text
+License:    GPLv2
+URL:        http://www.thefreecountry.com/tofrodos/
+Source0:    http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz
+Source100:  tofrodos.yaml
+
+
+%description
+DOS text files traditionally have CR/LF (carriage return/line feed)
+pairs as their new line delimiters while Unix text files traditionally
+have LFs (line feeds) to terminate each line.
+
+tofrodos comprises two programs, "fromdos" and "todos", which convert
+text files to and from these formats. Use "fromdos" to convert DOS
+text files to the Unix format, and "todos" to convert Unix text files
+to the DOS format.
+
+
+
+
+%prep
+%setup -q -n %{name}/src
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+make
+# << build pre
+
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+# >> install post
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -m 0755 fromdos $RPM_BUILD_ROOT%{_bindir}
+install -m 0644 fromdos.1 $RPM_BUILD_ROOT%{_mandir}/man1
+ln -sf fromdos $RPM_BUILD_ROOT%{_bindir}/todos
+# << install post
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%{_bindir}/fromdos
+%{_bindir}/todos
+%{_mandir}/man1/fromdos.1*
+# << files
+
+

other changes:
--------------

++++++ tofrodos-1.7.9.tar.gz (new)

++++++ tofrodos.yaml (new)
--- tofrodos.yaml
+++ tofrodos.yaml
@@ -0,0 +1,21 @@
+Name: tofrodos
+Summary: DOS/UNIX text file conversion tool
+Version: 1.7.9
+Release: 1
+Group: Applications/Text
+License: GPLv2
+URL: http://www.thefreecountry.com/tofrodos/
+Sources:
+    - http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz
+Description: |
+    DOS text files traditionally have CR/LF (carriage return/line feed)
+    pairs as their new line delimiters while Unix text files traditionally
+    have LFs (line feeds) to terminate each line.
+    
+    tofrodos comprises two programs, "fromdos" and "todos", which convert
+    text files to and from these formats. Use "fromdos" to convert DOS
+    text files to the Unix format, and "todos" to convert Unix text files
+    to the DOS format.
+
+Configure: none
+Builder: none

  submit: home:sage:Mer:Adaptation:pandaboard / pvr-omap4 -> 
CE:Adaptation:PandaBoard / pvr-omap4
  
changes files:
--------------

++++++ new changes file:
--- pvr-omap4.changes
+++ pvr-omap4.changes
@@ -0,0 +1,2 @@
+* Thu Nov 03 2011 Marko Saukko <[email protected]> - 1.7.9.0.1.5
+- Initial packaging based on linaro packages.

new:
----
  pvr-omap4-bf15ed7.tar.gz
  pvr-omap4.changes
  pvr-omap4.spec
  pvr-omap4.yaml

spec files:
-----------

++++++ new spec file:
--- pvr-omap4.spec
+++ pvr-omap4.spec
@@ -0,0 +1,254 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+# << macros
+
+Name:       pvr-omap4
+Summary:    PowerVR SGX540 libraries for OMAP4.
+Version:    1.7.9.0.1.5
+Release:    0
+Group:      Graphics/Display and Graphics Adaptation
+License:    TI Proprietary
+ExclusiveArch:  armv7l armv7el
+URL:        http://git.linaro.org/gitweb?p=people/rsalveti/pvr-omap4.git
+Source0:    pvr-omap4-bf15ed7.tar.gz
+Source100:  pvr-omap4.yaml
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+
+%description
+PowerVR SGX540 Linux libraries for OMAP4.
+This package contains the remaining binaries and common libraries.
+
+
+
+%package devel
+Summary:    PowerVR SGX540 support development files
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+This package provides common development files for PowerVR SGX.
+
+
+%package libEGL
+Summary:    EGL for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Provides:   libEGL = %{version}-%{release}
+Provides:   libEGL.so.1
+
+%description libEGL
+This package..
+
+
+%package libEGL-devel
+Summary:    EGL development headers for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   %{name}-libEGL = %{version}-%{release}
+Requires:   %{name}-devel = %{version}-%{release}
+Provides:   libEGL-devel
+
+%description libEGL-devel
+This package..
+
+
+%package libGLESv1
+Summary:    GLESv1 for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Provides:   libGLESv1 = %{version}-%{release}
+Provides:   libGLES_CM.so.1
+
+%description libGLESv1
+This package..
+
+
+%package libGLESv1-devel
+Summary:    GLESv1 development headers for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   %{name}-libGLESv1 = %{version}-%{release}
+Requires:   %{name}-devel = %{version}-%{release}
+Provides:   libGLESv1-devel
+
+%description libGLESv1-devel
+This package..
+
+
+%package libGLESv2
+Summary:    GLESv2 for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Provides:   libGLESv2 = %{version}-%{release}
+Provides:   libGLESv2.so.2
+
+%description libGLESv2
+This package..
+
+
+%package libGLESv2-devel
+Summary:    GLESv2 development headers for SGX
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   %{name}-libGLESv2 = %{version}-%{release}
+Requires:   %{name}-devel = %{version}-%{release}
+Provides:   libGLESv2-devel
+
+%description libGLESv2-devel
+This package..
+
+
+
+%prep
+%setup -q -n pvr-omap4-bf15ed7
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+install -d %{buildroot}/
+cp -arv usr/ %{buildroot}/
+chmod 755 %{buildroot}/%{_libdir}/*.so.1.*
+# << install pre
+
+# >> install post
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+
+%post libEGL -p /sbin/ldconfig
+
+%postun libEGL -p /sbin/ldconfig
+
+
+
+
+
+%post libGLESv1 -p /sbin/ldconfig
+
+%postun libGLESv1 -p /sbin/ldconfig
+
+
+
+
+
+%post libGLESv2 -p /sbin/ldconfig
+
+%postun libGLESv2 -p /sbin/ldconfig
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc license.txt
+%{_libdir}/libIMGegl*.so
+%{_libdir}/libglslcompiler*.so
+%{_libdir}/libpvr2d*.so
+%{_libdir}/libsrv_um.so*
+%{_libdir}/libPVRScopeServices*
+#%{_libdir}/libTIPVR2DBLT.so*
+%{_libdir}/libpvrPVR2D_DRIWSEGL.so*
+%{_libdir}/libglslcompiler.so.*
+%{_libdir}/libpvr2d.so.*
+%{_libdir}/libsrv_init.so*
+%{_libdir}/libusc.so*
+# Should be in it's own package.
+%{_bindir}/xovg_unit_test
+%{_libdir}/libOpenVG*.so*
+# Xorg stuff
+%{_libdir}/xorg/modules/drivers/pvr_drv.so
+%{_datadir}/X11/xorg.conf.d/99-pvr.conf
+%{_datadir}/sgx-lib
+%{_datadir}/doc
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%doc license.txt
+#%{_libdir}/pkgconfig/*.pc
+%{_includedir}/VG/openvg.h
+%{_includedir}/VG/vgu.h
+# << files devel
+
+%files libEGL
+%defattr(-,root,root,-)
+# >> files libEGL
+%doc license.txt
+%{_bindir}/xeglinfo
+%{_bindir}/xmultiegltest
+%{_libdir}/libEGL.so*
+%{_libdir}/libIMGegl.so.*
+# << files libEGL
+
+%files libEGL-devel
+%defattr(-,root,root,-)
+# >> files libEGL-devel
+%doc license.txt
+%{_includedir}/KHR/*.h
+%{_includedir}/EGL/*.h
+# << files libEGL-devel
+
+%files libGLESv1
+%defattr(-,root,root,-)
+# >> files libGLESv1
+%doc license.txt
+%{_bindir}/xgles1test1
+%{_libdir}/libGLESv1_CM.so*
+# << files libGLESv1
+
+%files libGLESv1-devel
+%defattr(-,root,root,-)
+# >> files libGLESv1-devel
+%doc license.txt
+%{_includedir}/GLES/*.h
+# << files libGLESv1-devel
+
+%files libGLESv2
+%defattr(-,root,root,-)
+# >> files libGLESv2
+%doc license.txt
+%{_bindir}/xgles2test1
+%{_libdir}/libGLESv2.so*
+# << files libGLESv2
+
+%files libGLESv2-devel
+%defattr(-,root,root,-)
+# >> files libGLESv2-devel
+%doc license.txt
+%{_includedir}/GLES2/*.h
+# << files libGLESv2-devel
+

other changes:
--------------

++++++ pvr-omap4-bf15ed7.tar.gz (new)

++++++ pvr-omap4.yaml (new)
--- pvr-omap4.yaml
+++ pvr-omap4.yaml
@@ -0,0 +1,84 @@
+Name: pvr-omap4
+Summary: PowerVR SGX540 libraries for OMAP4.
+Version: 1.7.9.0.1.5
+Release: 0
+Group: Graphics/Display and Graphics Adaptation
+License: TI Proprietary
+URL: http://git.linaro.org/gitweb?p=people/rsalveti/pvr-omap4.git
+Sources:
+    - pvr-omap4-bf15ed7.tar.gz
+
+Description: |
+  PowerVR SGX540 Linux libraries for OMAP4.
+  This package contains the remaining binaries and common libraries.
+
+SetupOptions: -q -n pvr-omap4-bf15ed7
+Configure: none
+Builder: none
+ExclusiveArch: "armv7l armv7el"
+SubPackages:
+    - Name: devel
+      Summary: PowerVR SGX540 support development files
+      Group: Development/Libraries
+      Description: |
+          This package provides common development files for PowerVR SGX.
+
+    - Name: libEGL
+      Summary: EGL for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Provides:
+           - libEGL = %{version}-%{release}
+           - libEGL.so.1
+
+    - Name: libEGL-devel
+      Summary: EGL development headers for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Requires:
+           - "%{name}-libEGL = %{version}-%{release}"
+           - "%{name}-devel = %{version}-%{release}"
+      Provides:
+           - libEGL-devel
+
+    - Name: libGLESv1
+      Summary: GLESv1 for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Provides:
+           - libGLESv1 = %{version}-%{release}
+           - libGLES_CM.so.1
+
+    - Name: libGLESv1-devel
+      Summary: GLESv1 development headers for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Requires:
+           - "%{name}-libGLESv1 = %{version}-%{release}"
+           - "%{name}-devel = %{version}-%{release}"
+      Provides:
+           - libGLESv1-devel
+
+    - Name: libGLESv2
+      Summary: GLESv2 for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Provides:
+           - libGLESv2 = %{version}-%{release}
+           - libGLESv2.so.2
+
+    - Name: libGLESv2-devel
+      Summary: GLESv2 development headers for SGX
+      Group: Development/Libraries
+      Description: | 
+           This package..
+      Requires:
+           - "%{name}-libGLESv2 = %{version}-%{release}"
+           - "%{name}-devel = %{version}-%{release}"
+      Provides:
+           - libGLESv2-devel

  submit: home:sage:Mer:Adaptation:pandaboard / pvr-omap4-kernel -> 
CE:Adaptation:PandaBoard / pvr-omap4-kernel
  
changes files:
--------------

++++++ new changes file:
--- pvr-omap4-kernel.changes
+++ pvr-omap4-kernel.changes
@@ -0,0 +1,5 @@
+* Thu Nov 17 2011 Marko Saukko <[email protected]> - 1.7.9.0.1.3
+- Added depmod call to post.
+
+* Mon Nov 07 2011 Marko Saukko <[email protected]> - 1.7.9.0.1.3
+- Initial packaging.

new:
----
  pvr-omap4-kernel-042d707.tar.gz
  pvr-omap4-kernel.changes
  pvr-omap4-kernel.spec
  pvr-omap4-kernel.yaml

spec files:
-----------

++++++ new spec file:
--- pvr-omap4-kernel.spec
+++ pvr-omap4-kernel.spec
@@ -0,0 +1,81 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+#%define kernel_version %{expand:%(rpm -q --qf '[%%{version}]' 
kernel-adaptation-pandaboard)}
+%define kernel_version 3.1.0-rc10
+#-%%{release}
+# << macros
+
+Name:       pvr-omap4-kernel
+Summary:    Kernel driver for OMAP4 PVR.
+Version:    1.7.9.0.1.3
+Release:    1
+Group:      Kernel
+License:    GPLv2
+URL:        http://git.linaro.org/gitweb?p=people/rsalveti/pvr-omap4-kernel.git
+Source0:    pvr-omap4-kernel-042d707.tar.gz
+Source100:  pvr-omap4-kernel.yaml
+Requires:   /sbin/depmod
+Requires:   kernel-adaptation-pandaboard
+BuildRequires:  tofrodos
+BuildRequires:  kernel-adaptation-pandaboard-devel
+
+
+%description
+OMAP4 PVR driver.
+
+
+
+%prep
+%setup -q -n %{name}-042d707
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+cd sgx
+chmod 644 COPYING INSTALL README
+cd eurasiacon/build/linux2/omap4430_linux/
+make clean
+make clobber
+make V=1 W=1 KERNELDIR="%{_prefix}/src/kernels/3.1.0-rc10/" %{?jobs:-j%jobs}
+# << build pre
+
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+mkdir -p %{buildroot}/lib/modules/%{kernel_version}/kernel/
+cp sgx/eurasiacon/binary2_omap4430_linux_release/target/omapdrm_pvr.ko 
%{buildroot}/lib/modules/%{kernel_version}/kernel/
+# << install pre
+
+# >> install post
+# << install post
+
+
+
+%post
+# >> post
+/sbin/depmod -a -F /boot/System.map-%{kernel_version} %{kernel_version}
+# << post
+
+%postun
+# >> postun
+/sbin/depmod -a -F /boot/System.map-%{kernel_version} %{kernel_version}
+# << postun
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc sgx/COPYING
+/lib/modules/%{kernel_version}/kernel/omapdrm_pvr.ko
+# << files
+
+

other changes:
--------------

++++++ pvr-omap4-kernel-042d707.tar.gz (new)

++++++ pvr-omap4-kernel.yaml (new)
--- pvr-omap4-kernel.yaml
+++ pvr-omap4-kernel.yaml
@@ -0,0 +1,19 @@
+Name: pvr-omap4-kernel
+Summary: Kernel driver for OMAP4 PVR.
+Description: OMAP4 PVR driver.
+Version: 1.7.9.0.1.3
+Release: 1
+URL: http://git.linaro.org/gitweb?p=people/rsalveti/pvr-omap4-kernel.git
+Group: Kernel
+License: GPLv2
+Configure: none
+Builder: none
+PkgBR:
+#    - dos2unix
+    - tofrodos
+    - kernel-adaptation-pandaboard-devel
+Requires:
+    - /sbin/depmod
+    - kernel-adaptation-pandaboard
+Sources:
+    - "pvr-omap4-kernel-042d707.tar.gz"

  submit: home:sage:Mer:Adaptation:pandaboard / kernel-adaptation-pandaboard -> 
CE:Adaptation:PandaBoard / kernel-adaptation-pandaboard
  
changes files:
--------------

++++++ new changes file:
--- kernel-adaptation-pandaboard.changes
+++ kernel-adaptation-pandaboard.changes
@@ -0,0 +1,2 @@
+* Mon Oct 31 2011 Marko Saukko <[email protected]> - 3.1.0~rc10
+- Initial kernel packaging.

new:
----
  kernel-adaptation-pandaboard.changes
  kernel-adaptation-pandaboard.config
  kernel-adaptation-pandaboard.spec
  kernel-adaptation-pandaboard.yaml
  kernel-b24ce0d.tar.gz

spec files:
-----------

++++++ new spec file:
--- kernel-adaptation-pandaboard.spec
+++ kernel-adaptation-pandaboard.spec
@@ -0,0 +1,155 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+%define kernel_version 3.1.0-rc10
+%define kernel_devel_dir %{_prefix}/src/kernels/%{kernel_version}
+# << macros
+
+Name:       kernel-adaptation-pandaboard
+Summary:    Kernel Adaptation Pandaboard
+Version:    3.1.0~rc10
+Release:    1
+Group:      Kernel
+License:    GPLv2
+ExclusiveArch:  %{arm}
+URL:        
http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=shortlog;h=refs/heads/tilt-linux-linaro-3.1
+Source0:    kernel-b24ce0d.tar.gz
+Source1:    %{name}.config
+Source100:  kernel-adaptation-pandaboard.yaml
+BuildRequires:  u-boot-omap4panda-tools
+Provides:   kernel = %{kernel_version}
+
+
+%description
+Kernel for Pandaboard.
+
+
+%package devel
+Summary:    Devel files for pandaboard kernel
+Group:      Development/System
+Requires:   %{name} = %{version}-%{release}
+Provides:   kernel-devel = %{kernel_version}
+
+%description devel
+Devel for pandaboard kernel
+
+
+
+%prep
+%setup -q -n kernel-b24ce0d
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+cp %{SOURCE1} ./.config
+#make oldconfig
+make %{?jobs:-j%jobs} uImage
+make %{?jobs:-j%jobs} modules
+#make %{?jobs:-j%jobs} prepare
+# << build pre
+
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+
+# Modules
+make INSTALL_MOD_PATH=%{buildroot} modules_install
+mkdir -p %{buildroot}/boot/
+make INSTALL_PATH=%{buildroot}/boot/ install
+install -m 755 arch/arm/boot/uImage %{buildroot}/boot/
+mkdir -p %{buildroot}/lib/modules/%{kernel_version}/
+touch %{buildroot}/lib/modules/%{kernel_version}/modules.dep
+
+# Config
+cp .config %{buildroot}/boot/config-%{kernel_version}
+
+# And save the headers/makefiles etc for building modules against
+#
+# This all looks scary, but the end result is supposed to be:
+# * all arch relevant include/ files
+# * all Makefile/Kconfig files
+# * all script/ files
+
+#rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
+mkdir -p %{buildroot}/%{kernel_devel_dir}
+#(cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
+# dirs for additional modules per module-init-tools, kbuild/modules.txt
+# first copy everything
+cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` 
%{buildroot}/%{kernel_devel_dir}
+cp Module.symvers %{buildroot}/%{kernel_devel_dir}
+cp System.map %{buildroot}/%{kernel_devel_dir}
+if [ -s Module.markers ]; then
+cp Module.markers %{buildroot}/%{kernel_devel_dir}
+fi
+# then drop all but the needed Makefiles/Kconfig files
+rm -rf %{buildroot}/%{kernel_devel_dir}/Documentation
+rm -rf %{buildroot}/%{kernel_devel_dir}/scripts
+rm -rf %{buildroot}/%{kernel_devel_dir}/include
+cp .config %{buildroot}/%{kernel_devel_dir}
+cp -a scripts %{buildroot}/%{kernel_devel_dir}
+if [ -d arch/%{_arch}/scripts ]; then
+cp -a arch/%{_arch}/scripts %{buildroot}/%{kernel_devel_dir}/arch/%{_arch} || :
+fi
+if [ -f arch/%{_arch}/*lds ]; then
+cp -a arch/%{_arch}/*lds %{buildroot}/%{kernel_devel_dir}/arch/%{_arch}/ || :
+fi
+rm -f %{buildroot}/%{kernel_devel_dir}/scripts/*.o
+rm -f %{buildroot}/%{kernel_devel_dir}/scripts/*/*.o
+cp -a --parents arch/arm/include %{buildroot}/%{kernel_devel_dir}
+cp -a --parents arch/arm/mach-*/include %{buildroot}/%{kernel_devel_dir}
+cp -a --parents arch/arm/plat-*/include %{buildroot}/%{kernel_devel_dir}
+mkdir -p %{buildroot}/%{kernel_devel_dir}/include
+cd include
+cp -a acpi asm-generic config crypto drm generated keys linux math-emu media 
mtd net pcmcia rdma rxrpc scsi sound video trace 
%{buildroot}/%{kernel_devel_dir}/include
+
+# Make sure the Makefile and version.h have a matching timestamp so that
+# external modules can be built
+touch -r %{buildroot}/%{kernel_devel_dir}/Makefile 
%{buildroot}/%{kernel_devel_dir}/include/linux/version.h
+touch -r %{buildroot}/%{kernel_devel_dir}/.config 
%{buildroot}/%{kernel_devel_dir}/include/linux/autoconf.h
+# Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
+cp %{buildroot}/%{kernel_devel_dir}/.config 
%{buildroot}/%{kernel_devel_dir}/include/config/auto.conf
+cd ..
+
+# HACKS
+#sudo sed -i 's/-Werror-implicit-function-declaration//g' 
%{buildroot}/%{kernel_devel_dir}/Makefile
+
+
+# << install pre
+
+# >> install post
+# << install post
+
+
+
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+/lib/modules/%{kernel_version}/*
+/boot/System.map-%{kernel_version}
+/boot/vmlinux-%{kernel_version}
+/boot/uImage
+/boot/config-%{kernel_version}
+# >> files
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+/%{_prefix}/src/kernels/%{kernel_version}/*
+/%{_prefix}/src/kernels/%{kernel_version}/.config
+# >> files devel
+# << files devel
+

other changes:
--------------

++++++ kernel-adaptation-pandaboard.config (new)
--- kernel-adaptation-pandaboard.config
+++ kernel-adaptation-pandaboard.config
@@ -0,0 +1,2873 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# Linux/arm 3.1.0-rc10 Kernel Configuration
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_HAVE_SCHED_CLOCK=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
+CONFIG_KTIME_SCALAR=y
+CONFIG_HAVE_PROC_CPU=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_GENERIC_LOCKBREAK=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+CONFIG_ARCH_HAS_CPUFREQ=y
+CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_NEED_DMA_MAP_STATE=y
+CONFIG_VECTORS_BASE=0xffff0000
+# CONFIG_ARM_PATCH_PHYS_VIRT is not set
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+CONFIG_HAVE_IRQ_WORK=y
+CONFIG_IRQ_WORK=y
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_CROSS_COMPILE=""
+CONFIG_LOCALVERSION=""
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_HAVE_KERNEL_GZIP=y
+CONFIG_HAVE_KERNEL_LZMA=y
+CONFIG_HAVE_KERNEL_LZO=y
+CONFIG_KERNEL_GZIP=y
+# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_LZO is not set
+CONFIG_DEFAULT_HOSTNAME="(none)"
+CONFIG_SWAP=y
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_POSIX_MQUEUE_SYSCTL=y
+CONFIG_BSD_PROCESS_ACCT=y
+# CONFIG_BSD_PROCESS_ACCT_V3 is not set
+# CONFIG_FHANDLE is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+CONFIG_HAVE_GENERIC_HARDIRQS=y
+
+#
+# IRQ subsystem
+#
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_HAVE_SPARSE_IRQ=y
+CONFIG_GENERIC_IRQ_SHOW=y
+CONFIG_GENERIC_IRQ_CHIP=y
+CONFIG_IRQ_DOMAIN=y
+# CONFIG_SPARSE_IRQ is not set
+
+#
+# RCU Subsystem
+#
+CONFIG_TREE_PREEMPT_RCU=y
+CONFIG_PREEMPT_RCU=y
+# CONFIG_RCU_TRACE is not set
+CONFIG_RCU_FANOUT=32
+# CONFIG_RCU_FANOUT_EXACT is not set
+# CONFIG_TREE_RCU_TRACE is not set
+# CONFIG_RCU_BOOST is not set
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=16
+CONFIG_CGROUPS=y
+# CONFIG_CGROUP_DEBUG is not set
+CONFIG_CGROUP_FREEZER=y
+CONFIG_CGROUP_DEVICE=y
+# CONFIG_CPUSETS is not set
+CONFIG_CGROUP_CPUACCT=y
+# CONFIG_RESOURCE_COUNTERS is not set
+# CONFIG_CGROUP_PERF is not set
+CONFIG_CGROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+# CONFIG_RT_GROUP_SCHED is not set
+# CONFIG_BLK_CGROUP is not set
+CONFIG_NAMESPACES=y
+CONFIG_UTS_NS=y
+CONFIG_IPC_NS=y
+CONFIG_USER_NS=y
+CONFIG_PID_NS=y
+CONFIG_NET_NS=y
+# CONFIG_SCHED_AUTOGROUP is not set
+# CONFIG_SYSFS_DEPRECATED is not set
+# CONFIG_RELAY is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_RD_GZIP=y
+CONFIG_RD_BZIP2=y
+CONFIG_RD_LZMA=y
+CONFIG_RD_XZ=y
+CONFIG_RD_LZO=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_SYSCTL=y
+CONFIG_ANON_INODES=y
+CONFIG_EXPERT=y
+CONFIG_UID16=y
+# CONFIG_SYSCTL_SYSCALL is not set
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+# CONFIG_EMBEDDED is not set
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_PERF_USE_VMALLOC=y
+
+#
+# Kernel Performance Events And Counters
+#
+CONFIG_PERF_EVENTS=y
+CONFIG_PERF_COUNTERS=y
+# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_COMPAT_BRK=y
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+CONFIG_PROFILING=y
+CONFIG_TRACEPOINTS=y
+CONFIG_OPROFILE=y
+CONFIG_HAVE_OPROFILE=y
+CONFIG_KPROBES=y
+CONFIG_KRETPROBES=y
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_USE_GENERIC_SMP_HELPERS=y
+CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_DMA_API_DEBUG=y
+CONFIG_HAVE_HW_BREAKPOINT=y
+
+#
+# GCOV-based kernel profiling
+#
+# CONFIG_GCOV_KERNEL is not set
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+CONFIG_MODULE_FORCE_LOAD=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+CONFIG_STOP_MACHINE=y
+CONFIG_BLOCK=y
+CONFIG_LBDAF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_BSGLIB is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+# CONFIG_INLINE_SPIN_TRYLOCK is not set
+# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
+# CONFIG_INLINE_SPIN_LOCK is not set
+# CONFIG_INLINE_SPIN_LOCK_BH is not set
+# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
+# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
+# CONFIG_INLINE_SPIN_UNLOCK is not set
+# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
+# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
+# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
(2674 more lines skipped)

++++++ kernel-adaptation-pandaboard.yaml (new)
--- kernel-adaptation-pandaboard.yaml
+++ kernel-adaptation-pandaboard.yaml
@@ -0,0 +1,45 @@
+Name: kernel-adaptation-pandaboard
+Summary: Kernel Adaptation Pandaboard
+Description: Kernel for Pandaboard.
+Version: 3.1.0~rc10
+Release: 1
+Group: Kernel
+License: GPLv2
+Configure: none
+Builder: none
+URL: 
http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=shortlog;h=refs/heads/tilt-linux-linaro-3.1
+ExclusiveArch: "%{arm}"
+PkgBR:
+    - "u-boot-omap4panda-tools"
+Sources:
+    - kernel-b24ce0d.tar.gz
+    #- "linux-3.1.tar.bz2"
+    - "%{name}.config"
+Provides:
+    - "kernel = %{kernel_version}"
+
+#SetupOptions: -q -n linux-3.1
+SetupOptions: -q -n kernel-b24ce0d
+#Patches:
+#    - 0001a-omap4-pandaboard-wlan-fix.patch
+#    - 0003-omap4-pandaboard-dvi720p.patch
+#    - 0006-omap4-usb-improvement.patch
+#    - Omap44xx-i2c-fix.patch
+Files:
+    - "/lib/modules/%{kernel_version}/*"
+    - "/boot/System.map-%{kernel_version}"
+    - "/boot/vmlinux-%{kernel_version}"
+    - "/boot/uImage"
+    - "/boot/config-%{kernel_version}"
+
+SubPackages:
+    - Name: devel
+      Summary: Devel files for pandaboard kernel
+      Group: Development/System
+      Description: |
+          Devel for pandaboard kernel
+      Provides:
+          - "kernel-devel = %{kernel_version}"
+      Files:
+          - "/%{_prefix}/src/kernels/%{kernel_version}/*"
+          - "/%{_prefix}/src/kernels/%{kernel_version}/.config"

++++++ kernel-b24ce0d.tar.gz (new)

  submit: home:sage:Mer:Adaptation:pandaboard / u-boot-omap4panda -> 
CE:Adaptation:PandaBoard / u-boot-omap4panda
  
changes files:
--------------

++++++ new changes file:
--- u-boot-omap4panda.changes
+++ u-boot-omap4panda.changes
@@ -0,0 +1,19 @@
+* Fri Nov 18 2011 Marko Saukko <[email protected]> - 2011.06
+- Update to version 2011.09
+
+* Tue Oct 10 2010 Nishanth Menon <[email protected]> - 2010.09-MeeGo
+- Add Das u-boot package - FEA#9723
+
+* Tue Oct 10 2010 Nishanth Menon <[email protected]> - 2010.09.rc1-MeeGo
+- Added option to enable boot.scr generation and copy
+
+* Mon Oct 4 2010 Nishanth Menon <[email protected]> - 2010.09.rc1-MeeGo
+- Update to 2010.09
+
+* Wed Sep 14 2010 Nishanth Menon <[email protected]> - 2010.09.rc1-MeeGo
+- Update to 2010.09.rc1
+- MeeGo customization
+- Enabled PandaBoard, Beagleboard build
+
+* Wed Mar 31 2010 Silvan Calarco <[email protected]> - 
2009.11.1-1mamba
+- update to 2009.11.1

new:
----
  meego_panda.scr
  u-boot-2011.06.tar.bz2
  u-boot-omap4panda.changes
  u-boot-omap4panda.spec
  u-boot-omap4panda.yaml

spec files:
-----------

++++++ new spec file:
--- u-boot-omap4panda.spec
+++ u-boot-omap4panda.spec
@@ -0,0 +1,121 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+# << macros
+
+Name:       u-boot-omap4panda
+Summary:    The u-boot firmware for the omap4_panda ARM platform
+Version:    2011.06
+Release:    1
+Group:      System/Boot
+License:    GPL
+ExclusiveArch:  %{arm}
+URL:        http://www.denx.de/wiki/U-Boot
+Source0:    ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
+Source1:    meego_panda.scr
+Source100:  u-boot-omap4panda.yaml
+
+
+%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.
+
+
+
+%package doc
+Summary:    Documentation for the u-boot Firmware
+Group:      System/Boot Documentation
+Requires:   %{name} = %{version}-%{release}
+
+%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
+
+
+%package tools
+Summary:    Tools for the u-boot Firmware
+Group:      System/Boot
+Requires:   %{name} = %{version}-%{release}
+
+%description tools
+Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
+This package contains:
+mkimage- a tool that creates kernel bootable images for u-boot.
+
+
+
+%prep
+%setup -q -n u-boot-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+
+# >> build post
+make omap4_panda_config
+make all
+make env
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+# >> install post
+install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
+install -D -m 0644 doc/mkimage.1 %{buildroot}%{_mandir}/man1/mkimage.1
+gzip %{buildroot}%{_mandir}/man1/*
+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
+# << install post
+
+
+
+
+
+
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+/boot/u-boot.bin
+/boot/u-boot.map
+/boot/boot.scr
+# << files
+
+
+%files doc
+%defattr(-,root,root,-)
+# >> files doc
+# Generic documents
+%doc COPYING CREDITS README 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
+# << files doc
+
+%files tools
+%defattr(-,root,root,-)
+# >> files tools
+%{_bindir}/mkimage
+%{_mandir}/man1/mkimage.1.gz
+# << files tools
+

other changes:
--------------

++++++ meego_panda.scr (new)
Binary files meego_panda.scr added

++++++ u-boot-2011.06.tar.bz2 (new)

++++++ u-boot-omap4panda.yaml (new)
--- u-boot-omap4panda.yaml
+++ u-boot-omap4panda.yaml
@@ -0,0 +1,33 @@
+Name: u-boot-omap4panda
+Summary: The u-boot firmware for the omap4_panda ARM platform
+Version: 2011.06
+Release: 1
+Group: System/Boot
+License: GPL
+URL: http://www.denx.de/wiki/U-Boot
+Sources:
+    - ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
+    - meego_panda.scr
+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.
+
+Configure: none
+Builder: none
+ExclusiveArch: "%{arm}"
+SubPackages:
+    - Name: doc
+      Summary: Documentation for the u-boot Firmware
+      Group: System/Boot Documentation
+      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 documentation for u-boot firmware
+
+    - Name: tools
+      Summary: Tools for the u-boot Firmware
+      Group: System/Boot
+      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:
+          mkimage- a tool that creates kernel bootable images for u-boot.
+

  submit: home:sage:Mer:Adaptation:pandaboard / x-loader-omap4panda -> 
CE:Adaptation:PandaBoard / x-loader-omap4panda
  
changes files:
--------------

++++++ new changes file:
--- x-loader-omap4panda.changes
+++ x-loader-omap4panda.changes
@@ -0,0 +1,3 @@
+* Mon Nov 18 2011 Marko Saukko <[email protected]> - 1.5.1
+- Initial packaging for Mer/Nemo
+- Remade the whole packaging

new:
----
  0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
  0002-Fix-warning-in-lib-board.c.patch
  0003-Fix-warning-in-include-asm-arch-i2c.h.patch
  0004-Fix-warning-in-cpu-omap3-mmc.c.patch
  x-loader-1.5.1-compile.patch
  x-loader-1.5.1-eabi-compat.patch
  x-loader-1.5.1-enable-debug.patch
  x-loader-1.5.1.tar.bz2
  x-loader-omap4panda.changes
  x-loader-omap4panda.spec
  x-loader-omap4panda.yaml

spec files:
-----------

++++++ new spec file:
--- x-loader-omap4panda.spec
+++ x-loader-omap4panda.spec
@@ -0,0 +1,108 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.23
+# 
+# >> macros
+# << macros
+
+Name:       x-loader-omap4panda
+Summary:    The x-loader firmware for the %{TARGET_BOARD} %{TARGET_CPU} 
platform
+Version:    1.5.1
+Release:    1
+Group:      System/Boot
+License:    GPL
+ExclusiveArch:  %{arm}
+URL:        http://gitorious.org/x-loader/x-loader
+Source0:    x-loader-%{version}.tar.bz2
+Source100:  x-loader-omap4panda.yaml
+Patch0:     0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
+Patch1:     0002-Fix-warning-in-lib-board.c.patch
+Patch2:     0003-Fix-warning-in-include-asm-arch-i2c.h.patch
+Patch3:     0004-Fix-warning-in-cpu-omap3-mmc.c.patch
+Patch4:     x-loader-1.5.1-compile.patch
+Patch5:     x-loader-1.5.1-eabi-compat.patch
+Patch6:     x-loader-1.5.1-enable-debug.patch
+
+
+%description
+X-Loader is 2nd stage loader loaded by OMAP BootRom to start 3rd stage tool 
like
+U-Boot.
+This package contains the firmware for the %{TARGET_BOARD} %{TARGET_CPU} 
platform.
+
+
+
+%package doc
+Summary:    Documentation for the x-loader Firmware
+Group:      System/Boot Documentation
+Requires:   %{name} = %{version}-%{release}
+
+%description doc
+X-Loader is 2nd stage loader loaded by OMAP BootRom to start 3rd stage tool 
like
+U-Boot.
+This package contains documentation for x-loader firmware
+
+
+
+%prep
+%setup -q -n x-loader-%{version}
+
+# 0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
+%patch0 -p1
+# 0002-Fix-warning-in-lib-board.c.patch
+%patch1 -p1
+# 0003-Fix-warning-in-include-asm-arch-i2c.h.patch
+%patch2 -p1
+# 0004-Fix-warning-in-cpu-omap3-mmc.c.patch
+%patch3 -p1
+# x-loader-1.5.1-compile.patch
+%patch4 -p1
+# x-loader-1.5.1-eabi-compat.patch
+%patch5 -p1
+# x-loader-1.5.1-enable-debug.patch
+%patch6 -p1
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+
+# >> build post
+make distclean
+make ARCH=arm CROSS_COMPILE= omap4430panda_config
+make ARCH=arm CROSS_COMPILE= ift
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+# >> install post
+install -D -m 0755 MLO %{buildroot}/boot/MLO
+install -D -m 0644 x-load.map %{buildroot}/boot/x-load-omap4430panda.map
+# << install post
+
+
+
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+/boot/MLO
+/boot/x-load-omap4430panda.map
+# << files
+
+
+%files doc
+%defattr(-,root,root,-)
+# >> files doc
+%doc README
+# << files doc
+

other changes:
--------------

++++++ 0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch (new)
--- 0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
+++ 0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
@@ -0,0 +1,69 @@
+From 745d564dc95db61a4488cb98e747b207dbb80621 Mon Sep 17 00:00:00 2001
+From: Ricardo Salveti de Araujo <[email protected]>
+Date: Wed, 3 Aug 2011 19:18:25 -0700
+Subject: [PATCH 1/4] igep00x0, beagle and omap3evm: fixing bug at prcm_init
+
+Commit 73eb46434657c8c2c9e7c9146406031fc4d124ce changed get_cpu_rev()
+to be a generic function for all omap 3 based boards, to remove
+duplicated code. As a side effect, the behavior changed for beagle and
+omap3evm when the board is based on 37XX, returning a different value
+then CPU3430_ES2, causing a bug at prcm_init.
+
+The fix is already applied for overo, as you can see from commit
+24b8b7f41a83540433024854736518876257672c, changing the index calculation
+to behave correctly with all board revs. This patch only applies the
+same fix for the other omap 3 based boards that could be affected.
+
+BugLink: https://bugs.launchpad.net/ubuntu/+source/x-loader/+bug/813407
+
+Signed-off-by: Ricardo Salveti de Araujo <[email protected]>
+Acked-by: Enric Balletbo i Serra <[email protected]>
+Signed-off-by: Anand Gadiyar <[email protected]>
+---
+ board/igep00x0/igep00x0.c             |    2 +-
+ board/omap3530beagle/omap3530beagle.c |    2 +-
+ board/omap3evm/omap3evm.c             |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/board/igep00x0/igep00x0.c b/board/igep00x0/igep00x0.c
+index 5550741..df32062 100644
+--- a/board/igep00x0/igep00x0.c
++++ b/board/igep00x0/igep00x0.c
+@@ -169,7 +169,7 @@ void prcm_init(void)
+        * and sil_index will get the values for that SysClk for the
+        * appropriate silicon rev.
+        */
+-      sil_index = get_cpu_rev() - 1;
++      sil_index = !(get_cpu_rev() == CPU_3XX_ES10);
+ 
+       /* Unlock MPU DPLL (slows things down, and needed later) */
+       sr32(CM_CLKEN_PLL_MPU, 0, 3, PLL_LOW_POWER_BYPASS);
+diff --git a/board/omap3530beagle/omap3530beagle.c 
b/board/omap3530beagle/omap3530beagle.c
+index 102c6d9..ba52ea7 100644
+--- a/board/omap3530beagle/omap3530beagle.c
++++ b/board/omap3530beagle/omap3530beagle.c
+@@ -439,7 +439,7 @@ void prcm_init(void)
+        * and sil_index will get the values for that SysClk for the
+        * appropriate silicon rev.
+        */
+-      sil_index = get_cpu_rev() - 1;
++      sil_index = !(get_cpu_rev() == CPU_3XX_ES10);
+ 
+       /* Unlock MPU DPLL (slows things down, and needed later) */
+       sr32(CM_CLKEN_PLL_MPU, 0, 3, PLL_LOW_POWER_BYPASS);
+diff --git a/board/omap3evm/omap3evm.c b/board/omap3evm/omap3evm.c
+index 6048964..5eabc26 100644
+--- a/board/omap3evm/omap3evm.c
++++ b/board/omap3evm/omap3evm.c
+@@ -271,7 +271,7 @@ void prcm_init(void)
+        * and sil_index will get the values for that SysClk for the
+        * appropriate silicon rev.
+        */
+-      sil_index = get_cpu_rev() - 1;
++      sil_index = !(get_cpu_rev() == CPU_3XX_ES10);
+ 
+       /* Unlock MPU DPLL (slows things down, and needed later) */
+       sr32(CM_CLKEN_PLL_MPU, 0, 3, PLL_LOW_POWER_BYPASS);
+-- 
+1.7.4.4
+

++++++ 0002-Fix-warning-in-lib-board.c.patch (new)
--- 0002-Fix-warning-in-lib-board.c.patch
+++ 0002-Fix-warning-in-lib-board.c.patch
@@ -0,0 +1,30 @@
+From a4477db23543dfec0f3e1f36b6f4b98ab38d4796 Mon Sep 17 00:00:00 2001
+From: Enric Balletbo i Serra <[email protected]>
+Date: Wed, 3 Aug 2011 19:20:24 -0700
+Subject: [PATCH 2/4] Fix warning in lib/board.c
+
+This patch fixes following warning:
+  board.c: In function .init_func_i2c.:
+  board.c:55:2: warning: implicit declaration of function .i2c_init.
+
+Signed-off-by: Enric Balletbo i Serra <[email protected]>
+Signed-off-by: Anand Gadiyar <[email protected]>
+---
+ lib/board.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/lib/board.c b/lib/board.c
+index fac5f77..0f6b960 100644
+--- a/lib/board.c
++++ b/lib/board.c
+@@ -31,6 +31,7 @@
+  */
+ 
+ #include <common.h>
++#include <i2c.h>
+ #include <part.h>
+ #include <fat.h>
+ #include <asm/arch/mem.h>
+-- 
+1.7.4.4
+

++++++ 0003-Fix-warning-in-include-asm-arch-i2c.h.patch (new)
--- 0003-Fix-warning-in-include-asm-arch-i2c.h.patch
+++ 0003-Fix-warning-in-include-asm-arch-i2c.h.patch
@@ -0,0 +1,31 @@
+From a09cc3fa3b6c6dfa391c2cd62d48e3f5536f6bec Mon Sep 17 00:00:00 2001
+From: Enric Balletbo i Serra <[email protected]>
+Date: Wed, 3 Aug 2011 19:20:27 -0700
+Subject: [PATCH 3/4] Fix warning in include/asm/arch/i2c.h
+
+This patch fixes following warnings:
+  include/asm/arch/i2c.h:89:65: warning: "/*" within comment
+  include/asm/arch/i2c.h:90:8: warning: "/*" within comment
+
+Signed-off-by: Enric Balletbo i Serra <[email protected]>
+Signed-off-by: Anand Gadiyar <[email protected]>
+---
+ include/asm/arch-omap3/i2c.h |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/asm/arch-omap3/i2c.h b/include/asm/arch-omap3/i2c.h
+index 5fb0979..28ae5ca 100644
+--- a/include/asm/arch-omap3/i2c.h
++++ b/include/asm/arch-omap3/i2c.h
+@@ -86,7 +86,7 @@
+ #define I2C_CON_BE      (1 << 14)  /* Big endian mode */
+ #define I2C_CON_STB     (1 << 11)  /* Start byte mode (master mode only) */
+ #define I2C_CON_MST     (1 << 10)  /* Master/slave mode */
+-#define I2C_CON_TRX     (1 << 9)   /* Transmitter/receiver mode /*
++#define I2C_CON_TRX     (1 << 9)   /* Transmitter/receiver mode */
+                                  /* (master mode only) */
+ #define I2C_CON_XA      (1 << 8)   /* Expand address */
+ #define I2C_CON_STP     (1 << 1)   /* Stop condition (master mode only) */
+-- 
+1.7.4.4
+

++++++ 0004-Fix-warning-in-cpu-omap3-mmc.c.patch (new)
--- 0004-Fix-warning-in-cpu-omap3-mmc.c.patch
+++ 0004-Fix-warning-in-cpu-omap3-mmc.c.patch
@@ -0,0 +1,35 @@
+From c4289f1bee035dea41536c5ba5e1bc36c7d493c4 Mon Sep 17 00:00:00 2001
+From: Enric Balletbo i Serra <[email protected]>
+Date: Wed, 3 Aug 2011 19:20:29 -0700
+Subject: [PATCH 4/4] Fix warning in cpu/omap3/mmc.c
+
+This patch fixes following warning:
+  mmc.c: In function .mmc_init.:
+  mmc.c:543:26: warning: assignment from incompatible pointer type
+
+Signed-off-by: Enric Balletbo i Serra <[email protected]>
+Signed-off-by: Anand Gadiyar <[email protected]>
+---
+ cpu/omap3/mmc.c |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cpu/omap3/mmc.c b/cpu/omap3/mmc.c
+index e0c63b0..3d53fae 100644
+--- a/cpu/omap3/mmc.c
++++ b/cpu/omap3/mmc.c
+@@ -516,10 +516,10 @@ unsigned char configure_mmc(mmc_card_data *mmc_card_cur)
+       return 1;
+ }
+ unsigned long mmc_bread(int dev_num, unsigned long blknr, lbaint_t blkcnt,
+-                      void *dst)
++                      unsigned long *dst)
+ {
+       omap_mmc_read_sect(blknr, (blkcnt * MMCSD_SECTOR_SIZE), &cur_card_data,
+-                         (unsigned long *) dst);
++                         dst);
+       return 1;
+ }
+ 
+-- 
+1.7.4.4
+

++++++ x-loader-1.5.1-compile.patch (new)
--- x-loader-1.5.1-compile.patch
+++ x-loader-1.5.1-compile.patch
@@ -0,0 +1,20 @@
+diff -ruN --exclude='*~' x-loader-1.5.1.orig/cpu/omap4/config.mk 
x-loader-1.5.1/cpu/omap4/config.mk
+--- x-loader-1.5.1.orig/cpu/omap4/config.mk    2011-10-31 19:58:55.269214392 
+0200
++++ x-loader-1.5.1/cpu/omap4/config.mk 2011-10-31 23:04:31.711088682 +0200
+@@ -19,8 +19,7 @@
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ # MA 02111-1307 USA
+ #
+-PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
+-      -msoft-float -Werror
++PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8
+ 
+ PLATFORM_CPPFLAGS += -march=armv7-a
+ # =========================================================================
+@@ -28,5 +27,5 @@
+ # Supply options according to compiler version
+ #
+ # =========================================================================
+-PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
++PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32)
+ PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call 
cc-option,-malignment-traps,))

++++++ x-loader-1.5.1-eabi-compat.patch (new)
--- x-loader-1.5.1-eabi-compat.patch
+++ x-loader-1.5.1-eabi-compat.patch
@@ -0,0 +1,28 @@
+diff -ruN --exclude='*~' x-loader-1.5.1.orig/lib/eabi_compat.c 
x-loader-1.5.1/lib/eabi_compat.c
+--- x-loader-1.5.1.orig/lib/eabi_compat.c      1970-01-01 02:00:00.000000000 
+0200
++++ x-loader-1.5.1/lib/eabi_compat.c   2011-11-18 20:58:13.581532454 +0200
+@@ -0,0 +1,12 @@
++int raise (int signum)
++{
++        return 0;
++}
++
++void __aeabi_unwind_cpp_pr0(void)
++{
++};
++
++void __aeabi_unwind_cpp_pr1(void)
++{
++};
+diff -ruN --exclude='*~' x-loader-1.5.1.orig/lib/Makefile 
x-loader-1.5.1/lib/Makefile
+--- x-loader-1.5.1.orig/lib/Makefile   2011-11-18 20:36:07.241514851 +0200
++++ x-loader-1.5.1/lib/Makefile        2011-11-18 20:37:01.505012182 +0200
+@@ -29,7 +29,7 @@
+ 
+ SOBJS = _udivsi3.o _umodsi3.o
+ 
+-COBJS = board.o ecc.o printf.o div0.o 
++COBJS = board.o ecc.o printf.o div0.o  eabi_compat.o
+ 
+ SRCS  := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+ OBJS  := $(addprefix $(obj),$(SOBJS) $(COBJS))

++++++ x-loader-1.5.1-enable-debug.patch (new)
--- x-loader-1.5.1-enable-debug.patch
+++ x-loader-1.5.1-enable-debug.patch
@@ -0,0 +1,11 @@
+--- x-loader-1.5.1.orig/config.mk      2011-11-18 20:36:07.243514833 +0200
++++ x-loader-1.5.1/config.mk   2011-11-19 11:19:44.153539367 +0200
+@@ -121,7 +121,7 @@
+ RANLIB        = $(CROSS_COMPILE)RANLIB
+ 
+ RELFLAGS= $(PLATFORM_RELFLAGS)
+-DBGFLAGS= -g # -DDEBUG
++DBGFLAGS= -g -DDEBUG
+ OPTFLAGS= -Os #-fomit-frame-pointer
+ ifndef LDSCRIPT
+ #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/x-load.lds.debug

++++++ x-loader-1.5.1.tar.bz2 (new)

++++++ x-loader-omap4panda.yaml (new)
--- x-loader-omap4panda.yaml
+++ x-loader-omap4panda.yaml
@@ -0,0 +1,35 @@
+Name: x-loader-omap4panda
+Summary: The x-loader firmware for the %{TARGET_BOARD} %{TARGET_CPU} platform
+Version: 1.5.1
+Release: 1
+Group: System/Boot
+License: GPL
+URL: http://gitorious.org/x-loader/x-loader
+Sources:
+    - "x-loader-%{version}.tar.bz2"
+Patches:
+    - 0001-igep00x0-beagle-and-omap3evm-fixing-bug-at-prcm_init.patch
+    - 0002-Fix-warning-in-lib-board.c.patch
+    - 0003-Fix-warning-in-include-asm-arch-i2c.h.patch
+    - 0004-Fix-warning-in-cpu-omap3-mmc.c.patch
+    - x-loader-1.5.1-compile.patch
+    - x-loader-1.5.1-eabi-compat.patch
+    - x-loader-1.5.1-enable-debug.patch
+Description: |
+        X-Loader is 2nd stage loader loaded by OMAP BootRom to start 3rd stage 
tool like
+        U-Boot.
+        This package contains the firmware for the %{TARGET_BOARD} 
%{TARGET_CPU} platform.
+
+Configure: none
+Builder: none
+ExclusiveArch: "%{arm}"
+SubPackages:
+    - Name: doc
+      Summary: Documentation for the x-loader Firmware
+      Group: System/Boot Documentation
+      Description: |
+          X-Loader is 2nd stage loader loaded by OMAP BootRom to start 3rd 
stage tool like
+          U-Boot.
+          This package contains documentation for x-loader firmware
+
+



Reply via email to