Sascha Hauer
5931ed5a14
add safe_strncpy() function
2007-09-28 10:45:59 +02:00
Sascha Hauer
7596ab2048
add brackets
2007-09-28 10:26:06 +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
98f845ad58
Extend 'export' command to take the form export a=b
2007-09-28 10:08:30 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
27bf8f1dea
set last_return_code to rcode and not 1 or 0
2007-09-27 17:10:14 +02:00
Sascha Hauer
66af4f96e2
move environment to offset 0x20000 in flash
2007-09-27 16:34:27 +02:00
Sascha Hauer
26b4200ba5
add alternate command for ipe337 board
2007-09-27 16:34:00 +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
299434c85e
Merge /home/git/users/rsc/u-boot-v2
2007-09-27 12:22:38 +02:00
Sascha Hauer
811acbb52d
indention
2007-09-27 12:21:12 +02:00
Sascha Hauer
ccb593dfde
blackfin_linux.c: disable icache unconditionally. If I understand the
...
Manual correctly, there is no need to invalidate the cache beforehand
(in fact on my board this function crashes)
2007-09-27 12:16:40 +02:00
Sascha Hauer
109449f49f
update ipe337 timing values and fix memory size
2007-09-27 12:09:43 +02:00
Sascha Hauer
d7034dbb8c
ups. mixed up start and end in blackfin_mem_malloc_init
2007-09-27 12:09:01 +02:00
Sascha Hauer
e35ccd2f9c
add string.h
2007-09-27 12:07:13 +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
46d5705395
implement mkdir -p
2007-09-27 11:59:18 +02:00
Sascha Hauer
2d02f7c0f0
fix bug in ramfs when creating files whose parents do not exist
2007-09-27 11:58:22 +02:00
Sascha Hauer
06efc2b81a
disable crc32 complement version for now
2007-09-27 11:26:19 +02:00
Sascha Hauer
52473038dc
display malloc space on startup
2007-09-26 15:24:51 +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
5efc6836b7
hush.c: use xrealloc instead of realloc to save some bytes
2007-09-26 13:57:18 +02:00
Sascha Hauer
fb441a11a0
hush.c: use xzalloc instead of xmalloc to save some bytes
2007-09-26 13:55:01 +02:00
Sascha Hauer
00c65e44ca
hush.c: Remove wrong free() of ctx->pipe->progs. After breaking out
...
of the while loop ctx->pipe is invalid, so we cannot dereference
ctx->pipe->progs.
2007-09-26 13:53:17 +02:00
Sascha Hauer
8f1559034a
remove extern declaration of console_buffer
2007-09-26 13:50:55 +02:00
Robert Schwebel (Laptop)
1f9506e7ee
update to top of tree
2007-09-25 22:08:34 +02:00
Robert Schwebel (Laptop)
c97886debf
Subject: don't use default in choices
...
It is currently not possible to use defaults in choices.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:07:21 +02:00
Robert Schwebel (Laptop)
a241d078c6
Subject: default ARCH and CROSS_COMPILE
...
Set a sane default if ARCH and CROSS_COMPILE are not set.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:02:21 +02:00
Robert Schwebel (Laptop)
e6ca62360e
Subject: clean up TEXT_BASE
...
This patch makes TEXT_BASE a consistent per-arch config switch.
Additionally, it converts all TEXT_BASE occurences from string to hex.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:01:01 +02:00
Robert Schwebel (Laptop)
a487eaa9c8
netx: rename config to defconfig
2007-09-25 21:42:05 +02:00
Sascha Hauer
a2caf027e2
remove unused lynxkdi.h
2007-09-25 14:37:20 +02:00
Sascha Hauer
4c31b33e59
Merge sascha@brannigan.homelinux.org:/home/sascha/ptx/u-boot/u-boot-v2
2007-09-25 14:36:42 +02:00
Sascha Hauer
6ed4c53c21
handle NULL Pointers in readdir/closedir properly
2007-09-25 14:36:55 +02:00
Sascha Hauer
1cc42431c9
add header for libgen.c, add missing includes
2007-09-25 14:36:10 +02:00
Sascha Hauer
2a286ea208
execute /env/bin/init instead of /env/init
2007-09-25 14:32:32 +02:00
Sascha Hauer
97cf2a9805
fix indention
2007-09-25 13:47:47 +02:00
Sascha Hauer
21281ac59a
remove hack from hush which did the wrong thing
2007-09-25 13:47:15 +02:00
Sascha Hauer
603ccc2378
add $# handling for hush
2007-09-25 13:42:33 +02:00
Sascha Hauer
913691eccd
add directory handling for environment
2007-09-25 12:58:52 +02:00
Sascha Hauer
fd4cc5d0d3
add debug for xmalloc and xrealloc
2007-09-24 17:04:53 +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
ca5ae599d6
add recursive_action() and concat_subpath_file() from busybox
2007-09-24 17:00:49 +02:00
Sascha Hauer
ddfa0c174e
remove debug printf
2007-09-24 16:59:07 +02:00