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  [ 2 posts ] 
Author Message
 Post subject: porting linux on at91sam9261
PostPosted: Fri Jan 11, 2008 10:40 am 
Offline

Joined: Fri Jan 11, 2008 10:23 am
Posts: 1
Location: INDIA
hi Im workin on At91sam9261 EK.
I have compiled linux 2.6.20 and got its kernel uImage and ramdisk file built.
but ven I transfer this on kit at address 0x20008000 and boot it.
I get following error ......

## Booting image at 20008000 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1010933 Bytes = 987.2 kB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover
...........................

that is
but if I load it at 21500000 address
I get above
lines but kernel image file is compressed
but dere is error as stated below


....
Bad eraseblock 645 at 0x0
Bad eraseblock 689 at 0x05620000

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
so anyone can plz help me out ?....
Is uImage built is wrong or it is due to ramdisk file has some problem?...
plz provide me d solution for dis..?

Seema


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 21, 2008 1:51 pm 
Offline

Joined: Thu Aug 09, 2007 10:48 am
Posts: 106
Location: Artec Design LLC, Tallinn, Estonia
Load the image to a different address and run from there. The image is a compressed one and it unpacks itself to 0x20080000, thus overwriting the source image (see load address, this is inserted into the image while generating it). You must have non-overlapping areas for source and destination of decompression.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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: