summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2012-04-12 06:41:30 +0100
committerDavid-John Willis <John.Willis@Distant-earth.com>2012-04-12 06:41:30 +0100
commitb4c367ece679123a2a6ff4233e834e07e95df4a8 (patch)
treebee806723b3e7be45549a671c3be3c7bb2716be5
parent6a5ca4a74487ea9bc46249d540814d1e55c7245f (diff)
downloadmeta-raspberrypi-b4c367ece679123a2a6ff4233e834e07e95df4a8.tar.gz
bcm2835-bootfiles: Add recipe to download the binary bootfiles and store them in ${DEPLOY_DIR_IMAGE}.
-rwxr-xr-xrecipes-bcm/bootfiles/bcm2835-bootfiles.bb31
-rwxr-xr-xrecipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE3
2 files changed, 34 insertions, 0 deletions
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 @@
1DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835."
2LICENSE = "proprietary-binary"
3
4LIC_FILES_CHKSUM = "file://LICENCE;md5=d2defdc6f09addccc73d83b74f2dda58"
5
6# This is on the master branch
7SRCREV = "78d00079176a2751be9dd226f8463cbcc9c55073"
8
9SRC_URI = " \
10 file://LICENCE \
11 git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
12"
13
14S = "${WORKDIR}"
15BOOT_FILES = "${S}/git/boot"
16
17PR = "r0"
18
19addtask deploy before do_package after do_install
20
21do_deploy() {
22 install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
23 for i in ${BOOT_FILES}/*.elf ; do
24 cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
25 done
26 for i in ${BOOT_FILES}/*.bin ; do
27 cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
28 done
29}
30
31PACKAGE_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 @@
1Proprietary binary firmware provided by Broadcom.
2
3It is distributed with the express permission of the RaspberryPi foundation.