Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Linux on AT91SAM9260 PQFP
PostPosted: Fri Nov 23, 2007 2:11 am 
Offline

Joined: Fri May 04, 2007 11:02 am
Posts: 23
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>


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 11:00 pm 
Offline

Joined: Thu Aug 09, 2007 10:48 am
Posts: 106
Location: Artec Design LLC, Tallinn, Estonia
The first one seems to have some memory issue - bad memory configuration in bootloader?
The second one lacks bootloader. Just the romboot from the dataflash kicks in, but the bootloader is missing. Usually the bootloader(u-boot) should be in dataflash, too.
On the third attempt you try to boot from the sdram (0x20000000 - 0x2FFFFFFF) but your kernel image in sdram is corrupt.

Is your SDRAM working at all? Go to sam-ba, enable the sdram, upload a sdram-sized file, download it back and check(or use the compare button).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 02, 2007 10:41 am 
Offline

Joined: Fri May 04, 2007 11:02 am
Posts: 23
Thanks. When I upload a sdram-sized file by SAMBA all works fine. I write simple program to test SDRAM in Bootstrap and I see some error, so it SDRAM problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: