mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
bcm2835-bootfiles: Add recipe to download the binary bootfiles and store them in ${DEPLOY_DIR_IMAGE}.
This commit is contained in:
parent
6a5ca4a744
commit
b4c367ece6
31
recipes-bcm/bootfiles/bcm2835-bootfiles.bb
Executable file
31
recipes-bcm/bootfiles/bcm2835-bootfiles.bb
Executable file
|
@ -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}"
|
3
recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE
Executable file
3
recipes-bcm/bootfiles/bcm2835-bootfiles/LICENCE
Executable file
|
@ -0,0 +1,3 @@
|
|||
Proprietary binary firmware provided by Broadcom.
|
||||
|
||||
It is distributed with the express permission of the RaspberryPi foundation.
|
Loading…
Reference in New Issue
Block a user