Uboot script to run commands automatically .

cancel
Showing results for 
Search instead for 
Did you mean: 

Uboot script to run commands automatically .

516 Views
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

Labels (3)
0 Kudos
3 Replies

197 Views
b36401
NXP TechSupport
NXP TechSupport

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 Kudos

197 Views
PramodKumar
Contributor IV

Hii Victor ,

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

Regards ,

Pramod

0 Kudos

197 Views
radhikasomaiya
Senior Contributor II

Hi PRAMOD KUMAR,

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

Hope it will help you!

Regards,

Radhika

0 Kudos