Uboot script to run commands automatically .

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Uboot script to run commands automatically .

3,945 次查看
PramodKumar
Contributor IV

Dear Team ,

I have comapleted my HAB process for uboot and authenticated zImage . Now I need to run the whole process (fuse commands and zImage authentication ) automatically . Is there any script process to run all the fuse prog commands automatically after stop the booting in u-boot level automatically . 

Regards ,

Pramod

标签 (3)
0 项奖励
回复
3 回复数

3,625 次查看
b36401
NXP Employee
NXP Employee

Actually u-boot commandline support some simple scripts.
I mean something like that:

U-Boot 2015.04-imx_v2015.04_4.1.15_1.0.0_ga+g0fa2a52 (Apr 30 2016 - 00:27:47)
...
Hit any key to stop autoboot: 0
=>
=> echo 1 ; sleep 5 ; echo 2
1
2
=>


So you can make a script that performs your fuse programming commands one by one.

Have a great day,
Victor

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

0 项奖励
回复

3,625 次查看
PramodKumar
Contributor IV

Hii Victor ,

I need to run the commands automatically , And is there any link for refrence .

Regards ,

Pramod

0 项奖励
回复

3,625 次查看
radhikasomaiya
Senior Contributor II

Hi PRAMOD KUMAR,

Refer : https://community.nxp.com/docs/DOC-93628 

Hope it will help you!

Regards,

Radhika

0 项奖励
回复