Marc Kleine-Budde
57cae4e826
Merge branch 'ipe337'
2007-11-12 15:58:53 +01:00
Marc Kleine-Budde
9d27950d06
use 10 digits for filesize in ls
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 14:36:52 +01:00
Marc Kleine-Budde
aae8d892db
use unsigned for filesize in ls
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 12:01:18 +01:00
Marc Kleine-Budde
c991486d56
commands/bootm.c:872:4: warning: no newline at end of file
...
added newline at end of commands/bootm.c
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 10:56:15 +01:00
Juergen Beisert
9b07bdbbdc
Merge branch 'docu'
2007-11-09 14:06:57 +01:00
Juergen Beisert
3ff14ef200
various doc added
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 14:05:23 +01:00
Juergen Beisert
2cb737d95d
using a consistent ipaddr parameter all over the place
...
Signed-off-by: Juergen Beisert <jbe@octopus.labnet.pengutronix.de>
2007-11-08 17:06:48 +01:00
Juergen Beisert
8fe25ecf12
adding various doku
2007-11-08 12:01:52 +01:00
Juergen Beisert
0a13be8de2
various docu added
2007-11-05 15:20:31 +01:00
Juergen Beisert
4cd877a840
saving added docu
2007-11-05 14:39:07 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +01:00
Sascha Hauer
a26a5ef28f
Replace all occurences of UBoot with U-Boot
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:20:27 +02:00
Juergen Beisert
53dd8423a5
adding new doc
2007-10-19 15:23:48 +02:00
Juergen Beisert
afe73cff56
doc added and some reorganised
2007-10-19 14:56:45 +02:00
sascha
ad72b775f1
Merge octopus:/home/git/projects/u-boot-v2
2007-10-19 13:07:01 +02:00
Juergen Beisert
6ad2703e6e
Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2
2007-10-19 11:58:33 +02:00
Juergen Beisert
34c23b6f6e
debug support added
2007-10-19 11:50:58 +02:00
sascha
8a46c1102f
move readline command to a file of its own
2007-10-19 11:28:58 +02:00
sascha
95db50e812
Fix documentation for addpart/delpart/devinfo. These commands
...
now take a device file, not a device id.
2007-10-19 11:23:24 +02:00
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
Sascha Hauer
7c809ab519
allow calculationg checksums of files
2007-07-14 14:47:35 +02:00
Sascha Hauer
66b61fda62
fix printf in do_flerase()
2007-07-14 14:45:45 +02:00
Sascha Hauer
41fd1f6625
add O_RDONLY flag to open() call
2007-07-14 14:44:29 +02:00
Sascha Hauer
828fe2d8e4
add missing include
2007-07-14 14:43:53 +02:00
Sascha Hauer
6f779cc1c5
- fix memory hole
...
- fix reading of empty lines
- put the command prompt at the beginning of the line when exiting edit
2007-07-13 20:42:18 +02:00
Sascha Hauer
ef54cffe97
add missing flash.o and meminfo.o to Makefile
2007-07-13 20:41:41 +02:00
Sascha Hauer
dc41557d1b
Merge sascha@brannigan.homelinux.org:/home/sascha/ptx/u-boot/u-boot-2.0.0
2007-07-12 09:56:19 +02:00
Sascha Hauer
30788385d9
fix compiler warning
2007-07-11 11:07:04 +02:00
Sascha Hauer
e755ab4535
minor fixes
2007-07-05 21:50:14 +02:00
Sascha Hauer
75a10b942c
svn_rev_706
...
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer
89f0c5c94f
svn_rev_701
...
move do_test to own file and reimplement
2007-07-05 18:02:18 +02:00
Sascha Hauer
b165a680c3
svn_rev_696
...
pass O_CREATE
2007-07-05 18:02:18 +02:00
Sascha Hauer
8eebe20fb6
svn_rev_695
2007-07-05 18:02:18 +02:00
Sascha Hauer
9afd20bdb0
svn_rev_693
...
remove do_reset
2007-07-05 18:02:18 +02:00
Sascha Hauer
ccfa1e06a5
svn_rev_692
2007-07-05 18:02:17 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
6e7d2478fc
svn_rev_680
...
remove crc32 (extra file now)
2007-07-05 18:02:16 +02:00
Sascha Hauer
5a7d488510
svn_rev_676
2007-07-05 18:02:16 +02:00
Sascha Hauer
3b4bad17b3
svn_rev_664
2007-07-05 18:02:15 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
fda840672d
svn_rev_652
2007-07-05 18:02:13 +02:00
Sascha Hauer
59410692ca
svn_rev_651
2007-07-05 18:02:13 +02:00
Sascha Hauer
bba475d70e
svn_rev_650
2007-07-05 18:02:13 +02:00
Sascha Hauer
3f35315b90
svn_rev_648
2007-07-05 18:02:13 +02:00
Sascha Hauer
40e4e2e659
svn_rev_647
2007-07-05 18:02:13 +02:00
Sascha Hauer
ab0f254650
svn_rev_645
...
moved
2007-07-05 18:02:13 +02:00
Sascha Hauer
f37394d8b4
svn_rev_644
2007-07-05 18:02:13 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00