diff options
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 | ||||
-rw-r--r-- | conf/machine/include/rpi-default-providers.inc | 1 | ||||
-rw-r--r-- | conf/machine/raspberrypi.conf | 2 | ||||
-rw-r--r-- | conf/machine/raspberrypi2.conf | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-rpi_git.bb | 29 |
5 files changed, 5 insertions, 31 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 | *) |
diff --git a/conf/machine/include/rpi-default-providers.inc b/conf/machine/include/rpi-default-providers.inc index cabbd43..359870d 100644 --- a/conf/machine/include/rpi-default-providers.inc +++ b/conf/machine/include/rpi-default-providers.inc | |||
@@ -1,7 +1,6 @@ | |||
1 | # RaspberryPi BSP default providers | 1 | # RaspberryPi BSP default providers |
2 | 2 | ||
3 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-raspberrypi" | 3 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-raspberrypi" |
4 | PREFERRED_PROVIDER_u-boot ?= "u-boot-rpi" | ||
5 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 4 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
6 | PREFERRED_PROVIDER_virtual/egl ?= "userland" | 5 | PREFERRED_PROVIDER_virtual/egl ?= "userland" |
7 | PREFERRED_PROVIDER_virtual/libgles2 ?= "userland" | 6 | PREFERRED_PROVIDER_virtual/libgles2 ?= "userland" |
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf index 0f95f1a..72beeb8 100644 --- a/conf/machine/raspberrypi.conf +++ b/conf/machine/raspberrypi.conf | |||
@@ -8,3 +8,5 @@ require conf/machine/include/tune-arm1176jzf-s.inc | |||
8 | include conf/machine/include/rpi-base.inc | 8 | include conf/machine/include/rpi-base.inc |
9 | 9 | ||
10 | SERIAL_CONSOLE = "115200 ttyAMA0" | 10 | SERIAL_CONSOLE = "115200 ttyAMA0" |
11 | |||
12 | UBOOT_MACHINE = "rpi_config" | ||
diff --git a/conf/machine/raspberrypi2.conf b/conf/machine/raspberrypi2.conf index b6346e6..d50ef70 100644 --- a/conf/machine/raspberrypi2.conf +++ b/conf/machine/raspberrypi2.conf | |||
@@ -8,3 +8,5 @@ require conf/machine/include/tune-cortexa7.inc | |||
8 | include conf/machine/include/rpi-base.inc | 8 | include conf/machine/include/rpi-base.inc |
9 | 9 | ||
10 | SERIAL_CONSOLE = "115200 ttyAMA0" | 10 | SERIAL_CONSOLE = "115200 ttyAMA0" |
11 | |||
12 | UBOOT_MACHINE = "rpi_2_config" | ||
diff --git a/recipes-bsp/u-boot/u-boot-rpi_git.bb b/recipes-bsp/u-boot/u-boot-rpi_git.bb deleted file mode 100644 index 3e8d377..0000000 --- a/recipes-bsp/u-boot/u-boot-rpi_git.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | DESCRIPTION = "U-Boot port for RaspberryPi" | ||
2 | |||
3 | require recipes-bsp/u-boot/u-boot.inc | ||
4 | |||
5 | DEPENDS += "rpi-mkimage-native" | ||
6 | |||
7 | PROVIDES += "u-boot" | ||
8 | |||
9 | LICENSE = "GPLv2+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | ||
11 | |||
12 | SRCREV = "6709570cdc947c2a546f96d571551acf4474778c" | ||
13 | SRC_URI = "git://github.com/gonzoua/u-boot-pi.git;branch=rpi" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | UBOOT_MACHINE = "rpi_b" | ||
18 | UBOOT_MAKE_TARGET = "u-boot.bin" | ||
19 | UBOOT_SUFFIX = "img" | ||
20 | |||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | |||
23 | COMPATIBLE_MACHINE = "raspberrypi" | ||
24 | |||
25 | do_compile_append() { | ||
26 | # Create kernel.img from uboot.bin and name it u-boot.img | ||
27 | ${STAGING_BINDIR_NATIVE}/imagetool-uncompressed.py u-boot.bin | ||
28 | mv kernel.img u-boot.img | ||
29 | } | ||