OpenWrt Forum Archive

Topic: Is this router based on the infineon danube?

The content of this topic has been archived between 1 Oct 2014 and 1 May 2018. Unfortunately there are posts – most likely complete pages – missing.

up smile

Pteridium wrote:
o71 wrote:

Hi
i found this 2 posts to fix the problem of wifi in arv4518, but i don't know how to use it.
http://www.marshut.com/ipkii/fix-arv451 … tment.html
http://www.mail-archive.com/openwrt-dev … 18065.html
can any one help me plz smile

Very easy: open the mach-arv.c located in (openwrt_AA_dir)/target/linux/lantiq/files/arch/mips/lantiq/xway and delete the line 532 or comment it.
At least "worksforme".

thank you very much
i tried to comment it and re-compile it but it doesn't work when i upload to the router it tell me that i should re-upload an other image from http server

Can you put the bootlog or the dmesg output?

this is what i get from the terminal


ROM VER: 1.0.3             
CFG 01     
Read¸
ROM VER: 1.0.3
CFG 01
Read EEPROMX
X


U-Boot 2010.03 (Apr 23 2013 - 04:12:32)

Board: ARV4518PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  4 MB
Net:
searching for rtl8306 switch ... found
lq_cpe_eth
Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Failed to execute bootcmd (maybe invalid u-boot environment?), starting httpd to
update firmware...
starting httpd server from server 192.168.1.1
http start
...................56

Up

o71 wrote:

this is what i get from the terminal
U-Boot 2010.03 (Apr 23 2013 - 04:12:32)

Board: ARV4518PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  4 MB
Net:
searching for rtl8306 switch ... found
lq_cpe_eth
Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Failed to execute bootcmd (maybe invalid u-boot environment?), starting httpd to
update firmware...
starting httpd server from server 192.168.1.1
http start
...................

This log means that the openwrt image you have flashed was corrupted. Very strange.
If the u-boot version that your has tftp and httpd works will be very easy to flash a new image.

What means "up"?

"up" just means that o71 is impatient and doesn't realise that we all have Real Lives that interferes with helping him out.

Pteridium wrote:
o71 wrote:

this is what i get from the terminal
U-Boot 2010.03 (Apr 23 2013 - 04:12:32)

Board: ARV4518PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  4 MB
Net:
searching for rtl8306 switch ... found
lq_cpe_eth
Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Failed to execute bootcmd (maybe invalid u-boot environment?), starting httpd to
update firmware...
starting httpd server from server 192.168.1.1
http start
...................

This log means that the openwrt image you have flashed was corrupted. Very strange.
If the u-boot version that your has tftp and httpd works will be very easy to flash a new image.

What means "up"?


after re-compile openwrt from source like in this article:

Pteridium wrote:
o71 wrote:

Hi
i found this 2 posts to fix the problem of wifi in arv4518, but i don't know how to use it.
http://www.marshut.com/ipkii/fix-arv451 … tment.html
http://www.mail-archive.com/openwrt-dev … 18065.html
can any one help me plz

Very easy: open the mach-arv.c located in (openwrt_AA_dir)/target/linux/lantiq/files/arch/mips/lantiq/xway and delete the line 532 or comment it.
At least "worksforme".
thank you very much
i tried to comment it and re-compile it but it doesn't work when i upload to the router it tell me that i should re-upload an other image from http server

you asked me for :

Pteridium wrote:

Can you put the bootlog or the dmesg output?

o71 wrote:

"up" just means that o71 is impatient and doesn't realise that we all have Real Lives that interferes with helping him out.

i'm very sorry Mr Pteridium and robthebrew for the "up"

Don't be worried for the "up"; of course you are impatient if there is a solution for an issue and you can't apply it, is normal. wink

Well, have you openwrt working on the arv4518 or still have problems?

thank you Mr Pteridium for your comprehension

i still have a problem when i edit this file
mach-arv.c located in (openwrt_AA_dir)/target/linux/lantiq/files/arch/mips/lantiq/xway and delete the line 532
i compiled the openwrt when i flash the arv4518 it can't boot from it i still have this problem :

ERROR: can't get kernel image!
Failed to execute bootcmd (maybe invalid u-boot environment?), starting httpd to
update firmware...
starting httpd server from server 192.168.1.1
http start
...................

PS= i used this article to  compiling OpenWRT

but i get this source
svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment

http://linksprite.com/wiki/index.php5?t … ng_OpenWRT

sorry for my english

(Last edited by o71 on 1 May 2013, 23:41)

Try with this image and tell if loads right and if the wifi works.
http://www.mediafire.com/?c9aiivy4gx7j5dj
Once verified that works i can send you a config file or an image or both with the packages you need.
Is very strange that following the guide the images are corrupted; maybe bad luck?

Please, don't tell me Mr. Pteridium; every time i read Mr another white hair Mr. o71. big_smile

My english is poor too. wink

Pteridium wrote:

Try with this image and tell if loads right and if the wifi works.
http://www.mediafire.com/?c9aiivy4gx7j5dj
Once verified that works i can send you a config file or an image or both with the packages you need.
Is very strange that following the guide the images are corrupted; maybe bad luck?

Please, don't tell me Mr. Pteridium; every time i read Mr another white hair Mr. o71. big_smile

My english is poor too. wink

thank you very much Pteridium (i wil tell you your name without Mr looooool smile ) and i'm very happy to help me
after upload the image to my router i get now this

Pteridium wrote:

[    3.832000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0x3a48 instead
[    3.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0x654d instead
[    3.848000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0xd665 instead
[    3.856000] Further such events for this erase block will not be printed
[    3.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x28a8 instead
[    3.968000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0x7aa4 instead
[    3.976000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0x0cb1 instead
[    3.984000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0x472d instead
[    3.992000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xa165 instead
[    4.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0x7af2 instead
[    4.012000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0xbe7a instead
[    4.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0x3ed5 instead
[    4.028000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x69fe instead
[    4.036000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0xd276 instead
[    4.044000] Further such events for this erase block will not be printed
[    4.104000] Old JFFS2 bitmask found at 0x001282b8
[    4.108000] You cannot use older JFFS2 filesystems with newer kernels
[    4.156000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0x4462 instead
[    4.164000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0x3a5d instead
[    4.172000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0x9803 instead
[    4.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013000c: 0xfc9c instead
[    4.192000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0x3abc instead
[    4.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0xbeed instead
[    4.208000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0xa04d instead
[    4.216000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0x43ae instead
[    4.224000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0xa1fb instead
[    4.232000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130024: 0xdfb8 instead
[    4.240000] Further such events for this erase block will not be printed
[    4.284000] Old JFFS2 bitmask found at 0x00135be8
[    4.288000] You cannot use older JFFS2 filesystems with newer kernels
[    4.356000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0x3c4a instead
[    4.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0x8301 instead
[    4.372000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0x9adc instead
[    4.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0x4edf instead
[    4.388000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0x92d4 instead
[    4.396000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0x1a9e instead
[    4.404000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0xa1df instead
[    4.412000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0xca80 instead
[    4.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0x8e69 instead
[    4.432000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0x2d8d instead
[    4.440000] Further such events for this erase block will not be printed
[    4.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0xabd1 instead
[    4.548000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0xbb29 instead
[    4.556000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0xcb20 instead
[    4.568000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0x6316 instead
[    4.576000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0x30ff instead
[    4.584000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0x266a instead
[    4.592000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0x2a6d instead
[    4.600000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0x0c80 instead
[    4.608000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0x6f5c instead
[    4.620000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150024: 0x4ca6 instead
[    4.628000] Further such events for this erase block will not be printed
[    4.728000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0xc5d5 instead
[    4.736000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0xf732 instead
[    4.744000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0x2fc3 instead
[    4.752000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0x574f instead
[    4.764000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0xd291 instead
[    4.772000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0x747a instead
[    4.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0xeb53 instead
[    4.788000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x0408 instead
[    4.796000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0xf247 instead
[    4.804000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0xb402 instead
[    4.816000] Further such events for this erase block will not be printed
[    4.916000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0x249d instead
[    4.924000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0xe347 instead
[    4.932000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0x2a02 instead
[    4.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0xd6c5 instead
[    4.952000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0xc81d instead
[    4.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0x1998 instead
[    4.968000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0xdb1d instead
[    4.976000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0x0b62 instead
[    4.984000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0xafbb instead
[    4.992000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170024: 0x5b56 instead
[    5.000000] Further such events for this erase block will not be printed
[    5.104000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0x1c7c instead
[    5.112000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0x98b5 instead
[    5.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0x134b instead
[    5.128000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0x3308 instead
[    5.136000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0x9aeb instead
[    5.148000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0xa731 instead
[    5.156000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0x6ad9 instead
[    5.164000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0x77bb instead
[    5.172000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0xec60 instead
[    5.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0x13ea instead
[    5.188000] Further such events for this erase block will not be printed
[    5.212000] Old JFFS2 bitmask found at 0x0018292c
[    5.216000] You cannot use older JFFS2 filesystems with newer kernels
[    5.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190000: 0xde26 instead
[    5.308000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190004: 0x15bb instead
[    5.316000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190008: 0x50bc instead
[    5.328000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019000c: 0x6662 instead
[    5.336000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190010: 0x9fd6 instead
[    5.344000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190014: 0x6d39 instead
[    5.352000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190018: 0x4476 instead
[    5.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019001c: 0xc7d4 instead
[    5.368000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190020: 0x9169 instead
[    5.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190024: 0x2191 instead
[    5.388000] Further such events for this erase block will not be printed
[    5.488000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0000: 0xff07 instead
[    5.496000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0004: 0x9cbc instead
[    5.504000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0008: 0x8ee3 instead
[    5.516000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a000c: 0xb757 instead
[    5.524000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0010: 0xa2b8 instead
[    5.532000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0014: 0x9835 instead
[    5.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0018: 0x793b instead
[    5.548000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a001c: 0xc48c instead
[    5.556000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0020: 0xe8d1 instead
[    5.564000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0024: 0x438a instead
[    5.576000] Further such events for this erase block will not be printed
[    5.676000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0000: 0xc239 instead
[    5.684000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0004: 0xcfd0 instead
[    5.692000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0008: 0xcf7a instead
[    5.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b000c: 0x0a52 instead
[    5.712000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0010: 0x9000 instead
[    5.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0014: 0xe542 instead
[    5.728000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0018: 0x0001 instead
[    5.736000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b001c: 0x03c0 instead
[    5.744000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0020: 0x4dc0 instead
[    5.752000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0024: 0x3e30 instead
[    5.764000] Further such events for this erase block will not be printed
[    5.864000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0000: 0xb5e5 instead
[    5.872000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0004: 0xabdb instead
[    5.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0008: 0xeacf instead
[    5.888000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c000c: 0xaa25 instead
[    5.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0010: 0xf2ca instead
[    5.908000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0014: 0x745f instead
[    5.916000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0018: 0x2413 instead
[    5.924000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c001c: 0xff4f instead
[    5.932000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0020: 0x1d2b instead
[    5.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0024: 0x508c instead
[    5.948000] Further such events for this erase block will not be printed
[    6.052000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0000: 0xc6ae instead
[    6.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0004: 0x32c5 instead
[    6.068000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0008: 0x1de4 instead
[    6.076000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d000c: 0x6e03 instead
[    6.084000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0010: 0xa604 instead
[    6.096000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0014: 0xad23 instead
[    6.104000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0018: 0x81cf instead
[    6.112000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d001c: 0x1c33 instead
[    6.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0020: 0x3abc instead
[    6.128000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0024: 0xec0e instead
[    6.136000] Further such events for this erase block will not be printed
[    6.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0000: 0xbbb4 instead
[    6.248000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0004: 0x6758 instead
[    6.256000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0008: 0x8abe instead
[    6.264000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e000c: 0xfc07 instead
[    6.272000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0010: 0x0a26 instead
[    6.284000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0014: 0x8aa9 instead
[    6.292000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0018: 0x3900 instead
[    6.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e001c: 0xe6a3 instead
[    6.308000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0020: 0xa8a6 instead
[    6.316000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0024: 0xff15 instead
[    6.324000] Further such events for this erase block will not be printed
[    6.428000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0000: 0xc1aa instead
[    6.436000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0004: 0x260c instead
[    6.444000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0008: 0x71a5 instead
[    6.452000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f000c: 0x9fa1 instead
[    6.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0010: 0x5c53 instead
[    6.472000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0014: 0xcac0 instead
[    6.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0018: 0xaafb instead
[    6.488000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f001c: 0xc4d2 instead
[    6.496000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0020: 0x8165 instead
[    6.504000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0024: 0x2a21 instead
[    6.512000] Further such events for this erase block will not be printed
[    6.616000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200000: 0xfa69 instead
[    6.624000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200004: 0x4166 instead
[    6.632000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200008: 0x3f01 instead
[    6.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020000c: 0x7782 instead
[    6.648000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200010: 0xc120 instead
[    6.656000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200014: 0x7cc6 instead
[    6.668000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200018: 0x21cf instead
[    6.676000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020001c: 0x5218 instead
[    6.684000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200020: 0x65b3 instead
[    6.692000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200024: 0xceac instead
[    6.700000] Further such events for this erase block will not be printed
[    6.780000] Old JFFS2 bitmask found at 0x0020b584
[    6.784000] You cannot use older JFFS2 filesystems with newer kernels
[    6.812000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210000: 0x0918 instead
[    6.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210004: 0x4135 instead
[    6.828000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210008: 0x8b6f instead
[    6.836000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0021000c: 0x2c7e instead
[    6.848000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210010: 0x2e32 instead
[    6.856000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210014: 0x50f8 instead
[    6.864000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210018: 0x4b30 instead
[    6.872000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0021001c: 0xbff5 instead
[    6.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210020: 0x5a27 instead
[    6.888000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210024: 0xa7ed instead
[    6.900000] Further such events for this erase block will not be printed
[    6.984000] Old JFFS2 bitmask found at 0x0021c500
[    6.984000] You cannot use older JFFS2 filesystems with newer kernels
[    7.012000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220000: 0xc504 instead
[    7.016000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220004: 0xcef6 instead
[    7.028000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220008: 0x1745 instead
[    7.036000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0022000c: 0xd3b3 instead
[    7.044000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220010: 0x2b3b instead
[    7.052000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220014: 0x4c38 instead
[    7.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220018: 0x5cd0 instead
[    7.068000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0022001c: 0x8f32 instead
[    7.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220020: 0x67e4 instead
[    7.088000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220024: 0xc285 instead
[    7.096000] Further such events for this erase block will not be printed
[    7.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230000: 0x718e instead
[    7.204000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230004: 0x8527 instead
[    7.216000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230008: 0x93cf instead
[    7.224000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0023000c: 0x76e2 instead
[    7.232000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230010: 0xc86a instead
[    7.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230014: 0x4704 instead
[    7.248000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230018: 0x156d instead
[    7.256000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0023001c: 0x1db3 instead
[    7.264000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230020: 0x0865 instead
[    7.276000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230024: 0x701c instead
[    7.284000] Further such events for this erase block will not be printed
[    7.384000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240000: 0xe012 instead
[    7.392000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240004: 0xce6c instead
[    7.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240008: 0x747b instead
[    7.412000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024000c: 0xa42c instead
[    7.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240010: 0x6957 instead
[    7.428000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240014: 0x56e8 instead
[    7.436000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240018: 0x2480 instead
[    7.444000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024001c: 0x6992 instead
[    7.452000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240020: 0x5498 instead
[    7.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240024: 0xbfad instead
[    7.472000] Further such events for this erase block will not be printed
[    7.532000] Old JFFS2 bitmask found at 0x002489c4
[    7.536000] You cannot use older JFFS2 filesystems with newer kernels
[    7.584000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250000: 0x2673 instead
[    7.592000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250004: 0xbd6b instead
[    7.600000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250008: 0x855f instead
[    7.608000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0025000c: 0x97a6 instead
[    7.616000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250010: 0x4c09 instead
[    7.624000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250014: 0x4669 instead
[    7.632000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250018: 0xe832 instead
[    7.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0025001c: 0x87fe instead
[    7.652000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250020: 0x1a31 instead
[    7.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250024: 0xc815 instead
[    7.668000] Further such events for this erase block will not be printed
[    7.704000] Empty flash at 0x00253740 ends at 0x00254000
[    7.772000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    7.780000] empty_blocks 7, bad_blocks 0, c->nr_blocks 45
[    7.784000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)


is this because of the boot i used or because of why big_smile
thank you very much for your helping wink

Well, this time fails other thing; a little progress. wink
I think i've saw this error before, but don't remember the exact cause.
I've put too debug in the image because i was testing something and this is the cause of so much verbosity at the boot.
Can you put your uboot environment? Is very easy: stop uboot and execute printenv when the "ARV4518 =>" prompt appears.
I think that the jffs2 error could be due a misconfiguration in the bootloader.
Also post the bootlog without the jffs2 errors.

P.S.: since revision 36510 of Attitude Adjustment the patch for the arv4518pw has been applied.

Pteridium wrote:

Well, this time fails other thing; a little progress. wink
I think i've saw this error before, but don't remember the exact cause.
I've put too debug in the image because i was testing something and this is the cause of so much verbosity at the boot.
Can you put your uboot environment? Is very easy: stop uboot and execute printenv when the "ARV4518 =>" prompt appears.
I think that the jffs2 error could be due a misconfiguration in the bootloader.
Also post the bootlog without the jffs2 errors.

P.S.: since revision 36510 of Attitude Adjustment the patch for the arv4518pw has been applied.


first thank you Pteridium for continue helping me you are a good man wink

and this is the uboot environment :

ARV4518 => printenv
bootcmd=run flash_flash
bootdelay=2
baudrate=115200
loads_echo=
ipaddr=192.168.1.1
serverip=192.168.1.101
rootpath="/export"
gatewayip=192.168.1.254
netmask=255.255.255.0
ram_addr=0x80500000
flashargs=setenv bootargs rootfstype=squashfs,jffs2
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
addmisc=setenv bootargs ${bootargs} init=/etc/preinit console=ttyS1,115200 ethaddr=${ethaddr} ${mtdparts}
flash_flash=run flashargs addip addmisc;bootm ${kernel_addr}
flash_nfs=run nfsargs addip addmisc;bootm ${kernel_addr}
net_flash=run load_kernel flashargs addip addmisc;bootm ${ram_addr}
net_nfs=run load_kernel nfsargs addip addmisc;bootm ${ram_addr}
load_kernel=tftp ${ram_addr} ${tftppath}openwrt-ifxmips-uImage
update_uboot=tftp 0x80500000 ${tftppath}u-boot-ARV4518PW.bin;era 0xb0000000 +${filesize};cp.b 0x80500000 0xb0000000 ${filesize}
update_openwrt=tftp ${ram_addr} ${tftppath}ARV4518PW-squashfs.image;era ${kernel_addr} +${filesize};cp.b ${ram_addr} ${kernel_addr} ${filesize}
ethaddr=00:06:4e:00:00:01
ethact=lq_cpe_eth
bootargs=rootfstype=squashfs,jffs2 ip=192.168.1.1:192.168.1.101:192.168.1.254:255.255.255.0:::off init=/etc/preinit console=ttyS1,115200 ethaddr=00:06:4e:00:00:01
kernel_addr=0xb0030000
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.03 (May 16 2012 - 05:51:08)

Environment size: 1432/65532 bytes

P.S: i use the uboot from this post smile

https://forum.openwrt.org/viewtopic.php … 84#p167584

(Last edited by o71 on 2 May 2013, 23:15)

Sorry, didn't realized of your post. sad

o71 wrote:

and this is the uboot environment :

kernel_addr=0xb0030000

The problem is the kernel address. 0xb0030000 is the right value for Backfire and old Attitude Adjustment revisions. For trunk and the latest AA this address must be set to 0xb0020000.
To change it execute the following commands:
setenv kernel_addr 0xb0020000
saveenv
reset

Flash openwrt and, if nothing more happens, enjoy. wink

Pteridium wrote:

Sorry, didn't realized of your post. sad

o71 wrote:

and this is the uboot environment :

kernel_addr=0xb0030000

The problem is the kernel address. 0xb0030000 is the right value for Backfire and old Attitude Adjustment revisions. For trunk and the latest AA this address must be set to 0xb0020000.
To change it execute the following commands:
setenv kernel_addr 0xb0020000
saveenv
reset

Flash openwrt and, if nothing more happens, enjoy. wink



finalllllllyyyyyyy thank you very very much now it's working and i found also that it contain luci big_smile thank you very very much

i still have a problem sad the router doesn't recognize the wifi interface this is a picture from luci

http://img4.hostingpics.net/pics/191044Sanstitre.jpg

and this is the log

ROM VER: 1.0.3
CFG 01
Readü
ROM VER: 1.0.3
CFG 01
Read EEPROMX
X


U-Boot 2010.03 (May 16 2012 - 05:51:08)

Board: ARV4518PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  4 MB
Net:
searching for rtl8306 switch ... found
lq_cpe_eth
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at b0020000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2013-04-29  13:07:20 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1003694 Bytes = 980.2 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (pepe@debian) (gcc version 4.7.0 (GCC) ) #1 Mon Apr 29 15:07:13 CEST 2013
[    0.000000] SoC: Danube rev 1.3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,jffs2 machtype=ARV4518PW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0004e008
[    0.000000] Readback ErrCtl register=0004e008
[    0.000000] Memory: 61772k/65536k available (2345k kernel code, 3764k reserved, 410k data, 176k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.060000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.064000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.068000] MIPS: machine is ARV4518PW - SMC7908A-ISP, Airties WAV-221
[    0.072000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.112000] bio: create slab <bio-0> at 0
[    0.120000] PCI host bridge to bus 0000:00
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.132000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.136000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.140000] Switching to clocksource MIPS
[    0.148000] NET: Registered protocol family 2
[    0.156000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.160000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.168000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.176000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.180000] TCP reno registered
[    0.184000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.192000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.196000] NET: Registered protocol family 1
[    0.204000] gptu: totally 6 16-bit timers/counters
[    0.208000] gptu: misc_register on minor 63
[    0.212000] gptu: succeeded to request irq 126
[    0.216000] gptu: succeeded to request irq 127
[    0.220000] gptu: succeeded to request irq 128
[    0.224000] gptu: succeeded to request irq 129
[    0.232000] gptu: succeeded to request irq 130
[    0.236000] gptu: succeeded to request irq 131
[    0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.284000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.296000] msgmni has been set to 120
[    0.300000] io scheduler noop registered
[    0.304000] io scheduler deadline registered (default)
[    0.308000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.316000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.316000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.332000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[    0.340000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.344000]   Amd/Fujitsu Extended Query version 1.1.
[    0.348000] number of CFI chips: 1
[    0.352000] Creating 4 MTD partitions on "ltq_nor":
[    0.356000] 0x000000000000-0x000000010000 : "uboot"
[    0.368000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.372000] 0x000000020000-0x0000003f0000 : "linux"
[    0.380000] found squashfs behind kernel
[    0.384000] Creating 2 MTD partitions on "ltq_nor":
[    0.388000] 0x000000020000-0x0000001150ee : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x0000001150ee-0x0000003f0000 : "rootfs"
[    0.412000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.428000] mtd: partition "rootfs" set to be root filesystem
[    0.432000] mtd: partition "rootfs_data" created automatically, ofs=370000, len=80000
[    0.440000] 0x000000370000-0x0000003f0000 : "rootfs_data"
[    0.448000] 0x0000003f0000-0x000000400000 : "board_config"
[    0.472000] ltq_mii: probed
[    0.500000] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
[    0.508000] eth0: attached PHY [Realtek RTL8306S] (phy_addr=ltq_etop-fffffff:00, irq=-1)
[    0.528000] TCP cubic registered
[    0.532000] NET: Registered protocol family 17
[    0.536000] 8021q: 802.1Q VLAN Support[    0.552000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.556000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.264000] JFFS2 notice: (393) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 8 of xref (0 dead, 2 orphan) found.
[    8.488000] SCSI subsystem initialized
[    8.660000] usbcore: registered new interface driver usbfs
[    8.664000] usbcore: registered new interface driver hub
[    8.672000] usbcore: registered new device driver usb
[    9.280000] dwc_otg: version 2.60a 22-NOV-2006
[    9.888000] DWC_otg: Using DMA mode
[    9.892000] dwc_otg dwc_otg.0: DWC OTG Controller
[    9.896000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[    9.900000] dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
[    9.912000] DWC_otg: Init: Port Power? op_state=1
[    9.916000] DWC_otg: Init: Power Port (0)
[    9.920000] hub 1-0:1.0: USB hub found
[    9.920000] hub 1-0:1.0: 1 port detected
[    9.948000] Initializing USB Mass Storage driver...
[    9.952000] usbcore: registered new interface driver usb-storage
[    9.956000] USB Mass Storage support registered.
switching to jffs2
- init -

Please press Enter to activate this console. [   22.660000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   22.664000] Backport based on wireless-testing.git master-2013-02-22
[   22.668000] compat.git: wireless-testing.git
[   22.712000] cfg80211: Calling CRDA to update world regulatory domain
[   22.720000] cfg80211: World regulatory domain updated:
[   22.724000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   22.732000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   22.740000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   22.748000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   22.756000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   22.760000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   23.652000] ath5k 0000:00:0e.0: registered as 'phy0'
[   24.688000] ath5k: phy0: unable to init EEPROM
[   24.692000] ath5k: probe of 0000:00:0e.0 failed with error -5
[   24.800000] NET: Registered protocol family 8
[   24.800000] NET: Registered protocol family 20
[   24.848000] Button Hotplug driver version 0.4.1
[   25.088000] PPP generic driver version 2.4.2
[   25.420000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   25.736000] NET: Registered protocol family 24
[   25.788000] nf_conntrack version 0.5.0 (967 buckets, 3868 max)
[   26.176000] gpio-keys-polled gpio-keys-polled: unable to claim gpio 30, err=-16
[   26.180000] gpio-keys-polled: probe of gpio-keys-polled failed with error -16
[   32.408000] device eth0 entered promiscuous mode
[   32.416000] br-lan: port 1(eth0) entered forwarding state
[   32.420000] br-lan: port 1(eth0) entered forwarding state
[   34.424000] br-lan: port 1(eth0) entered forwarding state

i think the error in this lines

[   23.652000] ath5k 0000:00:0e.0: registered as 'phy0'
[   24.688000] ath5k: phy0: unable to init EEPROM
[   24.692000] ath5k: probe of 0000:00:0e.0 failed with error -5

o71 wrote:

i think the error in this lines

[   23.652000] ath5k 0000:00:0e.0: registered as 'phy0'
[   24.688000] ath5k: phy0: unable to init EEPROM
[   24.692000] ath5k: probe of 0000:00:0e.0 failed with error -5

You are right: the last partition of the flash (where lies the MAC and the wifi calibration data) is empty or corrupted. No problem, because can be easily "patched".
The link contains a backup of the last partition (if you haven't it) of an ARV4518PW. Simply copy the file in the router and execute "mtd -r write (file_name_and_path) board_config" and wifi working after reboot.
http://www.mediafire.com/?6d1t67pm2b0cm92

The partition backup comes with a mac that begins with 00 22 2D. The mac belonged to a dead router so could be used without problems, but i think it's better change it. With any hexadecimal editor open the file, go to offset 16 a write your router's mac.

Good luck!

Pteridium wrote:
o71 wrote:

i think the error in this lines

[   23.652000] ath5k 0000:00:0e.0: registered as 'phy0'
[   24.688000] ath5k: phy0: unable to init EEPROM
[   24.692000] ath5k: probe of 0000:00:0e.0 failed with error -5

You are right: the last partition of the flash (where lies the MAC and the wifi calibration data) is empty or corrupted. No problem, because can be easily "patched".
The link contains a backup of the last partition (if you haven't it) of an ARV4518PW. Simply copy the file in the router and execute "mtd -r write (file_name_and_path) board_config" and wifi working after reboot.
http://www.mediafire.com/?6d1t67pm2b0cm92

The partition backup comes with a mac that begins with 00 22 2D. The mac belonged to a dead router so could be used without problems, but i think it's better change it. With any hexadecimal editor open the file, go to offset 16 a write your router's mac.

Good luck!


Hi
thank you very very much for the file big_smile and i think i don't have luck i get this msg big_smile


root@OpenWrt:/# mtd -r write arv4518_MAC_2.bin board_config
Unlocking board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block
root@OpenWrt:/#


PS : i used this commands but it's the some thing

root@OpenWrt:/# mtd unlock  board_config
Unlocking board_config ...
root@OpenWrt:/#
root@OpenWrt:/# dd if=/tmp/arv4518_MAC_2.bin of=/dev/mtd6
dd: writing '/dev/mtd6': No space left on device
128+1 records in
128+0 records out
root@OpenWrt:/# mtd -f write arv4518_MAC_2.bin  board_config
Unlocking board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block
root@OpenWrt:/#

root@OpenWrt:/# mtd -e board_config write arv4518_MAC_2.bin  board_config
Unlocking board_config ...
Erasing board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block


plz if you can save me white a solution big_smile

(Last edited by o71 on 5 May 2013, 03:53)

qwertz123 wrote:

[
I guess I'll try patching rt2800pci so that it thinks it uses a rt3062 instead, no Idea if this is feasible though.

EDIT:
From what i've read/guessed in rt2800pci, the rt3062 and rt3592 are handled the same way and are basically the same chip.
So, the pciid isn't wrong per se and it's also the same as in the  TOH.
As far as I can see most of the frequency and chip capability stuff is initialized via eeprom....

So, I managed to borrow one 803 from my neighbor, and hacked around a bit. It seems that the problem is in an incorrect reading of the EEPROM. Driver reports: Chipset detected - rt: 3572, rf: 0002, rev: 0221, whereas the EEPROM in my unit clearly contains rf: 0008. This also explains how misha.gps got his wlan working by manually patching the EEPROM contents to the driver. Maybe some byte swapping is necessary? I'll keep on investigating.

As I suspected, rt2800pci expects EEPROM to be little endian, whereas in these units it is stored big endian. After byte swapping the EEPROM wifi works! Unfortunately dd in openwrt does not support conv=swab, so we can't just patch 10-rt2x00-eeprom...

o71 wrote:
Pteridium wrote:
o71 wrote:

i think the error in this lines

[   23.652000] ath5k 0000:00:0e.0: registered as 'phy0'
[   24.688000] ath5k: phy0: unable to init EEPROM
[   24.692000] ath5k: probe of 0000:00:0e.0 failed with error -5

You are right: the last partition of the flash (where lies the MAC and the wifi calibration data) is empty or corrupted. No problem, because can be easily "patched".
The link contains a backup of the last partition (if you haven't it) of an ARV4518PW. Simply copy the file in the router and execute "mtd -r write (file_name_and_path) board_config" and wifi working after reboot.
http://www.mediafire.com/?6d1t67pm2b0cm92

The partition backup comes with a mac that begins with 00 22 2D. The mac belonged to a dead router so could be used without problems, but i think it's better change it. With any hexadecimal editor open the file, go to offset 16 a write your router's mac.

Good luck!


Hi
thank you very very much for the file big_smile and i think i don't have luck i get this msg big_smile


root@OpenWrt:/# mtd -r write arv4518_MAC_2.bin board_config
Unlocking board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block
root@OpenWrt:/#


PS : i used this commands but it's the some thing

root@OpenWrt:/# mtd unlock  board_config
Unlocking board_config ...
root@OpenWrt:/#
root@OpenWrt:/# dd if=/tmp/arv4518_MAC_2.bin of=/dev/mtd6
dd: writing '/dev/mtd6': No space left on device
128+1 records in
128+0 records out
root@OpenWrt:/# mtd -f write arv4518_MAC_2.bin  board_config
Unlocking board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block
root@OpenWrt:/#

root@OpenWrt:/# mtd -e board_config write arv4518_MAC_2.bin  board_config
Unlocking board_config ...
Erasing board_config ...

Writing from arv4518_MAC_2.bin to board_config ...  [e]Failed to erase block


plz if you can save me white a solution big_smile


is there a solution plz and thank you

Hi everyone,

After reading a lot I've been able to load OpenWRT on my ARV4518PW. I've used the latest official image from the official release 12.09 (http://downloads.openwrt.org/attitude_a … shfs.image), but after booting up wifi doesn't work. On the boot log I can see this:

[   26.696000] ath5k: phy0: failed to warm reset the MAC Chip
[   26.700000] ath5k: phy0: can't reset hardware (-5)
[   26.716000] device wlan0 entered promiscuous mode
[   27.160000] ath5k: phy0: failed to warm reset the MAC Chip
[   27.164000] ath5k: phy0: can't reset hardware (-5)

Does anyone have any idea what the problem is? Thanks in advance.