From b4c367ece679123a2a6ff4233e834e07e95df4a8 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Thu, 12 Apr 2012 06:41:30 +0100 Subject: bcm2835-bootfiles: Add recipe to download the binary bootfiles and store them in ${DEPLOY_DIR_IMAGE}. --- recipes-bcm/bootfiles/bcm2835-bootfiles.bb | 31 +++++++++++++++++++++++++ recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE | 3 +++ 2 files changed, 34 insertions(+) create mode 100755 recipes-bcm/bootfiles/bcm2835-bootfiles.bb create mode 100755 recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE diff --git a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb new file mode 100755 index 0000000..41c103a --- /dev/null +++ b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835." +LICENSE = "proprietary-binary" + +LIC_FILES_CHKSUM = "file://LICENCE;md5=d2defdc6f09addccc73d83b74f2dda58" + +# This is on the master branch +SRCREV = "78d00079176a2751be9dd226f8463cbcc9c55073" + +SRC_URI = " \ + file://LICENCE \ + git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \ +" + +S = "${WORKDIR}" +BOOT_FILES = "${S}/git/boot" + +PR = "r0" + +addtask deploy before do_package after do_install + +do_deploy() { + install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles + for i in ${BOOT_FILES}/*.elf ; do + cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles + done + for i in ${BOOT_FILES}/*.bin ; do + cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles + done +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE b/recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE new file mode 100755 index 0000000..e7f7f9f --- /dev/null +++ b/recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE @@ -0,0 +1,3 @@ +Proprietary binary firmware provided by Broadcom. + +It is distributed with the express permission of the RaspberryPi foundation. -- cgit v1.2.3-54-g00ecf