Forum Discussion
Altera_Forum
Honored Contributor
20 years agoCF Card or HDD DOS Format HowTo?
Hi,
Does anyone know how to format CF card or HDD (FAT16 or FAT32) under NIOSII uClinux? Pleases help. Thanks in advance. Best regards,1 Reply
- Altera_Forum
Honored Contributor
You can use "mkdosfs".
But there is a problem for large dos partition. The "mkdosfs" builds all boot+fat image in memory before writing to disk, and there is no virtual memory in NIOS2 uclinux. So you will surely run out of memory to format a large disk using mkdosfs. You may modify mkdosfs to write fat image directly to disk.