From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan O'Donoghue Date: Tue, 12 Sep 2006 14:39:45 +0100 Subject: [U-Boot-Users] ethernet over usb In-Reply-To: <4506B6CC.9020306@eircom.net> References: <20060912082649.GH9155@gundam.enneenne.com> <4506B6CC.9020306@eircom.net> Message-ID: <4506B8A1.30703@eircom.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Bryan O'Donoghue wrote: > I've actually transferred u-boot.bin over such a link via USB as part of > my testing for usbdcore_mpc8xx, so if the transfer of files is what you > are after perhaps just implementing usbdcore_au1100 yourself and using > the higher layer usbtty.c would suffice, for your purposes. Just reading what I said there, I'll expand a little bit. Since you want to TFTP over the USB, from your point of view, there is no reason not to use CDC_ACM/g_serial and just do a kermit binary transfer and save yourself the effort of doing Ethernet over the USB. All you'd really have to do is implement usbdcore_au1100 and just do a straight forward kermit binary transfer .. with the 8xx and both CDC_ACM and g_serial, it works well enough for me. Still if you are going to do some of the ethernet side ... it would be a good excuse for me, to stay out of the pub ! Bryan -- Quidquid latine dictum sit, altum sonatur. - Whatever is said in Latin sounds profound.