mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-17 04:06:56 +00:00
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>
This commit is contained in:
committed by
Andrei Gherzan
parent
0e66d6953c
commit
064aa0a388
@@ -0,0 +1,25 @@
|
||||
From 1eb01436bc57ad32519a4567a1c9ec82d52d60a1 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Barker <paul@paulbarker.me.uk>
|
||||
Date: Tue, 29 Nov 2016 19:47:49 +0000
|
||||
Subject: [PATCH] Include lowlevel_init.o for rpi2
|
||||
|
||||
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
||||
Upstream-status: Inappropriate
|
||||
(not needed upstream as rpi_2 board directory is removed in latest
|
||||
version)
|
||||
---
|
||||
board/raspberrypi/rpi_2/Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/board/raspberrypi/rpi_2/Makefile b/board/raspberrypi/rpi_2/Makefile
|
||||
index d82cd21..9f865c5 100644
|
||||
--- a/board/raspberrypi/rpi_2/Makefile
|
||||
+++ b/board/raspberrypi/rpi_2/Makefile
|
||||
@@ -5,3 +5,4 @@
|
||||
#
|
||||
|
||||
obj-y := ../rpi/rpi.o
|
||||
+obj-y += ../rpi/lowlevel_init.o
|
||||
--
|
||||
2.1.4
|
||||
|
||||
Reference in New Issue
Block a user