diff --git a/arndale.patch b/arndale.patch index 7b6b2f9..fbebbda 100644 --- a/arndale.patch +++ b/arndale.patch @@ -19,7 +19,7 @@ #define CONFIG_BOOTDELAY 3 #define CONFIG_ZERO_BOOTDELAY_CHECK -@@ -127,7 +126,36 @@ +@@ -127,7 +126,23 @@ #define CONFIG_SPL_TEXT_BASE 0x02023400 #define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024) @@ -31,29 +31,16 @@ + "kerneladdr=0x40007000\0" \ + "ramdiskaddr=0x4f000000\0" \ + "console=ttySAC2,115200n8\0" \ -+ "mmcdev=0\0" \ ++ "mmcdev=1\0" \ + "bootenv=uEnv.txt\0" \ -+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \ -+ "importbootenv=echo Importing environment from mmc ...; " \ -+ "env import -t $loadaddr $filesize\0" \ -+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot/boot.scr\0" \ -+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ ++ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ ++ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ + "source ${loadaddr}\0" +#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;" ++ "mmc rescan; " \ ++ "echo SD/MMC found on device ${mmcdev};" \ ++ "run loadbootscript; " \ ++ "run bootscript; " \ /* Miscellaneous configurable options */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ diff --git a/beagle-bootscr.patch b/beagle-bootscr.patch index 13da608..0d78718 100644 --- a/beagle-bootscr.patch +++ b/beagle-bootscr.patch @@ -4,7 +4,7 @@ "rootfstype=${ramrootfstype}\0" \ "loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}\0" \ "loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ -+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot/boot.scr\0" \ ++ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ + "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ + "source ${loadaddr}\0" \ "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ diff --git a/origen-ext2.patch b/origen-ext2.patch index b3ffcd0..3c3e8cb 100644 --- a/origen-ext2.patch +++ b/origen-ext2.patch @@ -28,7 +28,7 @@ + "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/boot.scr\0" \ ++ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ + "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ + "source ${loadaddr}\0" +#define CONFIG_BOOTCOMMAND \ diff --git a/pre_checkin.sh b/pre_checkin.sh index 0355b64..0d2b10e 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -4,7 +4,7 @@ BOARDNAME="$1" BOARDCONFIG="$2" if [ ! "$1" -o ! "$2" ]; then - for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco rpi_b cubieboard hyundai_a7hd mele_a1000 colibri_t20_iris paz00; do + 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 BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')" BOARDCONFIG=${BOARDCONFIG}_config bash $0 $BOARDNAME $BOARDCONFIG diff --git a/u-boot-am335xevm.changes b/u-boot-am335xevm.changes index 9977fff..16acef1 100644 --- a/u-boot-am335xevm.changes +++ b/u-boot-am335xevm.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-arndale.changes b/u-boot-arndale.changes index 9977fff..16acef1 100644 --- a/u-boot-arndale.changes +++ b/u-boot-arndale.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-colibrit20iris.changes b/u-boot-colibrit20iris.changes index 9977fff..16acef1 100644 --- a/u-boot-colibrit20iris.changes +++ b/u-boot-colibrit20iris.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-cubieboard.changes b/u-boot-cubieboard.changes index 9977fff..16acef1 100644 --- a/u-boot-cubieboard.changes +++ b/u-boot-cubieboard.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-cubieboard2.changes b/u-boot-cubieboard2.changes new file mode 100644 index 0000000..16acef1 --- /dev/null +++ b/u-boot-cubieboard2.changes @@ -0,0 +1,405 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + +------------------------------------------------------------------- +Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de + +- 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 - guillaume@opensuse.org + +- 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 - afaerber@suse.de + +- 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 - afaerber@suse.de + +- 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 - agraf@suse.com + +- 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 - afaerber@suse.de + +- Include Tegra SPL for Colibri T20 + +------------------------------------------------------------------- +Wed Jan 8 17:26:10 UTC 2014 - agraf@suse.com + +- switch raspberry to ext2 + +------------------------------------------------------------------- +Wed Jan 8 13:41:32 UTC 2014 - matwey.kornilov@gmail.com + +- am335x_evm-bootscr.patch: Search for files in /boot, not in /boot/boot + +------------------------------------------------------------------- +Wed Jan 8 02:07:44 UTC 2014 - afaerber@suse.de + +- rpi_b-bootscr.patch: Change rpi_b to use boot.scr + +------------------------------------------------------------------- +Tue Jan 7 16:01:13 UTC 2014 - dmueller@suse.com + +- remove origin flavor + +------------------------------------------------------------------- +Mon Jan 6 22:57:05 UTC 2014 - afaerber@suse.de + +- Enable paz00 config (Toshiba AC100) + +------------------------------------------------------------------- +Mon Jan 6 21:34:03 UTC 2014 - afaerber@suse.de + +- 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 - agraf@suse.com + +- prefer u-boot-dtb.bin over u-boot.bin +- simplify files section + +------------------------------------------------------------------- +Fri Jan 3 16:54:30 UTC 2014 - dmueller@suse.com + +- mlo-ext2.patch: Search for files in /boot, not in /boot/boot + +------------------------------------------------------------------- +Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com + +- Add am335x_evm-bootscr.patch: Add bootscr to AM335x + platform based devices + +------------------------------------------------------------------- +Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org + +- Remove old unused patches: + * v2013.04-sunxi.patch + * loadaddr-defaults.patch + +------------------------------------------------------------------- +Tue Dec 17 14:10:51 UTC 2013 - guillaume@opensuse.org + +- Add ti_common_initrd_support.patch to enable initrd support for + AM335x boards + +------------------------------------------------------------------- +Tue Dec 17 14:03:50 UTC 2013 - guillaume@opensuse.org + +- 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 - guillaume@opensuse.org + +- Add Arndale support + +------------------------------------------------------------------- +Tue Nov 26 13:05:10 UTC 2013 - guillaume@opensuse.org + +- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch + +------------------------------------------------------------------- +Mon Nov 25 10:05:48 UTC 2013 - guillaume@opensuse.org + +- 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 - guillaume@opensuse.org + +- Update to 2013.10 + +------------------------------------------------------------------- +Fri Nov 22 16:25:36 UTC 2013 - guillaume@opensuse.org + +- Fix OMAP4 pandaboard EXT2 boot + +------------------------------------------------------------------- +Fri Sep 13 11:31:14 UTC 2013 - guillaume@opensuse.org + +- Fix u-boot.bin and boot.scr place since they are now in boot/ folder. + +------------------------------------------------------------------- +Wed May 1 20:48:30 UTC 2013 - dmueller@suse.com + +- add support for cubieboard, hyundaia7hd, melea1000 + +------------------------------------------------------------------- +Wed May 1 08:18:26 UTC 2013 - dmueller@suse.com + +- 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 - guillaume.gardet@opensuse.org + +- add omap3_beagle to targets + +------------------------------------------------------------------- +Thu Apr 11 16:05:41 UTC 2013 - dmueller@suse.com + +- remove u8500href subpackage, kernel got dropped + +------------------------------------------------------------------- +Sun Apr 7 14:32:20 UTC 2013 - agraf@suse.com + +- update to 2013.04rc2 +- enable bootz support on all boards + +------------------------------------------------------------------- +Wed Mar 20 07:21:06 UTC 2013 - agraf@suse.com + +- fix mlo-ext2.patch to actually use the ext4 infrastructure + +------------------------------------------------------------------- +Sat Jan 26 10:38:07 UTC 2013 - dmueller@suse.com + +- update mlo-ext2.patch: + * use the ext4 driver now since ext2 got removed + +------------------------------------------------------------------- +Wed Oct 24 22:33:13 UTC 2012 - agraf@suse.com + +- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch: + * backport upstream sdhc fixes + +------------------------------------------------------------------- +Wed Oct 24 01:37:36 CEST 2012 - agraf@suse.de + +- update to 2012.10: + - refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch, + loadaddr-defaults.patch, mx53loco-bootscr.patch + +------------------------------------------------------------------- +Mon Oct 22 12:00:22 UTC 2012 - agraf@suse.com + +- fix origen by putting the ramdisk higher + +------------------------------------------------------------------- +Mon Aug 6 09:39:54 UTC 2012 - dmueller@suse.com + +- remove Marvell sources as they are non-free licensed (bnc#773824) + +------------------------------------------------------------------- +Thu Jul 26 18:21:44 UTC 2012 - agraf@suse.com + +- fix ext2 support for origen +- add origen-spl.bin for origen + +------------------------------------------------------------------- +Thu Jul 26 09:47:31 UTC 2012 - dmueller@suse.com + +- merge u-boot-tools + +------------------------------------------------------------------- +Wed Jul 25 21:05:08 UTC 2012 - agraf@suse.com + +- add ext2 support by default in mx53loco + +------------------------------------------------------------------- +Tue Jul 24 21:28:59 UTC 2012 - agraf@suse.com + +- add support for mx53loco + +------------------------------------------------------------------- +Tue Jul 24 11:25:42 UTC 2012 - dmueller@suse.com + +- remove u-boot-omap3beagle + +------------------------------------------------------------------- +Mon Jul 23 22:34:04 UTC 2012 - agraf@suse.com + +- bump to 2012.04.01 + - fixes bug in cmdline parsing + +------------------------------------------------------------------- +Mon Jul 23 22:26:47 UTC 2012 - agraf@suse.com + +- add calxeda highbank support + +------------------------------------------------------------------- +Thu Jul 12 12:51:56 UTC 2012 - agraf@suse.com + +- autoload boot.scr on beagle, so we can boot again + +------------------------------------------------------------------- +Thu Jul 12 08:12:15 UTC 2012 - agraf@suse.com + +- update to upstream u-boot 2012.04 + -> gets rid of linaro fork, only mainline now + -> gets us omap3 MLO support, no more need for x-loader + -> potentially fixes voltage issues on omap4 + +------------------------------------------------------------------- +Thu Jun 14 09:04:53 UTC 2012 - adrian@suse.de + +- add SUSE style conflicts to avoid installation of multiple + boot loaders + +------------------------------------------------------------------- +Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org + +- Included u-boot.spec.in and gen_spec.sh in the spec file + +------------------------------------------------------------------- +Mon Feb 6 13:25:09 UTC 2012 - agraf@suse.com + +- use ext2 on panda + +------------------------------------------------------------------- +Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com + +- use ttyO2 as default console= on OMAP boards + +------------------------------------------------------------------- +Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com + +- add u8500_href and origen configs + +------------------------------------------------------------------- +Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com + +- fix lint failures + +------------------------------------------------------------------- +Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com + +- don't install map + +------------------------------------------------------------------- +Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com + +- generalize spec file to be able to build for more boards +- add beagle board spec file +- remove boot.scr + +------------------------------------------------------------------- +Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com + +- rename to u-boot-omap4panda + +------------------------------------------------------------------- +Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de + +- new package based on u-boot-omap4panda but use linaro u-boot git + repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git) + instead of mainline u-boot. This package also contains the MLO + (this package obsoletes the x-loader package) + +------------------------------------------------------------------- +Tue Nov 29 22:53:44 UTC 2011 - joop.boonen@opensuse.org + +- COPYING CREDITS README are now in the standard package + +------------------------------------------------------------------- +Thu Nov 24 21:08:58 UTC 2011 - joop.boonen@opensuse.org + +- Corrected the links + +------------------------------------------------------------------- +Tue Nov 22 17:47:17 UTC 2011 - joop.boonen@opensuse.org + +- Build without u-boot tools as we have a u-boot-tools packages + +------------------------------------------------------------------- +Sun Nov 20 17:00:43 UTC 2011 - joop.boonen@opensuse.org + +- Cleaned the spec file up the spec file +- The name is the same as the package name + +------------------------------------------------------------------- +Sun Nov 13 13:13:39 UTC 2011 - joop.boonen@opensuse.org + +- Build u-boot according to http://elinux.org/Panda_How_to_MLO_&_u-boot +- Using .txt config file instead of .scr it's gerated via mkimage + +------------------------------------------------------------------- +Wed Nov 09 22:55:09 UTC 2011 - joop.boonen@opensuse.org + +- Used scr file based on http://elinux.org definition +- Build u-boot 20111109 +- Used the Meego panda u-boot as a base + +------------------------------------------------------------------- +Fri Feb 18 00:00:00 UTC 2011 - raghuveer.murthy@ti.com> +- 2010.09-MeeGo +- Fix for u-boot fails to compile on armv7hl, BMC#13140 + +------------------------------------------------------------------- +Thu Nov 18 00:00:00 UTC 2010 - peter.j.zhu@intel.com> +- 2010.09-MeeGo +- Don't build against i586, BMC#10159 + +------------------------------------------------------------------- +Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com> +- 2010.09-MeeGo +- Add Das u-boot package - FEA#9723 + +------------------------------------------------------------------- +Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com> +- 2010.09.rc1-MeeGo +- Added option to enable boot.scr generation and copy + +------------------------------------------------------------------- +Mon Oct 04 00:00:00 UTC 2010 - nm@ti.com> +- 2010.09.rc1-MeeGo +- Update to 2010.09 + +------------------------------------------------------------------- +Wed Sep 14 00:00:00 UTC 2010 - nm@ti.com> +- 2010.09.rc1-MeeGo +- Update to 2010.09.rc1 +- MeeGo customization +- Enabled PandaBoard, Beagleboard build + +------------------------------------------------------------------- +Wed Mar 31 00:00:00 UTC 2010 - silvan.calarco@mambasoft.it> +- 2009.11.1-1mamba +- update to 2009.11.1 + +------------------------------------------------------------------- diff --git a/u-boot-cubieboard2.spec b/u-boot-cubieboard2.spec new file mode 100644 index 0000000..5b9299d --- /dev/null +++ b/u-boot-cubieboard2.spec @@ -0,0 +1,137 @@ +# +# spec file for package u-boot-cubieboard2 +# +# 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 +# +# 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 1 +%define arndale_spl 0 + +Name: u-boot-cubieboard2 +Version: 2014.01 +Release: 0 +Summary: The u-boot firmware for the cubieboard2 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 +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-cubieboard2 +Provides: x-loader-cubieboard2 +%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 cubieboard2 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 + +%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 + +%install +install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin +# 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.bin %{buildroot}/boot/u-boot.bin +elif [ -f u-boot-dtb.bin ]; then + install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin +else + install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin +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 diff --git a/u-boot-highbank.changes b/u-boot-highbank.changes index 9977fff..16acef1 100644 --- a/u-boot-highbank.changes +++ b/u-boot-highbank.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-hyundaia7hd.changes b/u-boot-hyundaia7hd.changes index 9977fff..16acef1 100644 --- a/u-boot-hyundaia7hd.changes +++ b/u-boot-hyundaia7hd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-melea1000.changes b/u-boot-melea1000.changes index 9977fff..16acef1 100644 --- a/u-boot-melea1000.changes +++ b/u-boot-melea1000.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-mx53loco.changes b/u-boot-mx53loco.changes index 9977fff..16acef1 100644 --- a/u-boot-mx53loco.changes +++ b/u-boot-mx53loco.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-omap3beagle.changes b/u-boot-omap3beagle.changes index 9977fff..16acef1 100644 --- a/u-boot-omap3beagle.changes +++ b/u-boot-omap3beagle.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-omap4panda.changes b/u-boot-omap4panda.changes index 9977fff..16acef1 100644 --- a/u-boot-omap4panda.changes +++ b/u-boot-omap4panda.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-paz00.changes b/u-boot-paz00.changes index 9977fff..16acef1 100644 --- a/u-boot-paz00.changes +++ b/u-boot-paz00.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot-rpib.changes b/u-boot-rpib.changes index 9977fff..16acef1 100644 --- a/u-boot-rpib.changes +++ b/u-boot-rpib.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de diff --git a/u-boot.changes b/u-boot.changes index 9977fff..16acef1 100644 --- a/u-boot.changes +++ b/u-boot.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org + +- Fix boot.scr location for beagle and origen + +------------------------------------------------------------------- +Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com + +- add u-boot-cubieboard2 + ------------------------------------------------------------------- Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de