2015/05/15

U-Boot Updates Device Tree Blob

When u-boot a kernel image with device tree blob, like
bootz 0x0a000000 - 0x09f00000
( 0x0a000000 is the location of the zImage, 0x9f00000 is the location of device tree blob)

The device tree blob is not passed to kernel as it is, the u-boot will fix up some value like memory bank range and size in the device tree blob.
For memory fix up, it is done in
arch_fixup_fdt, file arch/arm/lib/bootm-fdt.c

No comments:

Post a Comment

Post Code on Blogger

Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...