Sascha Hauer
257da5cac0
add progression bar function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:43:55 +02:00
Sascha Hauer
3039467bbd
tftp: remove unused variables
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:43:55 +02:00
Sascha Hauer
40aad62d1c
Merge remote branch 'origin/assorted-pu' into next
2010-06-28 10:35:58 +02:00
Sascha Hauer
1a6fc8feb6
Merge remote branch 'origin/usb-pu' into next
2010-06-28 10:34:42 +02:00
Sascha Hauer
485890986b
add netconsole host script
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 17:37:00 +02:00
Eric Bénard
7a1f70e70a
fix command loadb
...
which was broken after commit c3789cd49b
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 12:37:56 +02:00
Sascha Hauer
17ef55f6d6
ehci: remove unused code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:42:25 +02:00
Sascha Hauer
2f64aa66ab
ehci: Force a ehci_halt before trying to reset
...
As observed on OMAP some controllers do not like being
resetted when running.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:42:20 +02:00
Sascha Hauer
0b863c83d0
ehci: use is_timeout for timeout instead of udelay counter
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:42:06 +02:00
Sascha Hauer
d99aa6b761
usb: Check return value of host controller init
...
And do not scan the bus if initialization failed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:41:36 +02:00
Sascha Hauer
c8363b8f60
ehci: Handle hub port reset properly
...
This has been copied from the U-Boot ehci driver.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:41:31 +02:00
Sascha Hauer
57b56a989f
ehci: Make has_tt configurable via platform data
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:41:15 +02:00
Sascha Hauer
112d65d3d2
fb: add a usage counter to prevent double enable/disable
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:37:40 +02:00
Sascha Hauer
f2f02d5ba9
i.MX27: Add some missing device base addresses
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:37:16 +02:00
Sascha Hauer
c38883953d
i.MX clocksource: Use readl/writel instead of pointer deref
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:53 +02:00
Sascha Hauer
1996f64c4d
i.MX serial: Use readl/writel instead of pointer deref
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:46 +02:00
Sascha Hauer
322bace5fb
usbnet: remove unused dev member in struct usbnet
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:42 +02:00
Sascha Hauer
90fc3a6117
remove eco920 board support
...
It has been broken for long time and nobody cared, so remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:37 +02:00
Sascha Hauer
8f1691d58c
armlinux: reorder tag setup
...
We call the individual setup_*_tag functions from three different
boot commands. Waste less space by calling a single setup_tags function
instead.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:32 +02:00
Sascha Hauer
3e94938068
memcpy cmd: Do not expect to read/write the whole chunk at once
...
read() does not necessarily return the number of bytes
we want to read, so deal with less bytes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:28 +02:00
Sascha Hauer
cd4bc69126
imxfb: do not enable framebuffer on startup
...
The board code or startup script should enable it when
it actually wants to.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:22 +02:00
Sascha Hauer
695a4247aa
imxfb: Add board specific hook to enable display
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:17 +02:00
Sascha Hauer
6c5f1c0fdf
i.MX27: merge iomux pim definitions from kernel
...
The Kernel pin definitions are more complete and up to date. Being
here we also use seperate files for the iomuxer like the other
i.MX SoCs already do.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:11 +02:00
Sascha Hauer
334fe1dc8a
pca100: use generic default env
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer
dc4d0da985
pcm037: use generic default env
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer
4666c09f1c
pcm043: use generic default env
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer
3dc4dedb71
pcm038: use generic default env
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer
c56830349b
add a generic default environment
...
We have several nearly identical default environments in the tree.
Lets merge them to a single environment and use it on many boards.
This defaultenv is arm centric at the moment due to the use of arm
specific boot commands. This can be improved over time.
changes since last version:
- fix potentially empty variable tests
- be a bit more verbose in boot script
- run a board specific init script (/env/bin/init_board) if it exists
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
e7048e1862
net: use a random mac address if the current device does not have a valid address
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
7867ceb8dc
net: implement random_ether_addr
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
738d70e430
include support for a simple pseudo number generator
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
600c0e987e
Allow to merge default environment from more than one directory
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:40 +02:00
Sascha Hauer
72861584e3
bootu: Allow passing in devices as parameter
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:30:38 +02:00
Sascha Hauer
9c827f121a
pcm037: Add MMU support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:30:38 +02:00
Sascha Hauer
f7c02aea7b
Merge branch 'net' into next
2010-06-17 08:29:09 +02:00
Sascha Hauer
c5de3fdcce
ping: resolv hostnames
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:30 +02:00
Sascha Hauer
cd81aa6e3b
net: add dns support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:29 +02:00
Sascha Hauer
232b46996c
add netconsole support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:29 +02:00
Sascha Hauer
56d0e7f274
errno: add strings for network related error messages
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:29 +02:00
Sascha Hauer
c3789cd49b
rework device parameters
...
Change device parameters so that the memory management is in generic
code. This also removes the need of storing statically initialized
parameters as they are stored in a struct list_head for each device.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:25 +02:00
Sascha Hauer
57e1fc33bd
net: remove old network stack
...
All network commands now use the new stack, so remove the old one.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:25 +02:00
Sascha Hauer
c70689d727
network drivers: call net_receive directly instead of NetReceive
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:25 +02:00
Sascha Hauer
663a6269f2
net: consider rarp support as outdated. Remove it
...
It is disabled in all defconfigs and probably broken for longer.
Remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28: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
98ff00b6d2
implement ping using new network stack
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:24 +02:00
Sascha Hauer
17f1f5b3b7
implement tftp using new network stack
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:21 +02:00
Sascha Hauer
870e64993b
implement dhcp using new network stack
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:17 +02:00
Sascha Hauer
799c00c589
remove unused sntp.h
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:17 +02:00
Sascha Hauer
97070487fa
net: Implement a new network stack
...
The old network stack has some bad limitations:
- network commands are required to call NetLoop() which only returns when
the network layer wants to. Instead we now use a net_poll() function which
returns after handling one packet (or immediately if no packet is
available).
- There can be only one packet handler which makes it impossible to handle
multiple connections
- CamelCaseMakesItHardToRead
The new network stack is implemented as a parallel universe. Currently all
commands still use the old stack. They are converted in subsequent patches.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:16 +02:00
Sascha Hauer
994f95c073
net: remove need for eth_halt/eth_open
...
We used to eth_open/eth_halt the network devices during NetLoopInit
which is called whenever the user enters a network command.
Change this behaviour so that the current network device gets opened
when making it the current one.
With this change it's always possible to send packages and we are able
to implement a new network stack in the next step.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:16 +02:00