Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:techref:hardware:soc:soc.realtek [2019/08/26 21:39] – [Devices] with Lexra SoC re-added; section heading level corrected tmomas | docs:techref:hardware:soc:soc.realtek [2022/09/10 10:58] (current) – [Adding support for Lexra] forum link added tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Realtek ====== | ====== Realtek ====== | ||
| - | * For Realtek 802.11 " | + | * For Realtek 802.11 " |
| * For Linux drivers for Realtek 802.11 chipsets, see [[wp> | * For Linux drivers for Realtek 802.11 chipsets, see [[wp> | ||
| ===== Lexra ===== | ===== Lexra ===== | ||
| - | * About the Lexra CPUs, see [[wp> | + | * About the Lexra CPUs, see [[wp> |
| - | * [[https:// | + | |
| ==== Devices with Lexra SoC ==== | ==== Devices with Lexra SoC ==== | ||
| Line 18: | Line 17: | ||
| * [[https:// | * [[https:// | ||
| + | ==== Support status ==== | ||
| + | |||
| + | SoCs of the Lexra Architecture are not supported by OpenWrt since years. It is unlikely that this status changes anytime soon. | ||
| + | |||
| + | ==== Adding support for Lexra ==== | ||
| + | |||
| + | If you want OpenWrt support for a device with a Lexra SoC, you have to add it yourself. See below how to do that. | ||
| + | |||
| + | === OpenWrt documentation === | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | === External sources === | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[http:// | ||
| + | |||
| + | === Forum discussions === | ||
| + | |||
| + | |||
| + | [[https:// | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | === Quotes === | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | > Lexra is not supported directly by gcc like MIPS, ARM, x86 etc. are. This means that even compiling the first line of C code requires a lot of modification to the system. | ||
| + | > | ||
| + | > Also Realtek does not have good open wifi drivers. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | > The first big problem is that the Lexra CPU core found in these chips isn't one of the platforms directly selectable in gcc. So these third-party projects use a hacked up old version of gcc. And everything kind of falls apart from there. Also open-source drivers for Realtek wifi chips are limited. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | > It is possible to compile software for Lexra processors using the gnu gcc tools for the MIPS-I R3000 processor. This can be done either by writing an exception trap handler for reserved instructions that detects unaligned load and store instructions and emulates their functionality with shifts and aligned loads and stores or else modifying the compiler so that it does not generate lwl, lwr, swl, and swr instructions. With either of those changes, any C code can run on Lexra processors. Advanced hobbyists might even choose to accelerate their critical inner loops by coding them in assembly code using digital signal processing (DSP) instructions that Lexra implemented as extensions to the MIPS-I instruction set. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | > In terms of lexra (Realtek' | ||
| + | > | ||
| + | > [Disclaimer: | ||
| + | > Personally I don't think lexra will ' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | > Afaik there' | ||
| + | |||
| + | > Realtek inherited a reduced mips ISA via Lexra, given that this differs from the normal mips ISA, it is quite a bit harder to support - especially lacking active (or any-) upstream development. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | > I've ported RTL8196C support to LEDE, without wireless support. | ||
| + | > All source codes (SPI driver/ | ||
| + | > https:// | ||
| + | > | ||
| + | > But I probably have no time to develop it later. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | From [[https:// | ||
| + | > The whole target SOC isn't supported at all (search this forum for ' | ||