u-boot/pre_checkin.sh
Tomáš Chvátal 9a7b58c834 Accepting request 211599 from Base:System
- Remove old unused patches:
  * v2013.04-sunxi.patch
  * loadaddr-defaults.patch

- Add ti_common_initrd_support.patch to enable initrd support for 
  AM335x boards

- Add am335x_evm support which includes: Beagle Bone, 
  Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK

- Add Arndale support

- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch

- 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

- Update to 2013.10

- Fix OMAP4 pandaboard EXT2 boot

- Remove old unused patches:
  * v2013.04-sunxi.patch

OBS-URL: https://build.opensuse.org/request/show/211599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=16
2013-12-22 18:38:12 +00:00

45 lines
1.1 KiB
Bash

#!/bin/bash -e
BOARDNAME="$1"
BOARDCONFIG="$2"
if [ ! "$1" -o ! "$2" ]; then
for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm origen arndale highbank mx53loco rpi_b cubieboard hyundai_a7hd mele_a1000; do
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
BOARDCONFIG=${BOARDCONFIG}_config
bash $0 $BOARDNAME $BOARDCONFIG
done
exit 0
fi
XLOADER=0
ORIGEN_SPL=0
SUNXI_SPL=0
ARNDALE_SPL=0
case "$BOARDCONFIG" in
mx*|efika*) BINEND=imx ;;
*omap*|*am335x*) BINEND=bin
XLOADER=1 ;;
*origen*) BINEND=bin
ORIGEN_SPL=1 ;;
*arndale*) BINEND=bin
ARNDALE_SPL=1 ;;
*cubieboard*) BINEND=bin
SUNXI_SPL=1 ;;
*mele_a1000*) BINEND=bin
SUNXI_SPL=1 ;;
*hyundai_a7hd*) BINEND=bin
SUNXI_SPL=1 ;;
*) BINEND=bin ;;
esac
sed "s/BOARDCONFIG/$BOARDCONFIG/g
s/BOARDNAME/$BOARDNAME/g
s/BINEND/$BINEND/g
s/ORIGEN_SPL/$ORIGEN_SPL/g
s/ARNDALE_SPL/$ARNDALE_SPL/g
s/SUNXI_SPL/$SUNXI_SPL/g
s/XLOADER/$XLOADER/g" < u-boot.spec.in > u-boot-$BOARDNAME.spec
cp u-boot.changes u-boot-$BOARDNAME.changes