Sascha Hauer
23d1cead89
readline: Fix a bug when tab completion is used in the middle
...
of the line.
2008-03-02 17:23:10 +01:00
Sascha Hauer
df31bb46be
implement TAB completion
2008-03-01 21:08:14 +01:00
Sascha Hauer
ca558b9097
make dirname/basename behave more standard conform
2008-03-01 21:03:01 +01:00
Marc Kleine-Budde
f94dae59d7
improved codingstyle
...
This patch improved the codingstyle
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:49 +01:00
Marc Kleine-Budde
f0e65e3cf6
[sparse] use NULL for nullpointer
...
fixes:
lib/parameter.c:108:19: warning: Using plain integer as NULL pointer
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde
afe0eaee43
get_device_by_path now obeys cwd
...
With this patch get_device_by_path obeys the cwd, which allows a more
intuitive devinfo command.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-19 10:41:17 +01:00
Marc Kleine-Budde
1d7cb260d8
fixed doku renamed ip -> ipaddr
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 12:29:09 +01:00
Juergen Beisert
8fe25ecf12
adding various doku
2007-11-08 12:01:52 +01:00
Juergen Beisert
30e09b83d5
shell info added
2007-10-19 21:35:46 +02:00
sascha
3c0323a650
export symbols get_device_by_path and dev_add_child
2007-10-19 13:13:17 +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
003370b63a
compile fix
2007-10-19 11:06:03 +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
438873e769
remove putc references
2007-10-17 17:51:34 +02:00
sascha
10bdc84297
implement delete key in readline
2007-10-16 23:08:37 +02:00
Sascha Hauer
212f631eb4
let erase and protect functions return int instead of size_t. They
...
only return succes/error but no size.
2007-10-11 22:00:22 +02:00
Sascha Hauer
22c0e805ea
replace 8 spaces with tabs
2007-10-11 20:56:18 +02:00
Sascha Hauer
eadf71abc7
Use Linux kernel list for drivers and devices instead of handmade
...
list.
2007-10-11 20:20:36 +02:00
Sascha Hauer
0fca6b006c
parse_area_spec():
...
- No need to handle strings where only size or end is given. This
form is confusing and does not give real benefit.
- Fix start-end form. The calculation was wrong.
- Return an error if end < start.
- Add function description.
2007-10-09 12:56:20 +02:00
Sascha Hauer
2443c7a6f1
export symbols
2007-10-07 14:27:24 +02:00
Sascha Hauer
17c3e64578
export functions
2007-10-04 12:37:06 +02:00
Sascha Hauer
5017152f13
export functions
2007-10-04 12:33:20 +02:00
Sascha Hauer
aaa71a1263
Export symbols printf and the ones needed for getopt
2007-10-01 10:26:45 +02:00
Sascha Hauer
5931ed5a14
add safe_strncpy() function
2007-09-28 10:45:59 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
46d5705395
implement mkdir -p
2007-09-27 11:59:18 +02:00
Sascha Hauer
06efc2b81a
disable crc32 complement version for now
2007-09-27 11:26:19 +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
1cc42431c9
add header for libgen.c, add missing includes
2007-09-25 14:36:10 +02:00
Sascha Hauer
fd4cc5d0d3
add debug for xmalloc and xrealloc
2007-09-24 17:04:53 +02:00
Sascha Hauer
ca5ae599d6
add recursive_action() and concat_subpath_file() from busybox
2007-09-24 17:00:49 +02:00
Sascha Hauer
d4ba2f9001
move dirname() and basename() to lib/libgen.c and add header file
2007-09-24 16:57:12 +02:00
Sascha Hauer
3cbc5c5c12
remove u-boot command paramter flag
2007-09-24 12:31:08 +02:00
Sascha Hauer
d97304aef2
add libbb functions
2007-09-24 01:36:07 +02:00
Sascha Hauer
90a17da95c
add kernel kfifo implementation
2007-09-21 21:29:32 +02:00
Sascha Hauer
fd8e989e2e
move mkimage.c to scripts, make it compile
2007-09-21 13:55:04 +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
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
b449ef7374
fix silly bug in unregister_device(). When unregistering devices
...
we have to compare the device pointers and not the names.
2007-07-14 15:36:49 +02:00
Sascha Hauer
34844ba052
check for digit in parse_are_spec()
2007-07-14 14:45:11 +02:00
Sascha Hauer
93abe4f36b
make printf position independent
2007-07-12 09:30:20 +02:00
Sascha Hauer
d7df716367
use debug() macro
2007-07-05 21:42:34 +02:00
Sascha Hauer
bc1e507198
add gunzip
2007-07-05 21:23:42 +02:00
Sascha Hauer
75a10b942c
svn_rev_706
...
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer
9afd20bdb0
svn_rev_693
...
remove do_reset
2007-07-05 18:02:18 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00
Sascha Hauer
4a660c0877
svn_rev_639
2007-07-05 18:02:12 +02:00