Hello community,

here is the log from the commit of package u-boot for openSUSE:Factory checked 
in at 2014-04-08 22:37:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/u-boot (Old)
 and      /work/SRC/openSUSE:Factory/.u-boot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "u-boot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-am335xevm.changes  2014-02-06 
06:55:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-am335xevm.changes     
2014-04-08 22:37:35.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Mar 27 14:22:23 UTC 2014 - [email protected]
+
+- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
+
+-------------------------------------------------------------------
+Wed Feb  5 15:07:30 UTC 2014 - [email protected]
+
+- add u-boot-snow (for Chromebook ARM)
+
+-------------------------------------------------------------------
u-boot-arndale.changes: same change
u-boot-colibrit20iris.changes: same change
u-boot-cubieboard.changes: same change
u-boot-cubieboard2.changes: same change
u-boot-highbank.changes: same change
u-boot-hyundaia7hd.changes: same change
u-boot-melea1000.changes: same change
u-boot-mx53loco.changes: same change
New Changes file:

--- /dev/null   2014-02-13 01:09:38.344032506 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-mx6qsabrelite.changes 
2014-04-08 22:37:36.000000000 +0200
@@ -0,0 +1,415 @@
+-------------------------------------------------------------------
+Thu Mar 27 14:22:23 UTC 2014 - [email protected]
+
+- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
+
+-------------------------------------------------------------------
+Wed Feb  5 15:07:30 UTC 2014 - [email protected]
+
+- add u-boot-snow (for Chromebook ARM)
+
+-------------------------------------------------------------------
+Wed Feb  5 14:59:29 UTC 2014 - [email protected]
+
+- Fix boot.scr location for beagle and origen
+
+-------------------------------------------------------------------
+Thu Jan 30 14:28:34 UTC 2014 - [email protected]
+
+- add u-boot-cubieboard2 
+
+-------------------------------------------------------------------
+Thu Jan 30 06:46:45 UTC 2014 - [email protected]
+
+- Drop 0006-ARMV7-hardfp-build-fix.patch:
+  v2014.01 checks if -msoft-float compiles okay, and
+  U-Boot is soft-float according to Tom Rini
+
+-------------------------------------------------------------------
+Tue Jan 28 15:29:14 UTC 2014 - [email protected]
+
+- Disable CONFIG_SPL_OS_BOOT for ti armv7 configs with 
+fix_spl_build_for_am335x.patch to reduce size of am335x SPL
+
+-------------------------------------------------------------------
+Sat Jan 26 22:46:44 UTC 2014 - [email protected]
+
+- Update to v2014.01
+* Manually updated 0006-ARMV7-hardfp-build-fix.patch
+* Dropped v2013.10-sunxi.patch and created
+  v2014.01-sunxi.patch by merging u-boot.git v2014.01 onto
+  u-boot-sunxi.git e4a0232e173577893604b94fc3af7c047570970b
+* Added gnuhash.patch to fix .gnu.hash section handling in ldscripts
+* Rebased mlo-ext2.patch:
+  omap4_common.h CONFIG_SUPPORT_RAW_INITRD hunk is now covered by
+  ti_common_initrd_support.patch.
+  am335xevm build is known breaking due to size constraints not
+  trivially solvable without dropping our patch.
+
+-------------------------------------------------------------------
+Sun Jan 26 12:14:10 UTC 2014 - [email protected]
+
+- Fix regression in packaging u-boot-dtb-tegra.bin:
+  There is in fact a u-boot-spl.bin SPL being built,
+  but it is 0xff-padded as u-boot-spl-pad.bin and then
+  prepended to u-boot.bin and the .dtb.
+  u-boot-dtb.bin exists independently as just u-boot.bin and .dtb,
+  so give preference to u-boot-dtb-tegra.bin over u-boot-dtb.bin.
+
+-------------------------------------------------------------------
+Mon Jan 20 14:05:13 UTC 2014 - [email protected]
+
+- The "Tegra SPL" is not an SPL but a differently named u-boot.bin
+  file. Fix up the generation scripts.
+
+-------------------------------------------------------------------
+Sun Jan 19 00:09:41 UTC 2014 - [email protected]
+
+- Include Tegra SPL for Colibri T20
+
+-------------------------------------------------------------------
+Wed Jan  8 17:26:10 UTC 2014 - [email protected]
+
+- switch raspberry to ext2
+
+-------------------------------------------------------------------
+Wed Jan  8 13:41:32 UTC 2014 - [email protected]
+
+- am335x_evm-bootscr.patch: Search for files in /boot, not in /boot/boot
+
+-------------------------------------------------------------------
+Wed Jan  8 02:07:44 UTC 2014 - [email protected]
+
+- rpi_b-bootscr.patch: Change rpi_b to use boot.scr
+
+-------------------------------------------------------------------
+Tue Jan  7 16:01:13 UTC 2014 - [email protected]
+
+- remove origin flavor 
+
+-------------------------------------------------------------------
+Mon Jan  6 22:57:05 UTC 2014 - [email protected]
+
+- Enable paz00 config (Toshiba AC100)
+
+-------------------------------------------------------------------
+Mon Jan  6 21:34:03 UTC 2014 - [email protected]
+
+- Enable colibri_t20_iris config (Toradex Colibri-T20 on Iris)
+- Update u-boot.spec.in copyright and fix typo in comment
+
+-------------------------------------------------------------------
+Sat Jan  4 01:47:50 UTC 2014 - [email protected]
+
+- prefer u-boot-dtb.bin over u-boot.bin
+- simplify files section
+
+-------------------------------------------------------------------
+Fri Jan  3 16:54:30 UTC 2014 - [email protected]
+
+- mlo-ext2.patch: Search for files in /boot, not in /boot/boot 
+
+-------------------------------------------------------------------
+Mon Dec 30 18:37:50 UTC 2013 - [email protected]
+
+- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
+  platform based devices
+
+-------------------------------------------------------------------
+Tue Dec 17 14:33:52 UTC 2013 - [email protected]
+
+- Remove old unused patches:
+  * v2013.04-sunxi.patch
+  * loadaddr-defaults.patch
+
+-------------------------------------------------------------------
+Tue Dec 17 14:10:51 UTC 2013 - [email protected]
+
+- Add ti_common_initrd_support.patch to enable initrd support for 
+  AM335x boards
+
+-------------------------------------------------------------------
+Tue Dec 17 14:03:50 UTC 2013 - [email protected]
+
+- Add am335x_evm support which includes: Beagle Bone, 
+  Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK
+
+-------------------------------------------------------------------
+Tue Nov 26 13:46:22 UTC 2013 - [email protected]
+
+- Add Arndale support
+
+-------------------------------------------------------------------
+Tue Nov 26 13:05:10 UTC 2013 - [email protected]
+
+- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 10:05:48 UTC 2013 - [email protected]
+
+- Remove kerneladdr and ramdiskaddr definition in u-boot patches 
+   (now done in JeOS image with u-boot hooks)
+- Update patches to current version:
+ * 0006-ARMV7-hardfp-build-fix.patch
+ * beagle-bootscr.patch
+ * mx53loco-bootscr.patch
+ * mlo-ext2.patch
+- Merge fix_omap4_ext2_boot.patch in mlo-ext2.patch 
+- Rename exynos-ext2.patch in origen-ext2.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 09:57:12 UTC 2013 - [email protected]
+
+- Update to 2013.10
+
+-------------------------------------------------------------------
+Fri Nov 22 16:25:36 UTC 2013 - [email protected]
+
+- Fix OMAP4 pandaboard EXT2 boot
+
+-------------------------------------------------------------------
+Fri Sep 13 11:31:14 UTC 2013 - [email protected]
+
+- Fix u-boot.bin and boot.scr place since they are now in boot/ folder.
+
+-------------------------------------------------------------------
+Wed May  1 20:48:30 UTC 2013 - [email protected]
+
+- add support for cubieboard, hyundaia7hd, melea1000
+
+-------------------------------------------------------------------
+Wed May  1 08:18:26 UTC 2013 - [email protected]
+
+- update to 2013.04
+  * no upstream changelog available
+- remove dead u-boot-raspberrypi* (actually called rpib now)
+- add rpib variant
+
+-------------------------------------------------------------------
+Thu Apr 11 17:05:58 UTC 2013 - [email protected]
+
+- add omap3_beagle to targets 
+
+-------------------------------------------------------------------
+Thu Apr 11 16:05:41 UTC 2013 - [email protected]
+
+- remove u8500href subpackage, kernel got dropped
+
++++ 218 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-mx6qsabrelite.changes
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-omap3beagle.changes        
2014-02-06 06:55:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-omap3beagle.changes   
2014-04-08 22:37:36.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Mar 27 14:22:23 UTC 2014 - [email protected]
+
+- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
+
+-------------------------------------------------------------------
+Wed Feb  5 15:07:30 UTC 2014 - [email protected]
+
+- add u-boot-snow (for Chromebook ARM)
+
+-------------------------------------------------------------------
u-boot-omap4panda.changes: same change
u-boot-paz00.changes: same change
u-boot-rpib.changes: same change
New Changes file:

--- /dev/null   2014-02-13 01:09:38.344032506 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-snow.changes  2014-04-08 
22:37:36.000000000 +0200
@@ -0,0 +1,415 @@
+-------------------------------------------------------------------
+Thu Mar 27 14:22:23 UTC 2014 - [email protected]
+
+- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
+
+-------------------------------------------------------------------
+Wed Feb  5 15:07:30 UTC 2014 - [email protected]
+
+- add u-boot-snow (for Chromebook ARM)
+
+-------------------------------------------------------------------
+Wed Feb  5 14:59:29 UTC 2014 - [email protected]
+
+- Fix boot.scr location for beagle and origen
+
+-------------------------------------------------------------------
+Thu Jan 30 14:28:34 UTC 2014 - [email protected]
+
+- add u-boot-cubieboard2 
+
+-------------------------------------------------------------------
+Thu Jan 30 06:46:45 UTC 2014 - [email protected]
+
+- Drop 0006-ARMV7-hardfp-build-fix.patch:
+  v2014.01 checks if -msoft-float compiles okay, and
+  U-Boot is soft-float according to Tom Rini
+
+-------------------------------------------------------------------
+Tue Jan 28 15:29:14 UTC 2014 - [email protected]
+
+- Disable CONFIG_SPL_OS_BOOT for ti armv7 configs with 
+fix_spl_build_for_am335x.patch to reduce size of am335x SPL
+
+-------------------------------------------------------------------
+Sat Jan 26 22:46:44 UTC 2014 - [email protected]
+
+- Update to v2014.01
+* Manually updated 0006-ARMV7-hardfp-build-fix.patch
+* Dropped v2013.10-sunxi.patch and created
+  v2014.01-sunxi.patch by merging u-boot.git v2014.01 onto
+  u-boot-sunxi.git e4a0232e173577893604b94fc3af7c047570970b
+* Added gnuhash.patch to fix .gnu.hash section handling in ldscripts
+* Rebased mlo-ext2.patch:
+  omap4_common.h CONFIG_SUPPORT_RAW_INITRD hunk is now covered by
+  ti_common_initrd_support.patch.
+  am335xevm build is known breaking due to size constraints not
+  trivially solvable without dropping our patch.
+
+-------------------------------------------------------------------
+Sun Jan 26 12:14:10 UTC 2014 - [email protected]
+
+- Fix regression in packaging u-boot-dtb-tegra.bin:
+  There is in fact a u-boot-spl.bin SPL being built,
+  but it is 0xff-padded as u-boot-spl-pad.bin and then
+  prepended to u-boot.bin and the .dtb.
+  u-boot-dtb.bin exists independently as just u-boot.bin and .dtb,
+  so give preference to u-boot-dtb-tegra.bin over u-boot-dtb.bin.
+
+-------------------------------------------------------------------
+Mon Jan 20 14:05:13 UTC 2014 - [email protected]
+
+- The "Tegra SPL" is not an SPL but a differently named u-boot.bin
+  file. Fix up the generation scripts.
+
+-------------------------------------------------------------------
+Sun Jan 19 00:09:41 UTC 2014 - [email protected]
+
+- Include Tegra SPL for Colibri T20
+
+-------------------------------------------------------------------
+Wed Jan  8 17:26:10 UTC 2014 - [email protected]
+
+- switch raspberry to ext2
+
+-------------------------------------------------------------------
+Wed Jan  8 13:41:32 UTC 2014 - [email protected]
+
+- am335x_evm-bootscr.patch: Search for files in /boot, not in /boot/boot
+
+-------------------------------------------------------------------
+Wed Jan  8 02:07:44 UTC 2014 - [email protected]
+
+- rpi_b-bootscr.patch: Change rpi_b to use boot.scr
+
+-------------------------------------------------------------------
+Tue Jan  7 16:01:13 UTC 2014 - [email protected]
+
+- remove origin flavor 
+
+-------------------------------------------------------------------
+Mon Jan  6 22:57:05 UTC 2014 - [email protected]
+
+- Enable paz00 config (Toshiba AC100)
+
+-------------------------------------------------------------------
+Mon Jan  6 21:34:03 UTC 2014 - [email protected]
+
+- Enable colibri_t20_iris config (Toradex Colibri-T20 on Iris)
+- Update u-boot.spec.in copyright and fix typo in comment
+
+-------------------------------------------------------------------
+Sat Jan  4 01:47:50 UTC 2014 - [email protected]
+
+- prefer u-boot-dtb.bin over u-boot.bin
+- simplify files section
+
+-------------------------------------------------------------------
+Fri Jan  3 16:54:30 UTC 2014 - [email protected]
+
+- mlo-ext2.patch: Search for files in /boot, not in /boot/boot 
+
+-------------------------------------------------------------------
+Mon Dec 30 18:37:50 UTC 2013 - [email protected]
+
+- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
+  platform based devices
+
+-------------------------------------------------------------------
+Tue Dec 17 14:33:52 UTC 2013 - [email protected]
+
+- Remove old unused patches:
+  * v2013.04-sunxi.patch
+  * loadaddr-defaults.patch
+
+-------------------------------------------------------------------
+Tue Dec 17 14:10:51 UTC 2013 - [email protected]
+
+- Add ti_common_initrd_support.patch to enable initrd support for 
+  AM335x boards
+
+-------------------------------------------------------------------
+Tue Dec 17 14:03:50 UTC 2013 - [email protected]
+
+- Add am335x_evm support which includes: Beagle Bone, 
+  Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK
+
+-------------------------------------------------------------------
+Tue Nov 26 13:46:22 UTC 2013 - [email protected]
+
+- Add Arndale support
+
+-------------------------------------------------------------------
+Tue Nov 26 13:05:10 UTC 2013 - [email protected]
+
+- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 10:05:48 UTC 2013 - [email protected]
+
+- Remove kerneladdr and ramdiskaddr definition in u-boot patches 
+   (now done in JeOS image with u-boot hooks)
+- Update patches to current version:
+ * 0006-ARMV7-hardfp-build-fix.patch
+ * beagle-bootscr.patch
+ * mx53loco-bootscr.patch
+ * mlo-ext2.patch
+- Merge fix_omap4_ext2_boot.patch in mlo-ext2.patch 
+- Rename exynos-ext2.patch in origen-ext2.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 09:57:12 UTC 2013 - [email protected]
+
+- Update to 2013.10
+
+-------------------------------------------------------------------
+Fri Nov 22 16:25:36 UTC 2013 - [email protected]
+
+- Fix OMAP4 pandaboard EXT2 boot
+
+-------------------------------------------------------------------
+Fri Sep 13 11:31:14 UTC 2013 - [email protected]
+
+- Fix u-boot.bin and boot.scr place since they are now in boot/ folder.
+
+-------------------------------------------------------------------
+Wed May  1 20:48:30 UTC 2013 - [email protected]
+
+- add support for cubieboard, hyundaia7hd, melea1000
+
+-------------------------------------------------------------------
+Wed May  1 08:18:26 UTC 2013 - [email protected]
+
+- update to 2013.04
+  * no upstream changelog available
+- remove dead u-boot-raspberrypi* (actually called rpib now)
+- add rpib variant
+
+-------------------------------------------------------------------
+Thu Apr 11 17:05:58 UTC 2013 - [email protected]
+
+- add omap3_beagle to targets 
+
+-------------------------------------------------------------------
+Thu Apr 11 16:05:41 UTC 2013 - [email protected]
+
+- remove u8500href subpackage, kernel got dropped
+
++++ 218 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-snow.changes
--- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes    2014-02-06 
06:55:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot.changes       2014-04-08 
22:37:36.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Mar 27 14:22:23 UTC 2014 - [email protected]
+
+- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
+
+-------------------------------------------------------------------
+Wed Feb  5 15:07:30 UTC 2014 - [email protected]
+
+- add u-boot-snow (for Chromebook ARM)
+
+-------------------------------------------------------------------

New:
----
  exynos5-dt.h.patch
  fix_exynos5_text_base.patch
  fix_sabrelite_boot.scr.patch
  fix_snow_config.patch
  u-boot-mx6qsabrelite.changes
  u-boot-mx6qsabrelite.spec
  u-boot-snow.changes
  u-boot-snow.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ u-boot-am335xevm.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-arndale.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-colibrit20iris.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-cubieboard.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-cubieboard2.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard2_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-highbank.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-hyundaia7hd.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:38.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" hyundai_a7hd_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-melea1000.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mele_a1000_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-mx53loco.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx

++++++ u-boot-mx6qsabrelite.spec ++++++
#
# spec file for package u-boot-mx6qsabrelite
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <[email protected]>
#
# 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
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0

Name:           u-boot-mx6qsabrelite
Version:        2014.01
Release:        0
Summary:        The u-boot firmware for the mx6qsabrelite arm platform
License:        GPL-2.0
Group:          System/Boot
Url:            http://www.denx.de/wiki/U-Boot
Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
Source1:        openSUSE_panda.txt
Source2:        arndale-bl1.img
Source300:      rpmlintrc
Patch2:         mlo-ext2.patch
Patch3:         ti_common_initrd_support.patch
Patch4:         beagle-bootscr.patch
Patch5:         mx53loco-bootscr.patch
Patch6:         origen-ext2.patch
Patch7:         arndale.patch
Patch8:         v2014.01-sunxi.patch
Patch9:         am335x_evm-bootscr.patch
Patch10:        rpi_b-bootscr.patch
Patch11:        gnuhash.patch
Patch12:        fix_spl_build_for_am335x.patch
Patch13:        fix_sabrelite_boot.scr.patch
Patch20:        fix_exynos5_text_base.patch
Patch21:        fix_snow_config.patch
Patch22:        exynos5-dt.h.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires:  dtc >= 1.4.0
Provides:       u-boot-loader
Conflicts:      otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes:      x-loader-mx6qsabrelite
Provides:       x-loader-mx6qsabrelite
%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 mx6qsabrelite arm platform.

%package doc
Summary:        Documentation for the u-boot Firmware
Group:          Documentation/Other

%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware

%prep
%setup -q -n u-boot-%{version}
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch2 -p1
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif

%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START 
-n uboot -d u-boot-dtb.bin u-boot.img
%endif

%install
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
    install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}/boot/u-boot.imx
elif [ -f u-boot-dtb.imx ]; then
    install -D -m 0644 u-boot-dtb.imx %{buildroot}/boot/u-boot.imx
else
    install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
fi
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
%endif

%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt 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-omap3beagle.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %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
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-omap4panda.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 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 %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-paz00.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-rpib.spec ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config
 # temporary disable of --build-id
 #make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
 make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

++++++ u-boot-snow.spec ++++++
#
# spec file for package u-boot-snow
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <[email protected]>
#
# 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
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0

Name:           u-boot-snow
Version:        2014.01
Release:        0
Summary:        The u-boot firmware for the snow arm platform
License:        GPL-2.0
Group:          System/Boot
Url:            http://www.denx.de/wiki/U-Boot
Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
Source1:        openSUSE_panda.txt
Source2:        arndale-bl1.img
Source300:      rpmlintrc
Patch2:         mlo-ext2.patch
Patch3:         ti_common_initrd_support.patch
Patch4:         beagle-bootscr.patch
Patch5:         mx53loco-bootscr.patch
Patch6:         origen-ext2.patch
Patch7:         arndale.patch
Patch8:         v2014.01-sunxi.patch
Patch9:         am335x_evm-bootscr.patch
Patch10:        rpi_b-bootscr.patch
Patch11:        gnuhash.patch
Patch12:        fix_spl_build_for_am335x.patch
Patch13:        fix_sabrelite_boot.scr.patch
Patch20:        fix_exynos5_text_base.patch
Patch21:        fix_snow_config.patch
Patch22:        exynos5-dt.h.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires:  dtc >= 1.4.0
Provides:       u-boot-loader
Conflicts:      otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes:      x-loader-snow
Provides:       x-loader-snow
%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 snow arm platform.

%package doc
Summary:        Documentation for the u-boot Firmware
Group:          Documentation/Other

%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware

%prep
%setup -q -n u-boot-%{version}
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch2 -p1
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif

%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START 
-n uboot -d u-boot-dtb.bin u-boot.img
%endif

%install
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
    install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
elif [ -f u-boot-dtb.img ]; then
    install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
else
    install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
fi
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
%endif

%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt 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

++++++ exynos5-dt.h.patch ++++++
--- include/configs/exynos5-dt.h.orig   2014-02-04 10:19:32.915229302 +0100
+++ include/configs/exynos5-dt.h        2014-02-05 16:15:04.818804877 +0100
@@ -83,12 +83,25 @@
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
 #define EXYNOS_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
-               "stdout=serial,lcd\0" \
-               "stderr=serial,lcd\0"
+               "stdin=cros-ec-keyb\0" \
+               "stdout=lcd\0" \
+               "stderr=lcd\0"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       EXYNOS_DEVICE_SETTINGS
+       EXYNOS_DEVICE_SETTINGS \
+       "loadaddr=0x40007000\0" \
+       "rdaddr=0x4f000000\0" \
+       "kerneladdr=0x40007000\0" \
+       "ramdiskaddr=0x4f000000\0" \
+       "console=tty\0" \
+       "mmcdev=1:2\0" \
+       "bootenv=uEnv.txt\0" \
+       "loadbootenv=ext2load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
+       "importbootenv=echo Importing environment from mmc ...; " \
+               "env import -t $loadaddr $filesize\0" \
+        "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+        "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+                "source ${loadaddr}\0"
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
++++++ fix_exynos5_text_base.patch ++++++
--- include/configs/exynos5250-dt.h.orig        2014-02-04 10:11:19.387527096 
+0100
+++ include/configs/exynos5250-dt.h     2014-02-04 10:11:38.979179142 +0100
@@ -14,7 +14,7 @@
 #define CONFIG_EXYNOS5250
 
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
-#define CONFIG_SYS_TEXT_BASE           0x43E00000
+#define CONFIG_SYS_TEXT_BASE           0x47E00000
 
 /* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
 #define MACH_TYPE_SMDK5250             3774
++++++ fix_sabrelite_boot.scr.patch ++++++
--- ./include/configs/nitrogen6x.h.orig 2014-03-31 23:17:24.341995637 +0200
+++ ./include/configs/nitrogen6x.h      2014-04-03 10:07:06.314594508 +0200
@@ -183,13 +183,12 @@
        "fdt_addr=0x18000000\0" \
        "boot_fdt=try\0" \
        "ip_dyn=yes\0" \
-       "mmcdev=0\0" \
+       "mmcdevs=0 1\0" \
        "mmcpart=1\0" \
        "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=${mmcroot}\0" \
-       "loadbootscript=" \
-               "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+       "loadbootscript=load mmc ${mmcdev} ${loadaddr} ${script};\0" \
        "bootscript=echo Running bootscript from mmc ...; " \
                "source\0" \
        "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
@@ -235,16 +234,14 @@
                "fi;\0"
 
 #define CONFIG_BOOTCOMMAND \
-          "mmc dev ${mmcdev}; if mmc rescan; then " \
-                  "if run loadbootscript; then " \
-                          "run bootscript; " \
-                  "else " \
-                          "if run loaduimage; then " \
-                                  "run mmcboot; " \
-                          "else run netboot; " \
-                          "fi; " \
-                  "fi; " \
-          "else run netboot; fi"
+       "for mmcdev in ${mmcdevs}; do " \
+               "mmc dev ${mmcdev}; " \
+               "if mmc rescan; then " \
+                       "if run loadbootscript; then " \
+                               "run bootscript; " \
+                       "fi; " \
+               "fi; " \
+       "done;"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "console=ttymxc1\0" \
++++++ fix_snow_config.patch ++++++
--- include/configs/snow.h.orig 2014-02-04 10:21:12.328756964 +0100
+++ include/configs/snow.h      2014-02-05 16:15:08.265722911 +0100
@@ -14,4 +14,31 @@
 #undef CONFIG_DEFAULT_DEVICE_TREE
 #define CONFIG_DEFAULT_DEVICE_TREE     exynos5250-snow
 
+#undef CONFIG_BOOTCOMMAND
+#define CONFIG_BOOTCOMMAND \
+       "if mmc rescan ${mmcdev}; then " \
+               "echo SD/MMC found on device ${mmcdev};" \
+               "if run loadbootenv; then " \
+                       "echo Loaded environment from ${bootenv};" \
+                       "run importbootenv;" \
+               "fi;" \
+               "if test -n $uenvcmd; then " \
+                       "echo Running uenvcmd ...;" \
+                       "run uenvcmd;" \
+               "fi;" \
+               "if run loadbootscript; then " \
+                       "run bootscript; " \
+               "fi; " \
+       "fi;"
+
+#define CONFIG_PRE_CONSOLE_BUFFER
+#define CONFIG_PRE_CON_BUF_SZ 0x100000
+#define CONFIG_PRE_CON_BUF_ADDR 0x41f00000
+
+#define DEBUG
+#undef CONFIG_SPL
+#undef CONFIG_SYS_THUMB_BUILD
+#undef CONFIG_SYS_ARM_CACHE_WRITETHROUGH
+#undef CONFIG_SILENT_CONSOLE
+
 #endif /* __CONFIG_SNOW_H */
++++++ pre_checkin.sh ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -4,7 +4,7 @@
 BOARDCONFIG="$2"
 
 if [ ! "$1" -o ! "$2" ]; then
-    for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm arndale highbank 
mx53loco rpi_b cubieboard cubieboard2 hyundai_a7hd mele_a1000 colibri_t20_iris 
paz00; do
+    for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm arndale highbank 
mx53loco mx6qsabrelite rpi_b cubieboard cubieboard2 hyundai_a7hd mele_a1000 
colibri_t20_iris paz00 snow; do
         BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
         BOARDCONFIG=${BOARDCONFIG}_config
         bash $0 $BOARDNAME $BOARDCONFIG
@@ -28,6 +28,7 @@
             SUNXI_SPL=1 ;;
 *hyundai_a7hd*)   BINEND=bin
             SUNXI_SPL=1 ;;
+*snow*)          BINEND=img ;;
 *)          BINEND=bin ;;
 esac
 

++++++ u-boot.spec.in ++++++
--- /var/tmp/diff_new_pack.vnlXDe/_old  2014-04-08 22:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.vnlXDe/_new  2014-04-08 22:37:39.000000000 +0200
@@ -45,6 +45,10 @@
 Patch10:        rpi_b-bootscr.patch
 Patch11:        gnuhash.patch
 Patch12:        fix_spl_build_for_am335x.patch
+Patch13:        fix_sabrelite_boot.scr.patch
+Patch20:        fix_exynos5_text_base.patch
+Patch21:        fix_snow_config.patch
+Patch22:        exynos5-dt.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Arndale board need DTC >= 1.4
 BuildRequires:  dtc >= 1.4.0
@@ -84,12 +88,24 @@
 %patch10 -p1
 %patch11 -p1
 %patch12
+%patch13
+%if "%{name}" == "u-boot-snow"
+# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to 
avoid to break other boards (Arndale board)
+%patch20
+%patch21
+%patch22
+%endif
 
 %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
+%if "%{name}" == "u-boot-snow"
+# Chromebook ARM (snow) need a uImage format
+export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
+./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
+%endif
 
 %install
 install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to