[U-Boot] Support of device-tree for PowerPC platform: Query

York Sun york.sun at nxp.com
Thu Jun 28 15:36:31 UTC 2018


On 06/27/2018 11:30 PM, Prabhakar Kushwaha wrote:

<snip>

>> Thanks for the direction.
>>
>> We will be following approach "a" with updated flash map.
>> We will allocate 1MB for uboot in flash. Out which 64K for DTB and 960KB for
>> u-boot for future increase.
>>
>> We will also update location of env and fman ucode for NXP platforms.
>>
> 
> 
> Other thought,
>  use CONFIG_OF_SEPARATE but **don’t** concatenate dtb with u-boot. In this case user has to program u-boot and dtb separately at different location. It will also have minimal impact on PowerPC platforms 
> 
> Just wondering if this approach has any disadvantages in longer run.  
> What if user forget to program dtb and restart system??
> 

If we cannot combine DT with U-Boot image, we may have to live with two
separated images. We may have to shift the ENV sectors to make DT right
above U-Boot for convenience. If U-Boot can boot up and show a message
of missing DT, it is acceptable to me.

York


More information about the U-Boot mailing list