- 10 6月, 2009 1 次提交
-
-
由 Daniel Mack 提交于
In do_readpage(), don't free 'dn' if its allocation failed. Signed-off-by: NDaniel Mack <daniel@caiaq.de>
-
- 01 5月, 2009 1 次提交
-
-
由 Ricardo Ribalda Delgado 提交于
Blocks compressed with zlib dont have the full gzip header. Without this patch, block compressed with zlib cannot be readed! Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
-
- 28 4月, 2009 3 次提交
-
-
由 Ricardo Ribalda Delgado 提交于
If the memory used to copy the link_make is "dirty" the string wont be ended with NULL, throwing out multiple memory bugs. Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@uam.es> Acked-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
I missed removing this file while implementing the UBIFS support. It's not referenced at all, so let's remove it. Thanks to Artem Bityutskiy for spotting. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Adrian Hunter 提交于
UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: NAdrian Hunter <adrian.hunter@nokia.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 05 4月, 2009 2 次提交
-
-
由 Wolfgang Denk 提交于
-
由 Artem Bityutskiy 提交于
Now UBIFS is supported by u-boot. If we ever decide to change the media format, then people will have to upgrade their u-boots to mount new format images. However, very often it is possible to preserve R/O forward-compatibility, even though the write forward-compatibility is not preserved. This patch introduces a new super-block field which stores the R/O compatibility version. Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com> Acked-by: NAdrian Hunter <Adrian.Hunter@nokia.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 04 4月, 2009 2 次提交
-
-
Some systems have zlib.h installed in /usr/include/. This isn't the desired file for u-boot code - we want the one in include/zlib.h. This rename will avoid the conflict. Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 unsik Kim 提交于
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: Nunsik Kim <donari75@gmail.com>
-
- 21 3月, 2009 2 次提交
-
-
由 Michael Lawnick 提交于
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: NMichael Lawnick <ml.lawnick@gmx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> CC: Artem Bityutskiy <dedekind@infradead.org> CC: Adrian Hunter <ext-Adrian.Hunter@nokia.com>
-
- 28 1月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
Fix based on suggestion by David Hawkins <dwh@ovro.caltech.edu>. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 24 1月, 2009 1 次提交
-
-
由 Bryan Wu 提交于
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: NBryan Wu <bryan.wu@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 17 12月, 2008 1 次提交
-
-
由 Ilya Yanok 提交于
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: NIlya Yanok <yanok@emcraft.com> Acked-by: NStefan Roese <sr@denx.de>
-
- 10 12月, 2008 6 次提交
-
-
由 Sonic Zhang 提交于
The FAT file system driver should also handle FAT on SATA devices. Signed-off-by: NSonic Zhang <Sonic.Zhang@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Ilya Yanok 提交于
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: NAlexey Neyman <avn@emcraft.com> Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
由 Ilya Yanok 提交于
This patch adds support for reading fs information from summary node instead of scanning full eraseblock. Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
由 Ilya Yanok 提交于
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: NAlexey Neyman <avn@emcraft.com> Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
由 Ilya Yanok 提交于
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: NAlexey Neyman <avn@emcraft.com> Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
由 Ilya Yanok 提交于
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: NAlexey Neyman <avn@emcraft.com> Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
- 05 12月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
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: NRemy Bohmer <linux@bohmer.net>
-
- 01 11月, 2008 1 次提交
-
-
由 Scott Wood 提交于
Reported-by: NAlessandro Rubini <rubini-list@gnudd.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 07 9月, 2008 1 次提交
-
-
由 Kyungmin Park 提交于
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 31 8月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 22 8月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
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: NRemy Bohmer <linux@bohmer.net> Acked-by: NWilliam Juul <william.juul@tandberg.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 14 8月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 13 8月, 2008 6 次提交
-
-
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 William Juul 提交于
Signed-off-by: NWilliam Juul <william.juul@tandberg.com>
-
由 William Juul 提交于
Signed-off-by: NWilliam Juul <william.juul@tandberg.com>
-
由 William Juul 提交于
Signed-off-by: NWilliam Juul <william.juul@tandberg.com>
-
由 William Juul 提交于
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by: NWilliam Juul <william.juul@tandberg.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 William Juul 提交于
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: NWilliam Juul <william.juul@tandberg.com> Signed-off-by: NStig Olsen <stig.olsen@tandberg.com>
-
- 14 7月, 2008 2 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 13 7月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 30 6月, 2008 1 次提交
-
-
由 Stuart Wood 提交于
Signed-off-by: NStuart Wood <stuart.wood@labxtechnologies.com>
-
- 29 5月, 2008 1 次提交
-
-
由 Stelian Pop 提交于
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: NStelian Pop <stelian@popies.net> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 21 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 14 5月, 2008 1 次提交
-
-
由 Stelian Pop 提交于
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: NStelian Pop <stelian@popies.net> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-