summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2016-06-18 12:07:04 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2016-07-08 12:17:41 +0100
commitd49bd07c5b54defc7cec5829d287a2bd82ae9afe (patch)
treeef75c6e8dd649ddf6bbbf75b4af379e6427d0bf8 /classes
parentb34b4fe8fcbd1a1ff74c01af5abc8ca4d3c841d9 (diff)
downloadmeta-raspberrypi-d49bd07c5b54defc7cec5829d287a2bd82ae9afe.tar.gz
u-boot: Use mainline u-boot recipe from oe-core
The repository used by u-boot-rpi has not been updated since 2012. In the meantime, mailine u-boot has gained Raspberry Pi support. All we need to do is set UBOOT_MACHINE to an appropriate value in the machine config files. Currently configs are only provided for raspberrypi and raspberrypi2. The master branch of u-boot now also appears to have a config file for raspberrypi3 so support for this can be added in the future when u-boot is upgraded in oe-core. The mainline u-boot recipe creates the file "u-boot.bin" instead of "u-boot.img". Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Diffstat (limited to 'classes')
-rw-r--r--classes/sdcard_image-rpi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 4dfd7a3..20bd314 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -105,7 +105,7 @@ IMAGE_CMD_rpi-sdimg () {
105 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ 105 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/
106 case "${KERNEL_IMAGETYPE}" in 106 case "${KERNEL_IMAGETYPE}" in
107 "uImage") 107 "uImage")
108 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/u-boot.img ::${SDIMG_KERNELIMAGE} 108 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/u-boot.bin ::${SDIMG_KERNELIMAGE}
109 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin ::uImage 109 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin ::uImage
110 ;; 110 ;;
111 *) 111 *)