Professional Documents
Culture Documents
Running A Script in U-Boot
Running A Script in U-Boot
Running A Script in U-Boot
Log in to create and rate content, and to follow, bookmark, and share content with other members.
Like • 2 Comment • 1
Pre-requisites:
An TFTP server
If you need to run a script (for example, running multiple setenv's commands) in U-boot for many boards, you can instead
create a U-boot script (called script image), place it into your tftp folder, then ask U-boot to fetch it and run it. For example,
you want to run the following setenv instructions
save it into a file, I choose the name 'myscript'; under your <U-boot folder>/tools, execute
On the target, set the following two variables (serverip and bootcmd)
Enjoy U-booting!
ATTACHMENTS
OUTCOMES
Helpful(1)
Ratings:
(0 ratings)
https://community.nxp.com/docs/DOC-93628 2/4
6/25/2019 Running a Script in U-boot | NXP Community
1 Comment
Ganesh Biradar
Jul 21, 2015 3:59 AM
I have a custom made board of i.MX6, i have to add a script which test RAM working, for that i have to
copy my script in SD/MMC(8GB) card,this testing will be done in uboot, now i need some help on this i
have created script file using mkimage. for this where i can copy and how to run that script at what
address location. NOTE: i can't use tftp/dhcp because this board doesn't have tftp/dhcp support.
Actions Like • 0
Related Content
Boot I.MX6q SABRE over the Network using TFTP and NFS
Recommended Content
MPC5748G_I2C module
Incoming Links
https://community.nxp.com/docs/DOC-93628 3/4
6/25/2019 Running a Script in U-boot | NXP Community
U-Boot
FOLLOW NXP
NEWS
Look at our latest Press Releases and Product News. Read more
https://community.nxp.com/docs/DOC-93628 4/4