]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
release: arm: Copy the dtb to the fat partition
authorEmmanuel Vadot <manu@FreeBSD.org>
Mon, 6 Aug 2018 17:21:20 +0000 (17:21 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Mon, 6 Aug 2018 17:21:20 +0000 (17:21 +0000)
commit7b7dbfa9b3da4c428cc9ca6fae49aa8221d8ba9d
tree48635295d1f4247cd20f53ec4769827ea5a5b259
parent976e100378844d5668810067ed07748f151c5ea2
release: arm: Copy the dtb to the fat partition

When booting via EFI on arm we have no way to know the dtb file to load
and we always use the one provided from the bootloader.
This works in most case but :

 U-Boot have some really old DTB for some boards, the sync from Linux isn't done automatically for all boards
 Some boards (like TI BeagleBone series) use one u-boot for all the model and it doesn't embed the DTBs
 Some boards (like IMX6 based ones), don't embed the DTB

We want u-boot to load and patch the DTB with the mac address or the display
node enabled or not.

Reviewed by: gjb, imp
Differential Revision: https://reviews.freebsd.org/D16596
release/tools/arm.subr