mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Adding New comand
@ 2011-12-30 13:17 G Rajender
  2012-01-02 11:10 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: G Rajender @ 2011-12-30 13:17 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]

Hi All,

How to add a new command in barebox??

Im working on imx35 freescale board based on arm11. I want to add USB OTG device stuff and execute on board.

Thanks in advance.

Raj



Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

[-- Attachment #1.2: Type: text/html, Size: 882 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding New comand
  2011-12-30 13:17 Adding New comand G Rajender
@ 2012-01-02 11:10 ` Sascha Hauer
  2012-01-03  9:27   ` G Rajender
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2012-01-02 11:10 UTC (permalink / raw)
  To: G Rajender; +Cc: barebox

On Fri, Dec 30, 2011 at 01:17:49PM +0000, G Rajender wrote:
> Hi All,
> 
> How to add a new command in barebox??

Look at some command implementation in commands/*.c and do the same.

> 
> Im working on imx35 freescale board based on arm11. I want to add USB
> OTG device stuff and execute on board.

Please be more specific. What exactly do you want to do?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Adding New comand
  2012-01-02 11:10 ` Sascha Hauer
@ 2012-01-03  9:27   ` G Rajender
  2012-01-03  9:32     ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: G Rajender @ 2012-01-03  9:27 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi,

I want to configure the USB OTG port in iMX35 board as a device by adding a separate command and writing USB OTG peripheral code (firmware) in command function.
This USB OTG of iMX35 board should detect in Windows PC. This is primary goal.
ThanX.

Raj
________________________________________
From: Sascha Hauer [s.hauer@pengutronix.de]
Sent: Monday, January 02, 2012 4:40 PM
To: G Rajender
Cc: barebox@lists.infradead.org
Subject: Re: Adding New comand

On Fri, Dec 30, 2011 at 01:17:49PM +0000, G Rajender wrote:
> Hi All,
>
> How to add a new command in barebox??

Look at some command implementation in commands/*.c and do the same.

>
> Im working on imx35 freescale board based on arm11. I want to add USB
> OTG device stuff and execute on board.

Please be more specific. What exactly do you want to do?

Sascha


--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding New comand
  2012-01-03  9:27   ` G Rajender
@ 2012-01-03  9:32     ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2012-01-03  9:32 UTC (permalink / raw)
  To: G Rajender; +Cc: barebox

On Tue, Jan 03, 2012 at 09:27:04AM +0000, G Rajender wrote:
> Hi,

Please do not top post.

> 
> I want to configure the USB OTG port in iMX35 board as a device by
> adding a separate command and writing USB OTG peripheral code
> (firmware) in command function.  This USB OTG of iMX35 board should
> detect in Windows PC. This is primary goal.  ThanX.

Have a look at commands/dfu.c. This is probably the closest template for
this we have in barebox.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-03  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-30 13:17 Adding New comand G Rajender
2012-01-02 11:10 ` Sascha Hauer
2012-01-03  9:27   ` G Rajender
2012-01-03  9:32     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox