how to implement new command in uboot bootloader?

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

how to implement new command in uboot bootloader?

1,931 Views
karunakarkatta
Contributor I

Hard Ware Tests from U-Boot

1. New Command will be added to the U-Boot:

• u-boot>chkboard

> command will get one parameter which check to run one specific check or all checks:

>chkboard RS-232 100

usage: chkboard RS-232-2 LoopCount

Loop Back Cable/Connector will be used to connect: RS232-2 Tx to RS232-2 Rx

UART2 Should be configured as RS-232 using the RS232/RS485 selection GPIO

1 Reply

818 Views
igorpadykov
NXP Employee
NXP Employee

Hi karunakar

adding new uboot command was described in its mail lists:

http://lists.denx.de/pipermail/u-boot/2009-May/052241.html

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/68520/match=new+command

http://codingordie.blogspot.ru/2010/02/adding-new-u-boot-commands.html

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------