diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2016-03-24 22:15:18 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-01 17:17:42 -0400 |
commit | 7233fb3143c7329cb072318ce39360213d80ea54 (patch) | |
tree | 7d739154c75a1d38d08118080aafddeb92b7f785 /board/raspberrypi/rpi | |
parent | 29937caab33274251542c308e69678433cdd7348 (diff) | |
download | u-boot-7233fb3143c7329cb072318ce39360213d80ea54.tar.gz u-boot-7233fb3143c7329cb072318ce39360213d80ea54.tar.xz u-boot-7233fb3143c7329cb072318ce39360213d80ea54.zip |
rpi: add Raspberry Pi 3 board ID
This allows U-Boot to known the name of the board.
The existing rpi_2_defconfig can 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 requires two
things:
a) config.txt should contain dtoverlay=pi3-miniuart-bt
b) You should run the following to tell the VC FW to process DT when
booting, and copy u-boot.bin.img (rather than u-boot.bin) to the SD card
as the kernel image:
path/to/kernel/scripts/mkknlimg --dtok u-boot.bin u-boot.bin.img
This works as of firmware.git commit 046effa13ebc "firmware: arm_loader:
emmc clock depends on core clock See:
https://github.com/raspberrypi/firmware/issues/572".
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/raspberrypi/rpi')
-rw-r--r-- | board/raspberrypi/rpi/rpi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 54ea4a814b..d31a79c661 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", |