diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2016-06-18 12:07:04 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-07-08 12:17:41 +0100 |
commit | d49bd07c5b54defc7cec5829d287a2bd82ae9afe (patch) | |
tree | ef75c6e8dd649ddf6bbbf75b4af379e6427d0bf8 /conf/machine | |
parent | b34b4fe8fcbd1a1ff74c01af5abc8ca4d3c841d9 (diff) | |
download | meta-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 'conf/machine')
-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 |
3 files changed, 4 insertions, 1 deletions
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" | ||