linx image conversion for nanflash (gang programming)
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.