jffs2 file system on MPC8272ADS
hi everyone,
I m using custom board similar to MPC8272ADS board...
1) For the first time it boots up properly in case if we overwrite any existing binaries using nfs mounted file system on the board, after rebooting it displays fallowing message...
Further such events for this erase block will not be printed Eep. Child "null" (ino #1346) of dir ino #3 doesn't exist! Eep. Child "autocomm" (ino #463) of dir ino #461 doesn't exist! Eep. Child "calibration" (ino #464) of dir ino #461 doesn't exist! Eep. Child "coredsp_driver.ko" (ino #939) of dir ino #336 doesn't exist! Inode #1307 was a directory with children - removing those too... Inode #564 was a directory with children - removing those too... Inode #565 was a directory with children - removing those too... Inode #1112 was a directory with children - removing those too... Inode #1115 was a directory with children - removing those too... Inode #1118 was a directory with children - removing those too... Inode #1123 was a directory with children - removing those too...
after this board boots up properly....but it not be having overwritten files
2) while booting up for the first time itself it will display the falowing message..
modprobe: FATAL: Could not load /lib/modules/2.6.10_mvl401-8272ads/modules.dep: No such file or dire ctory
but after this also board boots up properly
3) when board is running properly in between it starts printing on console repeatedly...
Header CRC failed on REF_PRISTINE node at 0x00638a6c: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x00000254) Header CRC failed on REF_PRISTINE node at 0x00638cc0: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x00000234) Header CRC failed on REF_PRISTINE node at 0x00638ef4: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c4) Header CRC failed on REF_PRISTINE node at 0x006391b8: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b4) Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c0) Header CRC failed on REF_PRISTINE node at 0x0063972c: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002bc) Header CRC failed on REF_PRISTINE node at 0x006399e8: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002ac) Header CRC failed on REF_PRISTINE node at 0x00639c94: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b0) Header CRC failed on REF_PRISTINE node at 0x00639f44: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002ac) Header CRC failed on REF_PRISTINE node at 0x0063a1f0: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c0) Header CRC failed on REF_PRISTINE node at 0x0063a4b0: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b0) Header CRC failed on REF_PRISTINE node at 0x0063a760: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b0) Header CRC failed on REF_PRISTINE node at 0x0063aa10: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c8) Header CRC failed on REF_PRISTINE node at 0x0063acd8: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b0) Header CRC failed on REF_PRISTINE node at 0x0063af88: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c4) Header CRC failed on REF_PRISTINE node at 0x0063b24c: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b4) Header CRC failed on REF_PRISTINE node at 0x0063b500: Read 0xffffffff, calculated 0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c8) Header CRC failed on REF_PRISTINE node at 0x0063b7c8: Read 0xffffffff, calculated 0x44660075
are they debug messages or warnings...?
do they create more problem or can i neglet these errors..
plz reply..it is too urgent
here is my kerenl configurations....
#
# Memory Technology Devices (MTD)
#CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_CONCAT is not setCONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not setCONFIG_MTD_CMDLINE_PARTS=y
#
# User Modules And Translation Layers
#CONFIG_MTD_CHAR=yCONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=yCONFIG_MTD_JEDECPROBE=yCONFIG_MTD_GEN_PROBE=yCONFIG_MTD_CFI_ADV_OPTIONS=yCONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not setCONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_2 is not setCONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
# CONFIG_MTD_CFI_I1 is not setCONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_OTP is not set
# CONFIG_MTD_CFI_INTELEXT is not setCONFIG_MTD_CFI_AMDSTD=yCONFIG_MTD_CFI_AMDSTD_RETRY=0
# CONFIG_MTD_CFI_STAA is not setCONFIG_MTD_CFI_UTIL=y
# CONFIG_MTD_RAM is not setCONFIG_MTD_ROM=y
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_XIP is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set CONFIG_MTD_PHYSMAP=y CONFIG_MTD_PHYSMAP_START=0xFC000000 CONFIG_MTD_PHYSMAP_LEN=0x4000000CONFIG_MTD_PHYSMAP_BANKWIDTH=4 # CONFIG_MTD_MULTI_PHYSMAP is not set
# CONFIG_MTD_SBC8240 is not setCONFIG_MTD_PQ2FADS=y
# CONFIG_MTD_PLATRAM is not set
CONFIG_JFFS2_FS=yCONFIG_JFFS2_FS_DEBUG=0CONFIG_JFFS2_FS_WRITEBUFFER=y
and
file system is created using fallowing command..
mkfs.jffs2 -r RFS_NEW/ -e 0x20000 -o /tftpboot/jffs2_img -b
do we need padding or not..?
thnks in advance..
Nethra
Signature · 2 lines
View this message in context: http://www.nabble.com/jffs2-file-system-on-MPC8272ADS-tf4513571.html#a12873633 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
On Mon, Sep 24, 2007 at 11:01:55PM -0700, Nethra wrote:
[snip]
Quoted 10 lines
Header CRC failed on
REF_PRISTINEnode at0x0063b24c: Read0xffffffff, calculated0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b4) Header CRC failed onREF_PRISTINEnode at0x0063b500: Read0xffffffff, calculated0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c8) Header CRC failed onREF_PRISTINEnode at0x0063b7c8: Read0xffffffff, calculated0x44660075are they debug messages or warnings...?
They are errors.
Quoted 10 lines
#
CONFIG_MTD_MAP_BANK_WIDTH_1is not set
#CONFIG_MTD_MAP_BANK_WIDTH_2is not setCONFIG_MTD_MAP_BANK_WIDTH_4=y
#CONFIG_MTD_MAP_BANK_WIDTH_8is not set
#CONFIG_MTD_MAP_BANK_WIDTH_16is not set
#CONFIG_MTD_MAP_BANK_WIDTH_32is not set
#CONFIG_MTD_CFI_I1is not setCONFIG_MTD_CFI_I2=y
#CONFIG_MTD_CFI_I4is not set
#CONFIG_MTD_CFI_I8is not set
[snip]
Quoted 11 lines
#
# Mapping drivers for chip access
#
#CONFIG_MTD_COMPLEX_MAPPINGSis not setCONFIG_MTD_PHYSMAP=yCONFIG_MTD_PHYSMAP_START=0xFC000000CONFIG_MTD_PHYSMAP_LEN=0x4000000CONFIG_MTD_PHYSMAP_BANKWIDTH=4#CONFIG_MTD_MULTI_PHYSMAPis not set
#CONFIG_MTD_SBC8240is not setCONFIG_MTD_PQ2FADS=y
#CONFIG_MTD_PLATRAMis not set
Are you using a non-standard flash SIMM? The one that comes with the board (that I've seen, at least) have interleave 4, and are mapped at 0xfe000000.
Was it the physmap driver or the pq2fads driver that found the flash?
Which kernel are you using, and are you using arch/ppc or arch/powerpc?
-Scott
Quoted 11 lines
Header CRC failed on
REF_PRISTINEnode at0x0063b24c: Read0xffffffff, calculated0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002b4) Header CRC failed onREF_PRISTINEnode at0x0063b500: Read0xffffffff, calculated0x44660075
Node totlen on flash (0xffffffff) != totlen from node ref (0x000002c8) Header CRC failed onREF_PRISTINEnode at0x0063b7c8: Read0xffffffff, calculated0x44660075
Quoted 3 lines
are they debug messages or warnings...?
Quoted 1 line
They are errors.
which are all the most possible reasons for these errors ?
Quoted 10 lines
#
CONFIG_MTD_MAP_BANK_WIDTH_1is not set
#CONFIG_MTD_MAP_BANK_WIDTH_2is not setCONFIG_MTD_MAP_BANK_WIDTH_4=y
#CONFIG_MTD_MAP_BANK_WIDTH_8is not set
#CONFIG_MTD_MAP_BANK_WIDTH_16is not set
#CONFIG_MTD_MAP_BANK_WIDTH_32is not set
#CONFIG_MTD_CFI_I1is not setCONFIG_MTD_CFI_I2=y
#CONFIG_MTD_CFI_I4is not set
#CONFIG_MTD_CFI_I8is not set
[snip]
Quoted 15 lines
#
# Mapping drivers for chip access
#
#CONFIG_MTD_COMPLEX_MAPPINGSis not setCONFIG_MTD_PHYSMAP=yCONFIG_MTD_PHYSMAP_START=0xFC000000CONFIG_MTD_PHYSMAP_LEN=0x4000000CONFIG_MTD_PHYSMAP_BANKWIDTH=4#CONFIG_MTD_MULTI_PHYSMAPis not set
#CONFIG_MTD_SBC8240is not setCONFIG_MTD_PQ2FADS=y
#CONFIG_MTD_PLATRAMis not setQuoted 3 lines
Are you using a non-standard flash SIMM? The one that comes with the board (that I've seen, at least) have interleave 4, and are mapped at
0xfe000000.
First of all this is CUSTOM board similar to MPC8272ADS.
We are using flash which is different from flash that comes with the MPC8272ADS board.
FLASH: S29GL256N90TF
Total size is 64 MB with 2 flash interleave mapped at 0xfc000000.
Quoted 1 line
Quoted 1 line
Was it the physmap driver or the pq2fads driver that found the flash?
Flash is cfi compatible.
Quoted 2 lines
Quoted 2 lines
Which kernel are you using, and are you using
arch/ppcorarch/powerpc? -Scott
KERNEL: linux-2.6.10 and we r using arc/ppc
Nethra
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
View this message in context: http://www.nabble.com/jffs2-file-system-on-MPC8272ADS-tf4513571.html#a12914822 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 3 lines · Nethra
Quoted 1 line
Quoted 1 line
They are errors.
which are all the most possible reasons for these errors ?
Most common is making a jffs2 filesystem with the wrong block size. It could also be an incorrect flash mapping.
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Was it the physmap driver or the pq2fads driver that found the flash?
Flash is cfi compatible.
That's not what I meant... you have two mapping drivers enabled, and the pq2fads driver might be doing something other that what you specified to physmap. I'd just disable it.
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Which kernel are you using, and are you using
arch/ppcorarch/powerpc? -ScottKERNEL: linux-2.6.10 and we r using arc/ppc
That's pretty old... If all else fails, you may want to see if never kernels still have the problem.
-Scott
Scott,
Quoted 2 lines
Most common is making a jffs2 filesystem with the wrong block size. It could also be an incorrect flash mapping.
In our case erase block size and flash mapping seems to be correct.
Quoted 6 lines
Was it the physmap driver or the pq2fads driver that found the flash?
Flash is cfi compatible.
Quoted 3 lines
That's not what I meant... you have two mapping drivers enabled, and the pq2fads driver might be doing something other that what you specified to physmap. I'd just disable it.
I think if flash is cfi compatible then it uses default driver.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
View this message in context: http://www.nabble.com/jffs2-file-system-on-MPC8272ADS-tf4513571.html#a13012850 Sent from the linuxppc-embedded mailing list archive at Nabble.com.