Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Justin,
<div class='quotetop'>QUOTE </div> --- Quote Start --- Creating 1 MTD partitions on "RAM": 0x00000000-0x14005000 : "ROMfs" microtronix[mtd]: set ROMfs to be root filesystem[/b] --- Quote End --- This looks incorrect. Your flash is only 2 MB ... if you are using the entire device your partition would be: 0x0000_0000 - 0x0020_0000. You might want to create your own mtd map ... keep it simple at first -- use just a single partition. Once you have things working, you can add partitions and adjust as necessary. BTW: the reason for having partitions such as "loader/kernel", "safe configuration", etc. was (presumably) to provide (read or read/write) access to those partitions. But today, in many cases, the partitions appear to be created for documentation purposes, rather than for actual access ... since the designer never really intends to provide read or write access to such paritions. A good example is the "safe configuration" partition. In most cases, you won't need to read it ... and you certainly don't want to write it ... at least not with a user-space application. When creating your initial flash layout the extra partitions can cause unnecessary confusion. So, keep it simple at first: one partition, root device /dev/mtdblock0 -- it will save you some headaches. Once you have things working ... it's easy to adjust ;-) Regards, --Scott