9
0
Fork 0
Commit Graph

746 Commits

Author SHA1 Message Date
Sascha Hauer ae53e9ef1d CONFIG_MODULE -> CONFIG_MODULES 2007-10-04 12:33:03 +02:00
Sascha Hauer 400b0abab2 hush.c: split high-density "if(x) something"; into two lines 2007-10-01 23:35:33 +02:00
Sascha Hauer ee5847aac7 hush.c: get_local_var() is used only once, put it into the function
where it is called
2007-10-01 23:28:00 +02:00
Sascha Hauer c1ab45e56d fix indention in hush.c 2007-10-01 23:19:18 +02:00
Sascha Hauer a14c000d59 remove comment about glob in hush.c. We do not use glob 2007-10-01 23:17:27 +02:00
Sascha Hauer 53d327d834 fix indention in hush.c 2007-10-01 23:15:52 +02:00
Sascha Hauer f4f3479f13 fix indention in hush.c 2007-10-01 23:13:21 +02:00
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