Page 1 of 1

New Hardware & need Help~pls

Posted: Sun Nov 14, 2010 8:28 am
by hugo15
I got a router rew days ago.
Level-one wbr-6000 v2
Spec
atheros ar7130 chip
16MB Ram -nanya chip
4MB ROM
ar5416 +ar2133

I have tried out the ttl pinout
>> gnd ,tx , 3.3v , rx
maybe can help others :p

the bootloade is redboot
like this
-----------------------------------------------------------------------------------------------
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 13:21:51, Apr 19 2007
Compiled by snowel@snowel-laptop

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: pb42
RAM: 0x80000000-0x81000000, [0x8003cab0-0x80ff4000] available
FLASH: 0xbf000000 - 0xbf400000, 64 blocks of 0x00010000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
^C

RedBoot> help

MAC assign
assign
Load kernel
boot
Manage machine caches
cache [ON | OFF]
Display (hex dump) a range of memory
dump -b <location> [-l <length>] [-s] [-1|2|4]
Init network
ether -p <port 0: WAN 1; LAN>
Execute an image
exec [-b <argv addr>] [-c "kernel command line"] [-w <timeout>]
[<entry point>]
Manage FLASH images
fis {cmds}
Execute code at a location
go [-w <timeout>] [-c] [-n] [entry]
Help about help?
help [<topic>]
Set/change IP addresses
ip_address [-l <local_ip_address>[/<mask_lgn>]] [-h <server_address>]
Load a file
load [-r] [-v] [-d] [-h <host>] [-p <TCP port>][-m <varies>] [-c <channel_num
ber>]
[-b <base_address>] <file_name>
Reset the system
reset
Upgrade firmware
upgrade
Display RedBoot version information
version
-----------------------------------------------------------------------------------------------
but it does not have
fis list , or fis init command
alos it has not fconfig

after dump some address
i found start script here

RedBoot> dump -b 0x80050000
80 05 00 28 80 05 00 30 80 05 00 3B 80 05 00 44 |...(...0...;...D|
FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 |................|
80 05 00 4E 80 05 00 4F 6D 65 6D 73 69 7A 65 00 |...N...Omemsize.|
30 78 30 31 30 30 30 30 30 30 00 6D 6F 64 65 74 |0x01000000.modet|
74 79 30 00 30 2C 6E 2C 38 2C 31 2C 68 77 00 63 |ty0.0,n,8,1,hw.c|
6F 6E 73 6F 6C 65 3D 74 74 79 53 30 2C 31 31 35 |onsole=ttyS0,115|
32 30 30 20 72 6F 6F 74 3D 33 31 3A 30 33 20 72 |200 root=31:03 r|
6F 6F 74 66 73 74 79 70 65 3D 73 71 75 61 73 68 |ootfstype=squash|
66 73 20 69 6E 69 74 3D 2F 73 62 69 6E 2F 69 6E |fs init=/sbin/in|
69 74 20 6D 65 6D 3D 31 36 4D 00 FF FF FF FF FF |it mem=16M......|
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF |................|
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF |................|

and the firmware start at
RedBoot> dump -b 0x80100000
3C 1C 80 2F 27 9C 22 A0 40 02 60 00 3C 03 FF FF |<../'.".@.`.<...|
34 63 FF FE 00 43 10 24 40 82 60 00 00 00 00 00 |4c...C.$@.`.....|
3C 1A 80 FF 37 5A FF F0 03 40 E8 21 03 E0 08 21 |<...7Z...@.!...!|
3C 1A 80 1B 27 5A 22 D4 3C 1F 80 10 27 FF 00 5C |<...'Z".<...'..\|

.....etc

i want it to be a gargoyle router
because it has not micro redboot for ddwrt for ap81 version
what should i do first ?

please reply the step in detail ,i am a newbie :p

Re: New Hardware & need Help~pls

Posted: Sun Nov 14, 2010 3:15 pm
by Cezary
First: is router is supported by OpenWrt? Check on wiki.openwrt.org.

Re: New Hardware & need Help~pls

Posted: Mon Nov 15, 2010 12:08 am
by hugo15
the cpu is supported by openwrt ,

and gargoyle is also release some device using the same cpu..

but the important of all is that i cant flash gargoyle's bin via web gui.

so i would try it by using redboot way .

i using the following command

load -r -v -b 0x80100000 -h 192.168.0.3 gargoyle.bin

,and exec the bin file (gargoyle_1.3.7-ar71xx-ap81-kernel.bin)

it seem no ttl message after exec....

i think the problem is at the config (recent post that dump show)

but i don't howto do it

Re: New Hardware & need Help~pls

Posted: Mon Nov 15, 2010 3:51 am
by Cezary
More important things - flash map, ethernet driver, platform specific stuff :).