Talk:88W8388: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


:Get JTAG or use an emulator.
:Get JTAG or use an emulator.


== Register Descriptions ==

Take a look at the zipfile at http://ftp.gpl-devices.org/pub/vendors/Netgear/WGR101/WGR101_V1009_package.zip

This appears to contain header files with the descriptions of all the registers for a similar Marvell chip. From disassembling the firmware it appears that at least the WLAN MAC registers are correct.


for example from memmap.h:

WL_INTR_BASE 0x90008000<br>
WL_TIMER_BASE 0x90009000<br>
WL_CFG_BASE 0x80000000<br>

WL_CIU_CFG_ASE 0x80002000<br>
WL_WLMAC_CFG_BASE 0x8000a000 // WLAN MAC base addr<br>
WL_LBU_CFG_BASE 0x8000c000 // Low speed bus unit<br>
WL_LBU_CSU_W82_BASE 0x8000c600 // Baseband registers<br>

Latest revision as of 17:19, 31 July 2008

Tracing and dissembling

Will somebody explain how to get this thing to trace and dissemble? I want to tell the driver to do something and watch what happens with the firmware.  :/ Something tells me I'll have to walk the driver to figure out what it tells the firmware, and walk the firmware to figure out how it reacts, since getting a debugger running IN the 88W8388 is technically hard.

Get JTAG or use an emulator.


Register Descriptions

Take a look at the zipfile at http://ftp.gpl-devices.org/pub/vendors/Netgear/WGR101/WGR101_V1009_package.zip

This appears to contain header files with the descriptions of all the registers for a similar Marvell chip. From disassembling the firmware it appears that at least the WLAN MAC registers are correct.


for example from memmap.h:

WL_INTR_BASE 0x90008000
WL_TIMER_BASE 0x90009000
WL_CFG_BASE 0x80000000

WL_CIU_CFG_ASE 0x80002000
WL_WLMAC_CFG_BASE 0x8000a000 // WLAN MAC base addr
WL_LBU_CFG_BASE 0x8000c000 // Low speed bus unit
WL_LBU_CSU_W82_BASE 0x8000c600 // Baseband registers