2014-03-12 19:56:30 +00:00
|
|
|
%global candidate rc2
|
2012-09-13 09:07:31 +00:00
|
|
|
|
2010-06-04 14:19:00 +00:00
|
|
|
Name: uboot-tools
|
2014-03-12 19:56:30 +00:00
|
|
|
Version: 2014.04
|
|
|
|
Release: 0.1%{?candidate:.%{candidate}}%{?dist}
|
2010-06-04 14:19:00 +00:00
|
|
|
Summary: U-Boot utilities
|
|
|
|
|
|
|
|
Group: Development/Tools
|
2013-10-18 12:29:00 +00:00
|
|
|
License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+
|
2010-06-04 14:19:00 +00:00
|
|
|
URL: http://www.denx.de/wiki/U-Boot
|
2012-09-13 09:07:31 +00:00
|
|
|
Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}%{?candidate:-%{candidate}}.tar.bz2
|
2013-10-18 13:27:41 +00:00
|
|
|
Source1: uEnv.txt
|
2012-07-13 02:44:37 +00:00
|
|
|
Patch1: u-boot-fat.patch
|
2014-03-12 19:56:30 +00:00
|
|
|
|
|
|
|
Patch10: 0001-add-README.distro.patch
|
|
|
|
Patch11: 0002-convert-beaglebone-to-use-generic-distro-boot-comman.patch
|
|
|
|
Patch12: 0003-convert-wandboard-to-use-generic-boot-commands.patch
|
|
|
|
Patch13: 0004-convert-omap4-boards-over-to-distro-configs.patch
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
%ifnarch %{arm}
|
|
|
|
BuildRequires: gcc-arm-linux-gnu
|
|
|
|
%endif
|
2013-09-20 19:08:47 +00:00
|
|
|
BuildRequires: dtc
|
2014-02-06 15:26:14 +00:00
|
|
|
BuildRequires: fedora-logos, netpbm-progs
|
2013-01-29 19:39:25 +00:00
|
|
|
Requires: dtc
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2010-06-04 14:19:00 +00:00
|
|
|
%description
|
|
|
|
This package contains a few U-Boot utilities - mkimage for creating boot images
|
|
|
|
and fw_printenv/fw_setenv for manipulating the boot environment variables.
|
|
|
|
|
2014-02-06 15:26:14 +00:00
|
|
|
%ifarch aarch64
|
|
|
|
%package -n uboot-vexpress_aemv8a
|
|
|
|
Summary: u-boot bootloader binaries for the aarch64 vexpress_aemv8a
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-vexpress_aemv8a
|
|
|
|
u-boot bootloader binaries for the aarch64 vexpress_aemv8a
|
|
|
|
%endif
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%ifarch %{arm}
|
2013-09-20 19:08:47 +00:00
|
|
|
%package -n uboot-arndale
|
|
|
|
Summary: u-boot bootloader binaries for arndale board
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-arndale
|
|
|
|
u-boot bootloader binaries for arndale board
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%package -n uboot-beagle
|
|
|
|
Summary: u-boot bootloader binaries for beagleboard
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-beagle
|
|
|
|
u-boot bootloader binaries for beagleboard
|
|
|
|
|
2012-07-07 06:39:31 +00:00
|
|
|
%package -n uboot-beaglebone
|
|
|
|
Summary: u-boot bootloader binaries for beaglebone
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-beaglebone
|
|
|
|
u-boot bootloader binaries for beaglebone
|
|
|
|
|
2013-06-05 18:50:04 +00:00
|
|
|
%package -n uboot-highbank
|
|
|
|
Summary: u-boot bootloader binaries for calxeda highbank
|
|
|
|
Requires: uboot-tools
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n uboot-highbank
|
|
|
|
u-boot bootloader binaries for calxeda highbank
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%package -n uboot-panda
|
|
|
|
Summary: u-boot bootloader binaries for pandaboard
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-panda
|
|
|
|
u-boot bootloader binaries for pandaboard
|
|
|
|
|
|
|
|
%package -n uboot-origen
|
|
|
|
Summary: u-boot bootloader binaries for origenboard
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-origen
|
|
|
|
u-boot bootloader binaries for origenboard
|
2012-10-17 21:10:20 +00:00
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
%package -n uboot-paz00
|
|
|
|
Summary: u-boot bootloader binaries for the paz00 board aka ac100
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-paz00
|
|
|
|
u-boot bootloader binaries for paz00 board
|
|
|
|
|
2012-10-17 21:10:20 +00:00
|
|
|
%package -n uboot-smdkv310
|
|
|
|
Summary: u-boot bootloader binaries for smdk310 board
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-smdkv310
|
|
|
|
u-boot bootloader binaries for smdk310 board
|
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
%package -n uboot-snow
|
|
|
|
Summary: u-boot bootloader binaries for snow board aka chromebook
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-snow
|
|
|
|
u-boot bootloader binaries for snow board
|
|
|
|
|
|
|
|
%package -n uboot-snowball
|
|
|
|
Summary: u-boot bootloader binaries for snowball board
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-snowball
|
|
|
|
u-boot bootloader binaries for snowball board
|
|
|
|
|
|
|
|
%package -n uboot-trimslice
|
|
|
|
Summary: u-boot bootloader binaries for trimslice board
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-trimslice
|
|
|
|
u-boot bootloader binaries for trimslice board
|
|
|
|
|
2013-05-18 15:38:56 +00:00
|
|
|
%package -n uboot-uevm
|
|
|
|
Summary: u-boot bootloader binaries for uevm, omap5 pandaboard
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-uevm
|
|
|
|
u-boot bootloader binaries for uevm, omap5 pandaboard
|
|
|
|
|
2013-04-21 14:06:13 +00:00
|
|
|
%package -n uboot-wandboard_dl
|
|
|
|
Summary: u-boot bootloader binaries for Wandboard i.MX6 Dual Lite
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-wandboard_dl
|
|
|
|
u-boot bootloader binaries for Wandboard i.MX6 Dual Lite
|
|
|
|
|
2013-06-14 14:22:06 +00:00
|
|
|
%package -n uboot-wandboard_quad
|
|
|
|
Summary: u-boot bootloader binaries for Wandboard i.MX6 Quad
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-wandboard_quad
|
|
|
|
u-boot bootloader binaries for Wandboard i.MX6 Quad
|
|
|
|
|
2013-04-21 14:06:13 +00:00
|
|
|
%package -n uboot-wandboard_solo
|
|
|
|
Summary: u-boot bootloader binaries for Wandboard i.MX6 Solo
|
|
|
|
Requires: uboot-tools
|
|
|
|
|
|
|
|
%description -n uboot-wandboard_solo
|
|
|
|
u-boot bootloader binaries for Wandboard i.MX6 Solo
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%endif
|
|
|
|
|
2010-06-04 14:19:00 +00:00
|
|
|
%prep
|
2012-09-13 09:07:31 +00:00
|
|
|
%setup -q -n u-boot-%{version}%{?candidate:-%{candidate}}
|
2012-04-20 13:57:11 +00:00
|
|
|
%patch1 -p1
|
2014-02-06 15:26:14 +00:00
|
|
|
|
2013-05-13 19:31:40 +00:00
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
mkdir builds
|
2014-02-06 15:26:14 +00:00
|
|
|
# convert fedora logo to bmp for use in u-boot
|
|
|
|
pngtopnm /usr/share/pixmaps/fedora-logo.png | ppmquant 256 | ppmtobmp -bpp 8 >fedora.bmp
|
|
|
|
|
|
|
|
#replace the logos with fedora's
|
|
|
|
for bmp in tools/logos/*bmp
|
|
|
|
do
|
|
|
|
cp fedora.bmp $bmp
|
|
|
|
done
|
2010-06-04 14:19:00 +00:00
|
|
|
|
|
|
|
%build
|
2014-02-06 15:26:14 +00:00
|
|
|
%ifarch aarch64
|
2014-03-13 05:01:26 +00:00
|
|
|
make vexpress_aemv8a_config
|
2014-02-06 15:26:14 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
|
|
|
cp -p u-boot.bin builds/u-boot.bin.vexpress_aemv8a
|
|
|
|
make distclean
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%ifarch %{arm}
|
2014-03-13 05:01:26 +00:00
|
|
|
make am335x_evm_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2012-07-07 06:39:31 +00:00
|
|
|
cp -p MLO builds/MLO.beaglebone
|
|
|
|
cp -p u-boot.img builds/u-boot.img.beaglebone
|
|
|
|
make distclean
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make omap3_beagle_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2012-07-07 15:03:10 +00:00
|
|
|
cp -p MLO builds/MLO.beagle
|
2012-07-07 14:19:32 +00:00
|
|
|
cp -p u-boot.img builds/u-boot.img.beagle
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make arndale_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-09-20 19:14:18 +00:00
|
|
|
cp -p spl/arndale-spl.bin builds/arndale-spl.bin.arndale
|
2013-09-20 19:08:47 +00:00
|
|
|
cp -p u-boot-dtb.bin builds/u-boot-dtb.bin.arndale
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make highbank_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-06-05 18:50:04 +00:00
|
|
|
cp -p u-boot.bin builds/u-boot.bin.highbank
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make omap4_panda_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2012-04-20 13:57:11 +00:00
|
|
|
cp -p MLO builds/MLO.panda
|
|
|
|
cp -p u-boot.img builds/u-boot.img.panda
|
2012-07-07 06:39:31 +00:00
|
|
|
make distclean
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make origen_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2012-04-20 13:57:11 +00:00
|
|
|
cp -p spl/origen-spl.bin builds/origen-spl.bin.origen
|
|
|
|
cp -p u-boot.bin builds/u-boot.bin.origen
|
|
|
|
make distclean
|
2012-10-17 21:10:20 +00:00
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make paz00_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-09-20 19:08:47 +00:00
|
|
|
cp -p u-boot-dtb-tegra.bin builds/u-boot-dtb-tegra.bin.paz00
|
|
|
|
cp -p u-boot-nodtb-tegra.bin builds/u-boot-nodtb-tegra.bin.paz00
|
2013-09-21 02:33:34 +00:00
|
|
|
cp -p u-boot.map builds/u-boot.map.paz00
|
2013-09-20 19:08:47 +00:00
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make smdkv310_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2012-10-17 21:10:20 +00:00
|
|
|
cp -p spl/smdkv310-spl.bin builds/smdkv310-spl.bin.smdkv310
|
|
|
|
cp -p u-boot.bin builds/u-boot.bin.smdkv310
|
|
|
|
make distclean
|
2013-04-21 14:06:13 +00:00
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make snow_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-09-20 19:08:47 +00:00
|
|
|
cp -p u-boot-dtb.bin builds/u-boot-dtb.bin.snow
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make snowball_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-09-20 19:08:47 +00:00
|
|
|
cp -p u-boot.bin builds/u-boot.bin.snowball
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make trimslice_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-09-20 19:08:47 +00:00
|
|
|
cp -p u-boot-dtb-tegra.bin builds/u-boot-dtb-tegra.bin.trimslice
|
|
|
|
cp -p u-boot-nodtb-tegra.bin builds/u-boot-nodtb-tegra.bin.trimslice
|
2013-09-21 02:33:34 +00:00
|
|
|
cp -p u-boot.map builds/u-boot.map.trimslice
|
2013-09-20 19:08:47 +00:00
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make wandboard_dl_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2014-03-12 19:56:30 +00:00
|
|
|
cp -p u-boot.imx builds/u-boot.imx.wbdl
|
2013-04-21 14:06:13 +00:00
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make wandboard_quad_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2014-03-12 19:56:30 +00:00
|
|
|
cp -p u-boot.imx builds/u-boot.imx.wbquad
|
2013-06-14 14:22:06 +00:00
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make wandboard_solo_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2014-03-12 19:56:30 +00:00
|
|
|
cp -p u-boot.imx builds/u-boot.imx.wbsolo
|
2013-04-21 14:06:13 +00:00
|
|
|
make distclean
|
2013-05-18 15:38:56 +00:00
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
make omap5_uevm_config
|
2013-10-20 20:25:37 +00:00
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags}
|
2013-05-18 15:38:56 +00:00
|
|
|
cp -p MLO builds/MLO.uevm
|
|
|
|
cp -p u-boot.img builds/u-boot.img.uevm
|
|
|
|
make distclean
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
%endif
|
|
|
|
%ifnarch %{arm}
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE=arm-linux-gnu- sheevaplug_config
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE=arm-linux-gnu- tools
|
2012-04-20 13:57:11 +00:00
|
|
|
%endif
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" sheevaplug_config
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" tools
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" env
|
2011-04-14 13:23:39 +00:00
|
|
|
%endif
|
2010-06-04 14:19:00 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
2011-04-14 13:23:39 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
2013-10-20 20:25:37 +00:00
|
|
|
|
2014-02-06 15:26:14 +00:00
|
|
|
%ifarch aarch64
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/vexpress_aemv8a/
|
|
|
|
|
|
|
|
install -p -m 0644 builds/u-boot.bin.vexpress_aemv8a $RPM_BUILD_ROOT%{_datadir}/uboot/vexpress_aemv8a/u-boot.bin
|
|
|
|
%endif
|
|
|
|
|
2013-10-20 20:25:37 +00:00
|
|
|
%ifarch %{arm}
|
2013-10-18 13:27:41 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/
|
|
|
|
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/uboot/uEnv.txt
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/arndale/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/beagle/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/beaglebone/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/highbank/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/origen/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/panda/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/paz00/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/snow/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/snowball/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/smdkv310/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/trimslice/
|
2014-03-12 19:56:30 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_dl/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_quad/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_solo/
|
2013-10-18 13:27:41 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/uevm/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/vexpress/
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2013-05-18 15:38:56 +00:00
|
|
|
for board in beaglebone beagle panda uevm
|
2012-04-20 13:57:11 +00:00
|
|
|
do
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/u-boot.img.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot.img
|
|
|
|
install -p -m 0644 builds/MLO.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/MLO
|
2012-04-20 13:57:11 +00:00
|
|
|
done
|
2013-05-23 03:29:28 +00:00
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
for board in paz00 trimslice
|
|
|
|
do
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/u-boot-nodtb-tegra.bin.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot-nodtb-tegra.bin
|
|
|
|
install -p -m 0644 builds/u-boot-dtb-tegra.bin.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot-dtb-tegra.bin
|
|
|
|
install -p -m 0644 builds/u-boot.map.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot.map
|
2013-09-20 19:08:47 +00:00
|
|
|
done
|
|
|
|
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/arndale-spl.bin.arndale $RPM_BUILD_ROOT%{_datadir}/uboot/arndale/arndale-spl.bin
|
|
|
|
install -p -m 0644 builds/u-boot-dtb.bin.arndale $RPM_BUILD_ROOT%{_datadir}/uboot/arndale/u-boot-dtb.bin
|
2013-06-05 18:50:04 +00:00
|
|
|
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/u-boot.bin.highbank $RPM_BUILD_ROOT%{_datadir}/uboot/highbank/u-boot.bin
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/origen-spl.bin.origen $RPM_BUILD_ROOT%{_datadir}/uboot/origen/origen-spl.bin
|
|
|
|
install -p -m 0644 builds/u-boot.bin.origen $RPM_BUILD_ROOT%{_datadir}/uboot/origen/u-boot.bin
|
2012-10-17 21:10:20 +00:00
|
|
|
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/smdkv310-spl.bin.smdkv310 $RPM_BUILD_ROOT%{_datadir}/uboot/smdkv310/smdkv310-spl.bin
|
|
|
|
install -p -m 0644 builds/u-boot.bin.smdkv310 $RPM_BUILD_ROOT%{_datadir}/uboot/smdkv310/u-boot.bin
|
2013-09-20 19:08:47 +00:00
|
|
|
|
2013-10-18 13:27:41 +00:00
|
|
|
install -p -m 0644 builds/u-boot-dtb.bin.snow $RPM_BUILD_ROOT%{_datadir}/uboot/snow/u-boot-dtb.bin
|
|
|
|
install -p -m 0644 builds/u-boot.bin.snowball $RPM_BUILD_ROOT%{_datadir}/uboot/snowball/u-boot.bin
|
2013-05-23 03:29:28 +00:00
|
|
|
|
2014-03-12 19:56:30 +00:00
|
|
|
install -p -m 0644 builds/u-boot.imx.wbdl $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_dl/u-boot.imx
|
|
|
|
install -p -m 0644 builds/u-boot.imx.wbquad $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_quad/u-boot.imx
|
|
|
|
install -p -m 0644 builds/u-boot.imx.wbsolo $RPM_BUILD_ROOT%{_datadir}/uboot/wandboard_solo/u-boot.imx
|
2012-04-20 13:57:11 +00:00
|
|
|
%endif
|
2010-06-04 14:19:00 +00:00
|
|
|
|
|
|
|
install -p -m 0755 tools/mkimage $RPM_BUILD_ROOT%{_bindir}
|
2011-04-14 13:23:39 +00:00
|
|
|
install -p -m 0644 doc/mkimage.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
|
2014-03-13 05:01:26 +00:00
|
|
|
%ifarch %{arm}
|
2010-06-04 14:19:00 +00:00
|
|
|
install -p -m 0755 tools/env/fw_printenv $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
( cd $RPM_BUILD_ROOT%{_bindir}; ln -sf fw_printenv fw_setenv )
|
|
|
|
|
|
|
|
install -p -m 0644 tools/env/fw_env.config $RPM_BUILD_ROOT%{_sysconfdir}
|
2011-04-14 13:23:39 +00:00
|
|
|
%endif
|
2010-06-04 14:19:00 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2013-09-03 03:51:03 +00:00
|
|
|
%doc README doc/README.imximage doc/README.kwbimage doc/uImage.FIT
|
2010-06-04 14:19:00 +00:00
|
|
|
%{_bindir}/mkimage
|
2011-04-14 13:23:39 +00:00
|
|
|
%{_mandir}/man1/mkimage.1*
|
2013-10-20 20:37:43 +00:00
|
|
|
%ifarch %{arm}
|
2013-10-18 13:27:41 +00:00
|
|
|
%dir %{_datadir}/uboot/
|
|
|
|
%{_datadir}/uboot/uEnv.txt
|
2013-10-20 20:37:43 +00:00
|
|
|
%endif
|
2011-04-14 13:23:39 +00:00
|
|
|
%if 0%{?with_env}
|
2010-06-04 14:19:00 +00:00
|
|
|
%{_bindir}/fw_printenv
|
|
|
|
%{_bindir}/fw_setenv
|
|
|
|
%config(noreplace) %{_sysconfdir}/fw_env.config
|
2011-04-14 13:23:39 +00:00
|
|
|
%endif
|
2014-02-06 15:26:14 +00:00
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
%files -n uboot-vexpress_aemv8a
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/uboot/vexpress_aemv8a/
|
|
|
|
%endif
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%ifarch %{arm}
|
2013-09-20 19:08:47 +00:00
|
|
|
%files -n uboot-arndale
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/arndale/
|
2013-09-20 19:08:47 +00:00
|
|
|
|
2012-07-07 06:39:31 +00:00
|
|
|
%files -n uboot-beaglebone
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/beaglebone/
|
2012-07-07 06:39:31 +00:00
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%files -n uboot-beagle
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/beagle/
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2013-06-05 18:50:04 +00:00
|
|
|
%files -n uboot-highbank
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/highbank/
|
2013-06-05 18:50:04 +00:00
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%files -n uboot-panda
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/panda/
|
2012-04-20 13:57:11 +00:00
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
%files -n uboot-paz00
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/paz00/
|
2013-09-20 19:08:47 +00:00
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
%files -n uboot-origen
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/origen/
|
2012-10-17 21:10:20 +00:00
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
%files -n uboot-snow
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/snow/
|
2013-09-20 19:08:47 +00:00
|
|
|
|
|
|
|
%files -n uboot-snowball
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/snowball/
|
2013-09-20 19:08:47 +00:00
|
|
|
|
2012-10-17 21:10:20 +00:00
|
|
|
%files -n uboot-smdkv310
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/smdkv310/
|
2013-04-21 14:06:13 +00:00
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
%files -n uboot-trimslice
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/trimslice/
|
2013-09-20 19:08:47 +00:00
|
|
|
|
2013-04-21 14:06:13 +00:00
|
|
|
%files -n uboot-wandboard_dl
|
|
|
|
%defattr(-,root,root,-)
|
2014-03-12 19:56:30 +00:00
|
|
|
%{_datadir}/uboot/wandboard_dl/
|
2013-04-21 14:06:13 +00:00
|
|
|
|
2013-06-14 14:22:06 +00:00
|
|
|
%files -n uboot-wandboard_quad
|
|
|
|
%defattr(-,root,root,-)
|
2014-03-12 19:56:30 +00:00
|
|
|
%{_datadir}/uboot/wandboard_quad/
|
2013-06-14 14:22:06 +00:00
|
|
|
|
2013-04-21 14:06:13 +00:00
|
|
|
%files -n uboot-wandboard_solo
|
|
|
|
%defattr(-,root,root,-)
|
2014-03-12 19:56:30 +00:00
|
|
|
%{_datadir}/uboot/wandboard_solo/
|
2013-05-18 15:38:56 +00:00
|
|
|
|
|
|
|
%files -n uboot-uevm
|
|
|
|
%defattr(-,root,root,-)
|
2013-10-18 13:27:41 +00:00
|
|
|
%{_datadir}/uboot/uevm/
|
2012-04-20 13:57:11 +00:00
|
|
|
%endif
|
2010-06-04 14:19:00 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-03-12 19:56:30 +00:00
|
|
|
* Wed Mar 12 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-0.1.rc2
|
|
|
|
- update to 2014.04-rc2
|
|
|
|
- add patches to convert some boards to generic distro configs
|
|
|
|
|
2013-10-20 20:25:37 +00:00
|
|
|
* Sun Oct 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-3
|
|
|
|
- fix ftbfs for wandboard
|
|
|
|
- use _smp_mflags
|
|
|
|
|
2013-10-19 11:53:27 +00:00
|
|
|
* Sat Oct 19 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-2
|
|
|
|
- use ext2load for dtb loading
|
|
|
|
- cleanup duplicate defines
|
|
|
|
|
2013-10-18 12:29:00 +00:00
|
|
|
* Thu Oct 17 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-1
|
|
|
|
- update to 2013.10 final
|
2013-10-18 13:27:41 +00:00
|
|
|
- refactor where u-boot binaries are stored
|
2013-10-18 12:29:00 +00:00
|
|
|
|
2013-10-04 19:25:35 +00:00
|
|
|
* Fri Oct 04 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.5.rc4
|
|
|
|
- update to 2013.10-rc4
|
|
|
|
|
2013-09-21 02:33:34 +00:00
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.4.rc3
|
|
|
|
- install u-boot.map for trimslice and paz00
|
|
|
|
|
2013-09-21 01:07:01 +00:00
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.3.rc3
|
|
|
|
- install trimslice u-boot correctly
|
|
|
|
|
2013-09-20 19:08:47 +00:00
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.2.rc3
|
|
|
|
- enable arndale, paz00, snow, snowball and trimslice builds
|
|
|
|
|
2013-09-19 22:11:28 +00:00
|
|
|
* Thu Sep 19 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.1.rc3
|
|
|
|
- update to 2013.10-rc3
|
|
|
|
- disable panda timing patch for now
|
|
|
|
|
2013-09-03 03:51:03 +00:00
|
|
|
* Mon Sep 02 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.1.rc2
|
|
|
|
- update to 2013.10-rc2
|
|
|
|
- enable extlinux.conf support on most boards
|
|
|
|
- add distro generic configuration options
|
|
|
|
|
2013-09-02 17:57:06 +00:00
|
|
|
* Sun Sep 1 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2013.07-2
|
|
|
|
- Add patch for Panda ES memory type issue
|
|
|
|
|
2013-07-26 23:27:09 +00:00
|
|
|
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 2013.07-1
|
|
|
|
- update to 2013.07 final
|
|
|
|
|
2013-07-18 23:14:14 +00:00
|
|
|
* Thu Jul 18 2013 Dennis Gilmore <dennis@ausil.us> - 2013.07-0.2.rc3
|
|
|
|
- update to 2013.07 rc3
|
|
|
|
- set wandboard to use extlinux.conf by default
|
|
|
|
|
2013-07-04 16:07:43 +00:00
|
|
|
* Thu Jul 04 2013 Dennis Gilmore <dennis@ausil.us> - 2013.07-0.1.rc2
|
|
|
|
- update beaglebone patches
|
|
|
|
- update wandboard quad patch
|
|
|
|
- upstream 2013.07-rc2 update
|
|
|
|
|
2013-06-05 18:50:04 +00:00
|
|
|
* Wed Jun 05 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-5
|
|
|
|
- add patches to support ext filesystems in exynos and omap SPL's
|
|
|
|
- drop bringing in arm-boot-config on arm systems
|
|
|
|
- build a highbank u-boot (intention is to use in qemu)
|
2013-06-14 14:43:10 +00:00
|
|
|
- add wandboard quad u-boot
|
2013-06-05 18:50:04 +00:00
|
|
|
|
2013-05-23 03:29:28 +00:00
|
|
|
* Wed May 22 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-4
|
|
|
|
- build vexpress image
|
|
|
|
- add uEnv.txt files for various supported omap systems
|
|
|
|
|
2013-05-18 15:38:56 +00:00
|
|
|
* Sat May 18 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-3
|
|
|
|
- add uevm, the omap5 based pandaboard
|
|
|
|
- Require arm-boot-config on arm arches
|
|
|
|
|
2013-05-13 19:31:40 +00:00
|
|
|
* Mon May 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2013.04-2
|
|
|
|
- Add patches for initial support for the Beagle Bone Black
|
|
|
|
|
2013-04-21 14:06:13 +00:00
|
|
|
* Sun Apr 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2013.04-1
|
|
|
|
- Update to 2013.04 release
|
|
|
|
- Build i.MX6 Wandboard Dual Lite and Solo Boards
|
|
|
|
|
2013-04-05 13:41:51 +00:00
|
|
|
* Sun Mar 31 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-0.1.rc1
|
|
|
|
- update to 2013.04-rc2
|
|
|
|
|
2013-03-01 17:11:26 +00:00
|
|
|
* Fri Mar 01 2013 Dennis Gilmore <dennis@ausil.us> - 2013.01.01-1
|
|
|
|
- update to 2013.01.01 for bug#907139
|
|
|
|
|
2013-01-29 19:39:25 +00:00
|
|
|
* Thu Jan 24 2013 Dennis Gilmore <dennis@ausil.us> - 2013.01-1
|
|
|
|
- update to 2013.01 release
|
|
|
|
|
2012-10-17 21:10:20 +00:00
|
|
|
* Wed Oct 17 2012 Dennis Gilmore <dennis@ausil.us> - 2012.10-1
|
2013-04-21 14:06:13 +00:00
|
|
|
- update to final 2012.10 release
|
2012-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
* Thu Oct 11 2012 Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
|
|
- Also generate uboot for SMDK310
|
|
|
|
|
2012-10-09 21:43:49 +00:00
|
|
|
* Tue Oct 09 2012 Dennis Gilmore <dennis@ausil.us> - 2012.10-0.1.rc3
|
|
|
|
- update to 2010.10 rc3
|
|
|
|
|
2012-08-24 01:12:37 +00:00
|
|
|
* Fri Aug 24 2012 Dennis Gilmore <dennis@ausil.us> - 2012.01-1
|
|
|
|
- update to 2012.07 release
|
|
|
|
|
2012-07-22 01:14:16 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.07-0.2.rc1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-13 02:44:37 +00:00
|
|
|
* Thu Jul 12 2012 Dennis Gilmore <dennis@ausil.us> - 2012.07-0.1.rc1
|
|
|
|
- update to rc1 of 2012.07 release
|
|
|
|
|
2012-07-07 14:19:32 +00:00
|
|
|
* Sat Jul 07 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-4
|
|
|
|
- still build the beagleboard image
|
|
|
|
|
2012-07-07 06:39:31 +00:00
|
|
|
* Sat Jul 07 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-3
|
|
|
|
- build beaglebone uboot images
|
|
|
|
|
2012-06-26 03:48:54 +00:00
|
|
|
* Mon Jun 25 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-2
|
|
|
|
- add patch so the MLO detects fat16 partitions correctly
|
|
|
|
|
2012-05-08 01:59:45 +00:00
|
|
|
* Mon May 07 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-1
|
|
|
|
- update to 2012.04.01 release
|
|
|
|
- http://lists.denx.de/pipermail/u-boot/2012-April/123011.html
|
|
|
|
|
2012-04-24 17:11:13 +00:00
|
|
|
* Tue Apr 24 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04-1
|
|
|
|
- update to final 2012.04 release
|
|
|
|
|
2012-04-20 13:57:11 +00:00
|
|
|
* Thu Apr 19 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04-0.1.rc3
|
|
|
|
- update to 2012.04-rc3
|
|
|
|
- build uboot binaries for beagle, panda and origen boards
|
|
|
|
|
2012-03-08 19:35:48 +00:00
|
|
|
* Thu Mar 08 2012 Dennis Gilmore <dennis@ausil.us> - 2011.12-1
|
|
|
|
- update to 2011.12 release
|
|
|
|
|
2012-01-14 07:23:48 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2011.03-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-04-14 13:23:39 +00:00
|
|
|
* Thu Apr 14 2011 Dan Horák <dan[at]danny.cz> - 2011.03-1
|
|
|
|
- updated to to 2011.03
|
|
|
|
- build the tool for manipulation with environment only on arm
|
|
|
|
|
2011-02-07 23:52:46 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2010.03-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-04 14:19:00 +00:00
|
|
|
* Thu May 27 2010 Dan Horák <dan[at]danny.cz> 2010.03-1
|
|
|
|
- updated to to 2010.03
|
|
|
|
- applied review feedback - added docs and expanded description
|
|
|
|
- pass proper CFLAGS to the compiler
|
|
|
|
|
|
|
|
* Sat Nov 14 2009 Dan Horák <dan[at]danny.cz> 2009.08-1
|
|
|
|
- initial Fedora version
|