Hi,
I was able to boot Linux directly from Serial Flash
thanks to
http://free-electrons.com/blog/at91bootstrap-linux/with AT91bootstrap Project 3.0.
http://www.atmel.com/dyn/products/tools ... ol_id=4343But now I have another problem...
Linux is complaining about: IRQ 1: too many spurious IRQs. and then it hangs...
---------------------------screen capture--------------------------------
-- AT91bootstrap Project 3.0 --
-- AT91SAM9G20-EK
-- Compiled: Nov 10 2010 14:46:43 --
Setting: MCK = 132MHz
Init SDRAM
Init AT26 Serialflash
SerialFlash detected : M25P128
Copy Image from SerialFlash 0x00040000 (20 bytes) to 020000000
Jump to 0x20008000
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34 (root@spica) (gcc version 4.3.3 (GCC) ) #58 Tue Nov 9 15:03:36 SAST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9G20 Installers Friend
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62500k/62500k available, 3036k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfee00000 ( 934 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc001e000 ( 88 kB)
.text : 0xc001e000 - 0xc023a000 (2160 kB)
.data : 0xc023a000 - 0xc0250da0 ( 92 kB)
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
IRQ 1: too many spurious IRQs, disabling and polling for 10k 10msec intervals.
IRQ 1: system performance may be affected
handlers:
[<c00281b8>]
console [ttyS0] enabled
Calibrating delay loop...
------------------------------------------------------------------------------
I noticed in the AT91bootstrap Project 3.0 there is a AIC initialization code in the low_level init, where as in the boostrap-v1.16 there is none and the drivers are not even included.
on another project I used nand with the boostrap-v1.16
http://www.atmel.com/dyn/products/tools ... ol_id=4093and I did not encounter this issue
Any help or suggestions would be appreciated.
thanks,
Lucas