Firmware Installation in MINI2440.

Sushant
Hello,
Any one  have idea about to install firmware in MINI2440.
i am downloaded the firmware for ralink site.but it is not support to ARM
platform its for x86 machine then how to cross compile the platform.
thanx.

davef
I just copied a firmware file directly into the root file system for
RTL8712U(?) to run a WiFi adapter.

I think I found it on the RaspberryPi site and from my understanding it has
a different ARM architecture, so my impression is that it didn't need to be
cross-compiled.

I could be wrong.

Sushant
thanx,
I am using RT3070 ralink wi-fi module.Not able to start wi-fi on MINI2440
various types of error generated.


refer http://www.friendlyarm.net/forum/topic/5934


last night i check the filesystem.Not find this file :rt2870.bin
/lib/firmware/
then i guess the firmware is not available.
it's correct or not i have no idea about this. 

Thanx in advance

davef
Have you also re-compiled the kernel?  I had to go to Staging under drivers
to find one for my device.

Then add the firmware file.

Sushant
I select Staging last time

sushant
Hello,

insert a driver this error is generated

insmod  rt5370sta.ko
rtusb init rt2870 --->


=== pAd = c4970000, size = 508848 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
Unable to handle kernel NULL pointer dereference at virtual address
00000040
pgd = c3b50000
[00000040] *pgd=33b04031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: rt5370sta(+) ov9650 zd1211rw rt73usb rt2x00usb rt2x00lib
mac8
0211 input_polldev
CPU: 0    Not tainted  (2.6.30.4-EmbedSky #10)
PC is at __dev_get_by_name+0x5c/0xb0
LR is at __dev_get_by_name+0x20/0xb0
pc : [<c02431e8>]    lr : [<c02431ac>]    psr: 60000013
sp : c3b45bb8  ip : 0028314c  fp : c3b45bd4
r10: bf0f511c  r9 : c3b45cbc  r8 : c2161800
r7 : 00000002  r6 : c3b45bec  r5 : c3b45bfc  r4 : 00000000
r3 : 0000004c  r2 : 0003a764  r1 : 00000003  r0 : 00000130
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 33b50000  DAC: 00000015
Process insmod (pid: 522, stack limit = 0xc3b44268)
Stack: (0xc3b45bb8 to 0xc3b46000)
5ba0:                                                       00000000
c3b45bfc
5bc0: c3b45bec 00000002 c3b45be4 c3b45bd8 c02433c8 c024319c c3b45c34
c3b45be8
5be0: bf0c4c28 c02433c8 00000004 00306172 00000000 00000000 00000000
00000030
5c00: 00000000 00000000 00000000 c2161800 bf0f511c 00000000 c3b45cfc
c4970000
5c20: c3915000 c4970000 c3b45c5c c3b45c38 bf0827bc bf0c4b78 00000004
bf0f511c
5c40: 0007baec 00000000 bf123ff0 c3b45cfc c3b45ca4 c3b45c60 bf08e670
bf082794
5c60: 00000000 00000580 c3b45c74 00000004 c00943ec 80008800 0007bd4a
c3b45cfc
5c80: 00000000 c3b45cfc c4970000 c3915000 bf123ff0 c4970000 c3b45cdc
c3b45ca8
5ca0: bf0c62fc bf08e168 c3b45cbc 00000000 c3b45cdc c3b45cc0 00000100
00000000
5cc0: 00003070 00000000 c3b45cfc 00000006 c3b45da4 c3b45ce0 bf0df584
bf0c62b0
5ce0: c3b45d64 00000000 c00d883c c394cb40 c3805000 c38b1400 c3b45d1c
c3b45d08
5d00: c00a9438 c013b9c4 c3b45d28 c3479440 c3b45d6c c3b45d20 c00d922c
c00a941c
5d20: c3b45d4c c3b45d70 0000001d 160dc082 c3b45d70 c394cb40 00000007
00000081
5d40: c3b40040 00000001 00000002 00000003 00000004 00000005 00000006
c38b0040
5d60: c394f000 0000148f 00003070 c01a5f1c c3915200 c4970000 bf126ccc
c3915000
5d80: bf126ccc bf1265d0 c3915020 bf126c9c c38b1400 bf126ccc c3b45dd4
c3b45da8
5da0: c01a6714 bf0df324 c01a6670 c3915020 c3915020 bf126ccc c017a368
c03b6ed0
5dc0: c03f2850 bf126ccc c3b45e04 c3b45dd8 c017a254 c01a6680 00000000
c3915020
5de0: c3915054 bf126ccc c017a368 c03b6ed0 00000000 c3b19cc0 c3b45e24
c3b45e08
5e00: c017a3fc c017a1d8 00000000 c3b45e28 bf126ccc c017a368 c3b45e4c
c3b45e28
5e20: c0179afc c017a378 c38359b8 c395b630 bf126c9c bf126e54 bf126ccc
bf126ccc
5e40: c3b45e5c c3b45e50 c017a0d4 c0179aa0 c3b45e94 c3b45e60 c0179330
c017a0c4
5e60: bf106460 c03c8480 c3b45e94 bf126c9c bf126e54 bf126ccc bf126ccc
c03b6ed0
5e80: bf12b000 c03c8480 c3b45eb4 c3b45e98 c017a6d0 c017929c bf126c9c
bf126e54
5ea0: bf106468 bf126ccc c3b45edc c3b45eb8 c01a64e8 c017a66c 000e16ce
001dffa8
5ec0: 00000000 c3b44000 c0037008 bf12b000 c3b45eec c3b45ee0 bf12b028
c01a6484
5ee0: c3b45f7c c3b45ef0 c0036284 bf12b010 c4937d68 c4937c89 c3b2eca0
c4964d88
5f00: 00000017 0000000b 00000000 00000019 0000104f 00000002 00000002
c4938128
5f20: 00000019 00000019 c0098b74 00000000 00000000 00000000 00000000
00000000
5f40: 00000000 000e16ce 001dffa8 bf126e54 00000000 000e16ce 001dffa8
bf126e54
5f60: 00000000 c0037008 c3b44000 00000000 c3b45fa4 c3b45f80 c006d290
c0036258
5f80: c00957e4 c00956d8 000e16ce 00000001 befe3f65 00000080 00000000
c3b45fa8
5fa0: c0036e60 c006d20c 000e16ce 00000001 40000008 000e16ce 001dffa8
befe3f65
5fc0: 000e16ce 00000001 befe3f65 00000080 00000000 00000002 00000000
befe3e84
5fe0: befe3cb0 befe3ca0 0002b9c0 00009310 20000010 40000008 00000000
00000000
Backtrace:
[<c024318c>] (__dev_get_by_name+0x0/0xb0) from [<c02433c8>]
(dev_get_by_name+0x1
0/0x38)
 r7:00000002 r6:c3b45bec r5:c3b45bfc r4:00000000
[<c02433b8>] (dev_get_by_name+0x0/0x38) from [<bf0c4c28>]
(RtmpOSNetDevCreate+0x
c0/0x1e4 [rt5370sta])
[<bf0c4b68>] (RtmpOSNetDevCreate+0x0/0x1e4 [rt5370sta]) from [<bf0827bc>]
(RtmpP
hyNetDevMainCreate+0x38/0x44 [rt5370sta])
[<bf082784>] (RtmpPhyNetDevMainCreate+0x0/0x44 [rt5370sta]) from
[<bf08e670>] (R
TMP_COM_IoctlHandle+0x518/0x7f8 [rt5370sta])
 r4:c3b45cfc
[<bf08e158>] (RTMP_COM_IoctlHandle+0x0/0x7f8 [rt5370sta]) from [<bf0c62fc>]
(Rtm
pPhyNetDevInit+0x5c/0x148 [rt5370sta])
[<bf0c62a0>] (RtmpPhyNetDevInit+0x0/0x148 [rt5370sta]) from [<bf0df584>]
(rtusb_
probe+0x270/0x38c [rt5370sta])
 r7:00000006 r6:c3b45cfc r5:00000000 r4:00003070
[<bf0df314>] (rtusb_probe+0x0/0x38c [rt5370sta]) from [<c01a6714>]
(usb_probe_in
terface+0xa4/0x198)
[<c01a6670>] (usb_probe_interface+0x0/0x198) from [<c017a254>]
(driver_probe_dev
ice+0x8c/0x1a0)
[<c017a1c8>] (driver_probe_device+0x0/0x1a0) from [<c017a3fc>]
(__driver_attach+
0x94/0x98)
[<c017a368>] (__driver_attach+0x0/0x98) from [<c0179afc>]
(bus_for_each_dev+0x6c
/0x98)
 r7:c017a368 r6:bf126ccc r5:c3b45e28 r4:00000000
[<c0179a90>] (bus_for_each_dev+0x0/0x98) from [<c017a0d4>]
(driver_attach+0x20/0
x28)
 r7:bf126ccc r6:bf126ccc r5:bf126e54 r4:bf126c9c
[<c017a0b4>] (driver_attach+0x0/0x28) from [<c0179330>]
(bus_add_driver+0xa4/0x2
40)
[<c017928c>] (bus_add_driver+0x0/0x240) from [<c017a6d0>]
(driver_register+0x74/
0x158)
[<c017a65c>] (driver_register+0x0/0x158) from [<c01a64e8>]
(usb_register_driver+
0x74/0xf4)
 r7:bf126ccc r6:bf106468 r5:bf126e54 r4:bf126c9c
[<c01a6474>] (usb_register_driver+0x0/0xf4) from [<bf12b028>]
(init_module+0x28/
0x40 [rt5370sta])
 r9:bf12b000 r8:c0037008 r7:c3b44000 r6:00000000 r5:001dffa8
r4:000e16ce
[<bf12b000>] (init_module+0x0/0x40 [rt5370sta]) from [<c0036284>]
(do_one_initca
ll+0x3c/0x1bc)
[<c0036248>] (do_one_initcall+0x0/0x1bc) from [<c006d290>]
(sys_init_module+0x94
/0x1a4)
[<c006d1fc>] (sys_init_module+0x0/0x1a4) from [<c0036e60>]
(ret_fast_syscall+0x0
/0x2c)
 r7:00000080 r6:befe3f65 r5:00000001 r4:000e16ce
Code: e082c083 1afffff6 e20c30ff e1a00103 (e5943040)
---[ end trace cb592a997c38b133 ]---
Segmentation fault

Rina
Hello sushant,

Actually i am purchase a Ralink USB wi-fi modem.I connect this modem to
MINI2440 this message is show.

 
using s3c2410-ohci and address 2
usb 1-1: New USB device found, idVendor=148f, idProduct=3070
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11 n WLAN
usb 1-1: Manufacturer: Ralink
usb 1-1: SerialNumber: 1.0
usb 1-1: configuration #1 chosen from 1 choice



go to kernel side,
make menuconfig
  Device Driver--
        |
        |
        Ralink Driver support--
                  <M> Ralink rt2500(usb) support
                  <M> Ralink rt2501/rt73(usb) support
                  <M> Ralink rt2800(usb) support
                  [ ] Ralink debug

Which module select for this modem...
Help me......

123
Hello,
How to solve :

Failed to initialize control interface '/var/wpa_supplicant'.

davef
123,

As it is likely your problem nothing to do with the thread topic, start
another one.

Give more details, can we assume you have cross-compiled in support for
wpa_supplicant?  It is might be useful to show what tutorial or procedure
you are following.

123
Hello davef,
SucessFully search Wi-Fi network currently using iwlist ra0 scan.
Next step to connect single Wi-fi network using wpa_supplicant.No idea
about this.How to use this.Icheck some doc in net---
wpa_supplicant -Dwext -ira0 -c/etc/wpa_supplicant.conf -B

its constanly show same error.
===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 932
===>rt_ioctl_giwscan. 7(7) BSS returned, data->length = 1033
===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 855
===>rt_ioctl_giwscan. 7(7) BSS returned, data->length = 1033
===>rt_ioctl_giwscan. 8(8) BSS returned, data->length = 121


]# wpa_supplicant -Dwext -ira0 -c/etc/wpa_supplicant.conf -B
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/wpa_supplicant/ra0' manually if it is not used anymore
Failed to initialize control interface '/var/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will
need
to manually remove this file before starting wpa_supplicant again.

Sushant Bhangales
Hello,
Please tell me solution .....

sundeep
Hi Sushant

Have u worked on this below module

http://www.aliexpress.com/store/product/Wireless-11n-Wi-Fi-USB-Adapter-1...

Once u go through the specification if u find its ok..then i want to also
want to work on usb wifi module..currently i have EDUP module, but its not
even detected the Mini2440 board.

Sushant Bhangale
Hello,
sandeep : i use this module

sundeep
Hi@Sushant

It Means this module is working perfectly for wireless connection to Wi-Fi,
Is it available in India, can u provide your contact number

Sushant Bhangale
Hello sundeep,
contact me: sushantbhangale06@gmail.com

Sushant Bhangale
hello sundeep,
My contace number :07620330707