upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.0 KiB
38 lines
1.0 KiB
8 years ago
|
U-Boot FDT Overlay usage (without FIT images)
|
||
|
=============================================
|
||
|
|
||
|
FDT overlays are now available for use even without FIT images.
|
||
|
It is not as automagic as with FIT images though and require a few
|
||
|
manual steps.
|
||
|
|
||
|
1. Figure out where to place both the base device tree blob and the
|
||
|
overlay. Make sure you have enough space to grow the base tree without
|
||
|
overlapping anything.
|
||
|
|
||
|
=> setenv fdtaddr 0x87f00000
|
||
|
=> setenv fdtovaddr 0x87fc0000
|
||
|
|
||
|
2. Load the base blob and overlay blobs
|
||
|
|
||
|
=> load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/base.dtb
|
||
|
=> load ${devtype} ${bootpart} ${fdtovaddr} ${bootdir}/overlay.dtb
|
||
|
|
||
|
3. Set it as the working fdt tree.
|
||
|
|
||
|
=> fdtaddr $fdtaddr
|
||
|
|
||
|
4. Grow it enough so it can 'fit' all the applied overlays
|
||
|
|
||
|
=> fdt resize 8192
|
||
|
|
||
|
5. You are now ready to apply the overlay.
|
||
|
|
||
|
=> fdt apply $fdtovaddr
|
||
|
|
||
|
Please note that in case of an error, both the base and overlays are going
|
||
|
to be invalidated, so keep copies to avoid reloading.
|
||
|
|
||
|
Pantelis Antoniou
|
||
|
pantelis.antoniou@konsulko.com
|
||
|
11/7/2017
|