diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-12 06:41:30 +0100 |
---|---|---|
committer | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-12 06:41:30 +0100 |
commit | b4c367ece679123a2a6ff4233e834e07e95df4a8 (patch) | |
tree | bee806723b3e7be45549a671c3be3c7bb2716be5 | |
parent | 6a5ca4a74487ea9bc46249d540814d1e55c7245f (diff) | |
download | meta-raspberrypi-b4c367ece679123a2a6ff4233e834e07e95df4a8.tar.gz |
bcm2835-bootfiles: Add recipe to download the binary bootfiles and store them in ${DEPLOY_DIR_IMAGE}.
-rwxr-xr-x | recipes-bcm/bootfiles/bcm2835-bootfiles.bb | 31 | ||||
-rwxr-xr-x | recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE | 3 |
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 @@ | |||
1 | DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835." | ||
2 | LICENSE = "proprietary-binary" | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=d2defdc6f09addccc73d83b74f2dda58" | ||
5 | |||
6 | # This is on the master branch | ||
7 | SRCREV = "78d00079176a2751be9dd226f8463cbcc9c55073" | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | file://LICENCE \ | ||
11 | git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \ | ||
12 | " | ||
13 | |||
14 | S = "${WORKDIR}" | ||
15 | BOOT_FILES = "${S}/git/boot" | ||
16 | |||
17 | PR = "r0" | ||
18 | |||
19 | addtask deploy before do_package after do_install | ||
20 | |||
21 | do_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 | |||
31 | 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 @@ | |||
1 | Proprietary binary firmware provided by Broadcom. | ||
2 | |||
3 | It is distributed with the express permission of the RaspberryPi foundation. | ||