Page 1 of 1

Looking for help in Redboot.

Posted: Thu Dec 02, 2010 7:29 am
by Baron3K
Hello to all, sorry for bothering you guys about my problem. I know it's kind a silly.

I have a athero board based on AR2317 with realtek PHY 2mb of flash and 8mb ram. I know that mostly Gargoyle and propably OpenWrt will not work on that configuration. Maybe some custom build image of OpenWRT will but as I sad custom only.

Well it has a redboot build in, i dosn't have a fis list command in it. Damn it. I tried to load some other image. And now I cannot flash back. Well I have original image but I get error message while loading.

Error message looks like that.
+Ethernet eth0: MAC address 00:aa:ab:00:94:da
IP: 192.168.1.1, Default server: 192.168.1.2

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 04:49:51, Oct 24 2008

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

Board: ap61
RAM: 0x80000000-0x80800000, [0x800331f0-0x807ed000] available
FLASH: 0xbfc00000 - 0xbfdf0000, 32 blocks of 0x00010000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux.bin.l7
too long file.
lzma_decode failed. res=1
RedBoot> exec
Now booting linux kernel:
Base address 0x80030000 Entry 0x8022c000
Cmdline :

I have second board of this kind (still working),

When working one boots up it showes
+Ethernet eth0: MAC address 00:aa:ab:00:94:da
IP: 192.168.1.1, Default server: 192.168.1.2

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 04:49:51, Oct 24 2008

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

Board: ap61
RAM: 0x80000000-0x80800000, [0x800331f0-0x807ed000] available
FLASH: 0xbfc00000 - 0xbfdf0000, 32 blocks of 0x00010000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux.bin.l7
Image loaded from 0x80041000-0x8022c000
boot up normally.


I would like to know cause i tried loading image to 0x80041000 at entry point 0x80022c000 why this think don't want to boot up. Propably I'am it loading it wrong. Could anyone help in flashing that junk properly ?

Re: Looking for help in Redboot.

Posted: Fri Dec 03, 2010 10:51 am
by DoesItMatter
Give Fon-Flash a try from the download section

It should work with pretty much any Redboot environment.

Try that and see what happens

Re: Looking for help in Redboot.

Posted: Fri Dec 03, 2010 4:49 pm
by Baron3K
Thanks for advise DoesItMatter, but I allready checked that on. Without success. My quesiton is only how to flash my device with the image I have. Don't know really the memory allocation. Can I somehow get thay info from a working device ? Got one working normally.

If I only could do fis list from original one. Is there any other way to see this information ?

Re: Looking for help in Redboot.

Posted: Sat Dec 04, 2010 9:05 am
by DoesItMatter
Found this on searching:
Does anyone know the load and execute addresses for the various builds (backfire, kamakazi etc.) that can be Flashed into this unit ?

I have found a tutorial that works, the core of the commands include

load -r -v -b %{FREEMEMLO} openwrt-atheros-root.jffs2-64k
fis create -f 0xA8030000 -l 0x006F0000 rootfs

load -r -v -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7

but this only works for one specific build of Karakazi
Are you using those FREEMEMLO commands?

Also - check this page for some help as well:

http://wiki.openwrt.org/toh/fon/fonera# ... th.redboot

Re: Looking for help in Redboot.

Posted: Sat Dec 04, 2010 3:31 pm
by Baron3K
Well seems like my device does't recognize FREEMEMLO command ?

is that possible ?

Original image consist only from one file. vmlinux.bin.l7 it's lenght is about 1mbyte.

Firmware is not divided on two.

Baron3K