ts-7000
[Top] [All Lists]

[ts-7000] Re: yaffs2 with TS7260 ts11 kernel

To:
Subject: [ts-7000] Re: yaffs2 with TS7260 ts11 kernel
From: "odonovan_dan" <>
Date: Thu, 12 Feb 2009 08:50:30 -0000
In case this helps:

I recently had to recompile a kernel for a TS7400 with 128MB flash.
I was having problems configuring a kernel that could detect the
on-board flash and mount the rootfs partition.
Then I came across this source tarball, which appeared to have
improved support for the 128MB flash on the TS7400:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7400-linux/sources/ts7400_tskernel-jul162008.tar.gz

Might be worth a try?

Here are some extracts from the kernel config that worked for me in
the end (but remember that this was for a TS7400, not a TS7260):

:~/ts7400/ts7400_tskernel-jul162008/ts-7200/dist/linux24$ grep
MTD .config
# Memory Technology Devices (MTD) for 2k NAND flash
CONFIG_MTD2K=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
# CONFIG_MTD_MAP_BANK_WIDTH_4 is not set
# 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=y
# CONFIG_MTD_CFI_I2 is not set
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=y
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_ARM_INTEGRATOR is not set
# CONFIG_MTD_CDB89712 is not set
# CONFIG_MTD_SA1100 is not set
# CONFIG_MTD_DC21285 is not set
# CONFIG_MTD_IQ80310 is not set
# CONFIG_MTD_LUBBOCK is not set
# CONFIG_MTD_IXP425 is not set
# CONFIG_MTD_EPXA10DB is not set
# CONFIG_MTD_FORTUNET is not set
# CONFIG_MTD_AUTCPU12 is not set
# CONFIG_MTD_EDB7312 is not set
# CONFIG_MTD_H720X is not set
# CONFIG_MTD_IMPA7 is not set
# CONFIG_MTD_CEIVA is not set
# CONFIG_MTD_NOR_TOTO is not set
# CONFIG_MTD_TS7XXX is not set
# CONFIG_MTD_PCI is not set
# CONFIG_MTD_PCMCIA is not set
# Self-contained MTD device drivers
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLKMTD is not set
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
# CONFIG_MTD_DOCPROBE is not set
# CONFIG_MTD_DOCECC is not set
CONFIG_MTD_NAND=y
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
# CONFIG_MTD_NAND_SPIA is not set
# CONFIG_MTD_NAND_TOTO is not set
# CONFIG_MTD_NAND_AUTCPU12 is not set
# CONFIG_MTD_NAND_EDB7312 is not set
# CONFIG_MTD_NAND_TS7250 is not set
CONFIG_MTD_NAND_TS7400=y
# CONFIG_MTD_NAND_BT200 is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_DISKONCHIP is not set


:~/ts7400/ts7400_tskernel-jul162008/ts-7200/dist/linux24$ grep
YAFFS .config
# CONFIG_YAFFS_FS is not set
CONFIG_YAFFS2_FS=y



--- In  "Richard Williams" <> wrote:
>
> Hi,
> 
> I have a TS7260 with 128K Flash and it appears to have the YAFFS2 file
> system pre installed. I compiled compiled a kernel
> ts7400_tskernel-2.4.26-ts11-may152007.tar.gz using the
> ts7260_2k_config which enabled YAFFS2. When I boot from this kernel, I
> can mount the YAFFS partition (/dev/mtdblock/1) ok but the directory
> structure is gone and there are lots of corrupt? files in lost+found.
> If I boot using the pre installed kernel, the yaffs2 partition has a
> complete and working file system.
> 
> Why is the ts11 kernel unable to see the files correctly? Should I re
> format the yaffs2 partition and carry on?
> 
> Regards,
> Richard
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU