Altera_Forum
Honored Contributor
14 years agoCan't mount JFFS2
Hi,
I was trying to implement the JFFS2. So first I added the MTD as mentioned in this article: http://www.alterawiki.com/wiki/mtd Here is my output on booting:physmap platform flash device: 00800000 at 02800000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x000000200000-0x000000600000 : "romfs/jffs2"
0x000000000000-0x000000200000 : "loader/kernel"
0x000000600000-0x000000700000 : "User configuration"
0x000000700000-0x000000800000 : "safe configuration"
The key data of my board: - Cyclone I Board (NOMMU)
- 8 MB CFI-Flash named "parallel flash" in SOPC-Builder
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00380000: 0x0101 instead
...
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 57, bad_blocks 0, c->nr_blocks 64
mount: mounting /dev/mtdblock0 on /mnt failed: Input/output error
Urmel