From: Reinhard Meyer Date: Tue, 18 Jan 2011 23:54:22 +0100 Subject: [U-Boot] NetRxPackets In-Reply-To: <201101182337.32274.korgull@home.nl> References: <201101180115.25127.korgull@home.nl> <201101182208.33651.korgull@home.nl> <20110118212858.57F0A36C@gemini.denx.de> <201101182337.32274.korgull@home.nl> Message-ID: <4D361A1E.1000909@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 Marcel, >> Well,you're supposed to do some basic code reading yourself. > > Of course. It's always the idea to post a question after reading for some > time. It either means I don't understand the code, the code really doesn't > work or I did miss the most important part in the documents. I guess the > answer will follow once the issue is solved. > To be specific, I work with the u-boot-usb at91-cdc branch code. I'm not sure > if that is all working code at this moment but sounded like the best starting > point for my USB code. Not sure that branch is anything up to date.... > >>> req->buf = (u8 *) NetRxPackets[0]; *maybe* "req" itself is not allocated? Best Regards, Reinhard