[U-Boot] [PATCH 3/5] rpi: add Raspberry Pi 3 board ID
Stephen Warren
swarren at wwwdotorg.org
Thu Mar 24 05:54:52 CET 2016
This allows U-Boot to known the name of the board.
The existing rpi_2_defconfig should be able to operate correctly on the
Raspberry Pi 3 in 32-bit mode /if/ you have configured the firmware to use
the PL011 UART as the console UART (the default is the mini UART). This
should be possible by loading the pi3-miniuart-bt DT overlay. As of
20160323 (or firmware.git commit 7f536a27cc74 "kernel: lirc_rpi: Lower IR
reception error to debug See: https://github.com/raspberrypi/linux/pull/1361"
this doesn't seem to work; I assume this is due to a firmware bug.
Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
---
board/raspberrypi/rpi/rpi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 54ea4a814b54..d31a79c661d9 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -109,6 +109,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
"bcm2836-rpi-2-b.dtb",
true,
},
+ [0x8] = {
+ "3 Model B",
+ "bcm2837-rpi-3-b.dtb",
+ true,
+ },
[0x9] = {
"Zero",
"bcm2835-rpi-zero.dtb",
--
2.7.3
More information about the U-Boot
mailing list