Remember
Register
Home
/
Support
/
Support Forum
/
How to edit the bootcmd_mfg u-boot variable to run a script when u-boot boots?
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(383)
Python
(1,016)
RF Solutions and XBee
(8,417)
Digi TransPort
(787)
Digi Connect Cellular
(445)
DAL
(4)
Embedded Devices
(4,162)
Android
(45)
NET+OS
(2,444)
Linux
(954)
Windows CE
(86)
Plug N' Play
(466)
Google Coral
(2)
Rabbit
(3,195)
Console Servers
(353)
Modbus and Industrial Automation
(246)
Realport
(600)
Serial Servers
(836)
Satellite Modules
(25)
USB
(1,269)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(92)
Other/Legacy
(373)
How to edit the bootcmd_mfg u-boot variable to run a script when u-boot boots?
0
votes
I want to run a script to run some commands when u-boot boots. How and where do I modify the bootcmd_mfg variable to achieve the same?
u-boot
embedded-linux
asked
Sep 15, 2020
in
Linux
by
anupam_mz
New to the Community
(
1
point)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Best answer
I think the variable you want to change is bootcmd not bootcmd_mfg. You can change it like you change any other variable in u-boot:
setenv bootcmd command
saveenv
answered
Sep 15, 2020
by
LeonidM
Veteran of the Digi Community
(
4,411
points)
selected
Sep 16, 2020
by
anupam_mz
Thanks for your response. The bootcmd_mfg variable is run when mfg tool is used to boot u-boot. I added the command to this variable and it worked.
Please
log in
or
register
to add a comment.
...