I have trouble with run Linux on AT91SAM9260 in PQFP package. SAM-BA works fine. I can write DataFlash, NANDFlash, SDRAM without problems.
I tried run Linux:
1) Atmel CD (TimeSys) DataFlash
Code:
RomBOOT
>
U-Boot 1.1.5 (Nov 2 2006 - 10:31:07)
DRAM: 64 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (<NULL> NAND 256MiB 3,3V 8-bit)
256 MiB
DataFlash:AT45DB642
Nb pages: 8192
Page Size: 1056
Size= 8650752 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D0003FFF (RO)
Area 1: D0004000 to D0007FFF
Area 2: D0008000 to D0037FFF (RO)
Area 3: D0038000 to D083FFFF
In: serial
Out: serial
Err: serial
PHY not reset!!
Hit any key to stop autoboot: 3 2 1 0
## Booting image at 21500000 ...
Image Name: linux-2.6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2211728 Bytes = 2.1 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
OK
Starting kernel ...
Linux version 2.6.18-rc4 (pvilchez@penfret.rfo.atmel.com) (gcc version 3.4.4) #72 Thu Oct 5 12:14:57 CEST 2006
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 16384
Kernel command line: mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
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: 59520KB available (1776K code, 402K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 3072K
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Unable to handle kernel paging request at virtual address cc33c368
pgd = c0004000
[cc33c368] *pgd=00000000
Internal error: Oops: 5 [#1]
2) Atmel CD (TimeSys) NANDFlash
Code:
RomBOOT
>
3) Linux4sam
Code:
RomBOOT
>
U-Boot 1.1.5 (Sep 13 2007 - 15:33:24)
DRAM: 64 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda ( NAND 256MiB 3,3V 8-bit)
NAND: Pagesize: 2048, Blocksize: 128K, OOBsize: 64
256 MiB
DataFlash:AT45DB642
Nb pages: 8192
Page Size: 1056
Size= 8650752 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D0003FFF (RO)
Area 1: D0004000 to D0007FFF
Area 2: D0008000 to D0037FFF (RO)
Area 3: D0038000 to D083FFFF
In: serial
Out: serial
Err: serial
PHY not reset!!
Hit any key to stop autoboot: 3 2 1 0
## Booting image at 22200000 ...
Image Name: linux-2.6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1357748 Bytes = 1.3 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... Bad Data CRC
U-Boot>