bcm2835-bootloader: update to bcm2835-bootloader-4467284

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-17 13:30:28 +02:00
parent 1622e8a085
commit eb389208c1
4 changed files with 7 additions and 39 deletions

View File

@ -1,29 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $PKG_BUILD/mkimage
rm -rf ./kernel.img
python ./imagetool-uncompressed.py $(kernel_path)/arch/arm/boot/Image

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="bcm2835-bootloader"
PKG_VERSION="3aba47b"
PKG_VERSION="4467284"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"

View File

@ -23,6 +23,6 @@
. config/options $1
mkdir -p $RELEASE_DIR/3rdparty/bootloader
cp -PR $BUILD/bcm2835-driver-*/boot/arm128_start.elf $RELEASE_DIR/3rdparty/bootloader/start.elf
cp -PR $BUILD/bcm2835-driver-*/boot/bootcode.bin $RELEASE_DIR/3rdparty/bootloader/
cp -PR $BUILD/bcm2835-driver-*/boot/loader.bin $RELEASE_DIR/3rdparty/bootloader/
cp -PR $PKG_BUILD/arm128_start.elf $RELEASE_DIR/3rdparty/bootloader/start.elf
cp -PR $PKG_BUILD/bootcode.bin $RELEASE_DIR/3rdparty/bootloader/
cp -PR $PKG_BUILD/loader.bin $RELEASE_DIR/3rdparty/bootloader/

View File

@ -167,6 +167,8 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
# copy kernel to target dir
if [ "$BOOTLOADER" = "u-boot" ]; then
KERNEL_IMAGE="uImage"
elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
KERNEL_IMAGE="Image"
else
KERNEL_IMAGE="bzImage"
fi
@ -177,12 +179,7 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
KERNEL_ARCH="arm"
fi
if [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
cp -PR $BUILD/bcm2835-bootloader-*/mkimage/kernel.img $TARGET_IMG/$IMAGE_NAME.kernel
chmod 0644 $TARGET_IMG/$IMAGE_NAME.kernel
else
cp -PR $BUILD/linux-*/arch/$KERNEL_ARCH/boot/$KERNEL_IMAGE $TARGET_IMG/$IMAGE_NAME.kernel
fi
cp -PR $BUILD/linux-*/arch/$KERNEL_ARCH/boot/$KERNEL_IMAGE $TARGET_IMG/$IMAGE_NAME.kernel
if [ "$BOOTLOADER" = "atv-bootloader" ]; then
cp -PR $BUILD/atv-bootloader-*/mach_kernel $TARGET_IMG/$IMAGE_NAME.mach_kernel