summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-11-30 21:02:39 +0000
committerAndrei Gherzan <andrei@gherzan.ro>2016-12-06 19:16:11 +0100
commit064aa0a3884d4ef2cd7e9fdfebec19167b52b2e7 (patch)
treea5458d96f91b14e5f81b1467504d3eac7455c934 /recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch
parent0e66d6953cee13a56428d5511838f898dc9da3b7 (diff)
downloadmeta-raspberrypi-064aa0a3884d4ef2cd7e9fdfebec19167b52b2e7.tar.gz
u-boot: Simplify boot script
A patch is backported to check if the firmware loaded a device tree blob into memory and set the fdt_addr variable if it is found. The U-Boot script will then read the command line arguments generated by the firmware from the device tree and boot the kernel with the command line arguments and the loaded device tree. This allows things like MAC address, board revision and serial number to be correctly configured and options in config.txt to be used. An additional patch is backported and further changes are made to support this. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Diffstat (limited to 'recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch')
-rw-r--r--recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch b/recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch
new file mode 100644
index 0000000..ce0273f
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0003-Include-lowlevel_init.o-for-rpi2.patch
@@ -0,0 +1,25 @@
1From 1eb01436bc57ad32519a4567a1c9ec82d52d60a1 Mon Sep 17 00:00:00 2001
2From: Paul Barker <paul@paulbarker.me.uk>
3Date: Tue, 29 Nov 2016 19:47:49 +0000
4Subject: [PATCH] Include lowlevel_init.o for rpi2
5
6Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
7Upstream-status: Inappropriate
8 (not needed upstream as rpi_2 board directory is removed in latest
9 version)
10---
11 board/raspberrypi/rpi_2/Makefile | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/board/raspberrypi/rpi_2/Makefile b/board/raspberrypi/rpi_2/Makefile
15index d82cd21..9f865c5 100644
16--- a/board/raspberrypi/rpi_2/Makefile
17+++ b/board/raspberrypi/rpi_2/Makefile
18@@ -5,3 +5,4 @@
19 #
20
21 obj-y := ../rpi/rpi.o
22+obj-y += ../rpi/lowlevel_init.o
23--
242.1.4
25