Hi Felix,
Thanks for looking into this.
Unfortunately the change did not work for me. I updated to the latest SVN (I
checked arch/mips/atheros/ar5315/board.c had been updated) and recompiled
the kernel. When trying a reboot on the EOC-2610 I got a kernel panic
(Unable to handle kernel paging request at virtual address d9711b8c) and no
reboot. Below is the output from ksymoops, I don't know if it will help.
Thanks again,
Tim
CPU 0 Unable to handle kernel paging request at virtual address d9711b8c,
epc == d9711b8c, ra == bfd814f4
Cpu 0
$ 0 : 00000000 bfc80b44 d9711b8c 000e0800
$ 4 : b1000000 b1000000 00000001 00000000
$ 8 : 00000000 801dfffd 80380000 80380000
$12 : 80380000 2ab43370 2ab3e5b0 00405c20
$16 : 01234567 28121969 fee1dead 00000000
$20 : 00405ec0 00000001 00407954 00000000
$24 : 00000196 bfc00000
$28 : 81c4c000 81c4de08 00000000 bfd814f4
Hi : 00016733
Lo : 42054000
epc : d9711b8c Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Cause : 10800008
00000012 81c58538 0000000e 00000000 00000000 8006e14c 81c50978
81554df4
81552c98 81552c60 2ab4a770 81c4df30 81c50978 81554df4 8004b428
8004b3d0
81552c60 8005b174 80059f78 8009e48c 81c4deb0 81554a58 8037f988
81c58110
8005b234 00030002 8148b4c0 800ac8ac 81c4deb0 00000000 80380000
81c58694
Call
Trace:[<8009bb1c>][<8006e14c>][<8004b428>][<8004b3d0>][<8005b174>][<80059f78>][<8009e48c>][<8005b234>][<800ac8ac>][<801ab8cc>][<800b6d10>][<80062128>][<80062120>][<80063aa4>][<800c91f4>][<800495d0>][<80042a58>]
Code: (Bad address in epc)
Warning (Oops_code): trailing garbage ignored on Code: line
Text: 'Code: (Bad address in epc)'
Garbage: 'ress in epc)'
Warning (Oops_code_values): Code looks like message, not hex digits. No
disassembly attempted.
>>$12; 80380000 <buf.11314+244/400>
>>EIP; d9711b8c <END_OF_CODE+59384d3c/????> <=====
Trace; 8009bb1c <handle_mm_fault+354/6e4>
Trace; 8006e14c <do_notify_parent+1a8/1e8>
Trace; 8004b428 <do_page_fault+158/340>
Trace; 8004b3d0 <do_page_fault+100/340>
Trace; 8005b174 <set_next_entity+28/60>
Trace; 80059f78 <dequeue_task+1c/30>
Trace; 8009e48c <remove_vma+70/88>
Trace; 8005b234 <pick_next_task_fair+60/7c>
Trace; 800ac8ac <filp_close+6c/90>
Trace; 801ab8cc <schedule+194/3a8>
Trace; 800b6d10 <path_put+18/48>
Trace; 80062128 <put_files_struct+b0/12c>
Trace; 80062120 <put_files_struct+a8/12c>
Trace; 80063aa4 <do_exit+614/620>
Trace; 800c91f4 <sys_mount+d0/19c>
Trace; 800495d0 <stack_done+20/3c>
Trace; 80042a58 <syscall_exit+0/38>
On Tue, Dec 9, 2008 at 1:54 AM, Felix Fietkau <[EMAIL PROTECTED]> wrote:
> Tim Barker wrote:
> > Hi,
> >
> > I bought a Senao EOC-2610 and I'm trying to get OpenWrt ported to it. The
> > hardware is basically the same as the Ubiquiti NS2.
> >
> > More details here:
> >
> http://www.senao.com/images/www.senao.com_English/EOC-2610_Datasheet_20080723_v2.0.doc.pdf
> >
> > Everything appears to be working apart from the fact that the unit will
> not
> > reboot. The reboot process goes as far as calling ar5315_restart in file
> > arch/mips/atheros/ar5315/board.c (in atheros kernel) but then gets stuck
> in
> > the for loop (verified by placing printk in for loop).
> >
> > From what I understand, Senao have changed their board so that the reset
> > button, GPIO 5, is controlled via software (so they can do a factory
> reset
> > before the reboot). The reset GPIO should be 0. GPIO 5 is set to reboot
> in
> > file include/asm-mips/mach-atheros/ar5315/ar5315.h (AR5315_RESET_GPIO)
> >
> > Does anyone know what I need to change to get the reboot to work?
> Changing
> > AR5315_RESET_GPIO does not make any difference.
> >
> > BTW, this is a great unit for OpenWRT, it comes with RedBoot, 32mb RAM
> and
> > 8mb flash.
> Reboot should be fixed in r13556. Please test (already got
> confirmation from somebody else who has this board).
>
> - Felix
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel