About u-boot device tree

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About u-boot device tree

1,414件の閲覧回数
saadahmad
Contributor I


Hi,

I am using P2041RDB. I need to add a config DTB at the end of u-boot image by using CONFIG_OF_SEPARATE.

According to common/board_f.c function setup_fdt()

#elif defined CONFIG_OF_SEPARATE

  /* FDT is at end of image */

  gd->fdt_blob = (ulong *)&_end;

But there is no _end in u-boot.lds of mpc85xx. I have changed _end to __bss_end but u-boot is not finding any DTB at the end of the image.

Thanks in advance for any help you are able to provide.

ラベル(1)
タグ(2)
0 件の賞賛
返信
3 返答(返信)

781件の閲覧回数
Pavel
NXP Employee
NXP Employee

We use SDK from NXP.

The following command sequence is used for u-boot building under SDK:

bitbake -c cleansstate u-boot

bitbake -c patch u-boot // source of the u-boot

bitbake u-boot


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

781件の閲覧回数
Pavel
NXP Employee
NXP Employee

NXP SDK 2.0 does not support this option of the u-boot. There is error message during u-boot building if CONFIG_OF_SEPARATE is defined.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

781件の閲覧回数
saadahmad
Contributor I

I am not using SDK 2.0. I just want to know where to put the _end (end of u-boot image location) in u-boot.lds.

Regards,
Saad

0 件の賞賛
返信