OpenWrt Forum Archive

Topic: Best way to incrementally test new modules ???

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm developing some code that so far has run on linux, but I'm increasingly finding differences and need to test on the target (a linksys 54g). I have a package that builds into kanikaze and tftps and runs, but it takes ages and is really slowing me up.

I have tried wgeting the new native module (from build_mipsel) from my dev machine, but even though I delete the old on my linksys, it still seems to run the old even though its definetly overwrittten with the new, as far a I can tell - really wierd - a flash update/squashfs issue?

What is the best way to do these adhoc runs of modules without going through the whole build/tftp?

Thanks very much for any tips.

Regards

nick

nickf wrote:

What is the best way to do these adhoc runs of modules without going through the whole build/tftp?

If you are talking about kernel modules, you have to manually unload them with rmmod.
The easiest way for testing is IMHO to wget them into /tmp and execute

insmod /tmp/my_module

.

The discussion might have continued from here.