Commit graph

1268 commits

Author SHA1 Message Date
Sascha Hauer
21d5fc40df Build system: Use setlocalversion from kernel
Autogenerate a local version from git.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:48:06 +02:00
Sascha Hauer
2b729e45b4 hush: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer
66a936fa64 setenv: Fix warning introduced with last commit
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Nishanth Menon
584f9990a8 Common: expose calloc
calloc is not exported by default. This patch
exposes the same.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Sascha Hauer
65778b63d2 Partition: Add an own device id for partitions
Add an own device id for partitions. This is necessary to allow
the partition layer to check if the given device is really a partition.
Also, check for readonly flag in erase.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:28:10 +02:00
Sascha Hauer
9e64db6342 Partition layer updates
- route MEMGETINFO through partition layer
- use dev_erase/dev_protect instead of direct pointers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer
4c01ac2e0e clocK: Add ndelay function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer
77218fb7a3 Add help texts for Shell options
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer
9ed399627d arm: dump stack space on startup
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer
932b57873d move several commands into extra files
move false, true, help, insmod, lsmod, version into extra files

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:17 +02:00
Sascha Hauer
aca52174a9 console: add a simple console for saving space
Add a simple console layer which is not able to handle multiple
consoles for those who don't need it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:47:10 +02:00
Sascha Hauer
ee6d36a540 - introduce ioctl call
- pass open/close/lseek through to drivers
2008-06-06 09:30:48 +02:00
Nishanth Menon
deaf6db172 007-partitions
[Patch 07/17] U-Boot-V2:Common Make partitions configurable

Not all configurations of Uboot require partitions. This patch modifies partition compilation as configurable param

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:19 +02:00
Nishanth Menon
eb208c746d 002-clock-overflow
[Patch 02/17] U-Boot-V2: Handle case of clock rollover for get_time_ns

get_time_ns does a simplistic delta = cycle_now - cycle_last. It is possible that the h/w counter reached max and reset back to 0.
This patch addresses this issue by checking for rollover condition.

NOTE 1: This does not guarentee that you cannot confuse get_time_ns. You could possibly wait for two reset cycles and then get a messed up value.
To fix that we may need interrupt mode timer tick - something on the lines of jiffies on linux.
NOTE 2: the question of cs->mask is not clear. if the mask is for the tick, then it is better done with (cycle_now & cs->mask) - (cs->cycle_last & cs->mask).

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:08 +02:00
Nishanth Menon
9a364f5157 001-arch-config
[Patch 01/17][Try 3] U-Boot-V2: ARM: Add ARCH lowlevel Init

This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread
http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:03 +02:00
Sascha Hauer
596c845072 [memory layout]: streamline memory layout
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
2008-06-04 11:54:03 +02:00
Sascha Hauer
aa2111e257 fix warnings in malloc code introduced by last commits 2008-06-03 13:30:38 +02:00
Menon, Nishanth
d005435609 Remove part #ifdefed with #if (CONFIG_COMMANDS & CFG_CMD_BOOTD) which is
false everytime
2008-05-12 15:55:55 +02:00
Menon, Nishanth
cb73b0c227 Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INIT
as we rather use positive logic. Make it dependent on boards that
have it rather than on ARM

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-05-12 11:35:15 +02:00
Sascha Hauer
c228b2b84b Trivial comment fix 2008-04-04 14:45:04 +02:00
Sascha Hauer
50cc8c5412 Subject: [PATCH] [general] Fixed constant strings in data section issue
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
f5a9246875 use newly introduced stringlist functions for tab completion 2008-03-11 21:40:40 +01:00
Sascha Hauer
8759e68de2 Add the possibility to have an architecture specific ctrlc() function.
This allows us to return immediately in ctrlc() on sandbox and thus
not slow down network througput.
2008-03-11 00:00:37 +01:00
Sascha Hauer
f0aa2fcd09 replace debug_printf with debug in hush.c 2008-03-09 23:06:20 +01:00
Sascha Hauer
187847b2b4 add globbing support 2008-03-09 22:35:38 +01:00
Sascha Hauer
df31bb46be implement TAB completion 2008-03-01 21:08:14 +01:00
Sascha Hauer
a26eca758e Make the early console device/baudrate configurable instead of using
hardcoded values
2008-02-21 13:05:19 +01:00
Carsten Schlote
7538c06300 [general] Fixed crash in memory allocator
Fixed a bug in sbrk(). When the new mem_brk value returned by
sbrk_no_zero() returns NULL to indicate 'out of memory', sbrk()
still memset()s innocent memory at address NULL.

For some architectures this memory might be empty, so this never
causes a problem. Anyway on Coldfire I still have my vector table
there. Nuking them isn't really a good idea :-)

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-20 20:41:57 +01:00
Sascha Hauer
f95ec8a32d - Add functions to register image handlers for booting uImages 2008-02-20 19:01:54 +01:00
Carsten Schlote
db291de280 [general] Fixed endian handling for envfs
Fixed the handling of data similiar as found in cramfs.

This fixes the problem with an unreadable defaultenv on big-endian
targets.

The endian macors are now loaded from /asm/common.h by default.

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-19 08:56:01 +01:00
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
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
Sascha Hauer
156c1f4531 svn_rev_499
fix compiler warning
2007-07-05 18:01:59 +02:00
Sascha Hauer
ac108b6360 svn_rev_498
fix compiler warnings
2007-07-05 18:01:59 +02:00
Sascha Hauer
8a937c0efa svn_rev_497 2007-07-05 18:01:59 +02:00
Sascha Hauer
9ab09222ff svn_rev_487 2007-07-05 18:01:58 +02:00
Sascha Hauer
fe2d505d4d svn_rev_481
make more char * const, fix compiler warnings
2007-07-05 18:01:58 +02:00
Sascha Hauer
032d2f0268 svn_rev_473
add help text
2007-07-05 18:01:57 +02:00
Sascha Hauer
17f9b2c9ac svn_rev_463
make ppc compile again
2007-07-05 18:01:56 +02:00
Sascha Hauer
d5a108ece3 svn_rev_462
- Add help texts for many commands.
- Let the linker sort the command table.
- Add support for multiple argmuments in several commands
  (mkdir, rmdir, rm, cat)
2007-07-05 18:01:55 +02:00
Sascha Hauer
58c3774381 svn_rev_459 2007-07-05 18:01:55 +02:00
Sascha Hauer
74d709a6dc svn_rev_458 2007-07-05 18:01:55 +02:00
Sascha Hauer
2c835efc1b svn_rev_457 2007-07-05 18:01:55 +02:00
Sascha Hauer
9c9c4db6be svn_rev_456
use xzalloc
2007-07-05 18:01:55 +02:00
Sascha Hauer
ec911fa421 svn_rev_454 2007-07-05 18:01:55 +02:00
Sascha Hauer
5d150ba82e svn_rev_445 2007-07-05 18:01:54 +02:00
Sascha Hauer
b9d6d30be8 svn_rev_443 2007-07-05 18:01:54 +02:00
Sascha Hauer
5335912a97 svn_rev_441
add errno_str()
2007-07-05 18:01:54 +02:00
Sascha Hauer
49e479cecb svn_rev_439
fix file reading
2007-07-05 18:01:54 +02:00
Sascha Hauer
50f42153cb svn_rev_435
rename
2007-07-05 18:01:53 +02:00
Sascha Hauer
b2a900da4c svn_rev_434 2007-07-05 18:01:53 +02:00
Sascha Hauer
145ad2c4be svn_rev_433 2007-07-05 18:01:53 +02:00
Sascha Hauer
07045831cd svn_rev_430 2007-07-05 18:01:53 +02:00
Sascha Hauer
2eec7c7d41 svn_rev_427 2007-07-05 18:01:53 +02:00
Sascha Hauer
b2b81e2f63 svn_rev_424 2007-07-05 18:01:52 +02:00
Sascha Hauer
e694adc6a4 svn_rev_420
- do more POSIX:
  - use DIR instead of struct dirent
  - use (struct dirent)->d_name instead of (struct dirent)->name
- switch to a new layout for U_BOOT_CMD:
  - use C99 initializers to be able to add more fields to the
    command struct
  - add aliases for commands (needed mainly for help -> ? and test -> [
  - This is not done for all commands yet, but the compiler will tell you ;)
2007-07-05 18:01:52 +02:00
Sascha Hauer
2692aaeb76 svn_rev_419
add ifdef for host compilation
2007-07-05 18:01:52 +02:00
Sascha Hauer
007c37fb9a svn_rev_418
do not use getopt
2007-07-05 18:01:52 +02:00
Sascha Hauer
680ed15c90 svn_rev_413 2007-07-05 18:01:51 +02:00
Sascha Hauer
005ce6fef6 svn_rev_412
remove repeatable commands
2007-07-05 18:01:51 +02:00
Sascha Hauer
bab62fdf4b svn_rev_404
re-add timeout checking in sleep command
2007-07-05 18:01:50 +02:00
Sascha Hauer
d2cfd74e13 svn_rev_400
bring some light into the forest
2007-07-05 18:01:50 +02:00
Sascha Hauer
32f3bba54f svn_rev_398
remove disable_ctrlc(), had_ctrlc() and clear_ctrlc()
2007-07-05 18:01:50 +02:00
Sascha Hauer
d402b885ce svn_rev_397
add -f option for file selection in mm/mw
2007-07-05 18:01:50 +02:00
Sascha Hauer
84ae341049 svn_rev_395
make more functions static, implement cd/pwd commands
2007-07-05 18:01:50 +02:00
Sascha Hauer
b1e9804fff svn_rev_393 2007-07-05 18:01:49 +02:00
Sascha Hauer
5f9cd32802 svn_rev_392
- remove u_boot_hush_start()
- remove u_boot_hush_reloc()
- remove repeatable commands
- do not use local variable handling anymore
2007-07-05 18:01:49 +02:00
Sascha Hauer
20294d061c svn_rev_386
remove old saveenv, allow setenv/getenv to change device parameters
2007-07-05 18:01:49 +02:00
Sascha Hauer
f6feb18cdc svn_rev_385
u_boot_hush_start() is gone, change to new readline prototype
2007-07-05 18:01:49 +02:00
Sascha Hauer
6010c51097 svn_rev_384 2007-07-05 18:01:49 +02:00
Sascha Hauer
0c30ca38a1 svn_rev_383 2007-07-05 18:01:49 +02:00
Sascha Hauer
abbe1817c3 svn_rev_381
change readline prototype to be independent of global console_buffer
2007-07-05 18:01:48 +02:00
Sascha Hauer
af347d05ab svn_rev_380
add support for multipple consoles
2007-07-05 18:01:48 +02:00
Sascha Hauer
4c16d48f03 svn_rev_375
add readline, true, false commands
2007-07-05 18:01:48 +02:00
Sascha Hauer
15edc0849b svn_rev_374
moved from command.c, implement file output
2007-07-05 18:01:48 +02:00
Sascha Hauer
c8acba7f32 svn_rev_373
fix warning
2007-07-05 18:01:48 +02:00
Sascha Hauer
3b76ed1021 svn_rev_370
fixups for last commit
2007-07-05 18:01:48 +02:00
Sascha Hauer
46743ea28f svn_rev_369
include asm-generic in errno.h instead of all other files
2007-07-05 18:01:47 +02:00
Sascha Hauer
3908b10514 svn_rev_367
fix mem hole
2007-07-05 18:01:47 +02:00
Sascha Hauer
f5b009b827 svn_rev_363
add mallocinfo command
2007-07-05 18:01:47 +02:00
Sascha Hauer
cbde3b9bbc svn_rev_358 2007-07-05 18:01:46 +02:00
Sascha Hauer
a87f0a7f18 svn_rev_353 2007-07-05 18:01:46 +02:00
Sascha Hauer
cc43d146a8 svn_rev_350 2007-07-05 18:01:45 +02:00
Sascha Hauer
3dcea5f3a8 svn_rev_343 2007-07-05 18:01:45 +02:00
Sascha Hauer
a7456a60b8 svn_rev_341
remove parse_string_outer
2007-07-05 18:01:45 +02:00
Sascha Hauer
95779befbc svn_rev_340
temporarily add some startup commands
2007-07-05 18:01:45 +02:00
Sascha Hauer
a8699cf677 svn_rev_335
add envload/envsave functions
2007-07-05 18:01:44 +02:00
Sascha Hauer
158c5812a6 svn_rev_334
remove modem support leftover, #if 0 do_run
2007-07-05 18:01:44 +02:00
Sascha Hauer
6c921c779b svn_rev_333
add include
2007-07-05 18:01:44 +02:00
Sascha Hauer
3dcd63a9bd svn_rev_332
make errno messages optional
2007-07-05 18:01:44 +02:00
Sascha Hauer
eb199c31f2 svn_rev_328
make md/mm work again
2007-07-05 18:01:44 +02:00
Sascha Hauer
78a8e445d9 svn_rev_326
implement mount without args, implement rm and rmdir
2007-07-05 18:01:43 +02:00
Sascha Hauer
05be7fb930 svn_rev_316
make help command removable
2007-07-05 18:01:43 +02:00
Sascha Hauer
1b1ff62421 svn_rev_313
add common readkey function for readline and cmd_edit
2007-07-05 18:01:42 +02:00
Sascha Hauer
4497963458 svn_rev_312
add xzalloc function
2007-07-05 18:01:42 +02:00
Sascha Hauer
798de5071d svn_rev_307
some main.c cleanup:
- move the parser used when hush is disabled to parser.c
- move readline related functions to readline.c (with cmdline editing)
  and readline_simple.c (no cmdline editing)
2007-07-05 18:01:42 +02:00
Sascha Hauer
437dcca154 svn_rev_303
add CMD_EDIT and DYNAMIC_CRC_TABLE
2007-07-05 18:01:41 +02:00
Sascha Hauer
1a15aa9b12 svn_rev_302 2007-07-05 18:01:41 +02:00
Sascha Hauer
479d8ffb5e svn_rev_300
add exec command
2007-07-05 18:01:41 +02:00
Sascha Hauer
a13560f80e svn_rev_297 2007-07-05 18:01:41 +02:00
Sascha Hauer
b91b171bae svn_rev_295
add error handling for erase
2007-07-05 18:01:40 +02:00
Sascha Hauer
37d198dfa1 svn_rev_294 2007-07-05 18:01:40 +02:00
Sascha Hauer
ba9bb79ae2 svn_rev_293 2007-07-05 18:01:40 +02:00
Sascha Hauer
27a44f6c7e svn_rev_289
add opt parsing for ls (-R)
2007-07-05 18:01:40 +02:00
Sascha Hauer
154e62e00f svn_rev_285
fix bug when last opt in optstr has no arguments
2007-07-05 18:01:40 +02:00
Sascha Hauer
f0c67c6581 svn_rev_283
add xfuncs
2007-07-05 18:01:39 +02:00
Sascha Hauer
488afcc90d svn_rev_282
add getopt(3) implementation
2007-07-05 18:01:39 +02:00
Sascha Hauer
a4b702a62f svn_rev_280
move ppc linux startup to arch/ppc
2007-07-05 18:01:39 +02:00
Sascha Hauer
ed7c968959 svn_rev_276
fix warnings
2007-07-05 18:01:39 +02:00
Sascha Hauer
ace5d5bc2b svn_rev_275 2007-07-05 18:01:39 +02:00
Sascha Hauer
9b4dfd7995 svn_rev_272
more FS work
2007-07-05 18:01:38 +02:00
Sascha Hauer
112ada667b svn_rev_270
WIP FS support
2007-07-05 18:01:38 +02:00
Sascha Hauer
4e7505eb8d svn_rev_269 2007-07-05 18:01:38 +02:00
Sascha Hauer
cf7a56fc78 svn_rev_268
WIP
2007-07-05 18:01:38 +02:00
Sascha Hauer
5c1f086941 svn_rev_267 2007-07-05 18:01:38 +02:00
Sascha Hauer
4cef4bdd6e svn_rev_262
add errno strings
2007-07-05 18:01:38 +02:00
Sascha Hauer
c22c631e8d svn_rev_248
collect all usb related stuff and put it into drivers/usb
2007-07-05 18:01:36 +02:00
Sascha Hauer
0ed157cd19 svn_rev_234
beginning filesystem support
2007-07-05 18:01:35 +02:00
Sascha Hauer
b0acb4cfba svn_rev_230
remove unused variable
2007-07-05 18:01:35 +02:00
Sascha Hauer
8dcc816ba9 svn_rev_227
fix parameter handling
2007-07-05 18:01:34 +02:00
Sascha Hauer
96451829cc svn_rev_221
move dhcp out of netboot_common
2007-07-05 18:01:34 +02:00
Sascha Hauer
5376127c07 svn_rev_219
fix off-by-one error
2007-07-05 18:01:34 +02:00
Sascha Hauer
c8951fd70b svn_rev_218
- implement '-' for rest of device
- fix memory holes
2007-07-05 18:01:34 +02:00
Sascha Hauer
b8bd8eea1c svn_rev_217
add missing include
2007-07-05 18:01:33 +02:00
Sascha Hauer
a5bf47e33a svn_rev_207
move several config options to kconfig
2007-07-05 18:01:33 +02:00
Sascha Hauer
a9ff695f47 svn_rev_206
add spec parsing for load adr
2007-07-05 18:01:32 +02:00
Sascha Hauer
d53c3d5fa2 svn_rev_205
move memory test to extra file
2007-07-05 18:01:32 +02:00
Sascha Hauer
ae14552c24 svn_rev_192
make struct static
2007-07-05 18:01:31 +02:00
Sascha Hauer
c04de65546 svn_rev_185
small cleanups
2007-07-05 18:01:30 +02:00
Sascha Hauer
f9a07ee39b svn_rev_181
add perror function (which does not do much yet)
2007-07-05 18:01:30 +02:00
Sascha Hauer
d8c247e00d svn_rev_180
move prompt to menuconfig
2007-07-05 18:01:30 +02:00
Sascha Hauer
56c5a861ce svn_rev_178
remove unneeded ifdef for arm, remove global data
2007-07-05 18:01:30 +02:00
Sascha Hauer
0c48f25ade svn_rev_173
WIP
2007-07-05 18:01:29 +02:00
Sascha Hauer
957a710f42 svn_rev_172
WIP
2007-07-05 18:01:29 +02:00
Sascha Hauer
53d3195be1 svn_rev_167
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer
abfeb961e0 svn_rev_166
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer
708897f52f svn_rev_165
move arm board.c to generic
2007-07-05 18:01:29 +02:00
Sascha Hauer
2e8ca97d8d svn_rev_153
remove global data #2
2007-07-05 18:01:28 +02:00
Sascha Hauer
a8421600d1 svn_rev_152
remove global data gd_t and board info bd_t entirely for arm
2007-07-05 18:01:28 +02:00
Sascha Hauer
42e2dbc120 svn_rev_149
no need for bi_dram in global data (untested)
2007-07-05 18:01:27 +02:00
Sascha Hauer
a4529648b1 svn_rev_147
remove env_*.o, add env.o
2007-07-05 18:01:27 +02:00
Sascha Hauer
ca8d1c15a3 svn_rev_143
add echo command
2007-07-05 18:01:27 +02:00
Sascha Hauer
23c3d84586 svn_rev_142 2007-07-05 18:01:27 +02:00
Sascha Hauer
2d7e11c6bc svn_rev_139
add error values for memory_display, fix ctrl-c
2007-07-05 18:01:26 +02:00
Sascha Hauer
8945b0589e svn_rev_137
new env functions
2007-07-05 18:01:26 +02:00
Sascha Hauer
87ba5dfb46 svn_rev_135
CFG_CMD_ECHO -> CONFIG_CMD_ECHO
2007-07-05 18:01:26 +02:00
Sascha Hauer
b0c5815f03 svn_rev_131
remove old env routines
2007-07-05 18:01:25 +02:00
Sascha Hauer
4a01ad9260 svn_rev_128
remove more console stuf
2007-07-05 18:01:25 +02:00
Sascha Hauer
8e2b6e1cc1 svn_rev_126
add memarea parsing for bootm
2007-07-05 18:01:25 +02:00
Sascha Hauer
a0b0cfc5ed svn_rev_121
implement device parameters
2007-07-05 18:01:25 +02:00
Sascha Hauer
55ebf67d3e svn_rev_120
implement initcalls
2007-07-05 18:01:24 +02:00
Sascha Hauer
658cc34395 svn_rev_118
thousands of things
2007-07-05 18:01:24 +02:00
Sascha Hauer
abfbbad1eb svn_rev_109
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer
b568781ce7 svn_rev_106 2007-07-05 18:01:23 +02:00
Sascha Hauer
0076566b67 svn_rev_105
make them compile
2007-07-05 18:01:23 +02:00
Sascha Hauer
f41ea19ff5 svn_rev_098
moved commands to net
2007-07-05 18:01:22 +02:00
Sascha Hauer
8879f9d990 svn_rev_097
I did not even know such things were there
2007-07-05 18:01:22 +02:00
Sascha Hauer
793babe674 svn_rev_094
generic/remove_autostart.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
ef64979354 svn_rev_093
generic/remove_autostart.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
b3cecec441 svn_rev_092
generic/remove_autoload.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
45a0fa5ac5 svn_rev_091
generic/remove_loop_cmd.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
936b1a47ac svn_rev_090
generic/remove_mem_base_address.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
e07edcb107 svn_rev_088
generic/u-boot-cmd-splash.diff
2007-07-05 18:01:21 +02:00
Sascha Hauer
dd243ada8a svn_rev_083
mx31/move_include_asm-arm_arch-arm1136_to_arch-omap24xx.diff
2007-07-05 18:01:21 +02:00
Sascha Hauer
dfe1926f76 svn_rev_079
u-boot-do-not-repeat-erase.diff
2007-07-05 18:01:20 +02:00
Sascha Hauer
a71f3f7828 svn_rev_078
u-boot-no-tftp-in-flash
2007-07-05 18:01:20 +02:00
Sascha Hauer
6e4fc59650 svn_rev_069
comment out all not essetially needed stuff
2007-07-05 18:01:19 +02:00
Sascha Hauer
c03bd6446c svn_rev_049
Kconfig WIP
2007-07-05 18:01:17 +02:00
Sascha Hauer
75b1108694 svn_rev_044
remove ifdef
2007-07-05 18:01:16 +02:00
Sascha Hauer
bf78e1c8d4 svn_rev_043
split up load commands in two files, remove hwflow command
2007-07-05 18:01:16 +02:00
Sascha Hauer
f3a824d624 svn_rev_042
remove ifdefs
2007-07-05 18:01:16 +02:00
Sascha Hauer
c1e854b699 svn_rev_041
remove ifdefs
2007-07-05 18:01:16 +02:00
Sascha Hauer
0a5f7a0fd7 svn_rev_040
remove ifdefs
2007-07-05 18:01:16 +02:00
Sascha Hauer
60f1382f4a svn_rev_039
remove autoscript ifdefs and senseless automatic execution of scripts
2007-07-05 18:01:16 +02:00
Sascha Hauer
0c70637626 svn_rev_038
move helper function cmd_get_data_size to generic, add header for it
2007-07-05 18:01:16 +02:00
Sascha Hauer
80a54991a1 svn_rev_037
ifdef cleanup
2007-07-05 18:01:16 +02:00
Sascha Hauer
ecc062af5c svn_rev_036
remove CONFIG_OMAP2420H4 ifdefs. Do your fixups somewhere else
2007-07-05 18:01:16 +02:00
Sascha Hauer
363266d818 svn_rev_033
change to clocksource api
2007-07-05 18:01:15 +02:00
Sascha Hauer
390c9283ab svn_rev_031
add clocksource stuff from kernel and first implementation (imx) (WIP)
2007-07-05 18:01:15 +02:00
Sascha Hauer
d2bf9bf488 svn_rev_025
remove get_tbclk from architectures other than powerpc
2007-07-05 18:01:15 +02:00
Sascha Hauer
a575d64811 svn_rev_023
remove CFG_CMD_MEMORY
2007-07-05 18:01:15 +02:00
Sascha Hauer
603e2e7dc0 svn_rev_016
update Makefiles to kbuild
2007-07-05 18:01:14 +02:00
Sascha Hauer
3c5e2cd5da svn_rev_014 2007-07-05 18:01:14 +02:00
Sascha Hauer
865719ab6d svn_rev_010
unifdef HAVE_MMAP
2007-07-05 18:01:13 +02:00
Sascha Hauer
56e32343eb svn_rev_009
add autogenerated links
2007-07-05 18:01:13 +02:00
Sascha Hauer
162484b83c svn_rev_003
remove all #if 0 and #if 1
2007-07-05 18:01:13 +02:00
Bartlomiej Sieka
c84bad0ef6 Fix to make the baudrate changes immediate for the MCF52x2 family. 2006-12-20 00:29:43 +01:00
Bartlomiej Sieka
daa6e418bc Preliminary support for the iDMR board (ColdFire). 2006-12-20 00:27:32 +01:00
Wolfgang Denk
dd520bf314 Code cleanup. 2006-11-30 18:02:20 +01:00
Wolfgang Denk
ab07b6c221 Merge with http://opensource.freescale.com/pub/scm/u-boot-83xx.git 2006-11-30 02:01:32 +01:00
Stefan Roese
1bdd46832a [PATCH] common/cmd_elf.c: Enable loadaddr as parameter in bootvx command
In the bootvx command the load address was only read from the env
variable "loadaddr" and not optionally passed as paramter as described
in the help. This is fixed with this patch. The behaviour is now the
same as in the bootelf command.

Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-29 16:13:43 +01:00
Kim Phillips
32081125a0 Merge http://www.denx.de/git/u-boot 2006-11-28 23:35:49 -06:00
Timur Tabi
e857a5bdb3 mpc83xx: Miscellaneous code style fixes
Implement various code style fixes and similar changes.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-28 23:34:30 -06:00
Wolfgang Denk
d2c83f5493 Merge with /home/sr/git/u-boot/denx-alpr-merge-test 2006-11-27 23:11:18 +01:00
Stefan Roese
da5553b095 [PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel
This patch allows an arch/ppc kernel to be booted by just passing 1 or 2
arguments to bootm.  It removes the getenv("disable_of") test that used
to be used for this purpose.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jon Loeliger <jdl@freescale.com>
2006-11-27 17:04:06 +01:00
Stefan Roese
dfc8a9ee00 Merge with /home/stefan/git/u-boot/denx 2006-11-10 07:48:47 +01:00
Wolfgang Denk
91650b3e4d Sequential accesses to non-existent memory must be synchronized,
at least on G2 cores.

This fixes get_ram_size() problems on MPC5200 Rev. B boards.
2006-11-06 17:06:36 +01:00
Ben Warren
bb99ad6d82 Add support for multiple I2C buses
Hello,

Attached is a patch providing support for multiple I2C buses at the
command level.  The second part of the patch includes an implementation
for the MPC834x CPU and MPC8349EMDS board.

/*** Note: This patch replaces ticket DNX#2006083042000018 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>

Overview:

1. Include new 'i2c' command (based on USB implementation) using
CONFIG_I2C_CMD_TREE.

2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS.  Note that
the commands to change bus number and speed are only available under the
new 'i2c' command mentioned in the first bullet.

3. The option CFG_I2C_NOPROBES has been expanded to work in multi-bus
systems.  When CONFIG_I2C_MULTI_BUS is used, this option takes the form
of an array of bus-device pairs.  Otherwise, it is an array of uchar.

CHANGELOG:
        Added new 'i2c' master command for all I2C interaction.  This is
conditionally compiled with CONFIG_I2C_CMD_TREE.  New commands added for
setting I2C bus speed as well as changing the active bus if the board
has more than one (conditionally compiled with
CONFIG_I2C_MULTI_BUS).  Updated NOPROBE logic to handle multiple buses.
Updated README.

regards,
Ben
2006-11-03 19:42:19 -06:00
Stefan Roese
856f054410 [PATCH] NAND: Partition name support added to NAND subsystem
chpart, nboot and NAND subsystem related commands now accept also partition
name to specify offset.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-10-28 17:11:10 +02:00
Wolfgang Denk
471a7be7a0 Check for illegal character '=' in environment variable names.
Make sure the string passed as variable name does not contain a '='
character. This not only prevents the common error or typing
"setenv foo=bar" instead of "setenv foo bar", but (more importantly)
also closes a backdoor which allowed to delete write-protected
environment variables, for example by using "setenv ethaddr=".
2006-10-28 01:14:32 +02:00
Wolfgang Denk
19973b6ad9 Minor code cleanup. 2006-10-28 00:38:39 +02:00
Wolfgang Denk
2b2a40bebb Code cleanup. 2006-10-26 16:24:31 +02:00
Wolfgang Denk
b9e9adce0b Merge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_tree 2006-10-26 16:18:49 +02:00
Kumar Gala
c76f951a74 Added support for Multi-Image files that contain a device tree
If a Multi-Image file contains a third image we try to use it as a
device tree.  The device tree image is assumed to be uncompressed in the
image file.  We automatically allocate space for the device tree in memory
and provide an 8k pad to allow more than a reasonable amount of growth.

Additionally, a device tree that was contained in flash will now automatically
get copied to system memory as part of boot.  Previously an error was
reported if one tried to boot a device tree that was in flash.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2006-10-24 23:47:37 -05:00
Wolfgang Denk
4e53a25855 Fix Makefile for "CHANGELOG" target
Merge with /home/sr/git/u-boot/4xx-idcr
2006-10-25 00:43:17 +02:00
Wolfgang Denk
d97370feca Merge with /home/wd/git/u-boot/master
(Conflicts between Jon Loeliger's and Matthew McClintock's tree
 were resolved by in favour of Jon's version.)
2006-10-24 17:08:31 +02:00
Wolfgang Denk
d67c14c0f4 Merge with http://www.jdl.com/software/u-boot-86xx.git 2006-10-20 23:52:58 +02:00
Wolfgang Denk
9fa48022e5 Merge with /home/wd/git/u-boot/master 2006-10-20 23:04:42 +02:00
Wolfgang Denk
ba999c531e Cleanup compile warnings. Prepare for release 1.1.5 2006-10-20 17:54:33 +02:00
Wolfgang Denk
f641471498 MCC200: Fix uninitialized variable problem in LCD driver 2006-10-20 15:51:21 +02:00
Stefan Roese
43a2b0e76a Add board/cpu specific NAND chip select function to 440 NDFC
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006
2006-10-20 15:17:55 +02:00
Wolfgang Denk
73652699dd Coding style cleanup 2006-10-20 12:02:59 +02:00
Jon Loeliger
13a7fcdf37 * Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-10-19 11:33:52 -05:00
Stefan Roese
af9e1f5b9e Add monitor functions for indirect access to PPC440 DCR's
Patch by Leonid Baryudin, 12 Oct 2006
2006-10-17 06:21:55 +02:00
Jon Loeliger
f7b190d312 Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-12 11:29:33 -05:00
Grant Likely
1eaf3a5ff4 Fix possible uninitialized variable compiler warning.
When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
do_bootm_linux() may be uninitialized.  There is no possibility in the
current code that len will get used uninitialized, but this fix follows
the existing convention of setting both len and data to zero at the same
time.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2006-10-12 08:42:03 -05:00
Wolfgang Denk
87621bc247 Fix spelling; minor code cleanup. 2006-10-12 11:43:47 +02:00
Wolfgang Denk
34a7ceeff4 Merge with /home/wd/git/u-boot/master 2006-10-12 01:26:20 +02:00
Wolfgang Denk
7e2a24dca9 Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd 2006-10-11 23:54:37 +02:00
Matthew McClintock
7376eb87aa * Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-10-11 15:13:01 -05:00
Jon Loeliger
c3c3b089ad Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-11 10:16:01 -05:00
Stefan Roese
752d6837c3 Cleanup of NAND update patch (remove changelog from cmd_nand.c)
Patch by Guido Classen, 10 Oct 2006
2006-10-11 17:04:11 +02:00
Wolfgang Denk
fb883a521e Merge with /home/wd/git/u-boot/master 2006-10-11 14:15:21 +02:00
Jon Loeliger
daaba9859b Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-10 17:21:42 -05:00
Stefan Roese
2255b2d204 * Several improvements to the new NAND subsystem:
- JFFS2 related commands implemented in mtd-utils style
  - Support for bad blocks
  - Bad block testing commands
  - NAND lock commands
  Please take a look at doc/README.nand for more details
  Patch by Guido Classen, 10 Oct 2006
2006-10-10 12:38:50 +02:00
Wolfgang Denk
a3bb7bfc06 Merge with /home/sr/git/u-boot/avr32 2006-10-09 13:32:53 +02:00
Stefan Roese
1a1b7374b8 Define IH_CPU_AVR32
Make it possible to generate AVR32 uImage files with mkimage and
make cmd_bootm recognize them.
Patch by Haavard Skinnemoen, 22 Sep 2006
2006-10-09 13:02:00 +02:00
Wolfgang Denk
d262a92f0f Fix buffer overflow problem in ft_build.c
Patch by Fredrik Roubert, 09 Oct 2006
2006-10-09 12:50:41 +02:00
Wolfgang Denk
2b208f5308 Move "ar" flags to config.mk to allow for silent "make -s"
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09 01:02:05 +02:00
Wolfgang Denk
511d0c72b8 Coding style cleanup 2006-10-09 00:42:01 +02:00
Stefan Roese
77d5034847 Remove compile warnings in fpga code
Patch by Stefan Roese, 07 Oct 2006
2006-10-07 11:33:03 +02:00
Jon Loeliger
afa98843e4 Merge branch 'master' of http://www.denx.de/git/u-boot
Conflicts:

	board/stxxtc/Makefile
2006-09-19 08:51:24 -05:00
Stefan Roese
64cd52efd1 Merge with /home/stefan/git/u-boot/denx 2006-09-18 10:48:03 +02:00
Wolfgang Denk
5d5269f87f Merge with /home/sr/git/u-boot/denx 2006-09-13 10:25:40 +02:00
Wolfgang Denk
a87d46f732 Fix alignment problem in "mtdparts" command 2006-09-13 10:23:06 +02:00
Stefan Roese
d12ae80889 Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006
2006-09-12 20:19:10 +02:00
Stefan Roese
887e2ec9ec Add support for AMCC Sequoia PPC440EPx eval board
- Add support for PPC440EPx & PPC440GRx
- Add support for PPC440EP(x)/GR(x) NAND controller
  in cpu/ppc4xx directory
- Add NAND boot functionality for Sequoia board,
  please see doc/README.nand-boot-ppc440 for details
- This Sequoia NAND image doesn't support environment
  in NAND for now. This will be added in a short while.
Patch by Stefan Roese, 07 Sep 2006
2006-09-07 11:51:23 +02:00
Wolfgang Denk
6741ae92f3 Merge with /home/m8/git/u-boot 2006-09-04 01:03:57 +02:00
Wolfgang Denk
fc43de0d4a Merge with /home/wd/git/u-boot/master 2006-09-03 18:13:21 +02:00
Marian Balakowicz
f93286397e Add support for a saving build objects in a separate directory.
Modifications are based on the linux kernel approach and
support two use cases:

  1) Add O= to the make command line
  'make O=/tmp/build all'

  2) Set environement variable BUILD_DIR to point to the desired location
  'export BUILD_DIR=/tmp/build'
  'make'

The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'

Command line 'O=' setting overrides BUILD_DIR environent variable.

When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
2006-09-01 19:49:50 +02:00
Detlev Zundel
d7c2a02dea Added simple_strtoul(), getenv() and setenv() to the exported functions.
Also bumped up ABI version to reflect this change.
2006-09-01 15:00:02 +02:00
Wolfgang Denk
7d0432c9e4 Coding Style cleanup.
Patch by Stefano Babic, 31 Aug 2006
2006-08-31 16:46:53 +02:00
Wolfgang Denk
e8143e72e1 Add splashscreen support for MCC200 board. 2006-08-30 23:09:00 +02:00
Wolfgang Denk
0fd30252c8 Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled 2006-08-30 23:02:10 +02:00
Zhang Wei
88c8f4921f Fixed an OF-tree off-by-one bug when adding a new property name.
This bug will cause the kernel booting to pause a long time.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
(cherry picked from 2f15776ccc commit)
2006-08-30 14:33:50 -05:00
Jon Loeliger
b5338b23a1 Merge branch 'mpc85xx' 2006-08-29 08:47:20 -05:00
Zhang Wei
2f15776ccc Fixed an OF-tree off-by-one bug when adding a new property name.
This bug will cause the kernel booting to pause a long time.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
2006-08-29 08:11:34 -05:00
Matthew McClintock
b2b78421d9 * Another small fix for booting with disable_of
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-23 13:32:45 -05:00
Jon Loeliger
5e4c24bcb3 Merge branch 'mpc86xx' 2006-08-23 10:40:37 -05:00
Jin Zhengxiong
4782ac80b0 Add AHCI support to u-boot
Add AHCI support in u-boot, enable the sata disk controllers which
following the AHCI protocol.

Signed-off-by:Jason Jin<jason.jin@freescale.com>
2006-08-23 10:39:01 -05:00
Jon Loeliger
4b7576fb80 Merge branch 'master' of http://www.denx.de/git/u-boot 2006-08-22 10:17:59 -05:00
Matthew McClintock
5de62c47a8 Fix disable_of booting
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22 09:31:59 -05:00
Matthew McClintock
87a449c8ac Support for FDT in uImage format, error when using FDT from flash
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22 09:23:55 -05:00
Bartlomiej Sieka
ddde6b7cf8 Add a fix for a buggy USB device on the FO300 board. 2006-08-22 10:38:18 +02:00
Wolfgang Denk
4a39616da4 Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd 2006-08-19 02:04:56 +02:00
Haiying Wang
75c299c383 Unlock cache before kernel starts up for MPC86xx 2006-08-17 11:02:12 -05:00
Haiying Wang
1c8f6d8fb0 Unlock cache before kernel starts up for MPC86xx 2006-08-17 11:00:27 -05:00
Matthew McClintock
86c8e17f25 * Fix disable_of booting
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-16 13:59:47 -05:00
Matthew McClintock
25c751e9ad * Support for FDT in uImage format, error when using FDT from flash
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-16 10:54:09 -05:00
Stefan Roese
f0ff4692ff Add FPGA Altera Cyclone 2 support
Patch by Heiko Schocher, 15 Aug 2006
2006-08-15 14:15:51 +02:00
Wolfgang Denk
c72d9c5285 Merge with /home/sr/git/u-boot/denx 2006-08-13 02:25:32 +02:00
Jon Loeliger
92c427b189 Merge branch 'mpc85xx'
Conflicts:

	include/ft_build.h
	include/pci.h

Resolved, though.
2006-08-09 14:41:17 -05:00
Matthew McClintock
5498d90312 * Patch to modify ft_build.c to update flat device trees in place Patch by Matthew McClintock 26-June-2006 2006-08-09 13:50:18 -05:00
Matthew McClintock
0267768edd * Modify bootm command to support booting with flat device trees Patch by Matthew McClintock 26-June-2006 2006-08-09 13:50:11 -05:00
Jon Loeliger
281f69ede2 Merge branch 'wd' 2006-08-09 13:36:54 -05:00
Wolfgang Denk
6587f7e1e9 Merge with /home/tur/proj/usb_sticks/u-boot 2006-08-07 20:28:05 +02:00
Stefan Roese
d8f961bbda Fix control-c handing in CONFIG_CMDLINE_EDITING
Properly pass break code back from readline.
Patch by Roger Blofeld, 31 Jul 2006
2006-08-07 15:08:44 +02:00
Stefan Roese
e335496a32 Change "mii info" to not print an error upon missing PHY at address
Patch by Stefan Roese, 07 Aug 2006
2006-08-07 14:29:04 +02:00
Bartlomiej Sieka
e51aae3829 Prevent USB commands from working when USB is stopped. 2006-08-03 23:20:13 +02:00
Bartlomiej Sieka
7455af41d1 Add rudimentary handling of alternate settings of USB interfaces - to fix
problems with some USB storage devices. Some code readability improvements.
2006-08-02 00:54:18 +02:00
Stefan Roese
3ca9122fec Fix CONFIG_CMDLINE_EDITING implementation
Patch by Stefan Roese, 27 Jul 2006
2006-07-27 16:11:19 +02:00
Wolfgang Denk
966083e95f More code cleanup 2006-07-21 15:24:56 +02:00
Wolfgang Denk
b9365a26a1 Code cleanup 2006-07-21 11:56:05 +02:00
Wolfgang Denk
029b6dc77c Make code better readable.
Patch by Ladislav Michl, 14 Sep 2005
2006-07-21 11:37:40 +02:00
Wolfgang Denk
dd9f06f0d5 Minor code cleanup. 2006-07-21 11:34:34 +02:00
Wolfgang Denk
501090aaa6 Add readline cmdline-editing extension
Patch by JinHua Luo, 01 Sep 2005
2006-07-21 11:33:45 +02:00
Wolfgang Denk
311d802790 Check argument count in "mii" command.
Problem pointed out by Andrew Dyer, 13 Jun 2005
2006-07-21 11:20:46 +02:00
Wolfgang Denk
45a212c4d7 Add support for new TQM5200 revisions
- Support for TQM5200S (short version without graphic controller)
- Support for modules with 'N' type S29GL128N Spansion flashes
  (requires changes to flash layout)
- Support for MPC5200B cpu (mostly support for second SDRAM bank)
2006-07-19 17:52:30 +02:00
Jon Loeliger
0f2859689a Merge branch 'mpc86xx' 2006-07-13 10:58:28 -05:00
Haiying Wang
bea3f28d28 Add support for reading and writing mac addresses to or from ID EEPROM.
Added code for reading and writing Mac addresses to/from ID EEPROM(0x57).
With attached patch, we can use command "mac/mac read/mac save/"
to read and write EEPROM under u-boot prompt.

U-boot will calculate the checksum of EEPROM while bootup,
if it is right, then u-boot will check whether the mac address
of eTSEC0/1/2/3 is availalbe (non-zero).

If there is mac address availabe in EEPROM, u-boot will use it,
otherewise, u-boot will use the mac address defined in
MPC8641HPCN.h. This matches the requirement to set unique mac address
for each TSEC port.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
2006-07-13 10:57:37 -05:00
Jin Zhengxiong
fcb28e7634 Fixed initrd issue by define big RAM
Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-07-13 10:35:10 -05:00
Bartlomiej Sieka
f88a0ae6d7 Fix problems with SanDisk Corporation Cruzer Micro USB memory stick. 2006-07-13 15:32:16 +02:00
Wolfgang Denk
9d40799551 Major PCMCIA Cleanup to make code better readable and maintainable.
Notes:
- Board-dependend code for RPXLITE and RPXCLASSIC-based boards
  placed to the drivers/rpx_pmcia.c file to avoid duplication.
  Same for TQM8xx-based boards (drivers/tqm8xx_pmcia.c).
- drivers/i82365.c has been split into two parts located at
  board/atc/ti113x.c and board/cpc45/pd67290.c (ATC and CPC45 are
  the only boards using CONFIG_82365).
- Changes were tested for clean build and *very* *few* boards.
2006-07-10 23:07:28 +02:00
Jon Loeliger
de07a6a59c Merge branch 'mpc86xx' 2006-07-07 10:03:07 -05:00
Jason Jin
e6cd2a1785 We made a u-boot patch to fix the hang up issue
when booting filesystem from ramdisk.

Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-07-07 10:02:15 -05:00
Marian Balakowicz
f6e5739a68 Merge: Add support for AMCC 440SPe CPU based eval board (Yucca). 2006-06-30 18:19:42 +02:00
Marian Balakowicz
6c5879f380 Add support for AMCC 440SPe CPU based eval board (Yucca). 2006-06-30 16:30:46 +02:00
Matthew McClintock
1b380ec225 * Patch to modify ft_build.c to update flat device trees in place
Patch by Matthew McClintock 26-June-2006
2006-06-28 10:42:24 -05:00
Matthew McClintock
98a9c4d468 * Modify bootm command to support booting with flat device trees
Patch by Matthew McClintock 26-June-2006
2006-06-28 10:41:37 -05:00
Wolfgang Denk
0c32d96ddd Add support for gth2 board
Patch by Thomas Lange, Aug 11 2005
2006-06-16 17:32:31 +02:00
Wolfgang Denk
c12cffc543 Add support for CONFIG_SERIAL_MULTI on MPC5xxx
Patch by Martin Krause, 8 Jun 2006

This patch supports two serial consoles on boards with
a MPC5xxx CPU. The console can be switched at runtime
by setting stdin, stdout and stderr to the desired serial
interface (serial0 or serial1). The PSCs to be used as
console port are definded by CONFIG_PSC_CONSOLE
and CONFIG_PSC_CONSOLE2.
See README.serial_multi for details.
2006-06-16 17:04:45 +02:00
Jon Loeliger
a941b83241 Merge branch 'mpc86xx' 2006-06-07 08:49:46 -05:00
Jon Loeliger
72ed528a94 Merge branch 'master' of http://www.denx.de/git/u-boot 2006-06-07 08:49:38 -05:00
Wolfgang Denk
ba94a1bba3 * Update Intel IXP4xx support
- Add IXP4xx NPE ethernet MAC support
- Add support for Intel IXDPG425 board
- Add support for Prodrive PDNB3 board
- Add IRQ support
Patch by Stefan Roese, 23 May 2006

[This patch does not include cpu/ixp/npe/IxNpeMicrocode.c which still
 sufferes from licensing issues. Blame Intel.]
2006-05-30 15:56:48 +02:00
Haiying Wang
3033ebb20f Allow args on reset command.
Signed-off-by: Jon Loeliger <jdl@jdl.com>
2006-05-26 10:01:16 -05:00
Wolfgang Denk
6516525083 Fix PCMCIA support on virtlab2 2006-05-15 13:52:51 +02:00
Wolfgang Denk
319b9a5467 Cleanup compile warning. 2006-05-12 16:32:32 +02:00
Wolfgang Denk
8cba090c58 Add support for VirtLab2 board
(needed because of differences in the PCMCIA hardware).
2006-05-12 16:15:46 +02:00
Jon Loeliger
846c2d4a0e Merge branch 'mpc86xx' 2006-05-10 09:43:21 -05:00
Haiying Wang
6cfea33477 Remove unneeded INIT_RAM_LOCK cache twiddling.
Correctly tracks r29 as global data pointer now.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2006-05-10 09:38:06 -05:00
Stefan Roese
f90a39213e Fix compile warnings in common/xyzModem.c
Patch by Stefan Roese, 10 May 2006
2006-05-10 15:01:40 +02:00
Jon Loeliger
a67255363a Merge branch 'mpc86xx' 2006-05-09 08:33:11 -05:00
Wolfgang Denk
1cfefe8cb6 Merge with /home/m8/git/u-boot 2006-05-09 13:46:55 +02:00
Marian Balakowicz
78b123cd69 Add M5271EVB board support. 2006-05-09 11:54:44 +02:00
Wolfgang Denk
8546e23902 Declare load_serial_ymodem() when using CFG_CMD_LOADB.
Patch by Jon Loeliger, 01. May 2006
2006-05-02 00:11:25 +02:00
Jon Loeliger
debb7354d1 Initial support for MPC8641 HPCN board. 2006-04-26 17:58:56 -05:00
Wolfgang Denk
cf48eb9abd Some code cleanup 2006-04-16 10:51:58 +02:00
Wolfgang Denk
807522fc9a Merge with /home/hs/U-Boot/u-boot-dev 2006-04-16 10:27:31 +02:00
Wolfgang Denk
b28a31ca02 Merge with /home/m8/git/u-boot 2006-04-12 12:26:32 +02:00
Heiko Schocher
bb74140def Fixes common/cmd_flash.c:
- fix some compiler/parser error, if using m68k tool chain
   - optical fix for protect on/off all messages, if using more
     then one bank
  Patch by Jens Scharsig, 28 July 2005
2006-04-11 14:39:21 +02:00
Wolfgang Denk
71b405df4e Merge with /home/sr/git/u-boot/cfi-flash 2006-04-06 00:16:58 +02:00
Marian Balakowicz
2fc000d756 Remove dependencies between DoC code and old legacy NAND driver.
Necessary defines and data structures were copied to DoC specific files
so that legacy NAND code could be entirely removed from u-boot tree
in the near future.
2006-04-05 20:46:41 +02:00
Wolfgang Denk
534ff676a9 * Add support for ymodem protocol download
Patch by Stefano Babic, 29 Mar 2006

* Memory Map Update for Delta board: U-Boot is at 0x80000000-0x84000000

Merge with /home/mk/8-benq/u-boot
2006-04-01 15:52:46 +02:00
Stefan Roese
2662b40cac * Changes/fixes for drivers/cfi_flash.c:
- Add Intel legacy lock/unlock support to common CFI driver

    On some Intel flash's (e.g. Intel J3) legacy unlocking is
    supported, meaning that unlocking of one sector will unlock
    all sectors of this bank. Using this feature, unlocking
    of all sectors upon startup (via env var "unlock=yes") will
    get much faster.

  - Fixed problem with multiple reads of envronment variable
    "unlock" as pointed out by Reinhard Arlt & Anders Larsen.

  - Removed unwanted linefeeds from "protect" command when
    CFG_FLASH_PROTECTION is enabled.

  - Changed p3p400 board to use CFG_FLASH_PROTECTION

  Patch by Stefan Roese, 01 Apr 2006

* Changes/fixes for drivers/cfi_flash.c:
  - Correctly handle the cases where CFG_HZ != 1000 (several
    XScale-based boards)
  - Fix the timeout calculation of buffered writes (off by a
    factor of 1000)
  Patch by Anders Larsen, 31 Mar 2006
2006-04-01 13:44:14 +02:00
Wolfgang Denk
d87080b721 GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
Markus Klotzbuecher
f2841d3770 Add support for ymodem protocol (loady command).
Patch by Stefano Babic, 29 Mar 2006
2006-03-30 13:40:55 +02:00
Markus Klotzbuecher
2770bcb21c Merge with http://www.denx.de/git/u-boot.git 2006-03-24 15:43:16 +01:00
Markus Klotzbuecher
e443c944cf Support for redundant environment in NAND Flash. 2006-03-20 18:02:44 +01:00
Stefan Roese
15940c9af3 Change max size of uncompressed uImage's to 8MByte and add
CFG_BOOTM_LEN to adjust this setting.

As mentioned by Robin Getz on 2005-05-24 the size of uncompressed
uImages was restricted to 4MBytes. This default size is now
increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN
in the board config file.

Patch by Stefan Roese, 13 Mar 2006
2006-03-13 11:16:36 +01:00
Wolfgang Denk
c15f80eaef Change the sequence of events in soft_i2c.c:send_ack() to keep from
incorrectly generating start/stop conditions on the bus.
Patch by Andrew Dyer, 26 Jul 2005
2006-03-13 00:50:48 +01:00
Wolfgang Denk
a3f0169880 Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#ft_infr 2006-03-12 19:11:42 +01:00
Wolfgang Denk
953c5b6f8b Adjust "echo" as a default command
Patch by Sam Song, 19 Jun 2005
2006-03-12 16:51:59 +01:00
Wolfgang Denk
8e7b703a62 Coding Style cleanup 2006-03-12 02:55:22 +01:00
Wolfgang Denk
1264b4050c Avoid dereferencing NULL in find_cmd() if no valid commands were found
Patch by Andrew Dyer, 13 Jun 2005
2006-03-12 02:20:55 +01:00
Wolfgang Denk
0afe519a43 Add ADI Blackfin support
- add support for Analog Devices Blackfin BF533 CPU
- add support for the ADI BF533 Stamp uClinux board
- add support for the ADI BF533 EZKit board
Patches by Richard Klingler, June 11th 2005:
2006-03-12 02:10:00 +01:00
Wolfgang Denk
dc013d4640 Add loads of ntohl() in image header handling
Patch by Steven Scholz, 10 Jun 2005
2006-03-12 01:59:35 +01:00
Wolfgang Denk
82d716fd0d Fix comment in common/soft_i2c.c
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
2006-03-12 01:30:45 +01:00
Wolfgang Denk
d52fb7e3d1 Some code cleanup for GCC 4.x 2006-03-11 22:53:33 +01:00
Markus Klotzbuecher
3c4eb0880b Some minor fixes to environment in NAND code. 2006-03-08 00:04:04 +01:00
Wolfgang Denk
bfc81252c0 Minor code cleanup 2006-03-06 13:03:37 +01:00
Bartlomiej Sieka
addb2e1650 Re-factoring the legacy NAND code (legacy NAND now only in board-specific
code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and
BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for
NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is
implemented for these boards.
2006-03-05 18:57:33 +01:00
Bartlomiej Sieka
038ccac511 Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling. 2006-02-24 09:37:22 +01:00
Kumar Gala
e559a6901a Add support for passing initrd information via flat device tree
Patch by Kumar Gala 11 Jan 2006
2006-01-11 16:41:35 -06:00
Kumar Gala
c2871f0380 Added OF_STDOUT_PATH and OF_SOC
OF_STDOUT_PATH specifies the path to the device the kernel can use
for console output

OF_SOC specifies the proper name of the SOC node if one exists.
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:59:02 -06:00
Kumar Gala
4e2531378f Allow board code to fixup the flat device tree before booting a
kernel
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:54:17 -06:00
Kumar Gala
e4f880eddd Added CONFIG_ options for bd_t and env in flat dev tree
CONFIG_OF_HAS_BD_T will put a copy of the bd_t
      into the resulting flat device tree.

      CONFIG_OF_HAS_UBOOT_ENV will copy the environment
      variables from u-boot into the flat device tree

Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:49:31 -06:00
Wolfgang Denk
c75eba3b41 Fix U-Boot compilation for MIPS boards using ELDK 4.0 2005-12-01 02:15:07 +01:00
Marian Balakowicz
d9785c14bf Fix miiphy global data initialization (problem on 4xx boards when no
ethaddr is assigned). Initialization moved from miiphy_register() to
eth_initialize().

Based on initial patch for 4xx platform by Matthias Fuchs.
2005-11-30 18:06:04 +01:00
Wolfgang Denk
8e9655f863 * Add hook to NAND erase and implement nand_wait function.
Patch by Mike Rapoport, 01 Nov 2005

  Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
2005-11-02 14:29:12 +01:00
Wolfgang Denk
5d4ee51061 Merge with /home/m8/git/u-boot 2005-10-29 23:45:04 +02:00
Marian Balakowicz
63ff004c4f Add support for multiple PHYs. 2005-10-28 22:30:33 +02:00
Marian Balakowicz
fe93483a0a Correct includes for flat tree builder. 2005-10-28 18:08:03 +02:00
Stefan Roese
c4c13df284 Fix problem with sleep in NetConsole (use get_timer())
Patch by Stefan Roese, 20 Oct 2005
2005-10-20 16:36:44 +02:00
Wolfgang Denk
ea1fba136a Merge with /home/sr/git/u-boot 2005-10-17 00:19:16 +02:00
Wolfgang Denk
84bd92bdda Merge with /home/m8/git/u-boot 2005-10-15 18:23:43 +02:00
Stefan Roese
dc91701ff7 Fix identification on ext2ls help entry
Patch by Stefan Roese, 14 Oct 2005
2005-10-14 15:34:07 +02:00
Wolfgang Denk
77ddac9480 Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
Wolfgang Denk
0f3f901496 Cleanup 2005-10-13 02:04:18 +02:00
Wolfgang Denk
814d98f24e Add missing files for Pantelis Antoniou's patch
Patch by Pantelis Antoniou, 04 Sep 2005
2005-10-13 01:59:29 +02:00
Wolfgang Denk
cbdf8824fa Merge with /home/sr/git/u-boot 2005-10-13 01:55:58 +02:00
Wolfgang Denk
f57f70aab9 Support passing of OF flat trees to the kernel.
Patch by Pantelis Antoniou, 04 Sep 2005
2005-10-13 01:45:54 +02:00
Marian Balakowicz
e6f2e90233 Added support for TQM834x boards. 2005-10-11 19:09:42 +02:00
Stefan Roese
c29ab9d71d Fix gzip bmp support (test if malloc fails, warning when truncated).
Increase CFG_VIDEO_LOGO_MAX_SIZE on HH405 board.
Patch by Stefan Roese, 08 Oct 2005
2005-10-08 10:19:07 +02:00