-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpi: Fix DTB handling for Mender-based Raspberry Pi boards.
On the Raspberry Pi platform, the start.elf firmware loads the DTB file from the /dev/mmcblk0p1 partition. It then updates fields such as the MAC address and other board-specific settings. We no longer load the DTB file from the root filesystem partition as that would override the updates made by the firmware. A similar change has been made in the meta-raspberrypi layer here: https://www.mail-archive.com/yocto@yoctoproject.org/msg32465.html Additional links with details: https://www.raspberrypi.org/forums//viewtopic.php?f=107&t=134018 http://dius.com.au/2015/08/19/raspberry-pi-uboot/ Changelog: Title Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
- Loading branch information
Drew Moseley
committed
Sep 19, 2017
1 parent
d477968
commit 264cf2e
Showing
5 changed files
with
1 addition
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...rpi-u-boot-scr/files/raspberrypi/boot.cmd → ...recipes-bsp/rpi-u-boot-scr/files/boot.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
setenv fdtfile bcm2708-rpi-b.dtb | ||
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs | ||
run mender_setup | ||
mmc dev ${mender_uboot_dev} | ||
load ${mender_uboot_root} ${kernel_addr_r} /boot/uImage | ||
load ${mender_uboot_root} ${fdt_addr} /boot/${fdtfile} | ||
bootm ${kernel_addr_r} - ${fdt_addr} | ||
run mender_try_to_recover |
8 changes: 0 additions & 8 deletions
8
meta-mender-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/raspberrypi0/boot.cmd
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
meta-mender-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/raspberrypi2/boot.cmd
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
meta-mender-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/raspberrypi3/boot.cmd
This file was deleted.
Oops, something went wrong.