- Apr 03, 2009
-
-
unsik Kim authored
Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by:
unsik Kim <donari75@gmail.com>
-
- Mar 20, 2009
-
-
Michael Lawnick authored
On systems where U-Boot is linked to another address than it really lays (e.g. backup image), calls via function pointers must be fixed with a '+= gd->reloc_off'. This was not done for none_compr in ubifs_compressors_init() what leads to system crash on ubifsmount command. Signed-off-by:
Michael Lawnick <ml.lawnick@gmx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions. I removed some of the Linux features that are not used in the U-Boot version (e.g. garbage-collection, write support). Signed-off-by:
Stefan Roese <sr@denx.de> CC: Artem Bityutskiy <dedekind@infradead.org> CC: Adrian Hunter <ext-Adrian.Hunter@nokia.com>
-
- Jan 27, 2009
-
-
Wolfgang Denk authored
Fix based on suggestion by David Hawkins <dwh@ovro.caltech.edu>. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jan 24, 2009
-
-
Bryan Wu authored
A couple of buffers in the fat code are declared as an array of bytes. But it is then cast up to a structure with 16bit and 32bit members. Since GCC assumes structure alignment here, we have to force the buffers to be aligned according to the structure usage. Signed-off-by:
Bryan Wu <bryan.wu@analog.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Dec 16, 2008
-
-
Ilya Yanok authored
Include <linux/mtd/compat.h> header for min_t definition instead of providing our own one. Removes warnings in case of OneNAND support enabled. Although I thinks it's a bit silly to include <linux/mtd/compat.h> just for min_t... Signed-off-by:
Ilya Yanok <yanok@emcraft.com> Acked-by:
Stefan Roese <sr@denx.de>
-
- Dec 10, 2008
-
-
Sonic Zhang authored
The FAT file system driver should also handle FAT on SATA devices. Signed-off-by:
Sonic Zhang <Sonic.Zhang@analog.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Dec 09, 2008
-
-
Ilya Yanok authored
As we moved data_crc() invocation from jffs2_1pass_build_lists() to jffs2_1pass_read_inode() data_crc is going to be calculated on each inode access. This patch adds caching of data_crc() results. There is no significant improvement in speed (because of flash access caching added in previous patch I think, crc in RAM is really fast) but this patch impacts memory usage -- every b_node structure uses 12 bytes instead of 8. Signed-off-by:
Alexey Neyman <avn@emcraft.com> Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
Ilya Yanok authored
This patch adds support for reading fs information from summary node instead of scanning full eraseblock. Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
Ilya Yanok authored
With this patch JFFS2 code allocates memory buffer of max_totlen size (size of the largest node, calculated during scan time) and uses it to store entire node. Speeds up loading. If malloc fails we use old ways to do things. Signed-off-by:
Alexey Neyman <avn@emcraft.com> Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
Ilya Yanok authored
Rewrites jffs2_1pass_build_lists() function in style of Linux's jffs2_scan_medium() and jffs2_scan_eraseblock(). This includes: - Caching flash acceses - Smart dealing with free space Signed-off-by:
Alexey Neyman <avn@emcraft.com> Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
Ilya Yanok authored
We need to update i_version inside cycle to find really latest version inside jffs2_1pass_list_inodes(). With that fixed we can use isize inside dump_inode() instead of calling expensive jffs2_1pass_read_inode(). Signed-off-by:
Alexey Neyman <avn@emcraft.com> Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
- Dec 04, 2008
-
-
Remy Bohmer authored
This code contains some non-ascii characters in comment lines and code. Most editors do not display those characters properly and editing those files results always in diffs at these places which are usually not required to be changed at all. This is error prone. So, remove those weird characters and replace them by normal C-style equivalents for which the proper defines were already in the header. Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
- Oct 31, 2008
-
-
Scott Wood authored
Reported-by:
Alessandro Rubini <rubini-list@gnudd.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 06, 2008
-
-
Kyungmin Park authored
Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
- Aug 31, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Aug 21, 2008
-
-
Remy Bohmer authored
Recently the YAFFS filesystem support has been added to U-boot. However, just enabling CONFIG_YAFFS2 is not enough to get it working. ymount will generate an exception (when dereferencing mtd->readoob()), because the genericDevice is a null pointer. Further, a lot of logging is produced while using YAFFS fs, so logging should also be disabled. Both issues are solved by this patch. With this patch and CONFIG_YAFFS2 enabled, I get a readable filesystem in U-boot, as well as in Linux. Tested on a Atmel AT91SAM9261EK board. Signed-off-by:
Remy Bohmer <linux@bohmer.net> Acked-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Aug 14, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Aug 12, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
Direct import of yaffs as a tarball as of 20071113 from their public CVS-web at http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/ The code can also be imported on the command line with: export CVSROOT=:pserver:anonymous@cvs.aleph1.co.uk:/home/aleph1/cvs cvs logon (Hit return when asked for a password) cvs checkout yaffs2 Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Stig Olsen <stig.olsen@tandberg.com>
-
- Jul 14, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 13, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Jun 29, 2008
-
-
Stuart Wood authored
Signed-off-by:
Stuart Wood <stuart.wood@labxtechnologies.com>
-
- May 28, 2008
-
-
Stelian Pop authored
The nand_info array is declared as extern in several .c files. Those days, nand.h contains a reference to the array, so there is no need to declare it elsewhere. Signed-off-by:
Stelian Pop <stelian@popies.net> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 13, 2008
-
-
Stelian Pop authored
The nand_info array is declared as extern in several .c files. Those days, nand.h contains a reference to the array, so there is no need to declare it elsewhere. Signed-off-by:
Stelian Pop <stelian@popies.net> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Apr 28, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Mar 16, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Mar 02, 2008
-
-
michael authored
This fixes the cluster size tests in the FAT32 file system. The current implementation of VFAT support doesn't work if the referred cluster has an offset > 16bit representation, causing "fatload" and "fatls" commands etc. to fail. Signed-off-by:
michael trimarchi <trimarchi@gandalf.sssup.it>
-
Dave Liu authored
The ext2 aligned process will corrupt the key data struct, the patch fix this. Signed-off-by:
Dave Liu <daveliu@freescale.com>
-
- Feb 14, 2008
-
-
Andy Fleming authored
A #if statement in fat.c depended on CONFIG_MMC, instead of defined(CONFIG_MMC). This meant CONFIG_MMC needed to be defined as "1" rather than just defined. Now it's better. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Feb 07, 2008
-
-
Marian Balakowicz authored
Move gunzip(), zalloc() and zfree() to a separate file. Share zalloc() and zfree() with cramfs uncompress routine. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Jan 09, 2008
-
-
Andy Fleming authored
Way back in August I merged Heiko's patch: 566a494f: [PCS440EP] upgrade the PCS440EP board with Jon's CONFIG_COMMANDS patches. This was done in commit: 6bf6f114 However, in the process, I left out some of Heiko's good changes. Now Heiko's and Jon's patches are properly merged in fat_register_device() Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Marcel Ziswiler authored
Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-