2012-07-24 16:16:40 +02:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2016-07-01 10:00:13 +02:00
|
|
|
if [ ! -e u-boot.spec.tmp ]; then
|
|
|
|
# We need to convert u-boot.spec.in into u-boot.spec.tmp first
|
|
|
|
/bin/sh update_git.sh
|
|
|
|
fi
|
|
|
|
|
2012-07-24 16:16:40 +02:00
|
|
|
BOARDNAME="$1"
|
|
|
|
BOARDCONFIG="$2"
|
2015-10-08 08:25:53 +02:00
|
|
|
ARCH_RESTRICTIONS="$3"
|
2012-07-24 16:16:40 +02:00
|
|
|
|
2014-12-16 14:49:23 +01:00
|
|
|
armv6_boards="rpi"
|
2015-10-08 08:25:53 +02:00
|
|
|
|
|
|
|
# TI
|
2016-02-18 11:07:15 +01:00
|
|
|
armv7_boards="omap3_beagle omap4_panda am335x_evm am335x_boneblack pcm051_rev3 am57xx_evm am57xx_evm_nodt"
|
2015-10-08 08:25:53 +02:00
|
|
|
# Exynos
|
|
|
|
armv7_boards="$armv7_boards arndale snow spring odroid odroid-xu3"
|
|
|
|
# Calxeda
|
|
|
|
armv7_boards="$armv7_boards highbank"
|
|
|
|
# Freescale
|
2017-02-14 00:42:17 +01:00
|
|
|
armv7_boards="$armv7_boards mx53loco mx6cuboxi mx6qsabrelite udoo udoo_neo"
|
2015-10-08 08:25:53 +02:00
|
|
|
# Allwinner
|
|
|
|
armv7_boards="$armv7_boards Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 Merrii_A80_Optimus"
|
|
|
|
armv7_boards="$armv7_boards A10-OLinuXino-Lime A13-OLinuXino A13-OLinuXinoM"
|
|
|
|
armv7_boards="$armv7_boards A20-OLinuXino-Lime A20-OLinuXino-Lime2 A20-OLinuXino_MICRO"
|
2017-03-12 20:03:22 +01:00
|
|
|
armv7_boards="$armv7_boards nanopi_neo orangepi_pc Hyundai_A7HD Lamobo_R1"
|
2015-10-08 08:25:53 +02:00
|
|
|
# Broadcom
|
2016-09-30 15:33:56 +02:00
|
|
|
armv7_boards="$armv7_boards rpi_2 rpi_3_32b"
|
2015-10-08 08:25:53 +02:00
|
|
|
# Nvidia
|
|
|
|
armv7_boards="$armv7_boards colibri_t20 paz00 jetson-tk1"
|
|
|
|
# Rockchip
|
|
|
|
armv7_boards="$armv7_boards firefly-rk3288"
|
2016-04-07 13:32:23 +02:00
|
|
|
# Marvell
|
|
|
|
armv7_boards="$armv7_boards clearfog"
|
2017-01-09 11:54:59 +01:00
|
|
|
# Altera
|
|
|
|
armv7_boards="$armv7_boards socfpga_de0_nano_soc"
|
2015-10-08 08:25:53 +02:00
|
|
|
|
2016-09-30 15:33:56 +02:00
|
|
|
aarch64_boards="dragonboard410c hikey odroid-c2 p2371-2180 pine64_plus rpi_3"
|
2014-05-17 21:45:20 +02:00
|
|
|
|
2016-02-09 16:49:43 +01:00
|
|
|
ppc_boards="qemu-ppce500"
|
2015-10-08 08:25:53 +02:00
|
|
|
|
2014-05-17 21:45:20 +02:00
|
|
|
if [ ! "$1" -o ! "$2" -o ! "$3" ]; then
|
|
|
|
# armv6 boards
|
|
|
|
for BOARDCONFIG in $armv6_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="armv6l armv6hl"
|
2015-10-08 08:25:53 +02:00
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
|
2014-05-17 21:45:20 +02:00
|
|
|
done
|
|
|
|
# armv7 boards
|
|
|
|
for BOARDCONFIG in $armv7_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="armv7l armv7hl"
|
2015-10-08 08:25:53 +02:00
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
|
2014-05-17 21:45:20 +02:00
|
|
|
done
|
|
|
|
# aarch64 boards
|
|
|
|
for BOARDCONFIG in $aarch64_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="aarch64"
|
2015-10-08 08:25:53 +02:00
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
|
|
|
|
done
|
|
|
|
# ppc boards
|
|
|
|
for BOARDCONFIG in $ppc_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
|
|
|
ARCH_RESTRICTIONS="ppc"
|
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
|
2012-07-24 16:16:40 +02:00
|
|
|
done
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2016-05-10 09:27:03 +02:00
|
|
|
MVEBU_SPL=0
|
2014-12-16 14:49:23 +01:00
|
|
|
OMAP_SPL=0
|
2016-04-07 13:32:23 +02:00
|
|
|
ROCKCHIP_SPL=0
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
SUNXI_SPL=0
|
2013-12-22 19:38:12 +01:00
|
|
|
ARNDALE_SPL=0
|
2014-07-11 06:45:49 +02:00
|
|
|
CUBOXI_SPL=0
|
2016-05-10 09:27:03 +02:00
|
|
|
ORIGEN_SPL=0
|
2016-02-09 16:49:43 +01:00
|
|
|
UDOO_SPL=0
|
2017-02-14 00:42:17 +01:00
|
|
|
IMX6_SPL=0
|
2017-01-09 11:54:59 +01:00
|
|
|
SOCFPGA_SPL=0
|
2015-10-08 08:25:53 +02:00
|
|
|
case "$(echo $BOARDCONFIG | sed -e 's/_defconfig//')" in
|
|
|
|
mx53loco|mx6qsabrelite|efika*)
|
2015-08-10 09:16:06 +02:00
|
|
|
BINEND=imx
|
|
|
|
;;
|
2016-05-10 09:27:03 +02:00
|
|
|
omap*|am335x*|pcm051*)
|
|
|
|
BINEND=img
|
|
|
|
OMAP_SPL=1
|
|
|
|
;;
|
|
|
|
arndale)
|
|
|
|
BINEND=bin
|
|
|
|
ARNDALE_SPL=1
|
|
|
|
;;
|
2017-03-12 20:03:22 +01:00
|
|
|
Bananapi*|Cubieboard*|Cubietruck*|Hyundai_A7HD|Mele_A1000|nanopi_neo|*-OLinuXino*|orangepi_pc|Lamobo_R1)
|
2015-08-10 09:16:06 +02:00
|
|
|
BINEND=img
|
|
|
|
SUNXI_SPL=1
|
|
|
|
;;
|
2015-10-08 08:25:53 +02:00
|
|
|
snow|spring)
|
2015-08-10 09:16:06 +02:00
|
|
|
BINEND=img
|
|
|
|
;;
|
2015-10-08 08:25:53 +02:00
|
|
|
mx6cuboxi)
|
2015-08-10 09:16:06 +02:00
|
|
|
BINEND=img
|
|
|
|
CUBOXI_SPL=1
|
2017-02-14 00:42:17 +01:00
|
|
|
IMX6_SPL=1
|
2015-08-10 09:16:06 +02:00
|
|
|
;;
|
2016-02-09 16:49:43 +01:00
|
|
|
udoo)
|
|
|
|
BINEND=img
|
|
|
|
UDOO_SPL=1
|
2017-02-14 00:42:17 +01:00
|
|
|
IMX6_SPL=1
|
|
|
|
;;
|
|
|
|
udoo_neo)
|
|
|
|
BINEND=img
|
|
|
|
IMX6_SPL=1
|
2016-02-09 16:49:43 +01:00
|
|
|
;;
|
2016-04-07 13:32:23 +02:00
|
|
|
firefly-rk3288)
|
|
|
|
BINEND=img
|
|
|
|
ROCKCHIP_SPL=1
|
|
|
|
ROCKCHIP_SPL_IMAGE_TYPES="rksd rkimage"
|
|
|
|
ROCKCHIP_SPL_SOC=rk3288
|
|
|
|
;;
|
2016-05-10 09:27:03 +02:00
|
|
|
clearfog)
|
|
|
|
BINEND=img
|
|
|
|
MVEBU_SPL=1
|
|
|
|
;;
|
2017-01-09 11:54:59 +01:00
|
|
|
socfpga_*)
|
|
|
|
BINEND=img
|
|
|
|
SOCFPGA_SPL=1
|
|
|
|
;;
|
2015-08-10 09:16:06 +02:00
|
|
|
|
|
|
|
*) BINEND=bin ;;
|
2012-08-07 08:24:10 +02:00
|
|
|
esac
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
sed "s/BOARDCONFIG/$BOARDCONFIG/g
|
|
|
|
s/BOARDNAME/$BOARDNAME/g
|
2014-05-17 21:45:20 +02:00
|
|
|
s/ARCH_RESTRICTIONS/$ARCH_RESTRICTIONS/g
|
2012-08-07 08:24:10 +02:00
|
|
|
s/BINEND/$BINEND/g
|
|
|
|
s/ORIGEN_SPL/$ORIGEN_SPL/g
|
2013-12-22 19:38:12 +01:00
|
|
|
s/ARNDALE_SPL/$ARNDALE_SPL/g
|
2016-05-10 09:27:03 +02:00
|
|
|
s/MVEBU_SPL/$MVEBU_SPL/g
|
2017-01-09 11:54:59 +01:00
|
|
|
s/SOCFPGA_SPL/$SOCFPGA_SPL/g
|
2016-04-07 13:32:23 +02:00
|
|
|
s/ROCKCHIP_SPL_IMAGE_TYPES/$ROCKCHIP_SPL_IMAGE_TYPES/g
|
|
|
|
s/ROCKCHIP_SPL_SOC/$ROCKCHIP_SPL_SOC/g
|
|
|
|
s/ROCKCHIP_SPL/$ROCKCHIP_SPL/g
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
s/SUNXI_SPL/$SUNXI_SPL/g
|
2014-01-21 07:02:30 +01:00
|
|
|
s/TEGRA_SPL/$TEGRA_SPL/g
|
2014-07-11 06:45:49 +02:00
|
|
|
s/CUBOXI_SPL/$CUBOXI_SPL/g
|
2016-02-09 16:49:43 +01:00
|
|
|
s/UDOO_SPL/$UDOO_SPL/g
|
2017-02-14 00:42:17 +01:00
|
|
|
s/IMX6_SPL/$IMX6_SPL/g
|
2016-07-01 10:00:13 +02:00
|
|
|
s/OMAP_SPL/$OMAP_SPL/g" < u-boot.spec.tmp > u-boot-$BOARDNAME.spec
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
cp u-boot.changes u-boot-$BOARDNAME.changes
|