Return-path: Received: from mailout-de.gmx.net ([213.165.64.23]:60191 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751268Ab2B0Wfk convert rfc822-to-8bit (ORCPT ); Mon, 27 Feb 2012 17:35:40 -0500 From: "Hans-Frieder Vogt" To: Daniel =?iso-8859-1?q?Gl=F6ckner?= Subject: Re: [PATCH 3/3] Firmware for AF9035/AF9033 driver Date: Mon, 27 Feb 2012 23:35:25 +0100 Cc: linux-media@vger.kernel.org References: <201202222322.02424.hfvogt@gmx.net> <20120227003321.GA25060@minime.bse> In-Reply-To: <20120227003321.GA25060@minime.bse> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-Id: <201202272335.25221.hfvogt@gmx.net> Sender: linux-media-owner@vger.kernel.org List-ID: Am Montag, 27. Februar 2012 schrieb Daniel Glöckner: > On Wed, Feb 22, 2012 at 11:22:02PM +0100, Hans-Frieder Vogt wrote: > > 00000040: Firmware_CODELENGTH bytes > > Some time ago I analyzed the firmware of the AF9035. > The firmware download command inside the on-chip ROM expects chunks > with a 7 byte header: > > Byte 0: MCS 51 core > There are two inside the AF9035 (1=Link and 2=OFDM) with > separate address spaces > Byte 1-2: Big endian destination address > Byte 3-4: Big endian number of data bytes following the header > Byte 5-6: Big endian header checksum, apparently ignored by the chip > Calculated as ~(h[0]*256+h[1]+h[2]*256+h[3]+h[4]*256) > > This might help locate the firmware inside the Windows drivers. > The Windows drivers often contain two copies of the same firmware. > > Daniel Daniel, impressive!!! Hans-Frieder Vogt e-mail: hfvogt gmx .dot. net