LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2009, 03:01 AM   #1
lxpwj
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Rep: Reputation: 0
linx image conversion for nanflash (gang programming)


hello,

Would someone can teach me how to create a binary file for NAND flash programming?

according to Samsung booklet, for Gang programming there are several procedures
1. generation of O/S image
2. Add meta data in spare array based on physical format of FTL
3. write master image to nan

for step 1&2, they are done on PC level.

for step 1, I have u-boot, uImage, and filesystem.yaff2 ready. but I don't know how to combine those three files into a single O/S image. is there any tool available?

for step 2, also would someone advise how to do it or give me some reference?

Thank you very much.
 
Old 09-25-2009, 08:54 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
typically, you'd make a series of separate partitions in the NAND, and put the components into different partitions (for instance, u-boot would go in partiton 0, it's environment vars would go in partition 1, the kernel would be in partition 2, and the fs would be in partition 3).

If your board doesn't even have a basic board diagnostics service booting, you'll need to get a jtag, or other hardware interfacing component, and manually load everything before you can boot the board on its own.

What board is this? It's difficult to say exact procedures without knowing the exact board.
 
Old 09-27-2009, 09:39 PM   #3
lxpwj
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hello,

Thanks for your explainations.
Here we don't plan to use JTAG as it is slow for factory image burning. We are now sourcing ROM writer, e.g., Data I/O, which is able to write 256M NAND flash.

I have no idea what's relatiohship between output image and board specfic information.
We are using Samsung S3c2440 as processor and NAND04GW3B2 from STMicroelectronics.
Any suggestion is welctome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acronis Image -> VM Conversion -> boot issues mannpt Linux - Server 9 07-30-2009 04:29 PM
3D image conversion software? OneManOfBits Linux - Software 4 09-23-2008 09:29 AM
ghostcast image file conversion supradrvr Linux - General 0 09-23-2007 10:27 AM
C programming - Char to Int Conversion ? indian Programming 4 09-30-2005 08:00 AM
Batch image conversion mrsolo Linux - Software 1 09-06-2004 04:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration