From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout2.ltindia.com ([125.18.18.171]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RgcZy-0004pw-7N for barebox@lists.infradead.org; Fri, 30 Dec 2011 13:33:03 +0000 From: G Rajender Date: Fri, 30 Dec 2011 13:17:49 +0000 Message-ID: <260174ADA4D63F4AA543B9C81F2DE7120531CD14@POCITMSEXMB02.LntUniverse.com> Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============9135765788743688495==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Adding New comand To: "barebox@lists.infradead.org" --===============9135765788743688495== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_260174ADA4D63F4AA543B9C81F2DE7120531CD14POCITMSEXMB02Ln_" --_000_260174ADA4D63F4AA543B9C81F2DE7120531CD14POCITMSEXMB02Ln_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 d= evice 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 inten= ded 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 s= ystem. --_000_260174ADA4D63F4AA543B9C81F2DE7120531CD14POCITMSEXMB02Ln_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 d= evice 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 i= ntended recipient (s) If you are not the intended recipient, please do not = use or disseminate the information, notify the sender and delete it from yo= ur system. --_000_260174ADA4D63F4AA543B9C81F2DE7120531CD14POCITMSEXMB02Ln_-- --===============9135765788743688495== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============9135765788743688495==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rhfmo-0006Eb-J6 for barebox@lists.infradead.org; Mon, 02 Jan 2012 11:10:39 +0000 Date: Mon, 2 Jan 2012 12:10:27 +0100 From: Sascha Hauer Message-ID: <20120102111027.GG27267@pengutronix.de> References: <260174ADA4D63F4AA543B9C81F2DE7120531CD14@POCITMSEXMB02.LntUniverse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <260174ADA4D63F4AA543B9C81F2DE7120531CD14@POCITMSEXMB02.LntUniverse.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Adding New comand To: G Rajender Cc: "barebox@lists.infradead.org" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout2.ltindia.com ([125.18.18.171]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Ri0eE-0000Kf-3X for barebox@lists.infradead.org; Tue, 03 Jan 2012 09:27:11 +0000 From: G Rajender Date: Tue, 3 Jan 2012 09:27:04 +0000 Message-ID: <260174ADA4D63F4AA543B9C81F2DE7120531CF29@POCITMSEXMB02.LntUniverse.com> References: <260174ADA4D63F4AA543B9C81F2DE7120531CD14@POCITMSEXMB02.LntUniverse.com>, <20120102111027.GG27267@pengutronix.de> In-Reply-To: <20120102111027.GG27267@pengutronix.de> Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: RE: Adding New comand To: Sascha Hauer Cc: "barebox@lists.infradead.org" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Ri0ju-0002qw-Cg for barebox@lists.infradead.org; Tue, 03 Jan 2012 09:33:03 +0000 Date: Tue, 3 Jan 2012 10:32:55 +0100 From: Sascha Hauer Message-ID: <20120103093255.GA3489@pengutronix.de> References: <260174ADA4D63F4AA543B9C81F2DE7120531CD14@POCITMSEXMB02.LntUniverse.com> <20120102111027.GG27267@pengutronix.de> <260174ADA4D63F4AA543B9C81F2DE7120531CF29@POCITMSEXMB02.LntUniverse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <260174ADA4D63F4AA543B9C81F2DE7120531CF29@POCITMSEXMB02.LntUniverse.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Adding New comand To: G Rajender Cc: "barebox@lists.infradead.org" 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