Sascha Hauer
67c7e6eb6f
fix indention in hush.c
2007-10-01 23:12:34 +02:00
Sascha Hauer
aaa71a1263
Export symbols printf and the ones needed for getopt
2007-10-01 10:26:45 +02:00
Sascha Hauer
3bded8c370
add help texts for KALLSYMS and MODULE
2007-10-01 10:21:30 +02:00
Sascha Hauer
6b58e74d04
Resolve the symbols using an extra section and only resolve explicitly
...
exported symbols. Using kallsyms for this purpose doesn't do it because
kallsyms do not resolve variables. Also the symbol table gets quite
big using kallsyms.
2007-10-01 10:20:57 +02:00
Sascha Hauer
8b8c95b9fc
add missing whitespace in printf output
2007-10-01 10:16:04 +02:00
Sascha Hauer
1e3465553b
Add register_command() to register a command in runtime. This
...
is only needed when modules are enabled, so the change is inside
"#ifdef CONFIG_MODULE"
2007-10-01 10:15:38 +02:00
Sascha Hauer
d27e123c53
make simple parser compile again
2007-10-01 09:54:10 +02:00
Sascha Hauer
c396c4da49
Add module handling (mostly copied from Linux kernel and stripped down
...
for U-Boot)
2007-09-28 20:32:15 +02:00
Sascha Hauer
7a49f672c5
add kallsyms from linux kernel
2007-09-28 20:29:52 +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
79ed00ba92
pass file size from read_file
2007-09-27 16:33:35 +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
52473038dc
display malloc space on startup
2007-09-26 15:24:51 +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)
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)
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
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
ddfa0c174e
remove debug printf
2007-09-24 16:59:07 +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
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
a3110c5f8f
add console buffering
2007-09-21 21:30:59 +02:00
Sascha Hauer
18db026d12
remove unused include
2007-09-21 14:35:40 +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
2a9c1de93f
whitespace cleanup
2007-09-13 16:06:02 +02:00
Sascha Hauer
6634cfe849
add default environment
2007-09-13 15:22:23 +02:00
Sascha Hauer
e00be03fe0
Remove all unused files from common. They can be added later from
...
U-Boot 1.x when needed.
2007-09-05 13:11:49 +02:00
Sascha Hauer
654bb6b0b8
further reloc fixes
2007-07-25 12:25:01 +02:00
Sascha Hauer
ca52150cd0
add whitespace in banner string
2007-07-16 10:30:40 +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
7ec80eb0e9
whitespace cleanup
2007-07-15 12:58:31 +02:00
Sascha Hauer
2557787389
print u-boot bss info only for debug case
2007-07-12 12:09:48 +02:00
Sascha Hauer
646856e394
fix for !CONFIG_HAS_EARLY_INIT
2007-07-12 11:50:48 +02:00
Sascha Hauer
9462256561
add BOARDINFO string to kconfig
2007-07-12 11:24:19 +02:00
Sascha Hauer
793ff46a04
CONFIG_ARCH_HAS_RELOC -> CONFIG_HAS_EARLY_INIT
2007-07-12 11:21:13 +02:00
Sascha Hauer
10fcca1246
add early_init()
2007-07-12 09:54:34 +02:00
Sascha Hauer
149d273b80
add early console for mpc5200
2007-07-12 09:31:07 +02:00
Sascha Hauer
3b90ee9a3d
add CONFIG_RELOCATABLE
2007-07-12 09:27:06 +02:00
Sascha Hauer
e47fa9d6ef
compile common/memsize.c
2007-07-12 09:23:49 +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
e24bb529b1
svn_rev_700
2007-07-05 18:02:18 +02:00
Sascha Hauer
e74a1633aa
svn_rev_686
...
implement console baudrate switching
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
f35190d65b
svn_rev_682
...
remove double entry
2007-07-05 18:02:16 +02:00
Sascha Hauer
2eb9efab80
svn_rev_665
...
change default prompt, add BROKEN label
2007-07-05 18:02:15 +02:00
Sascha Hauer
1db5a31d18
svn_rev_662
2007-07-05 18:02:14 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
bba475d70e
svn_rev_650
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
Sascha Hauer
d08c60e9d7
svn_rev_642
2007-07-05 18:02:12 +02:00
Sascha Hauer
ca5c6cccd5
svn_rev_641
...
obsoleted
2007-07-05 18:02:12 +02:00
Sascha Hauer
2af5209ba8
svn_rev_635
...
move LS_* flags to include/fs.h
2007-07-05 18:02:12 +02:00
Sascha Hauer
e76747a21b
svn_rev_623
...
use read_file
2007-07-05 18:02:10 +02:00
Sascha Hauer
df22d58390
svn_rev_622
...
ups
2007-07-05 18:02:10 +02:00
Sascha Hauer
9810f2466e
svn_rev_618
...
on our way to boot...
2007-07-05 18:02:10 +02:00
Sascha Hauer
394a93ac03
svn_rev_616
2007-07-05 18:02:10 +02:00
Sascha Hauer
b4bf34181a
svn_rev_613
2007-07-05 18:02:10 +02:00
Sascha Hauer
d173d87f91
svn_rev_608
...
no global data
2007-07-05 18:02:09 +02:00
Sascha Hauer
3c33700b0e
svn_rev_606
...
remove malloc_bin_reloc()
2007-07-05 18:02:09 +02:00
Sascha Hauer
e2f1a28306
svn_rev_605
...
make read_file global
2007-07-05 18:02:09 +02:00
Sascha Hauer
9d0f3063a7
svn_rev_604
...
no interrupts
2007-07-05 18:02:09 +02:00
Sascha Hauer
716336f1d4
svn_rev_603
2007-07-05 18:02:09 +02:00
Sascha Hauer
ec4e62aaaf
svn_rev_587
...
find a way through bootm
2007-07-05 18:02:07 +02:00
Sascha Hauer
a20ab07f6b
svn_rev_583
...
remove cmd_autoscript, it's unneeded
2007-07-05 18:02:07 +02:00
Sascha Hauer
f500aa051d
svn_rev_582
...
remove miiphyutil.o
2007-07-05 18:02:07 +02:00
Sascha Hauer
f1a3a825c7
svn_rev_581
...
envsave -> saveenv, envload -> loadenv
2007-07-05 18:02:07 +02:00
Sascha Hauer
367ed9fd09
svn_rev_571
...
add line break to help messages
2007-07-05 18:02:05 +02:00
Sascha Hauer
0a9a681f21
svn_rev_570
...
fix error handling, help string, trailing whitespace
2007-07-05 18:02:05 +02:00
Sascha Hauer
15e2990e9b
svn_rev_568
...
remove cmd_console.c. It's obsoleted
2007-07-05 18:02:05 +02:00
Sascha Hauer
645f6e1ebf
svn_rev_559
...
unify help text style
2007-07-05 18:02:05 +02:00
Sascha Hauer
58f2f06794
svn_rev_558
...
unify menu style
2007-07-05 18:02:04 +02:00
Sascha Hauer
47c44edf23
svn_rev_557
...
coding style, tw
2007-07-05 18:02:04 +02:00
Sascha Hauer
758a1107f8
svn_rev_538
...
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer
494c0b32c1
svn_rev_533
...
Comment out malloc_trim(). This functions gives back memory to the
system via negative calls to sbrk(). This is completely useless in
U-Boot since noone else could make use of this memory.
2007-07-05 18:02:02 +02:00
Sascha Hauer
614ff8b708
svn_rev_532
...
- Do not zero memory in mem_malloc_init because it takes
a long time with big memory. Instead zero it when we actually
need the memory.
- Add sbrk_no_zero() function to allocate memory without zeroing
it. This is usefull for scratch mem devices which occupy large
chunks of memory
2007-07-05 18:02:02 +02:00
Sascha Hauer
f1b8cfbd1d
svn_rev_525
...
make default behaviour of consoles configurable
2007-07-05 18:02:01 +02:00
Sascha Hauer
4cb9aa4176
svn_rev_523
2007-07-05 18:02:01 +02:00
Sascha Hauer
10bf40f2ad
svn_rev_521
2007-07-05 18:02:01 +02:00
Sascha Hauer
e935d1a452
svn_rev_511
2007-07-05 18:02:00 +02:00
Sascha Hauer
227c05eb51
svn_rev_503
2007-07-05 18:01:59 +02:00
Sascha Hauer
fa668fe184
svn_rev_502
...
complete multiple console support
2007-07-05 18:01:59 +02:00
Sascha Hauer
5bffd205f6
svn_rev_500
2007-07-05 18:01:59 +02:00