9
0
Fork 0
Commit Graph

103 Commits

Author SHA1 Message Date
Sascha Hauer 056a695c15 implement flash protection 2007-07-16 10:29:28 +02:00
Sascha Hauer 665291e693 implement memmap().
With this function we can get a pointer to directly memory mapped
devices like nor flash or RAM. Useful for bootm where we save one
memcopy when the image is mappable
2007-07-15 13:50:04 +02:00
Sascha Hauer 11534fdfa2 implement truncate for devfs 2007-07-05 21:46:42 +02:00
Sascha Hauer 75a10b942c svn_rev_706
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer b2c5310d4d svn_rev_653
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer 3fd64b7c45 svn_rev_633
add some comments, minor cleanups
2007-07-05 18:02:12 +02:00
Sascha Hauer e2f1a28306 svn_rev_605
make read_file global
2007-07-05 18:02:09 +02:00
Sascha Hauer edc878b37e svn_rev_566
fs support is not optional
2007-07-05 18:02:05 +02:00
Sascha Hauer e390c672eb svn_rev_544
make fs menuconfig
2007-07-05 18:02:03 +02:00
Sascha Hauer a4b07792b9 svn_rev_465
make fs support mandatory
2007-07-05 18:01:56 +02:00
Sascha Hauer 44635dd22e svn_rev_452
add erase function
2007-07-05 18:01:55 +02:00
Sascha Hauer 0dc645fba6 svn_rev_448
add erase
2007-07-05 18:01:54 +02:00
Sascha Hauer 0eaabc8439 svn_rev_438 2007-07-05 18:01:54 +02:00
Sascha Hauer 0396fe8021 svn_rev_437
use dev_read/dev_write
2007-07-05 18:01:53 +02:00
Sascha Hauer e694adc6a4 svn_rev_420
- do more POSIX:
  - use DIR instead of struct dirent
  - use (struct dirent)->d_name instead of (struct dirent)->name
- switch to a new layout for U_BOOT_CMD:
  - use C99 initializers to be able to add more fields to the
    command struct
  - add aliases for commands (needed mainly for help -> ? and test -> [
  - This is not done for all commands yet, but the compiler will tell you ;)
2007-07-05 18:01:52 +02:00
Sascha Hauer 014678f7a0 svn_rev_406
let normalise path allocate the string instead of changing the original one
2007-07-05 18:01:51 +02:00
Sascha Hauer 5b4110a39c svn_rev_396
fix truncate (again). This still looks ugly
2007-07-05 18:01:50 +02:00
Sascha Hauer 31fc4bbff6 svn_rev_379 2007-07-05 18:01:48 +02:00
Sascha Hauer d7e3f8d227 svn_rev_378
fix truncate
2007-07-05 18:01:48 +02:00
Sascha Hauer 8ab8512461 svn_rev_372 2007-07-05 18:01:48 +02:00
Sascha Hauer 8287d7f588 svn_rev_371
fix mem hole
2007-07-05 18:01:48 +02:00
Sascha Hauer 46743ea28f svn_rev_369
include asm-generic in errno.h instead of all other files
2007-07-05 18:01:47 +02:00
Sascha Hauer 46d7dcc9ad svn_rev_364
- fix free corruption in open
- simplify mount()
- fix mem hole
2007-07-05 18:01:47 +02:00
Sascha Hauer e0cf91dbc4 svn_rev_339 2007-07-05 18:01:44 +02:00
Sascha Hauer 9df483a88f svn_rev_338
add rmdir and unlink, make creat more like posix, add common function for prerequites checking
2007-07-05 18:01:44 +02:00
Sascha Hauer 96b3a92454 svn_rev_337 2007-07-05 18:01:44 +02:00
Sascha Hauer 132c9b968d svn_rev_325
implement . and .. entries
2007-07-05 18:01:43 +02:00
Sascha Hauer 57013a9864 svn_rev_324
use xzalloc instead of malloc/memset
2007-07-05 18:01:43 +02:00
Sascha Hauer 5a82f54e59 svn_rev_301 2007-07-05 18:01:41 +02:00
Sascha Hauer d5f7b1f985 svn_rev_288
remove handling of / in stat function. We will never be called with / here
2007-07-05 18:01:40 +02:00
Sascha Hauer 700983e486 svn_rev_287
add lseek implementation, remove special handling of /dev/ (is now implemented as devfs)
2007-07-05 18:01:40 +02:00
Sascha Hauer 17fda95040 svn_rev_286 2007-07-05 18:01:40 +02:00
Sascha Hauer 877e92f7f1 svn_rev_284
add devfs
2007-07-05 18:01:39 +02:00
Sascha Hauer eaff0679f3 svn_rev_281
read support for ramfs
2007-07-05 18:01:39 +02:00
Sascha Hauer 9b4dfd7995 svn_rev_272
more FS work
2007-07-05 18:01:38 +02:00
Sascha Hauer 112ada667b svn_rev_270
WIP FS support
2007-07-05 18:01:38 +02:00
Sascha Hauer cf7a56fc78 svn_rev_268
WIP
2007-07-05 18:01:38 +02:00
Sascha Hauer afeec6a99b svn_rev_264 2007-07-05 18:01:38 +02:00
Sascha Hauer 06ed886f8b svn_rev_263 2007-07-05 18:01:38 +02:00
Sascha Hauer 9db8ed3312 svn_rev_261
WIP Filesystem support
2007-07-05 18:01:37 +02:00
Sascha Hauer 3f55f3e108 svn_rev_252
WIP
2007-07-05 18:01:37 +02:00
Sascha Hauer 8bf868e450 svn_rev_238
moved mkmodestr() to fs/fs.c
2007-07-05 18:01:35 +02:00
Sascha Hauer 0ed157cd19 svn_rev_234
beginning filesystem support
2007-07-05 18:01:35 +02:00
Sascha Hauer 162484b83c svn_rev_003
remove all #if 0 and #if 1
2007-07-05 18:01:13 +02:00
Wolfgang Denk 2b208f5308 Move "ar" flags to config.mk to allow for silent "make -s"
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09 01:02:05 +02:00
Marian Balakowicz f93286397e Add support for a saving build objects in a separate directory.
Modifications are based on the linux kernel approach and
support two use cases:

  1) Add O= to the make command line
  'make O=/tmp/build all'

  2) Set environement variable BUILD_DIR to point to the desired location
  'export BUILD_DIR=/tmp/build'
  'make'

The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'

Command line 'O=' setting overrides BUILD_DIR environent variable.

When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
2006-09-01 19:49:50 +02:00
Marian Balakowicz 6db3970811 Fix JFFS2 support for legacy NAND driver.
Some more NAND cleanup and small fixes.
2006-04-08 19:08:06 +02:00
Wolfgang Denk 09e4b0c5d3 Add support for Lite5200B board.
Patch by  Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
2006-03-17 11:42:53 +01:00
Wolfgang Denk 74f92e6a3f Add crc of data to jffs2 (in jffs2_1pass_build_lists()).
Patch by Rick Bronson, 15 Jun 2005
2006-03-12 16:05:05 +01:00
Bartlomiej Sieka addb2e1650 Re-factoring the legacy NAND code (legacy NAND now only in board-specific
code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and
BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for
NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is
implemented for these boards.
2006-03-05 18:57:33 +01:00