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  [ 1 post ] 
Author Message
 Post subject: BUG in block's padding data when send_file
PostPosted: Fri Nov 21, 2008 5:34 pm 
Offline

Joined: Fri Nov 21, 2008 3:46 pm
Posts: 1
Hi , all:
I 've found a bug in SAMBA.
I erase out the whole nand chip(Samsung K9F1208UOC that has a write page size of 512 and an erase size of 16384 ) , and run the following scripts to burn the linux kernel.
"
NANDFLASH::Init
send_file {NandFlash} "d:/fordel/webs/uImage" 0x80000 0
"
The uImage 's size is 1,431,472 bytes (0x15d7b0 bytes). Apparently, the uImage file is not block size (16K) aligned.
I think that on the nand ,the last block(size 16K)'s contents in the uImage's range should be padded with all 0xffffffff's .But in fact , it 's not as it ought to be. The last block's padding area is full of data that is same with the second last block's tail.
Is it a bug ? I think it must be.


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

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: