Uboot script to run commands automatically .

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

Uboot script to run commands automatically .

1,817 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

1,498 Views
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 Kudos

1,498 Views
PramodKumar
Contributor IV

Hii Victor ,

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

Regards ,

Pramod

0 Kudos

1,498 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