Hi,
Doing some tests with a stock Fonera 2200 (the one similar to the 2100 but without the heat sink nor metal shield over RF components) I have discovered that 3-5 seconds after power on, it has redboot accesible on 192.168.1.1 9000 for just two seconds. It is a bit hard to do the timing to interrupt it, but with several attempts it can be done.
I am not sure if this is already known, but i havent been able to find any info about reflashing this units without serial console access or some hack like kolofonium method. So I am just documenting it just in case.
After interrupting Redbot, it looks like it keeps trying to execute its bootup, but the good thing is that it also accepts any command:
Here starts a long capture, as you can see, even if I keep ctrl-C it insist on go on with execution:
== Executing boot script in 1.990 seconds - enter ^C to abort
♥^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000001
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000001
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000001
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000001
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
^C
RedBoot> ♥^C
RedBoot> ♥^C
RedBoot> ♥^C
RedBoot> ♥^C
RedBoot> ♥^C
RedBoot> f/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/dev
s/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEB
UG_ERROR = 00000043
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
config -/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/
eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG
_ERROR = 0000c34f
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
ll/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mi
ps/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG_ERROR
= 0000c34f
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG_ERROR =
00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG_ERROR =
00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
-> Here is the output of the command 'fconfig -l' I typed very fast between ctrl-c's:
Run script at boot: true
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Boot script timeout (1000ms resolution): 2
Use BOOTP for network configuration: false
Gateway IP address: 0.0.0.0
Local IP address: 192.168.1.1
Local IP address mask: 0.0.0.0
Default server IP address: 192.168.1.254
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot> /home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs
/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBU
G_ERROR = 0000c34f
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG_ERROR =
00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
Here is the output of a fis list:
Name FLASH addr Mem addr Length Entry point
RedBoot 0xA8000000 0x80040C00 0x00030000 0xA8000000
rootfs 0xA8030000 0xA8030000 0x00700000 0x00000000
vmlinux.bin.l7 0xA8730000 0x80041000 0x000B0000 0x80190040
FIS directory 0xA87E0000 0xA87E0000 0x0000F000 0x00000000
RedBoot config 0xA87EF000 0xA87EF000 0x00001000 0x00000000
RedBoot> /home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs
/eth/mips/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBU
G_ERROR = 0000c34f
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#390:ae531x_send AHB ERROR: AR531X_DEBUG_ERROR =
00000145
/home/alfa/Atheros_Beta5.0/linuxsrc/src/redboot_fon1/ecos/packages/devs/eth/mips
/ar531x/current/src/ae531xecos.c#393:ae531x_send AHB ERROR status_4 = 00000145
... and goes on... the good thing is that it seems to accept any command... I didnt tried a fis init just in case I could end up with a bricked fonera, but I bet it would be possible to reflash it easily and without any "trick" like kolofonium.
Its not that using kolofonium and doing the kernel and redboot mod is a big hassle, but I guess it would be very interesting for many users to just run some gui flasher like freifunk's one configured to 192.168.1.1 and avoid most of the process.
I have checked to see if the same behavior is on FON2100 and FON2201A with no luck. It seems it only happens on FON2200.
Anyone has more experience with this behaviour? If it is already known and there is no way to reflash using it I would also like to hear it (though i would really be surprised if it would not be possible).
- ShadSEC