Forum Discussion
Altera_Forum
Honored Contributor
21 years agoLinux - Change the location of a linux fs in flash
Hello, does anybody know how to change the location of the linux romfs in flash. I have a small custom board with only 1 MByte flash "available" and therefor i'm currently running my kernel direc...
Altera_Forum
Honored Contributor
21 years agoHi Goon,
The mtd map for romfs is defined in drivers/mtd/maps/microtronix.c. It is actually hardcoded there (it would be nicer to use the symbol LINUX_ROMFS_START you modified, but unfortunately it is left out). The size of the romfs is read from the romfs image on the fly, it is the third word of the romfs image. Regards, wentao