Enable uboot console and fuse command support for iMX6-dp

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

Enable uboot console and fuse command support for iMX6-dp

ソリューションへジャンプ
2,384件の閲覧回数
shantanu-banerjee
Contributor I

Hello NXP Team,

We are working on Secure boot in iMX6dp.

We have enabled uboot logs and found HAB events is generating.

 

We are facing below issues and we have some queries. Please help us to resolve it.

1.We have enabled uboot bootdelay but we are unable to stop Autoboot with a key press.

Please guide us how we can stop uboot autoboot so we can get command shell.?

 

Steps we did below to enable uboot logs:

We have disabled below definitions from uboot config header and define secure boot

shantanubanerjee_0-1671002519208.png

 

 

Added boot delay in uboot config header (highlighted area)

shantanubanerjee_1-1671002605755.png

 

 

 2.We believe fuse is only one time writeable and write command is like "fuse prog -y 3 0 0xD9B3DFC9".

We have tried to write the command as boot command but below error observed.

shantanubanerjee_5-1671002176686.png

Code snippet:

shantanubanerjee_4-1671002150869.png

 

Fuse command is missing. How we can resolve it?

 

3.We are incorporating secure boot. So encrypted boot is part of secure boot or this is a separate add-on feature on the top of secure boot. Please confirm the understanding.

 

Please let us know if any additional details required.

ラベル(2)
0 件の賞賛
返信
1 解決策
2,320件の閲覧回数
Richard_Kim
NXP Employee
NXP Employee

Hi @shantanu-banerjee,

 

MSS team provided all patches with git format.

If you have git history, have you try to revert all patches except "initial bringup"?

Unfortunately, I cannot deep dive to details because integration of patches had done by LGE.

 

Best Regards,

Richard

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,363件の閲覧回数
Richard_Kim
NXP Employee
NXP Employee

Hello @shantanu-banerjee,

 

Your BSP was customized by MSS team thru commercial service thus some of questions are difficult to get support by general Q&A.

I will answer you this time, but you have to ask LGE first from next time.

 

For #1, have a try to remove "quiet" option from mmcargs. 

richardkim_0-1671106948725.png

 

For #2, refer to below link.

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Q-A-How-to-program-i-MX6-eFUSE/ta-p/1121...

 

For #3, encrypted boot is a part of secure boot, and MSS team had provided "failsafe solution" for C300 project. You need to ask LGE to get the information because it was provided as a commercial item.

0 件の賞賛
返信
2,329件の閲覧回数
shantanu-banerjee
Contributor I

Hi @Richard_Kim 

For #1, have a try to remove "quiet" option from mmcargs. 

In config header there is no mmcargs found and we have removed quiet from bootargs. But still unable stop uboot from Autoboot and unable to get command shell.

"bootargs=console=ttymxc3,115200 root=/dev/mmcblk3p1 rootfstype=ext4 rootwait ro video=mxcfb0:dev=ldb,if=RGB24,bpp=32 simplememinfo mem=992M mmc_skipinit_setup psplash=false \0"
 
Please share if any additional possibility.
0 件の賞賛
返信
2,321件の閲覧回数
Richard_Kim
NXP Employee
NXP Employee

Hi @shantanu-banerjee,

 

MSS team provided all patches with git format.

If you have git history, have you try to revert all patches except "initial bringup"?

Unfortunately, I cannot deep dive to details because integration of patches had done by LGE.

 

Best Regards,

Richard

 

0 件の賞賛
返信