From: Wolfgang Denk Date: Fri, 18 Apr 2008 07:41:27 +0200 Subject: [U-Boot-Users] Want to add command in uboot In-Reply-To: Your message of "Thu, 17 Apr 2008 15:48:06 PDT." <895609.34146.qm@web39508.mail.mud.yahoo.com> Message-ID: <20080418054127.54C50248B9@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <895609.34146.qm@web39508.mail.mud.yahoo.com> you wrote: > > I am working on AT91SAM9260. I want to add one command "COM1 xxx" to the uboot command set. After typing this command on uboot prompt the string xxx should be transmitted out of COM1 and any reception on COM1 should be displayed on the debug terminal. C > an some one suggest me how to do this? I recommend to get a better understanding of the existing U-Boot code first. Then you will see that no such command is needed. Support for multiple serial devices is already present.You just have to enable this correctly in your configuration. To switch I/O channels, a simple "setenv" command will be sufficient. > --0-479714745-1208472486=:34146 > Content-Type: text/html; charset=us-ascii Please never post HTML here! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Speed of a tortoise breaking the sound barrier = 1 Machturtle