From: Reinhard Meyer Date: Fri, 13 Aug 2010 12:55:03 +0200 Subject: [U-Boot] [PATCH 2/3] Connect the AT91 UDC to USB CDC-ethernet support In-Reply-To: References: <1281634613-2707-1-git-send-email-linux@bohmer.net> <1281634613-2707-2-git-send-email-linux@bohmer.net> <4C644411.6030608@emk-elektronik.de> <20100812205602.46E911536EF@gemini.denx.de> <4C647C87.3030803@emk-elektronik.de> Message-ID: <4C652487.7060006@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Remy Bohmer, >> 3. I did not follow the whole USB patches, my concern is >> what touches AT91, but please explain to me what for we need >> a board under u-boot to be a USB device. Since u-boot per se >> is not multitasking how is the traffic handled while >> at the command prompt? > > There is no traffic handled while at the command prompt. It behaves > just like any other 'normal' network adapter. > So, it brings up a USB connection once you start a network action like > a ping or tftp command. Once that completes the link is brought down > again. If I understand the procedure correctly now, its as follows: Any client network command on u-boot's command prompt like ping, dhcp, tftp etc. will 'up' the USB Device... The host to which it is connected to will happily discover and enumerate a network adapter with MAC and IP addresses... And the host will be the server for that command... Best Regards, Reinhard