9
0
Fork 0
Commit Graph

78 Commits

Author SHA1 Message Date
sascha 3b6d6a45e7 - Implement tree structure for devices
- Use device tree structure to implement partitions
- Let devinfo print a nice tree
- Introduce 'fixed' partitions which are not removable
- Fix mount: It was not possible to mount on a relative path.
2007-10-19 08:45:57 +02:00
Juergen Beisert 8c6c055de6 adding some useful error messages 2007-10-18 18:32:02 +02:00
sascha b36fca0cb8 cp command: Allow to copy multiple files 2007-10-17 11:12:57 +02:00
sascha 288c97b89c editor: Do not use ansi code for screen scrolling by default.
Add an aliases 'sedit' which does this.
2007-10-16 22:35:42 +02:00
sascha a09b455fce Merge octopus:/home/git/projects/u-boot-v2 2007-10-16 20:57:53 +02:00
sascha 089c998ad9 mem.c: allow memcpy and memcmp to handle files. 2007-10-16 20:57:37 +02:00
Juergen Beisert 26def3fd2c various small typos fixed 2007-10-16 19:07:21 +02:00
sascha 25850aa80a fix error path in cp command. 2007-10-16 16:40:29 +02:00
Sascha Hauer bd1910d500 fix area parsing for erase/protect, add error parsing 2007-10-09 17:16:08 +02:00
Sascha Hauer bd6af38017 tristate commands to compile as modules 2007-10-07 14:33:07 +02:00
Sascha Hauer 2443c7a6f1 export symbols 2007-10-07 14:27:24 +02:00
Sascha Hauer 828dbf9f3c edit: add 8 as backspace code 2007-10-04 18:36:24 +02:00
Sascha Hauer 6905ed5bf3 timeout command: Use do {} while; insteal of while {}; to allow interrupt
with timeout = 0.
2007-10-04 18:35:53 +02:00
Sascha Hauer 42bc579215 change semantics of tftpboot command:
Change name to tftp and allow to only specify a remote filename.
Localfilename, if given, has to be specified with the second
argument, not the first one.
2007-10-04 13:05:56 +02:00
Sascha Hauer 9cce63fa33 add argument checking for edit.c 2007-10-04 12:38:40 +02:00
Sascha Hauer 6b7fdcb970 Use safe_strncpy() instead of copy_filename(). The shell has already removed
quotes, so we don't need this functionality from copy_filename()
2007-09-28 10:47:19 +02:00
Sascha Hauer 63c292b019 remove i2c from kconfig 2007-09-28 10:25:32 +02:00
Sascha Hauer d7ce9b9403 remove mii.c 2007-09-28 10:24:44 +02:00
Sascha Hauer b3dc734018 declare lots of functions static 2007-09-28 10:07:26 +02:00
Sascha Hauer 79ed00ba92 pass file size from read_file 2007-09-27 16:33:35 +02:00
Sascha Hauer 9e13a384c0 use xrealloc instead of realloc 2007-09-27 16:28:26 +02:00
Sascha Hauer 6057d62524 learn to realloc 2007-09-27 16:27:20 +02:00
Sascha Hauer 04f2ec0263 fix usage of normalise_path 2007-09-27 14:14:24 +02:00
Sascha Hauer e15abc0da7 activate memcmp and memcpy 2007-09-27 12:06:01 +02:00
Sascha Hauer 6dfc34d297 reactivate mtest 2007-09-27 12:04:59 +02:00
Sascha Hauer 7c17ff7c45 Reimplement environment. Now we only have one crc for the whole image. 2007-09-27 12:04:17 +02:00
Sascha Hauer 85db86ab5b implement mkdir -p #2 2007-09-27 11:59:36 +02:00
Sascha Hauer 326e4bddc3 print_size() -> size_human_readable()
return a pointer to a human readable string rather than printingit directly
2007-09-26 15:23:46 +02:00
Sascha Hauer 913691eccd add directory handling for environment 2007-09-25 12:58:52 +02:00
Sascha Hauer f132b2e073 - change function declarations for better standard conformity:
int open(const char *pathname, int flags);
-> int open(const char *pathname, int flags, ...);
   int mkdir(const char *pathname);
-> int mkdir(const char *pathname, mode_t mode);
2007-09-24 17:03:20 +02:00
Sascha Hauer 3cbc5c5c12 remove u-boot command paramter flag 2007-09-24 12:31:08 +02:00
Sascha Hauer 14b5c2a647 - teach hush to honour PATH variable
- remove common/main.c. This is now handled in the different shells.
2007-09-24 01:40:06 +02:00
Sascha Hauer 64caff6c94 remove debug printf 2007-09-21 15:18:39 +02:00
Sascha Hauer e3f34e28da implement test options -f, -e and -d 2007-09-21 15:16:24 +02:00
Sascha Hauer 0dd68e795e - putc is now putchar for better standard conformity
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer 9436833b11 fix return values for some cases in envfs_load() 2007-09-16 11:16:58 +02:00
Sascha Hauer ca8ae5695a add the possibility to have a arch specific 'go' command. Some
architectures need this (e.g. blackfin and i386)
2007-09-16 11:16:08 +02:00
Sascha Hauer 1ef73a95be add timeout command 2007-09-16 11:13:16 +02:00
Sascha Hauer 2a9c1de93f whitespace cleanup 2007-09-13 16:06:02 +02:00
Sascha Hauer dc7a1f0931 add Kconfig option for showing the image type 2007-09-13 15:25:22 +02:00
Sascha Hauer 442b7bfa3f fix error handling in envfs_load() 2007-09-13 15:24:32 +02:00
Sascha Hauer 46f6648adb - fix handling of images on not mappable devices in bootm.
- split up image information string function into several functions
2007-09-13 15:11:16 +02:00
Sascha Hauer 6251a54a68 add rom driver 2007-09-13 15:08:55 +02:00
Sascha Hauer 466078dbb2 fix a bug in the editor when reading files which do not have
a \n at the last line
2007-09-13 12:56:29 +02:00
Sascha Hauer 99978d467a add (un)protect to saveenv 2007-09-12 17:12:16 +02:00
Sascha Hauer 58f1051598 Do not use -f <file> to specify the device for erase and protect, but
instead se positional parameters.
2007-09-11 10:17:49 +02:00
Sascha Hauer 056a695c15 implement flash protection 2007-07-16 10:29:28 +02:00
Sascha Hauer 8881fb7984 use memmap() to save one memcpy call in bootm 2007-07-15 14:02:53 +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 8dc7fe1648 Lindent commands/partition.c 2007-07-14 15:20:43 +02:00