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
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
b0615cc909
- add 'source' command
...
- add help text for 'source' and 'sh'
2007-09-24 12:06:52 +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
d97304aef2
add libbb functions
2007-09-24 01:36:07 +02:00
Sascha Hauer
0aab147904
fix indention
2007-09-23 23:35:32 +02:00
Sascha Hauer
71e2c11ebb
introduce local and global variables, add export command
2007-09-23 23:29:37 +02:00
Sascha Hauer
ecc1ee6602
allow arguments to be passed to scripts
2007-09-23 23:26:31 +02:00
Sascha Hauer
a7f5dd903e
unifdef __U_BOOT__ in hush.c
2007-09-22 18:08:18 +02:00
Sascha Hauer
05dec7d3bd
move ppc assembler templates to include/asm-ppc
2007-09-22 16:07:51 +02:00