Page MenuHomeFreeBSD

release: arm: Copy the dtb to the fat partition

Authored by manu on Aug 5 2018, 9:30 AM.



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

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

PR: 230333, 230331

Test Plan

Tested on BANANAPI

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Love it... do we need to update the u-boot ports to include this metadata...

This revision is now accepted and ready to land.Aug 5 2018, 9:42 AM

Also needed for IMX board, I can now boot my riotboard.

This revision was automatically updated to reflect the committed changes.