Enable uboot console and fuse command support for iMX6-dp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable uboot console and fuse command support for iMX6-dp

Jump to solution
1,271 Views
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.

Labels (2)
0 Kudos
Reply
1 Solution
1,207 Views
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

 

View solution in original post

0 Kudos
Reply
3 Replies
1,250 Views
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 Kudos
Reply
1,216 Views
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 Kudos
Reply
1,208 Views
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 Kudos
Reply