linux-mips
[Top] [All Lists]

Re: RTL-8186 follow-up

To: "W.P." <laurentp@wp.pl>
Subject: Re: RTL-8186 follow-up
From: Florian Fainelli <florian.fainelli@int-evry.fr>
Date: Sat, 27 Jan 2007 22:38:08 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <45BB8C5D.50405@wp.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5C1FD43E5F1B824E83985A74F396286E041B10FB@bby1exm08.pmc_nt.nt.pmc-sierra.bc.ca> <200701271354.41905.florian.fainelli@int-evry.fr> <45BB8C5D.50405@wp.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.5
Hi Laurent,

Le samedi 27 janvier 2007 18:31, W.P. a écrit :
> <cut>
> 1). I have added modules found in KERNEL_SRC/rtl8186 (that i wrote about
> in other post), to image, but trying to load them gives "unresolved
> symbol" errors:
>
> <example>
> # insmod ip_nat_l2tp
> Using /lib/modules/2.4.18-MIPS-01.00/ip_nat_l2tp.o
> insmod: unresolved symbol kmalloc
> insmod: unresolved symbol create_proc_entry
> insmod: unresolved symbol ip_nat_helper_register
> insmod: unresolved symbol ip_nat_helper_unregister
> insmod: unresolved symbol csum_partial
> insmod: unresolved symbol sprintf
> </example>

There might be version mismatch, or other modules to load before this one. 
This can also be a kernel configuration problem, related to modules that are 
expected to be in-kernel.

>
> This problem is very of interest, because there are modules for IP_SEC,
> and a module rtl8186 (NIC driver??) that is much SMALLER that module
> with the same name rtl8186 generated during kernel compilation. There is
> also module named wireless_ag_net.
>
> 2). Is there some possibility to "recover" using serial port if it
> happens to corrupt kernel to point to not have network access? (I mean
> NOT using JTAG).??

Well, unless you have erased the booloader, I think you should still be able 
to reflash the device using bootloader commands, even via xmodem if the 
loader allows it.

>
> 3). Florian, could you help me to "reverse engineer" Edimax-supplied
> firmware image? AFAIR it is composed of header, compressed vmlinux and
> compressed initrd. But how to find at what offset those images are?, and
> how are they compressed.

I think you should have a look at this page [1], where there are ressources to 
create custom rtl8181 firmwares.

>
> W.P.

[1] http://rtl8181.sourceforge.net/

-- 
Regards, Florian

Attachment: pgpZz6wJqUbuV.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>