9
0
Fork 0
Commit Graph

788 Commits

Author SHA1 Message Date
Marc Kleine-Budde fb56fffbcb [sandbox] add propper sandbox detection
This patch adds a __SANDBOX__ define to identify compiling for the
sandbox.
When building for sandbox, don't use sync() workaround.

Fixes this error for sandbox on PPC:

CC      common/memsize.o
common/memsize.c:30:38: error: asm/io.h: No such file or directory
common/memsize.c: In function 'get_ram_size':
common/memsize.c:51: warning: implicit declaration of function 'sync'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:46 +01:00
Marc Kleine-Budde e68ac6368d Revert "separating memory commands"
This reverts commit d59c600c65.

Conflicts:

	commands/Makefile
	common/Kconfig
	common/Makefile

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 23:19:55 +01:00
Robert Schwebel 8c3a496029 add switch to enable debug symbols
Add a symbol to the "Debugging" menu which enables the debug symbols in
u-boot-v2. This makes it possible to view the source code with
'objdump'.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-27 21:32:33 +01:00
Marc Kleine-Budde 56aa0790ae [makesystem] fix default environment handling
This patch fixes the environemnt generate broken in
7b498d9838

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-26 18:32:08 +01:00
Marc Kleine-Budde 7b498d9838 [makesystem] reworked default environment handling
This patch improves the default environment handling, now the makesystem
bails out if the default environment path is empty or points to an
invalid directory (with activated default environment). It also fixes
this error:

find: invalid predicate `'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-19 10:41:00 +01:00
Juergen Beisert 981499dd40 enabling envrionment's autoload at startup
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-16 10:58:08 +01:00
Juergen Beisert 8413d78ab3 separating environment commands, part 2
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert 2966bba216 separating environment commands, part 1
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert d59c600c65 separating memory commands
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert 3ff14ef200 various doc added
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 14:05:23 +01:00
Juergen Beisert 8fe25ecf12 adding various doku 2007-11-08 12:01:52 +01:00
Juergen Beisert 0a13be8de2 various docu added 2007-11-05 15:20:31 +01:00
Juergen Beisert 4cd877a840 saving added docu 2007-11-05 14:39:07 +01:00
Sascha Hauer a26a5ef28f Replace all occurences of UBoot with U-Boot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:20:27 +02:00
Juergen Beisert 30e09b83d5 shell info added 2007-10-19 21:35:46 +02:00
Juergen Beisert 44630acd4a hush doc added 2007-10-19 21:07:43 +02:00
Juergen Beisert 578433a5a8 adding doc, first try 2007-10-19 16:06:13 +02:00
Juergen Beisert 53dd8423a5 adding new doc 2007-10-19 15:23:48 +02:00
Juergen Beisert 15a794bd70 Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-10-19 14:57:05 +02:00
Juergen Beisert afe73cff56 doc added and some reorganised 2007-10-19 14:56:45 +02:00
sascha 9f252faa9f fix some typos 2007-10-19 13:58:30 +02:00
sascha ad72b775f1 Merge octopus:/home/git/projects/u-boot-v2 2007-10-19 13:07:01 +02:00
sascha 8ed683dddb - Insert commands sorted into the command list. This is useful
for commands added via modules.
- Let command aliases show up in help text
2007-10-19 13:06:45 +02:00
Juergen Beisert 6ad2703e6e Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-10-19 11:58:33 +02:00
Juergen Beisert c166d899b7 doc added only 2007-10-19 11:57:06 +02:00
sascha 8a46c1102f move readline command to a file of its own 2007-10-19 11:28:58 +02:00
sascha ceac76ffce Move display_banner() to console.c. This helps us to show
the banner as first message.
2007-10-19 11:04:33 +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 98839f8010 adding noisy support 2007-10-18 21:03:32 +02:00
Juergen Beisert 8ecd28c819 adding noisy support 2007-10-18 21:03:18 +02:00
Sascha Hauer 4d2a896a7b Collect modules in a linked list and implement lsmod. 2007-10-11 22:01:27 +02:00
Sascha Hauer 82e54558b2 Collect all commands in a linked list. This makes it easier to handle
dynamically registered commands.
2007-10-11 21:58:51 +02:00
Sascha Hauer 9626c6084f add module.o and module.lds to Makefile 2007-10-11 20:56:33 +02:00
Sascha Hauer ac8a1f064e Use Linux Kernel list implementation for console devices instead
of homegrown list.
2007-10-11 20:36:57 +02:00
Sascha Hauer 9b391290c2 Fix use of unitialized Variable. Why didn't this come up earlier??? 2007-10-09 08:18:37 +02:00
Sascha Hauer 236d55a06a __u_boot__symtab -> __usymtab 2007-10-07 14:32:08 +02:00
Sascha Hauer 2443c7a6f1 export symbols 2007-10-07 14:27:24 +02:00
Sascha Hauer a680c7f158 add dependency to include/uboot_default_env.h for startup.c 2007-10-04 13:03:18 +02:00
Sascha Hauer e4401ef8a5 add module linker script 2007-10-04 12:46:11 +02:00
Sascha Hauer e7cdabdbb5 module.c: Due to an extra linking step we do not have u_boot_cmd_*
sections anymore. We now have u_boot_cmd and can properly handle
more than one command in a module
2007-10-04 12:45:36 +02:00
Sascha Hauer c23db507f7 add missing include 2007-10-04 12:41:54 +02:00
Sascha Hauer 17c3e64578 export functions 2007-10-04 12:37:06 +02:00
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