OpenWrt Forum Archive

Topic: Bootloader/Image for a DLink DWL-2100AP

The content of this topic has been archived between 26 Mar 2018 and 5 May 2018. Unfortunately there are posts – most likely complete pages – missing.

ramcheck...

have you compiled a rom version of your "universal" redboot bootloader?
I want to test it on a 2100AP Rev.A4
Thank you

ramponis wrote:

What is the flash on your 2100AP?

S29GL032M90TFIR4

ramponis wrote:

You have to replace the original bootloader with redbood

:-) it i do in the dlink service center :-) if i not make cable for flashing

ramponis wrote:

(right click and save as...)

........ :-/

how i make flashing boot loader via original 2100 bootloader(software)

please write simple instructions (how to) flash

i make it and make simple instructions for russian language

! i not have linux  i have only win xp !

openwrt.rar its all for flashing or i need redboot or redboot_lzma ?

I have already done a guide, but is in italian language.

http://xoomer.alice.it/ramponis/Documen … 2100ap.rar

Now i have not time to translate it, i'll do it later (i think next week) wink

Do you need redboot_lzma

(Last edited by ramponis on 31 Aug 2007, 15:09)

ramcheck!!! Where are you?

Help me!

ramcheck!!! Help you big_smile
I am its friend of ramponis which possesses revision the A4;
Many compliment for the bootloader wink

ramponis wrote:

I have already done a guide, but is in italian language.

http://xoomer.alice.it/ramponis/Documen … 2100ap.rar

Now i have not time to translate it, i'll do it later (i think next week) wink

Do you need redboot_lzma

i have

Initializing Xilinx DLC5 JTAG Parallel Cable III on parallel port at 0x378
IR length: 5
Chain length: 1
Device Id: 00000000000000000000000000000001
  Manufacturer: Atheros
  Part:         ar2312
  Stepping:     1
  Filename:     /usr/local/share/jtag/atheros/ar2312/ar2312
ImpCode=01000000010000000100000000000000
EJTAG version: 2.6
EJTAG Implementation flags: R4k ASID_8 NoDMA MIPS32
dev ID=00c8   man ID=001f
Found Atmel AT49xV322x flash,  size = 4194304 bytes.
Query identification string:
        Primary Algorithm Command Set and Control Interface ID Code: 0x0002 (AMD/Fujitsu Standard Command Set)
        Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null)
Query system interface information:
        Vcc Logic Supply Minimum Write/Erase or Write voltage: 0 mV
        Vcc Logic Supply Maximum Write/Erase or Write voltage: 0 mV
        Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV
        Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV
        Typical timeout per single byte/word program: 0 us
        Typical timeout for maximum-size multi-byte program: 0 us
        Typical timeout per individual block erase: 0 ms
        Typical timeout for full chip erase: 0 ms
        Maximum timeout for byte/word program: 0 us
        Maximum timeout for multi-byte program: 0 us
        Maximum timeout per individual block erase: 0 ms
        Maximum timeout for chip erase: 0 ms
Device geometry definition:
        Device Size: 4194304 B (4096 KiB, 4 MiB)
        Flash Device Interface Code description: 0x0001 (x16)
        Maximum number of bytes in multi-byte program: 0
        Number of Erase Block Regions within device: 2
        Erase Block Region Information:
                Region 0:
                        Erase Block Size: 8192 B (8 KiB)
                        Number of Erase Blocks: 8
                Region 1:
                        Erase Block Size: 65536 B (64 KiB)
                        Number of Erase Blocks: 63
No. Manufacturer              Part                 Stepping Instruction
  Register
---------------------------------------------------------------------------------------------
   0 Atheros                   ar2312               1        EJTAG_DATA  EJDATA

Active bus:
*0: EJTAG compatible bus driver via PrAcc (JTAG part No. 0)
        start: 0x00000000, length: 0x20000000, data width: 8 bit
        start: 0x20000000, length: 0x20000000, data width: 16 bit
        start: 0x40000000, length: 0x20000000, data width: 32 bit

and when i readmem 0x1fc00000 0x400000 rrff2100.bin

ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001


Hardware revision A2

Active bus:
*0: EJTAG compatible bus driver via PrAcc (JTAG part No. 0)
        start: 0x00000000, length: 0x20000000, data width: 8 bit
        start: 0x20000000, length: 0x20000000, data width: 16 bit
        start: 0x40000000, length: 0x20000000, data width: 32 bit
jtag> flashmem 0x1fc00000 bootlzma.bin
program blocks:
Chip: AMD Flash
        Manufacturer: Atmel
        Chip: AT49BV322A
        Protected: 0090
flash_unlock_block 0x1FC00000 IGNORE
block 0 unlocked
flash_erase_block 0x1FC00000
................................................................................
................................................................................
........................................flash_erase_block 0x1FC00000 FAILED
erasing block 0 to program 8192 bytes, status: 99

rev a4 with chip spansion s29gl032m90tfir

jtag> include athsx
Initializing Xilinx DLC5 JTAG Parallel Cable III on parallel port at 0x378
IR length: 5
Chain length: 1
Device Id: 00000000000000000000000000000001
  Manufacturer: Atheros
  Part:         ar2312
  Stepping:     1
  Filename:     /usr/local/share/jtag/atheros/ar2312/ar2312
ImpCode=01000000010000000100000000000000
EJTAG version: 2.6
EJTAG Implementation flags: R4k ASID_8 NoDMA MIPS32
dev ID=007e   man ID=0001
Using CFI flash chip detection, not jedec
ejtag.c(139) No processor access, ctrl=00000000000000000000000000000001
Flash not found!
No. Manufacturer              Part                 Stepping Instruction
  Register
---------------------------------------------------------------------------------------------
   0 Atheros                   ar2312               1        EJTAG_DATA  EJDATA

Active bus:
*0: EJTAG compatible bus driver via PrAcc (JTAG part No. 0)
        start: 0x00000000, length: 0x20000000, data width: 8 bit
        start: 0x20000000, length: 0x20000000, data width: 16 bit
        start: 0x40000000, length: 0x20000000, data width: 32 bit
jtag>

make read process and make file 4096k  with all file bytes = 00

and

jtag> flashmem 0x1fc00000 bootlzma.bin
program blocks:
no flash driver found
jtag>

why?????

i make  WIGGLER JTAG by Liquidsky cable

jtag> include athsw
Initializing Macraigor Wiggler JTAG Cable on parallel port at 0x378
IR length: 5
Chain length: 1
Device Id: 00000000000000000000000000000001
  Manufacturer: Atheros
  Part:         ar2312
  Stepping:     1
  Filename:     /usr/local/share/jtag/atheros/ar2312/ar2312
ImpCode=01000000010000000100000000000000
EJTAG version: 2.6
EJTAG Implementation flags: R4k ASID_8 NoDMA MIPS32
dev ID=00c8   man ID=001f
Found Atmel AT49xV322x flash,  size = 4194304 bytes.
Query identification string:
        Primary Algorithm Command Set and Control Interface ID Code: 0x0002 (AMD/Fujitsu Standard Co
mmand Set)
        Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null)
Query system interface information:
        Vcc Logic Supply Minimum Write/Erase or Write voltage: 0 mV
        Vcc Logic Supply Maximum Write/Erase or Write voltage: 0 mV
        Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV
        Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV
        Typical timeout per single byte/word program: 0 us
        Typical timeout for maximum-size multi-byte program: 0 us
        Typical timeout per individual block erase: 0 ms
        Typical timeout for full chip erase: 0 ms
        Maximum timeout for byte/word program: 0 us
        Maximum timeout for multi-byte program: 0 us
        Maximum timeout per individual block erase: 0 ms
        Maximum timeout for chip erase: 0 ms
Device geometry definition:
        Device Size: 4194304 B (4096 KiB, 4 MiB)
        Flash Device Interface Code description: 0x0001 (x16)
        Maximum number of bytes in multi-byte program: 0
        Number of Erase Block Regions within device: 2
        Erase Block Region Information:
                Region 0:
                        Erase Block Size: 8192 B (8 KiB)
                        Number of Erase Blocks: 8
                Region 1:
                        Erase Block Size: 65536 B (64 KiB)
                        Number of Erase Blocks: 63
No. Manufacturer              Part                 Stepping Instruction          Register
---------------------------------------------------------------------------------------------
   0 Atheros                   ar2312               1        EJTAG_DATA           EJDATA

Active bus:
*0: EJTAG compatible bus driver via PrAcc (JTAG part No. 0)
        start: 0x00000000, length: 0x20000000, data width: 8 bit
        start: 0x20000000, length: 0x20000000, data width: 16 bit
        start: 0x40000000, length: 0x20000000, data width: 32 bit
jtag> flashmem 0x1fc00000 bootlzma.bin
program blocks:
Chip: AMD Flash
        Manufacturer: Atmel
        Chip: AT49BV322A
        Protected: 0090
flash_unlock_block 0x1FC00000 IGNORE
block 0 unlocked
flash_erase_block 0x1FC00000
....................................................................................................
....................................................................................................
flash_erase_block 0x1FC00000 FAILED
erasing block 0 to program 8192 bytes, status: 99
....................................................................................................
....................................................................................................

boot loader is OK

how to ..... load and make boot
openwrt-atheros-2.6-vmlinux.lzma
openwrt-atheros-2.6-root.squashfs

fis init -f
ip_address -l 192.168.0.50 -h 192.168.0.10
load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma
fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
load -r -v -b 0x80041000 openwrt-atheros-2.6-root.squashfs
fis create -r 0x80041000 -e 0x00000000 -l 0x002E0000 rootfs
fis list
reset

192.168.0.50 is the ip to set the 2100AP
192.168.0.10 is the ip of your pc (running a tftp server)

After the reboot you can run the openwrt with:

fis load -l vmlinux.bin.l7
exec

(Last edited by ramponis on 11 Sep 2007, 18:55)

to ramponis
thanks

and new question how to make (fis load -l vmlinux.bin.l7 exec) automatic by every time wile AP reboot

You have to insert the 2 commands:

fis load -l vmlinux.bin.l7
exec

in the automatic script

in redboot run the command fconfig

Set it

Run script at boot: true

Insert the 2 commands

fis load -l vmlinux.bin.l7
exec

Set the boot script time-out (i have chosen 10 secons)

Boot script timeout (1000ms resolution): 10

The others setting are for the dhcp, tcp and the serial console.
At the end save the configuration on the flash

P.S.
For the complet list of command in redboot type the command:

help

wink

(Last edited by ramponis on 12 Sep 2007, 10:37)

great thanks to "all" and ramponis
its great work

i not stupid
i windows user and cannot make compilations search any source for unix linux

all of i do, i search executable files and work with thise

if you go process by my step, it way easy for any "windows user".

Wireless Virtual Adaptor Configuration for Wireless Card wifi0

Network  none loopback lan               - what i set here for wifi bridge?
Mode  Access Point WDS Client Ad-Hoc    - i set WDS here
Tx Power  - 18 dbm 
BSSID   -  what this? MAC address remote AP in wds mode? or another

why i cannot set 802.11G mode he atomaticly change to B/G after save

how set speed and how control speed at some time if speed set to auto

hmmm mybe you make work configurations for wds bridge with vlan passthru and send it to me okulski@cheremkhovo.ru????

bitbucket wrote:

RTFM!!!
http://downloads.openwrt.org/kamikaze/d … 110001.2.2
http://wiki.openwrt.org/OpenWrtDocs/Configuration

ЗЫ: может тебе еще и антенну наcтроить ?

- угу 5ёрочка, под№%ал.

Ñ Ð¼Ð¾Ñ‚Ñ€Ñ  Ñ ÐºÐ¾Ð»ÑŒÐºÐ¾ вы за Ñ Ñ‚Ð¾ Ð¿Ð¾Ð¿Ñ€Ð¾Ñ Ð¸Ñ‚Ðµ оплаты!

хотѠ Ñ  антеннами и железом Ñ  Ñ Ð°Ð¼ Ñ Ð¿Ñ€Ð°Ð²Ð»ÑŽÑ ÑŒ.

ÐµÑ Ð»Ð¸ бы Ñ Ñ‚Ð¾ Ð²Ñ Ñ‘ работало как Ñ Ñ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð°Ñ  прошива в длинке в планете или другой подобной железке Ñ  бы не задавал Ñ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð²Ð¾Ð¿Ñ€Ð¾Ñ Ð¾Ð².

работать Ñ  железкой Ñ€Ð°Ð·Ð³Ð»Ñ Ð´Ñ‹Ð²Ð°Ñ  Ð¸Ñ‚Ð°Ð»ÑŒÑ Ð½Ñ ÐºÐ¸Ð¹ мануал было тоже Ð²Ð¾Ð¿Ñ€Ð¾Ñ Ð¾Ð¼ на угадай!

так что когда закончу и Ð²Ñ Ñ‘ будет Ñ Ñ Ð½Ð¾ Ñ Ð´ÐµÐ»Ð°ÑŽ краткий Ñ€ÑƒÑ Ñ ÐºÐ¸Ð¹ мануал по перепрошивке и Ð¿Ñ€Ð¾Ñ Ñ‚ÐµÐ¹ÑˆÐµÐ¹ Ð½Ð°Ñ Ñ‚Ñ€Ð¾Ð¹ÐºÐµ Ñ  конфигами.

а вот от при рабочем Ñ Ñ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð¾Ð¼ конфиге можно будет и Ð¿Ð¾ÐºÐ¾Ð²Ñ‹Ñ€Ñ Ñ‚ÑŒÑ Ñ .

Please write in english.

The informations are important for all the users.

Thank you wink

ramponis wrote:

Please write in english.

The informations are important for all the users.

Thank you wink

There are no important information in these posts.

Hi.I have a big problem with two ap-s wich have a Atheros AR2313A-00 , flash = 29LV800BTC-90.I am trying to flash  it with jtag-0.6-cvs-20051228 .I have problems detecting the flash... .I saw that "bitbucket" says something about changing in src/flash.c to 8 bit mode , but I didn't find....where ??Pls can you help me??

Yes, it's mine
In my web site you can find the new version and all the software wink

http://xoomer.alice.it/ramponis/

I have planned to translate it in english, but i need some time

ramponis wrote:

I have planned to translate it in english, but i need some time

It will be great, because this manual is very usable.

Sorry, posts 201 to 200 are missing from our archive.