Sascha Hauer
6b7fdcb970
Use safe_strncpy() instead of copy_filename(). The shell has already removed
...
quotes, so we don't need this functionality from copy_filename()
2007-09-28 10:47:19 +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
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
0dd68e795e
- putc is now putchar for better standard conformity
...
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer
70a338bc27
Use unsigned char * for mac address. Otherwise (s)printf interpets
...
parts of the mac address as negative numbers and gives wrong
results.
2007-09-11 10:20:16 +02:00
Sascha Hauer
b1e843987a
remove debug printf
2007-07-11 16:34:15 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
e304e16056
svn_rev_580
2007-07-05 18:02:07 +02:00
Sascha Hauer
9ccd3234cd
svn_rev_556
...
unify help string style
2007-07-05 18:02:04 +02:00
Sascha Hauer
571c47bdc0
svn_rev_555
...
menu formatting
2007-07-05 18:02:04 +02:00
Sascha Hauer
7dde818528
svn_rev_519
...
set enet addr
2007-07-05 18:02:01 +02:00
Sascha Hauer
fa668fe184
svn_rev_502
...
complete multiple console support
2007-07-05 18:01:59 +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
7baa6289fe
svn_rev_469
...
- make some more char * const
- dev_add_parameter -> dev_add_param
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
be8b9a1abb
svn_rev_440
...
what a silly bug of mine. Chances were good we generated a negative
port number causing tftp to fail
2007-07-05 18:01:54 +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
aa3f43b9f5
svn_rev_408
...
store_block can fail
2007-07-05 18:01:51 +02:00
Sascha Hauer
e6a048eb57
svn_rev_405
...
add 0x for hex value in $filesize, remove $fileaddr
2007-07-05 18:01:50 +02:00
Sascha Hauer
887700a5e3
svn_rev_394
...
do not use global parameter set for all ethernet devices, this was broken
2007-07-05 18:01:50 +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
e0c82e0270
svn_rev_346
2007-07-05 18:01:45 +02:00
Sascha Hauer
4de169907f
svn_rev_345
2007-07-05 18:01:45 +02:00
Sascha Hauer
1843dc8389
svn_rev_329
...
remove volatile
2007-07-05 18:01:44 +02:00
Sascha Hauer
b4906bc00f
svn_rev_323
...
priv -> type_data, remove volatile
2007-07-05 18:01:43 +02:00
Sascha Hauer
36d28cc44d
svn_rev_314
...
remove volatile from variables
2007-07-05 18:01:42 +02:00
Sascha Hauer
f1871033f1
svn_rev_279
...
add include
2007-07-05 18:01:39 +02:00
Sascha Hauer
112ada667b
svn_rev_270
...
WIP FS support
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
ad89ab9122
svn_rev_265
...
reverted last patch
2007-07-05 18:01:38 +02:00
Sascha Hauer
225b192272
svn_rev_260
...
add set function for enetaddr
2007-07-05 18:01:37 +02:00
Sascha Hauer
b5abad1213
svn_rev_229
...
remove unused label
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
b78d1fafea
svn_rev_223
...
add missing include
2007-07-05 18:01:34 +02:00
Sascha Hauer
4227970a25
svn_rev_211
...
memcpy -> write
2007-07-05 18:01:33 +02:00
Sascha Hauer
259fbf0a54
svn_rev_197
...
add string_to_enet_addr()/enet_addr_to_string()
2007-07-05 18:01:32 +02:00
Sascha Hauer
69eab860c2
svn_rev_196
...
WIP
2007-07-05 18:01:31 +02:00
Sascha Hauer
aabb4586a4
svn_rev_148
...
remove global data pointer
2007-07-05 18:01:27 +02:00
Sascha Hauer
64705cc469
svn_rev_144
...
fix seconds since boot
2007-07-05 18:01:27 +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
11a0b5a0dd
svn_rev_108
...
removed ifdefs, moved ping to own file, fix timeout handler
2007-07-05 18:01:23 +02:00
Sascha Hauer
d9e1707c0d
svn_rev_101
2007-07-05 18:01:23 +02:00
Sascha Hauer
f6508e1c4b
svn_rev_095
...
Currently U-Boot uses globally defined eth_* functions. This is
horribly unflexible. This patch replaces the global functions
with pointers from structs. We could also use CONFIG_NET_MULTI,
but this has other implications, though we should merge this
some day.
Also, U-Boot has no unique way to handle MAC addresses. Each and
every board and network driver uses it's own mechanism to set the
MAC address. There are several problems which I've for too often.
For example everything goes well if we boot from network, but when
we boot from flash U-Boot forgets to set the MAC address and the
linux network driver has none.
This patch adds [gs]et_mac_address to the eth_device struct and
handles it as follows:
- First try to get a valid MAC address from the EEPROM and set
'ethaddr' accordingly.
- If no valid MAC address is found in the EEPROM (or no EEPROM is
connected), we set the devices MAC address from 'ethaddr'
This is done in eth_initialize which is called on startup for
every board.
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
e8c0cebedc
svn_rev_035
...
no modulo for 64bit
2007-07-05 18:01:15 +02:00