|
Hi,
I'm facing the same issue on my custom board design based on AT91SAMG45-EK. I'm using Linux 3.0.4
==============================
The error is as follows:
Uncompressing Linux... done, booting the kernel. Linux version 3.0.4 (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #70 Thu Dec 1 09:55:16 IST 2011 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Atmel AT91SAM9M10G45-EK Ignoring unrecognised tag 0x54410008 Memory policy: ECC disabled, Data cache writeback Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62720 Kernel command line: console=ttyS0,115200 rootfstype=ext3 root=/dev/mmcblk0p2 ro rootdelay=3 ip=dhcp PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 128MB 128MB = 256MB total Memory: 255900k/255900k available, 6244k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffa00000 - 0xffe00000 ( 4 MB) vmalloc : 0xd0800000 - 0xfee00000 ( 742 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc0025000 ( 116 kB) .text : 0xc0025000 - 0xc03949a0 (3519 kB) .data : 0xc0396000 - 0xc03b6f80 ( 132 kB) .bss : 0xc03b6f80 - 0xc03d0310 ( 101 kB) NR_IRQS:192 AT91: 160 gpio irqs in 5 banks irq 1: nobody cared (try booting with the "irqpoll" option) [<c0031124>] (unwind_backtrace+0x0/0xf4) from [<c006a60c>] (__report_bad_irq+0x24/0xb4) [<c006a60c>] (__report_bad_irq+0x24/0xb4) from [<c006a878>] (note_interrupt+0x1dc/0x240) [<c006a878>] (note_interrupt+0x1dc/0x240) from [<c00690b0>] (handle_irq_event_percpu+0xa0/0x1ac) [<c00690b0>] (handle_irq_event_percpu+0xa0/0x1ac) from [<c00691e4>] (handle_irq_event+0x28/0x38) [<c00691e4>] (handle_irq_event+0x28/0x38) from [<c006b458>] (handle_level_irq+0x80/0xdc) [<c006b458>] (handle_level_irq+0x80/0xdc) from [<c0068da4>] (generic_handle_irq+0x28/0x30) [<c0068da4>] (generic_handle_irq+0x28/0x30) from [<c0025030>] (asm_do_IRQ+0x30/0x90) [<c0025030>] (asm_do_IRQ+0x30/0x90) from [<c002b9b4>] (__irq_svc+0x34/0x60) Exception stack(0xc0397f00 to 0xc0397f48) 7f00: 00000000 c0396000 20000053 00000000 00000002 c03a7078 00000000 c0398020 7f20: 70004000 c03bbbc0 c0396000 0000000a c039cdc0 c0397f48 c0025040 c00414cc 7f40: 20000053 ffffffff [<c002b9b4>] (__irq_svc+0x34/0x60) from [<c00414cc>] (__do_softirq+0x3c/0x110) [<c00414cc>] (__do_softirq+0x3c/0x110) from [<c0025040>] (asm_do_IRQ+0x40/0x90) [<c0025040>] (asm_do_IRQ+0x40/0x90) from [<c002b9b4>] (__irq_svc+0x34/0x60) Exception stack(0xc0397f88 to 0xc0397fd0) 7f80: 00008001 20000053 03014584 00000000 c002176c c03b6f80 7fa0: c0020950 c0398020 70004000 41069265 7002006c 00000000 00000000 c0397fd0 7fc0: c039edc0 c00088fc 20000053 ffffffff [<c002b9b4>] (__irq_svc+0x34/0x60) from [<c00088fc>] (start_kernel+0x19c/0x3bc) [<c00088fc>] (start_kernel+0x19c/0x3bc) from [<7000803c>] (0x7000803c) handlers: [<c0036144>] at91sam926x_pit_interrupt Disabling IRQ #1 Console: colour dummy device 80x30 console [ttyS0] enabled Calibrating delay loop...
===============================
I was printing some register values in AT91 Bootstrp code to find out which interrupt is causing the problem. I found out that for me ALR Interrupt in RTC_IMR is being set.
After reading the AT91SAM9G45 datasheet I found out that the System Controller (set of peripherals) generate this interrupt.
What is the exact cause? Can I workaround this by resetting some of the interrupt bits? But how do I find out which bits are required to be reset?
Once the units are in the field then such issues are disastrous. Looking for inputs?
PJ
|