701 lines
24 KiB
RPMSpec
701 lines
24 KiB
RPMSpec
%global candidate rc3
|
|
|
|
Name: uboot-tools
|
|
Version: 2014.10
|
|
Release: 0.5%{?candidate:.%{candidate}}%{?dist}
|
|
Summary: U-Boot utilities
|
|
|
|
Group: Development/Tools
|
|
License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+
|
|
URL: http://www.denx.de/wiki/U-Boot
|
|
Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}%{?candidate:-%{candidate}}.tar.bz2
|
|
Source1: uEnv.txt
|
|
Patch1: u-boot-fat.patch
|
|
|
|
# Debian proposed improvements to distro defaults
|
|
# http://lists.denx.de/pipermail/u-boot/2014-October/190627.html
|
|
Patch11: 0001-Allow-checking-in-multiple-partitions-for-scan_dev_f.patch
|
|
Patch12: 0002-Allow-overriding-boot_partitions-default-value-by-se.patch
|
|
Patch13: 0003-Add-BOOTENV_INIT_COMMAND-for-commands-that-may-be-ne.patch
|
|
Patch14: 0004-Add-BOOTENV_POST_COMMAND-which-is-appended-to-the-en.patch
|
|
Patch15: 0005-Only-set-CONFIG_BOOTDELAY-if-not-already-set.patch
|
|
Patch16: 0006-Add-support-for-loading-environment-from-uEnv.txt-in.patch
|
|
Patch17: 0007-Switch-am335x_evm.h-to-use-config_distro_defaults-an.patch
|
|
# Fedora patches for distro defaults support
|
|
Patch20: 0001-wandboard-port-to-generic-distro-booting.patch
|
|
Patch21: riotboard-port-to-generic-distro-booting.patch
|
|
# Bug fixes
|
|
# http://lists.denx.de/pipermail/u-boot/2014-September/190052.html
|
|
Patch30: sun7i-bananapi-fixGmac.patch
|
|
Patch31: trimslice-fixbuild.patch
|
|
|
|
BuildRequires: dtc, openssl-devel
|
|
BuildRequires: fedora-logos, netpbm-progs
|
|
Requires: dtc
|
|
|
|
%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.
|
|
|
|
%ifarch aarch64
|
|
%package -n uboot-images-armv8
|
|
Summary: u-boot bootloader images for armv8 boards
|
|
Requires: uboot-tools
|
|
|
|
%description -n uboot-images-armv8
|
|
u-boot bootloader binaries for the aarch64 vexpress_aemv8a
|
|
%endif
|
|
|
|
%ifarch %{arm}
|
|
%package -n uboot-images-armv7
|
|
Summary: u-boot bootloader images for armv7 boards
|
|
Requires: uboot-tools
|
|
|
|
Obsoletes: uboot-arndale < %{version}-%{release}
|
|
Provides: uboot-arndale = %{version}-%{release}
|
|
Obsoletes: uboot-beagle < %{version}-%{release}
|
|
Provides: uboot-beagle = %{version}-%{release}
|
|
Obsoletes: uboot-beaglebone < %{version}-%{release}
|
|
Provides: uboot-beaglebone = %{version}-%{release}
|
|
Obsoletes: uboot-highbank < %{version}-%{release}
|
|
Provides: uboot-highbank = %{version}-%{release}
|
|
Obsoletes: uboot-panda < %{version}-%{release}
|
|
Provides: uboot-panda = %{version}-%{release}
|
|
Obsoletes: uboot-origen < %{version}-%{release}
|
|
Provides: uboot-origen = %{version}-%{release}
|
|
Obsoletes: uboot-paz00 < %{version}-%{release}
|
|
Provides: uboot-paz00 = %{version}-%{release}
|
|
Obsoletes: uboot-smdkv310 < %{version}-%{release}
|
|
Provides: uboot-smdkv310 = %{version}-%{release}
|
|
Obsoletes: uboot-snow < %{version}-%{release}
|
|
Provides: uboot-snow = %{version}-%{release}
|
|
Obsoletes: uboot-snowball < %{version}-%{release}
|
|
Provides: uboot-snowball = %{version}-%{release}
|
|
Obsoletes: uboot-trimslice < %{version}-%{release}
|
|
Provides: uboot-trimslice = %{version}-%{release}
|
|
Obsoletes: uboot-uevm < %{version}-%{release}
|
|
Provides: uboot-uevm = %{version}-%{release}
|
|
Obsoletes: uboot-wandboard_dl < %{version}-%{release}
|
|
Provides: uboot-wandboard_dl = %{version}-%{release}
|
|
Obsoletes: uboot-wandboard_quad < %{version}-%{release}
|
|
Provides: uboot-wandboard_quad = %{version}-%{release}
|
|
Obsoletes: uboot-wandboard_solo < %{version}-%{release}
|
|
Provides: uboot-wandboard_solo = %{version}-%{release}
|
|
|
|
%description -n uboot-images-armv7
|
|
u-boot bootloader binaries for armv7 boards
|
|
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n u-boot-%{version}%{?candidate:-%{candidate}}
|
|
%patch1 -p1
|
|
|
|
%patch11 -p1
|
|
%patch12 -p1
|
|
%patch13 -p1
|
|
%patch14 -p1
|
|
%patch15 -p1
|
|
%patch16 -p1
|
|
%patch17 -p1
|
|
|
|
%patch20 -p1 -b .wand
|
|
%patch21 -p1 -b .riot
|
|
|
|
%patch30 -p1 -b .BPgmac
|
|
%patch31 -p1 -b .ts
|
|
|
|
mkdir builds
|
|
# 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
|
|
|
|
%build
|
|
%ifarch aarch64
|
|
make vexpress_aemv8a_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.bin builds/u-boot.bin.vexpress_aemv8a
|
|
make mrproper
|
|
|
|
%endif
|
|
|
|
%ifarch %{arm}
|
|
# AllWinner devices
|
|
make Bananapi_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Bananapi
|
|
make mrproper
|
|
|
|
make Cubieboard_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Cubieboard
|
|
make mrproper
|
|
|
|
make Cubieboard2_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Cubieboard2
|
|
make mrproper
|
|
|
|
make Cubietruck_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Cubietruck
|
|
make mrproper
|
|
|
|
make Mele_A1000G_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Mele_A1000G
|
|
make mrproper
|
|
|
|
make Mele_A1000_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Mele_A1000
|
|
make mrproper
|
|
|
|
make Mini-X_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Mini-X
|
|
make mrproper
|
|
|
|
make Mini-X-1Gb_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.Mini-X-1Gb
|
|
make mrproper
|
|
|
|
make A10-OLinuXino-Lime_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.A10-OLinuXino-Lime
|
|
make mrproper
|
|
|
|
make A10s-OLinuXino-M_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.A10s-OLinuXino-M
|
|
make mrproper
|
|
|
|
make A13-OLinuXino_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.A13-OLinuXino
|
|
make mrproper
|
|
|
|
make A13-OLinuXinoM_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.A13-OLinuXinoM
|
|
make mrproper
|
|
|
|
make A20-OLinuXino_MICRO_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-sunxi-with-spl.bin builds/u-boot-sunxi-with-spl.bin.A20-OLinuXino_MICRO
|
|
make mrproper
|
|
|
|
# Calxeda
|
|
make highbank_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.bin builds/u-boot.bin.highbank
|
|
make mrproper
|
|
|
|
# Freescale i.MX6
|
|
make riotboard_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.imx builds/u-boot.imx.riotboard
|
|
make mrproper
|
|
|
|
make udoo_quad_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.imx builds/u-boot.imx.udoo_quad
|
|
make mrproper
|
|
|
|
make wandboard_dl_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.imx builds/u-boot.imx.wandboard_dl
|
|
make mrproper
|
|
|
|
make wandboard_quad_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.imx builds/u-boot.imx.wandboard_quad
|
|
make mrproper
|
|
|
|
make wandboard_solo_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.imx builds/u-boot.imx.wandboard_solo
|
|
make mrproper
|
|
|
|
# NVidia Tegra devices
|
|
make jetson-tk1_defconfig
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-dtb-tegra.bin builds/u-boot-dtb-tegra.bin.jetson-tk1
|
|
cp -p u-boot-nodtb-tegra.bin builds/u-boot-nodtb-tegra.bin.jetson-tk1
|
|
cp -p u-boot.map builds/u-boot.map.jetson-tk1
|
|
cp -p u-boot.dtb builds/u-boot.dtb.jetson-tk1
|
|
make mrproper
|
|
|
|
make paz00_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
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
|
|
cp -p u-boot.map builds/u-boot.map.paz00
|
|
cp -p u-boot.dtb builds/u-boot.dtb.paz00
|
|
make mrproper
|
|
|
|
make trimslice_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
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
|
|
cp -p u-boot.map builds/u-boot.map.trimslice
|
|
cp -p u-boot.dtb builds/u-boot.dtb.trimslice
|
|
make mrproper
|
|
|
|
# Samsung Exynos devices
|
|
make arndale_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p spl/arndale-spl.bin builds/arndale-spl.bin.arndale
|
|
cp -p u-boot-dtb.bin builds/u-boot-dtb.bin.arndale
|
|
make mrproper
|
|
|
|
make origen_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p spl/origen-spl.bin builds/origen-spl.bin.origen
|
|
cp -p u-boot.bin builds/u-boot.bin.origen
|
|
make mrproper
|
|
|
|
make smdkv310_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p spl/smdkv310-spl.bin builds/smdkv310-spl.bin.smdkv310
|
|
cp -p u-boot.bin builds/u-boot.bin.smdkv310
|
|
make mrproper
|
|
|
|
make snow_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot-dtb.bin builds/u-boot-dtb.bin.snow
|
|
make mrproper
|
|
|
|
# ST Erikson
|
|
make snowball_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p u-boot.bin builds/u-boot.bin.snowball
|
|
make mrproper
|
|
|
|
# TI devices
|
|
make am335x_evm_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p MLO builds/MLO.beaglebone
|
|
cp -p u-boot.img builds/u-boot.img.beaglebone
|
|
make mrproper
|
|
|
|
make omap3_beagle_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p MLO builds/MLO.beagle
|
|
cp -p u-boot.img builds/u-boot.img.beagle
|
|
make mrproper
|
|
|
|
make omap4_panda_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p MLO builds/MLO.panda
|
|
cp -p u-boot.img builds/u-boot.img.panda
|
|
make mrproper
|
|
|
|
make omap5_uevm_config
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE="" %{?_smp_mflags} V=1
|
|
cp -p MLO builds/MLO.uevm
|
|
cp -p u-boot.img builds/u-boot.img.uevm
|
|
make mrproper
|
|
|
|
%endif
|
|
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" defconfig V=1
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" silentoldconfig V=1
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" tools-only V=1
|
|
|
|
%ifarch %{arm}
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" sheevaplug_config V=1
|
|
make HOSTCC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} CROSS_COMPILE="" env V=1
|
|
%endif
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
%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
|
|
|
|
%ifarch %{arm}
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/
|
|
# ARM Vexpress
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/vexpress/
|
|
|
|
# AllWinner
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Bananapi/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Cubieboard/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Cubieboard2/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Cubietruck/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Mele_A1000/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Mele_A1000G/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Mini-X/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/Mini-X-1Gb/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/A10-OLinuXino-Lime/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/A10s-OLinuXino-M/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/A13-OLinuXino/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/A13-OLinuXinoM/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/A20-OLinuXino_MICRO/
|
|
# Calxeda
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/highbank/
|
|
# FreeScale
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/riotboard/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/udoo_quad/
|
|
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/
|
|
# NVidia
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/jetson-tk1/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/paz00/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/trimslice/
|
|
# Samsung
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/arndale/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/origen/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/smdkv310/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/snow/
|
|
# STE
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/snowball/
|
|
# TI
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/beagle/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/beaglebone/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/panda/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/uevm/
|
|
|
|
# AllWinner
|
|
for board in Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 Mele_A1000G Mini-X Mini-X-1Gb A10-OLinuXino-Lime A10s-OLinuXino-M A13-OLinuXino A13-OLinuXinoM A20-OLinuXino_MICRO
|
|
do
|
|
install -p -m 0644 builds/u-boot-sunxi-with-spl.bin.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot-sunxi-with-spl.bin
|
|
done
|
|
|
|
# Calxeda
|
|
install -p -m 0644 builds/u-boot.bin.highbank $RPM_BUILD_ROOT%{_datadir}/uboot/highbank/u-boot.bin
|
|
|
|
# FreeScale
|
|
for board in riotboard udoo_quad wandboard_dl wandboard_quad wandboard_solo
|
|
do
|
|
install -p -m 0644 builds/u-boot.imx.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot.imx
|
|
done
|
|
|
|
# NVidia
|
|
for board in paz00 trimslice jetson-tk1
|
|
do
|
|
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
|
|
install -p -m 0644 builds/u-boot.dtb.$(echo $board) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/u-boot.dtb
|
|
done
|
|
|
|
# Samsung
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
install -p -m 0644 builds/u-boot-dtb.bin.snow $RPM_BUILD_ROOT%{_datadir}/uboot/snow/u-boot-dtb.bin
|
|
|
|
# STE
|
|
install -p -m 0644 builds/u-boot.bin.snowball $RPM_BUILD_ROOT%{_datadir}/uboot/snowball/u-boot.bin
|
|
|
|
# TI
|
|
for board in beaglebone beagle panda uevm
|
|
do
|
|
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
|
|
done
|
|
|
|
%endif
|
|
|
|
install -p -m 0755 tools/mkimage $RPM_BUILD_ROOT%{_bindir}
|
|
install -p -m 0644 doc/mkimage.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
install -p -m 0755 tools/mkenvimage $RPM_BUILD_ROOT%{_bindir}
|
|
install -p -m 0755 tools/dumpimage $RPM_BUILD_ROOT%{_bindir}
|
|
install -p -m 0755 tools/fit_info $RPM_BUILD_ROOT%{_bindir}
|
|
install -p -m 0755 tools/fit_check_sign $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
%ifarch %{arm}
|
|
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}
|
|
%endif
|
|
|
|
|
|
%files
|
|
%doc README doc/README.imximage doc/README.kwbimage doc/uImage.FIT
|
|
%{_bindir}/fit_check_sign
|
|
%{_bindir}/fit_info
|
|
%{_bindir}/mkimage
|
|
%{_bindir}/mkenvimage
|
|
%{_bindir}/dumpimage
|
|
%{_mandir}/man1/mkimage.1*
|
|
%ifarch %{arm} aarch64
|
|
%dir %{_datadir}/uboot/
|
|
%endif
|
|
%ifarch %{arm}
|
|
%{_bindir}/fw_printenv
|
|
%{_bindir}/fw_setenv
|
|
%config(noreplace) %{_sysconfdir}/fw_env.config
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
%files -n uboot-images-armv8
|
|
%{_datadir}/uboot/vexpress_aemv8a/
|
|
%endif
|
|
|
|
%ifarch %{arm}
|
|
%files -n uboot-images-armv7
|
|
# AllWinner
|
|
%{_datadir}/uboot/Bananapi/
|
|
%{_datadir}/uboot/Cubieboard/
|
|
%{_datadir}/uboot/Cubieboard2/
|
|
%{_datadir}/uboot/Cubietruck/
|
|
%{_datadir}/uboot/Mele_A1000/
|
|
%{_datadir}/uboot/Mele_A1000G/
|
|
%{_datadir}/uboot/Mini-X/
|
|
%{_datadir}/uboot/Mini-X-1Gb/
|
|
%{_datadir}/uboot/A10-OLinuXino-Lime/
|
|
%{_datadir}/uboot/A10s-OLinuXino-M/
|
|
%{_datadir}/uboot/A13-OLinuXino/
|
|
%{_datadir}/uboot/A13-OLinuXinoM/
|
|
%{_datadir}/uboot/A20-OLinuXino_MICRO/
|
|
# Calxeda
|
|
%{_datadir}/uboot/highbank/
|
|
# FreeScale
|
|
%{_datadir}/uboot/riotboard/
|
|
%{_datadir}/uboot/wandboard_dl/
|
|
%{_datadir}/uboot/wandboard_quad/
|
|
%{_datadir}/uboot/wandboard_solo/
|
|
%{_datadir}/uboot/udoo_quad/
|
|
# NVidia
|
|
%{_datadir}/uboot/jetson-tk1/
|
|
%{_datadir}/uboot/paz00/
|
|
%{_datadir}/uboot/trimslice/
|
|
# Samsung
|
|
%{_datadir}/uboot/arndale/
|
|
%{_datadir}/uboot/smdkv310/
|
|
%{_datadir}/uboot/snow/
|
|
# STE
|
|
%{_datadir}/uboot/snowball/
|
|
# TI
|
|
%{_datadir}/uboot/beagle/
|
|
%{_datadir}/uboot/beaglebone/
|
|
%{_datadir}/uboot/origen/
|
|
%{_datadir}/uboot/panda/
|
|
%{_datadir}/uboot/uevm/
|
|
%endif
|
|
|
|
%changelog
|
|
* Wed Oct 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2014.10-0.6.rc3
|
|
- Update to 2014.10 rc3
|
|
- Add proposed distro patches from Debian
|
|
- Add BBone with distro support
|
|
|
|
* Fri Oct 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2014.10-0.5.rc2
|
|
- Enable some more AllWinner devices
|
|
|
|
* Mon Sep 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2014.10-0.4.rc2
|
|
- Add generic distro support to RIoT board
|
|
- Add patch to stabilise BananaPi network
|
|
- Spec cleanups
|
|
|
|
* Fri Sep 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2014.10-0.3.rc2
|
|
- Add Jetson K1, RIoT Board
|
|
- Minor spec cleanups
|
|
|
|
* Thu Sep 18 2014 Dennis Gilmore <dennis@ausil.us> - 2014.10-0.2.rc2
|
|
- Add Cubieboard, Cubieboard2, Banana Pi, Mele_A1000 and Mele_A1000G images
|
|
|
|
* Thu Sep 18 2014 Dennis Gilmore <dennis@ausil.us> - 2014.10-0.1.rc2
|
|
- Update to 2014.10-rc2
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.04-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.04-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Apr 27 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-5
|
|
- fix up aarch64 image package naming
|
|
- drop need for cross compiler to build tools
|
|
|
|
* Sat Apr 26 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-4
|
|
- add hyp support to cubietruck image
|
|
- enables kvm support
|
|
|
|
* Thu Apr 24 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-3
|
|
- add cubietruck u-boot image
|
|
|
|
* Wed Apr 23 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-2
|
|
- automatically add console line from u-boot environment to bootargs
|
|
- when there is no console argument in the extlinux.conf file
|
|
|
|
* Mon Apr 21 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-1
|
|
- update to final 2014.04
|
|
- put all images into a single rpm
|
|
- add udoo image
|
|
|
|
* Wed Mar 19 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-0.4.rc2
|
|
- apply fixes for panda and beaglebone
|
|
|
|
* Sat Mar 15 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-0.3.rc2
|
|
- Add missing header
|
|
- pull in patches on their way upstream to fix some issues with ti
|
|
- systems.
|
|
- refactor beaglebone and pandaboard patches
|
|
|
|
* Thu Mar 13 2014 Dennis Gilmore <dennis@ausil.us> - 2014.04-0.2.rc2
|
|
- actually apply patches
|
|
|
|
* 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
|
|
|
|
* Sun Oct 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-3
|
|
- fix ftbfs for wandboard
|
|
- use _smp_mflags
|
|
|
|
* Sat Oct 19 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-2
|
|
- use ext2load for dtb loading
|
|
- cleanup duplicate defines
|
|
|
|
* Thu Oct 17 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-1
|
|
- update to 2013.10 final
|
|
- refactor where u-boot binaries are stored
|
|
|
|
* Fri Oct 04 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.5.rc4
|
|
- update to 2013.10-rc4
|
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.4.rc3
|
|
- install u-boot.map for trimslice and paz00
|
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.3.rc3
|
|
- install trimslice u-boot correctly
|
|
|
|
* Fri Sep 20 2013 Dennis Gilmore <dennis@ausil.us> - 2013.10-0.2.rc3
|
|
- enable arndale, paz00, snow, snowball and trimslice builds
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Sun Sep 1 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2013.07-2
|
|
- Add patch for Panda ES memory type issue
|
|
|
|
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 2013.07-1
|
|
- update to 2013.07 final
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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)
|
|
- add wandboard quad u-boot
|
|
|
|
* Wed May 22 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-4
|
|
- build vexpress image
|
|
- add uEnv.txt files for various supported omap systems
|
|
|
|
* 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
|
|
|
|
* Mon May 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2013.04-2
|
|
- Add patches for initial support for the Beagle Bone Black
|
|
|
|
* 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
|
|
|
|
* Sun Mar 31 2013 Dennis Gilmore <dennis@ausil.us> - 2013.04-0.1.rc1
|
|
- update to 2013.04-rc2
|
|
|
|
* Fri Mar 01 2013 Dennis Gilmore <dennis@ausil.us> - 2013.01.01-1
|
|
- update to 2013.01.01 for bug#907139
|
|
|
|
* Thu Jan 24 2013 Dennis Gilmore <dennis@ausil.us> - 2013.01-1
|
|
- update to 2013.01 release
|
|
|
|
* Wed Oct 17 2012 Dennis Gilmore <dennis@ausil.us> - 2012.10-1
|
|
- update to final 2012.10 release
|
|
|
|
* Thu Oct 11 2012 Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
- Also generate uboot for SMDK310
|
|
|
|
* Tue Oct 09 2012 Dennis Gilmore <dennis@ausil.us> - 2012.10-0.1.rc3
|
|
- update to 2010.10 rc3
|
|
|
|
* Fri Aug 24 2012 Dennis Gilmore <dennis@ausil.us> - 2012.01-1
|
|
- update to 2012.07 release
|
|
|
|
* 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
|
|
|
|
* Thu Jul 12 2012 Dennis Gilmore <dennis@ausil.us> - 2012.07-0.1.rc1
|
|
- update to rc1 of 2012.07 release
|
|
|
|
* Sat Jul 07 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-4
|
|
- still build the beagleboard image
|
|
|
|
* Sat Jul 07 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-3
|
|
- build beaglebone uboot images
|
|
|
|
* Mon Jun 25 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04.01-2
|
|
- add patch so the MLO detects fat16 partitions correctly
|
|
|
|
* 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
|
|
|
|
* Tue Apr 24 2012 Dennis Gilmore <dennis@ausil.us> - 2012.04-1
|
|
- update to final 2012.04 release
|
|
|
|
* 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
|
|
|
|
* Thu Mar 08 2012 Dennis Gilmore <dennis@ausil.us> - 2011.12-1
|
|
- update to 2011.12 release
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|