Monday, February 8, 2010

How to Handle Unaligned Memory Accesses

The stock MIPS Linux kernel 2.6 code (32-bit MIPS) contains at least 4 files which uses unaligned memory access instructions (lwr, lwl, swr, swl), namely:


Lexra CPU core used in RTL8186 SoC doesn't support the unaligned memory access instructions. Therefore, to cope with it, kernel code containing those instructions must be replaced with byte-wise operations, i.e. replacing the unaligned memory access instructions with repeated single-byte operations.

Thursday, September 10, 2009

What's this blog about?

This blog contains information on my work with the Realtek RTL8186 WLAN hardware. Perhaps you can find a thing or two that could be helpful here. Anyway, I'm offering firmware customization services and some level of professional consulting for this hardware for those interested.