Sascha Hauer
33d1cc4bf2
commands: remove struct command pointer from commands
...
This is unused in all commands and thus can be removed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-02-27 20:28:07 +01:00
Marc Kleine-Budde
d3a183c329
net/nfs: increase timeout to 15 seconds
...
On my laptop with avahi enabled (linux mdns implementation), the unmount
take quite long, because the avahi daemon tries to resolve the client's
host name. This leads to a delay of about 8 seconds of the unmount reply
messages, so that barebox runs into a timeout. This patch increases the
NFS timeout to 15 to work around the problem.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-25 18:11:45 +01:00
Sascha Hauer
c75ab78763
net: add a context to the packet handler
...
This is not yet used, but with this the different network
commands can get rid of their global data.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-12 09:54:56 +02:00
Sascha Hauer
b3c91fbf5f
nfs: resend requests after timeout
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:45:25 +02:00
Sascha Hauer
80c071dd56
nfs: Use generic progression bar
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:45:25 +02:00
Sascha Hauer
c31ea55e92
implement nfs using new network stack
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:24 +02:00
Sascha Hauer
922bb41a47
remove typedef cmd_tbl_t and replace it with struct command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
88351d2e4b
Move tftp/nfs specific code to net/*
...
This adds a few bytes of binary space but is done to put
the code where it belongs to.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:31 +01:00
Sascha Hauer
a3ffa97f40
rename U-Boot-v2 project to barebox
...
This has been done with the following script:
find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
-e 's/u2boot/barebox/g' \
-e 's/U2Boot/barebox/g' \
-e 's/U-boot V2/barebox/g' \
-e 's/u-boot v2/barebox/g' \
-e 's/U-Boot V2/barebox/g' \
-e 's/U-Boot-v2/barebox/g' \
-e 's/U_BOOT/BAREBOX/g' \
-e 's/UBOOT/BAREBOX/g' \
-e 's/uboot/barebox/g' \
-e 's/u-boot/barebox/g' \
-e 's/u_boot/barebox/g' \
-e 's/U-Boot/barebox/g' \
-e 's/U-boot/barebox/g' \
-e 's/U-BOOT/barebox/g'
find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
xargs -0 -r rename 's/u[-_]?boot/barebox/'
It needs some manual fixup following in the next patch
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:18:30 +01:00
Sascha Hauer
d78105a55b
nfs: allow only serverip
...
Do not allow to pass serverip via commandline.
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
ac50a05caf
pass filename to nfs and tftp start functions
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
1d3d2c6369
nfs: no default filename, we always have a filename
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
a5f301fb7a
remove unused variable NetBootFileSize
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 08:54:57 +02:00
Sascha Hauer
4d0670f227
net: cleanup header file
...
move contents of bootp.h to .c file and remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer
ae3f56c84a
nfs: fix calling of string_to_ip()
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:46:24 +02:00
Sascha Hauer
612e256be2
make nfs work
2008-03-31 21:51:29 +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
11a0b5a0dd
svn_rev_108
...
removed ifdefs, moved ping to own file, fix timeout handler
2007-07-05 18:01:23 +02:00
Sascha Hauer
d2bf9bf488
svn_rev_025
...
remove get_tbclk from architectures other than powerpc
2007-07-05 18:01:15 +02:00
Wolfgang Denk
23a7a32d41
Fix return code of NFS command
...
Patch by Hiroshi Ito, 11 Dec 2004
2005-08-06 01:11:12 +02:00
Wolfgang Denk
c43352ccfa
Fix endianess problem in TFTP / NFS default filenames
...
Patch by Hiroshi Ito, 06 Dec 2004
2005-08-04 01:09:44 +02:00
wdenk
a5725fabc0
* Patch by Ganapathi C, 04 Aug 2004:
...
Fix NFS timeout issue
2004-09-28 21:51:42 +00:00
wdenk
e94d2cd9d1
* Fix "cls" command when used with splash screen
...
* Increase NFS download timeout (now 1 min - 10 sec is to short for a
slow download of a big image)
2004-06-30 22:59:18 +00:00
wdenk
a3d991bd0d
Patches by Pantelis Antoniou, 30 Mar 2004:
...
add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
2004-04-15 21:48:45 +00:00
wdenk
4b9206ed51
* Patches by Thomas Viehweger, 16 Mar 2004:
...
- show PCI clock frequency on MPC8260 systems
- add FCC_PSMR_RMII flag for HiP7 processors
- in do_jffs2_fsload(), take load address from load_addr if not set
explicit, update load_addr otherwise
- replaced printf by putc/puts when no formatting is needed
(smaller code size, faster execution)
2004-03-23 22:14:11 +00:00
wdenk
c3f9d4939a
* Patch by Yuli Barcohen, 4 Mar 2004:
...
Fix problems with GCC 3.3.x which changed handling of global
variables explicitly initialized to zero (now in .bss instead of
.data as before).
* Patch by Leon Kukovec, 02 Mar 2004:
add strswab() to fix IDE LBA capacity, firmware and model numbers
on little endian machines
* Patch by Masami Komiya, 02 Mar 2004:
- Remove get_ticks() from NFS code
- Add verification of RPC transaction ID
* Patch by Pierre Aubert, 02 Mar 2004:
cleanup for IDE and USB drivers for MPC5200
2004-03-14 00:59:59 +00:00
wdenk
11dadd547c
* Patch by Steven Scholz, 25 Feb 2004:
...
- Timeouts in FPGA code should be based on CFG_HZ
- Minor cleanup in code for Altera FPGA ACEX1K
* Patch by Steven Scholz, 25 Feb 2004:
Changed "Directory Hierarchy" section in README
* Patch by Masami Komiya, 25 Feb 2004:
Reduce copy count in nfs_read_reply() of NFS code
2004-02-27 00:07:27 +00:00
wdenk
a084f7da88
* Patch by Masami Komiya, 24 Feb 2004:
...
Update NetBootFileXferSize in NFS code
* Patch by Scott McNutt, 24 Feb 2004:
fix packet length in NFS code
2004-02-24 22:33:21 +00:00
wdenk
cbd8a35c6d
* Patch by Masami Komiy, 22 Feb 2004:
...
Add support for NFS for file download
* Minor code cleanup
2004-02-24 02:00:03 +00:00