Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 17, 2017 11:58 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Tue Aug 28, 2007 4:08 pm 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
I use the debil install the debian,and download the gpl_mipsel-hdhlan_v2.zip from http://downloads.nas-central.org;

unzip the zip file and tar kernel-modules-2.4.20_mipsel_linkstation.tgz,then try use "depmod -a",but something wrong
Code:
Buffalo:/lib/modules# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/block/floppy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/block/loop.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/block/nbd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/cdrom/cdrom.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/char/busmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/i2c/i2c-core.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/i2c/i2c-proc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/ide/ide-cd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/input/evdev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/input/input.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/input/joydev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/input/keybdev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/input/mousedev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/media/video/videodev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_block.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_config.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_core.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_lan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_proc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/message/i2o/i2o_scsi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/dummy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/ppp_async.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/ppp_generic.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/ppp_synctty.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/pppoe.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/pppox.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/net/tun.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/aic7xxx/aic7xxx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/ncr53c8xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/scsi_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/sd_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/sg.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/sr_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/st.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/sound/sound.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/sound/soundcore.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/CDCEther.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/acm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/auerswald.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/bluetooth.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/brlvger.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/catc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/dabusb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/dc2xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/hcd/ehci-hcd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/hid.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/kaweth.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/mdc800.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/ov511.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/pegasus.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/printer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/pwc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/rio500.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/rtl8150.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/scanner.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/se401.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/cyberjack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/digi_acceleport.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/empeg.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/ftdi_sio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/io_edgeport.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/io_ti.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/ipaq.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/ir-usb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/keyspan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/keyspan_pda.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/kl5kusb105.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/mct_u232.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/pl2303.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/usbserial.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/visor.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/serial/whiteheat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/storage/usb-storage.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/stv680.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/tiglusb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/usb-midi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/usb-ohci.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/usbcore.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/usbnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/usbvideo.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/drivers/usb/vicam.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/autofs/autofs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/autofs4/autofs4.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/coda/coda.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/cramfs/cramfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/fat/fat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/isofs/isofs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/lockd/lockd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/ncpfs/ncpfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/nfs/nfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/nfsd/nfsd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/ntfs/ntfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/reiserfs/reiserfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/romfs/romfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/udf/udf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/ufs/ufs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/umsdos/umsdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/vfat/vfat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/fs/xfs/xfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/bluetooth/bluez.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/bluetooth/l2cap.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/ip_gre.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/ipip.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_conntrack_irc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_nat_ftp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_nat_irc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_nat_snmp_basic.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_queue.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ip_tables.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipchains.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipfwadm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_LOG.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_MIRROR.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_REJECT.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_TCPMSS.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_TOS.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_limit.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/ipt_owner.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/iptable_filter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/iptable_mangle.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/ipv4/netfilter/iptable_nat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/sunrpc/sunrpc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20_mipsel_linkstation/kernel/net/wanrouter/wanrouter.o
Buffalo:/lib/modules#


so i tar linux-2.4.20_mipsel_linkstation.tar.gz and complie it,use "make modules_install " and copy the lib to system,but still wrong with "depmod".

who can help me , I only want to complie RT73 driver for my LS2.

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Tue Aug 28, 2007 11:21 pm 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
If all that you want is to compile the driver for rt73, stop trying.
Firstly, you don't need to compile all the kernel modules. The driver for rt73 is not in the kernel sources and, obviously, you will not find it in among the compiled modules.
Secondly, the driver for rt73 requires uploading firmware into the device and this is not supported by the original Linux kernel for LinkStation v2. As a result you can not compile the rt73 driver for it.

You will have to wait until Linux 2.6 is more widely used and then you will be able to use it and compile the rt73 driver for it. Meantime, I strongly suggest you learn more about Linux and how to compile and cross-compile the kernel the modules.


Top
   
PostPosted: Wed Aug 29, 2007 1:31 pm 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
Thx for u help.

Firstly , complie rt73 driver requires 'modversions.h' which in the kernel source ,so i must complie the kernel source;

secondly, the kernel complied success,but any modules can not loaded,is this kernel bug? why i can complie rt73 driver successful ?

the rt73 source code has a 2.4kernel Makefile , is it not support kernel 2.4?

sorry for that ,i'm not a linux kernel development,only know some basic linux technology and pool English;but i'm a java development, i can't understand why the LS2 Kernel not support rt73 driver

:|

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Wed Aug 29, 2007 3:23 pm 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
The mere fact that you could compile the module shows that something is wrong with the way you do it. My guess is that your path to the kernel headers is not correct.

I tried to compile the driver myself and the compilation failed due to missing header files. If you look at the source code for the driver, you will see that it tries to include <linux/firmware.h>. At least this is what the version I downloaded yesterday does. That header file does not exist in linux-2.4.20. It appears in later 2.4.x kernels and it is standard in 2.6 kernels. That file is included because the driver needs to upload the firmware to the rt73 and for this it uses hot-plug firmware upload.
If your module compiled correctly, then it could find <linux/firmware.h>. As the file doesn't exist for linux-2.4.20 the compiler must have found it somewhere else which means that your include path is incorrect. As a wild guess, you have the sources or, at least, the headers for linux-2.6.x on your development workstation and the compiler picks those ones instead of the ones for linux-2.4.20.


Top
   
PostPosted: Thu Aug 30, 2007 2:35 am 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
Code:
root@Buffalo:/share/linux/rt73/Module#find . -name '*.h' -exec grep 'firmware' {} ';' -print
// 8051 firmware image - base address = 0x4000
./rt73.h
// load firmware
./rt_config.h
#define CONTROL_TIMEOUT_MS              (1000)   /* msec */  // lengthen timeout for loading firmware
./rtmp.h
root@Buffalo:/share/linux/rt73/Module#


where has "include <linux/firmware.h>" ?
I download the rt73 drivers from http://packages.debian.org/experimental/net/rt73-source

and it given tools to get the firmware

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Thu Aug 30, 2007 11:57 am 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
You are using an older version of the driver. I tried the latest version from http://rt2x00.serialmonkey.com. I looked at the debian version you are using and I noticed that it compiles for x86 by default. Please post your Makefile and config.mk (for the rt73 module).


Top
   
PostPosted: Thu Aug 30, 2007 2:03 pm 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
Makefile
Code:
Buffalo:/share/linux/rt73/Module# cat Makefile
######################################################################
#       Module Name: Makefile
#       Abstract: Makefile for rt73 linux driver on kernel series 2.4
######################################################################


CC := cc

include ./config.mk

WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
#CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h

CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mips32 -mtune=mips32 -march=mips32 -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h

## Comment/uncomment the following line to enable/disable debugging
#CFLAGS += -DDBG

CFLAGS += $(WFLAGS)

OBJ = rt73.o
 
rt73.o: rtmp_main.o mlme.o connect.o rtusb_bulk.o rtusb_io.o sync.o assoc.o auth.o auth_rsp.o rtusb_data.o rtmp_init.o  sanity.o rtmp_wep.o rtmp_info.o rtmp_tkip.o wpa.o md5.o         
        $(LD) -r $^ -o $@


## NDDIR/ifcfg-rausb0
ND_CONF=/etc/sysconfig/network-scripts/ifcfg-rausb0

ifdef NDDIR
        NDDIR := $(NDDIR)
else
        NDDIR := /etc/sysconfig/network-scripts
endif

ifdef MOD_CONF
        MOD_CONF := $(MOD_CONF)
else
        MOD_CONF := /etc/modules.conf
endif

ifdef MODDIR
        MOD_ROOT := $(MODDIR)
else
        MOD_ROOT := /lib/modules/$(shell uname -r)/extra
endif


all: $(OBJ)
        @touch config.mk

clean:
        rm -rf *.o *~ core .*.cmd *.ko *.mod.c .tmp_versions built-in.o

install:
        @touch config.mk
        install -m 755 -o 0 -g 0 -d $(MOD_ROOT)
        install -m 644 -o 0 -g 0 $(OBJ) $(MOD_ROOT)
 
        @echo "Network device directory $(NDDIR)";
        @echo "Module configuration file $(MOD_CONF)";

        @if [ -d "$(NDDIR)" ] ; then \
                if [ ! -f "$(ND_CONF)" ]; then \
                        echo "Create 'ifcfg-rausb0' in $(NDDIR)/"; \
                        cp ifcfg-rausb0 $(NDDIR)/ ; \
                fi; \
        fi

        @if ! grep -q 'rausb0' $(MOD_CONF) ; then \
                echo "append 'alias rausb0 rt73' to $(MOD_CONF)"; \
                echo "alias rausb0 rt73" >> $(MOD_CONF) ; \
        fi
        /sbin/depmod -a

config:
        @touch config.mk
        @./Configure
Buffalo:/share/linux/rt73/Module#


config.mk
Code:
LINUX_SRC=/share/source/linux-2.4.20_mipsel_linkstation
MODDIR=/lib/modules/2.4.20_mipsel_linkstation
TARGET_MODDIR=/lib/modules/2.4.20_mipsel_linkstation

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Thu Aug 30, 2007 2:05 pm 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
I changed the complie args , pay attention to "-march mips2"

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Thu Aug 30, 2007 10:07 pm 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
I have compiled the module for you. You can find it here. If you want to compile it yourself, replace Makefile and config.mk with the ones provided and run
Code:
export KERNDIR=<path_to_your_kernel_sources>
before running "make". I could insmod it into the original ls2 kernel but I don't have the device so I have no means to test it.


Top
   
PostPosted: Sat Sep 01, 2007 12:34 pm 
Offline
Newbie

Joined: Fri Aug 24, 2007 1:08 am
Posts: 23
oh yeah~~

thx a lots , I loaded the driver for LS2!!

now,the LS2 was working out of my house ~,the living room was quiet. THX!!

THX for all of you; well come to Beijing to jion the olympic games next year~:)

_________________
linkstation LS2 + USB wireless card Belkin F5D7050 with RT73
:)


Top
   
PostPosted: Mon Oct 08, 2007 7:25 am 
Offline
Newbie

Joined: Wed Apr 25, 2007 7:06 am
Posts: 5
hi,

i need this the rt73 driver for kernel 2.6 and arm (linkstation pro/live)

i can't compile the rt73.ko
Code:
nach ./Configure

Linux kernel source directory [/usr/src/linux-2.6.12.6-arm1]:


see problem in german-forum: http://buffalo.nas-central.org/forums/viewtopic.php?f=14&t=4097
please help
thx


Top
   
PostPosted: Mon Oct 08, 2007 10:43 pm 
Offline
Developer

Joined: Sat Aug 19, 2006 4:53 pm
Posts: 187
Location: United Kingdom (Great Britain)
I'm afraid that I can't help you here. I don't do ARM yet.


Top
   
PostPosted: Mon Oct 08, 2007 11:16 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
linuxnotincluded wrote:
I'm afraid that I can't help you here. I don't do ARM yet.
That looks promising :mrgreen:

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
   
PostPosted: Thu Oct 11, 2007 10:27 am 
Offline
Newbie

Joined: Wed Apr 25, 2007 7:06 am
Posts: 5
are there none away to compile the driver on linkstation live?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited