How To implement New command in u-boot

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

How To implement New command in u-boot

3,039 Views
nagaprasadvasam
Contributor III

Hi everyone,

                     I am using imx6ulevk board, i need to add one new command to u-boot boot loader,how can i add new command can any one help me.i searched for information but not found anywhere,if any one has information regarding this please send details or links.

Thanks & Regards,

Prasad.

Labels (3)
0 Kudos
5 Replies

1,915 Views
joanxie
NXP TechSupport
NXP TechSupport

what kind of command do you need to add? add new output ?

0 Kudos

1,915 Views
nagaprasadvasam
Contributor III

Hi,

   Thanks For your reply for my question,so I need a commad like for example if i enter that command i need to print "hello world welcome to u-boot" like some message .please 

   help me with some inputs.

Thanks & Regards,

  Prasad.

0 Kudos

1,915 Views
kishore_k
Contributor I

hi,

i need to add a command . Do u get the answer for that command creation.If u got please share the procedure to create command.

Thank you.

0 Kudos

1,915 Views
joanxie
NXP TechSupport
NXP TechSupport

it seems that you need execute a program like hello world, I suggest that you write a c code added in the bsp, compile it with toolchain, when board boot up, you execute this program to get what you need,

https://community.nxp.com/docs/DOC-95333

0 Kudos

1,915 Views
joanxie
NXP TechSupport
NXP TechSupport

if you need build your own application file, pls refer to the training as below

Task #8 - Build kernel manually using created toolchain

0 Kudos