cases for fake system
configuration.
The same thing will work with one sdma and one fifo.
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
#ifdef CONFIG_XILINX_LL_TEMAC
+#if 1
+ /* This should be the preferred way to initialize
+* all the interfaces. */
ret |= xilinx_ll_temac_standard_init(bis);
if 1 is not the best for mainline because it means that below is dead code.
Michal
--
Michal Simek, Ing. (M.Eng
it depends on the network
driver subsystem.
Reported-by: Michal Simek mon...@monstr.eu
Signed-off-by: Stephan Linz l...@li-pro.net
---
drivers/net/Makefile |2 +
drivers/net/xilinx_ll_temac.c | 433
drivers/net/xilinx_ll_temac_fifo.c | 143
is axi driver is in the mainline.
Regards,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
___
U-Boot mailing list
U-Boot
Stephan Linz wrote:
Enable phylib and mii support for AXI EMAC
ethernet drivers on Microblaze systems.
Signed-off-by: Stephan Linz l...@li-pro.net
Reported-by: Michal Simek mon...@monstr.eu
---
include/configs/microblaze-generic.h | 21 +
1 files changed, 21 insertions
at:
git://www.denx.de/git/u-boot-microblaze.git master
Stephan Linz (1):
microblaze: Enable phylib and mii support
include/configs/microblaze-generic.h | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0
this, because it depends on the network
driver subsystem.
Reported-by: Michal Simek mon...@monstr.eu
Signed-off-by: Stephan Linz l...@li-pro.net
Please do not use my Reported-by: line. It is new patch not any bug which needs
to be fixed.
Patches are based on my origin version that's why it is fine
,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo
Cleanup structure.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 8d170a3..2a5c5e1 100644
--- a/drivers/net
Current xilinx emaclite use net multi registration
but doesn't support several emaclites interfaces.
Changing driver name with adding address to name
is the first step how to distiguish several drivers.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |2 +-
1
Hi,
here is the whole package with Microblaze and Xilinx driver changes.
All patches are available in git://www.denx.de/git/u-boot-microblaze.git master
branch
if you like to test them.
Thanks for your review,
Michal
Michal Simek (26):
net: emaclite: Change driver name and add address
Simplify driver logic and clear eth_device structure
in one command.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index
Every emaclite instance use own setting.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Free allocated space when private data allocation failed
---
drivers/net/xilinx_emaclite.c | 41 +
1 files changed, 25 insertions(+), 16 deletions(-)
diff
Baseaddr should be unsigned long.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |4 ++--
include/netdev.h |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
Setup RX/TX ping-pong buffer for every emaclite IP separately.
The next patch move initialization directly to board code.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 123 ++--
1 files changed, 68 insertions(+), 55
Do not setup additional ENET_MAX_MTU macro.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index eca6ef9..5ce95f8 100644
Use dev-iobase instead of baseaddress.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 42
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
Init RX/TX ping pong directly from board not in the driver.
Signed-off-by: Michal Simek mon...@monstr.eu
---
.../xilinx/microblaze-generic/microblaze-generic.c | 18 --
drivers/net/xilinx_emaclite.c | 11 ---
include/netdev.h
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/lib/board.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index d97543b..5510c12 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib
Coding style should follow linux coding style.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 57 +++-
1 files changed, 27 insertions(+), 30 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Change symbol references provided by a linker script
v3: Move externs to header
---
arch/microblaze/include/asm/processor.h |5 -
arch/microblaze/lib/board.c |4
2 files changed, 8 insertions(+), 1 deletions
This changes were done to get support for netconsole.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix commit message
v3: Fix coding style
---
arch/microblaze/lib/board.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch
Also support little endian MB.
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/include/asm/unaligned.h | 17 +
1 files changed, 1 insertions(+), 16 deletions(-)
diff --git a/arch/microblaze/include/asm/unaligned.h
b/arch/microblaze/include/asm/unaligned.h
Setup bootfile.
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/lib/board.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 75748f3..8865a60 100644
--- a/arch/microblaze/lib/board.c
+++ b
Forget to remove debug code.
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/cpu/start.S |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S
index 93a9efd..d3370c4 100644
--- a/arch/microblaze/cpu
For example: Setup reset vectors if reset address is setup.
Setup user exception vector if user exception is enabled
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/cpu/start.S | 34 ++
1 files changed, 22 insertions(+), 12 deletions(-)
diff
-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/cpu/start.S |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S
index 17c0e28..42104fa 100644
--- a/arch/microblaze/cpu/start.S
+++ b/arch/microblaze/cpu/start.S
- Remove code copying
- Reset address is setup from first stage bootloader
- Support reset vector setup on little endian
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/cpu/start.S | 25 +
1 files changed, 5 insertions(+), 20 deletions(-)
diff --git
Undefined network functionality for systems without ethernet
and disable NFS support.
Signed-off-by: Michal Simek mon...@monstr.eu
---
include/configs/microblaze-generic.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/microblaze-generic.h
b/include
Enable FDT and FIT support.
Signed-off-by: Michal Simek mon...@monstr.eu
---
include/configs/microblaze-generic.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/configs/microblaze-generic.h
b/include/configs/microblaze-generic.h
index a334110..a811b76
U-Boot BSP handle 0x3 offset for big endian systems.
Little endian Microblaze systems don't use any offset.
Signed-off-by: Michal Simek mon...@monstr.eu
---
include/configs/microblaze-generic.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/microblaze
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
Clean coding style
---
common/serial.c | 14
drivers/serial/serial_xuartlite.c | 142 -
include/serial.h
Enable support for SERIAL_MULTI.
Microblaze can use uart16550 and uartlite drivers.
Signed-off-by: Michal Simek mon...@monstr.eu
---
Note:
Follow serial.h conding style.
---
arch/microblaze/lib/board.c |4
include/configs/microblaze-generic.h |2 ++
include/serial.h
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix cammelcase weirdness
Create mdio_wait function with timeouts
Initialize axi_ethernet driver.
Signed-off-by: Michal Simek mon...@monstr.eu
---
.../xilinx/microblaze-generic/microblaze-generic.c |6 ++
include/configs/microblaze-generic.h |4
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/board/xilinx
commented.
Regards,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
___
U-Boot mailing list
U-Boot@lists.denx.de
http
Marek Vasut wrote:
On Tuesday, September 13, 2011 01:16:12 PM Michal Simek wrote:
Dear Wolfgang Denk,
In message 1315897821-23049-1-git-send-email-mon...@monstr.eu you wrote:
here is the whole package with Microblaze and Xilinx driver changes.
All patches are available in git://www.denx.de
Michal Simek wrote:
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
---
common/serial.c | 14
drivers/serial/serial_xuartlite.c | 137
-
include
Wolfgang Denk wrote:
Dear Michal Simek,
In message 4e6f5c13.3000...@monstr.eu you wrote:
Please read:
http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions
What about patch resubmit or resend?
Resending unchanged patches should be avoided, if possible. First
Mike Frysinger wrote:
On Tuesday, September 13, 2011 03:10:07 Michal Simek wrote:
--- a/arch/microblaze/include/asm/processor.h
+++ b/arch/microblaze/include/asm/processor.h
@@ -1 +1,4 @@
-/* FIXME: Implement this! */
+
+/* References to section boundaries */
+extern char __end[];
+extern
Mike Frysinger wrote:
On Tuesday, September 13, 2011 03:10:06 Michal Simek wrote:
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/lib/board.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
v3: Clean coding style
v4: Simplify userial_ports array initialization
---
common/serial.c | 14
drivers/serial/serial_xuartlite.c | 134
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix cammelcase weirdness
Create mdio_wait function with timeouts
Michal Simek wrote:
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
v3: Clean coding style
v4: Simplify userial_ports array initialization
---
common/serial.c | 14
drivers/serial
Mike Frysinger wrote:
On Thursday, September 15, 2011 09:50:00 Michal Simek wrote:
--- a/drivers/serial/serial_xuartlite.c
+++ b/drivers/serial/serial_xuartlite.c
+static struct uartlite *userial_ports[4] = {
i think you missed my previous feedback here. pretty sure this should
Marek Vasut wrote:
On Tuesday, September 20, 2011 09:19:23 AM Michal Simek wrote:
Michal Simek wrote:
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
v3: Clean coding style
v4: Simplify userial_ports array
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
v3: Clean coding style
v4: Simplify userial_ports array initialization
v5: const userial_ports
Do not use u32
Separate declarations and code by a single blank line
Michal Simek wrote:
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix cammelcase weirdness
Create mdio_wait
Every emaclite instance use own setting.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Free allocated space when private data allocation failed
Based on git://git.denx.de/u-boot-microblaze.git emaclite branch
---
drivers/net/xilinx_emaclite.c | 41
Mike Frysinger wrote:
Acked-by: Mike Frysinger vap...@gentoo.org
-mike
Applied to git://git.denx.de/u-boot-microblaze.git emaclite branch
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu
2984fd1673fd76de0182c9626c3d66ea2e0486e7:
Marek Vasut (1):
GCC4.6: Squash warning in cmd_ubi.c:
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
Marek Vasut (1):
GCC4.6: Squash warning in lzo1x_decompress.c
Michal Simek (7):
microblaze: Remove debug
-microblaze.git emaclite
Michal Simek (5):
net: emaclite: Change driver name and add address
net: emaclite: Remove deviceid property
net: emaclite: Use calloc instead of malloc
net: emaclite: Remove baseaddress from xemaclite
net: emaclite: Use dynamic allocation
Dear Wolfgang Denk,
Michal Simek wrote:
Dear Wolfgang Denk,
please pull the following changes.
All patches were check by checkpatch script and were sent to mailing list.
I am going to send separate pull request for emaclite changes because it
is driver.
Please ignore this one
7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4:
Marek Vasut (1):
GCC4.6: Squash warning in lzo1x_decompress.c
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
Michal Simek (7):
microblaze: Remove debug saving value
microblaze: Setup MB vectors if feature is enable
Michal Simek wrote:
Add support for SERIAL MULTI for uartlite.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use in/out_be32 functions
v3: Clean coding style
v4: Simplify userial_ports array initialization
v5: const userial_ports
Do not use u32
Separate
Michal Simek wrote:
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix cammelcase weirdness
Create mdio_wait
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix cammelcase weirdness
Create mdio_wait function with timeouts
Dear Wolfgang Denk,
In message 1316094617-13657-1-git-send-email-mon...@monstr.eu you wrote:
Add axi_ethernet driver for little-endian Microblaze.
RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs.
Only one MAC can work in one time.
Signed-off-by: Michal Simek mon
Calling console_init_f enables CTRL+C usage.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix commit message - origin subject
microblaze: Support CTRL+C when tftp is running
---
arch/microblaze/lib/board.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Change symbol references provided by a linker script
v3: Move externs to header
v4: Add license and copyright with #ifdef protection
---
arch/microblaze/include/asm/processor.h | 32 ++-
arch/microblaze/lib
This changes were done to get support for netconsole.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix commit message
v3: Fix coding style
---
arch/microblaze/lib/board.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch
Also support little endian MB.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Use asm-generic unaligned code
---
arch/microblaze/include/asm/unaligned.h | 17 +
1 files changed, 1 insertions(+), 16 deletions(-)
diff --git a/arch/microblaze/include/asm/unaligned.h
b
Setup bootfile.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Move getenv assignment out of if
---
arch/microblaze/lib/board.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index d677329..ca5882d
Setup RX/TX ping-pong buffer for every emaclite IP separately.
The next patch move initialization directly to board code.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix coding style violations
---
drivers/net/xilinx_emaclite.c | 123 ++--
1 files
Do not setup additional ENET_MAX_MTU macro.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 9342476..aa9ac4b 100644
Checked by checkpatch.pl script.
No functional changes.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 57 +++-
1 files changed, 27 insertions(+), 30 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net
Michal Simek wrote:
Setup RX/TX ping-pong buffer for every emaclite IP separately.
The next patch move initialization directly to board code.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix coding style violations
---
drivers/net/xilinx_emaclite.c | 123
repository at:
git://www.denx.de/git/u-boot-microblaze.git master
Michal Simek (5):
microblaze: Call common console_init_f initialization function
microblaze: Support flashes on lower addresses
microblaze: Initialize jumptable and console
microblaze: Fix unaligned.h
Hi,
my uartlite serial multi patch is upstream that's why I can enable
serial multi for microblaze.
There is one issue with serial.h where are spaces at the start
of a line. I just follow coding style there.
If you require to fix it, I will do it.
Thanks,
Michal
Enable support for SERIAL_MULTI.
Microblaze can use uart16550 and uartlite drivers.
Signed-off-by: Michal Simek mon...@monstr.eu
---
Note:
Follow serial.h conding style.
---
arch/microblaze/lib/board.c |4
include/configs/microblaze-generic.h |2 ++
include/serial.h
Mike Frysinger wrote:
Acked-by: Mike Frysinger vap...@gentoo.org
-mike
Thanks.
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
Graeme Russ wrote:
On 10/10/11, Michal Simek mon...@monstr.eu wrote:
Enable support for SERIAL_MULTI.
Microblaze can use uart16550 and uartlite drivers.
Signed-off-by: Michal Simek mon...@monstr.eu
---
Note:
Follow serial.h conding style.
---
arch/microblaze/lib/board.c
Mike Frysinger wrote:
Acked-by: Mike Frysinger vap...@gentoo.org
-mike
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
changes since commit d8fffa057c9430fd0c5104ab6ff7db4cdb03db51:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-mips
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git network-drivers
Michal Simek (4):
net: emaclite
Hi,
The patches are based on
git://git.denx.de/u-boot-microblaze.git network-drivers branch.
Thanks for your review.
Thanks,
Michal
Michal Simek (3):
net: emaclite: Use unsigned long for baseaddr
net: emaclite: Move RX/TX ping pong initialization to board
microblaze: Wire up
Baseaddr should be unsigned long.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix merge confict - no function change
---
drivers/net/xilinx_emaclite.c |4 ++--
include/netdev.h |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net
Init RX/TX ping pong directly from board not in the driver.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Fix merge confict - no function change
---
.../xilinx/microblaze-generic/microblaze-generic.c | 18 --
drivers/net/xilinx_emaclite.c | 11
Initialize axi_ethernet driver.
Signed-off-by: Michal Simek mon...@monstr.eu
---
.../xilinx/microblaze-generic/microblaze-generic.c |6 ++
include/configs/microblaze-generic.h |4
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/board/xilinx
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo
/ethtool.h
#define SPEED_1010
#define SPEED_100 100
#define SPEED_1000 1000
#define SPEED_2500 2500
#define SPEED_1 1
Have someone looked at it? Any comments?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu
to u-boot.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
___
U-Boot mailing list
U-Boot@lists.denx.de
http
Mike Frysinger wrote:
On Thursday, August 25, 2011 03:25:32 Michal Simek wrote:
Can someone clear me purpose of mii_phy.h? It looks like that it is really
ancient file which hasn't been touched from 2003.
It is use for two files
[monstr@monstr u-boot]$ grep -rn mii_phy.h *
board/ep8260
Current xilinx emaclite use net multi registration
but doesn't support several emaclites interfaces.
Changing driver name with adding address to name
is the first step how to distiguish several drivers.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |2 +-
1
Cleanup structure.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 8d170a3..2a5c5e1 100644
--- a/drivers/net
Simplify driver logic and clear eth_device structure
in one command.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index
Use dev-iobase instead of baseaddress.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 34 --
1 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index
Setup RX/TX ping-pong buffer for every emaclite IP separately.
The next patch move initialization directly to board code.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c | 122 +++--
1 files changed, 68 insertions(+), 54
Free allocated space for device when allocating
failed for private data.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/xilinx_emaclite.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index
Init RX/TX ping pong directly in boards not in the driver.
Signed-off-by: Michal Simek mon...@monstr.eu
---
.../xilinx/microblaze-generic/microblaze-generic.c | 11 ++-
drivers/net/xilinx_emaclite.c | 10 +++---
include/netdev.h
Hi,
I have met with the problem where I setup longer network driver name
than was allocated space in eth_device structure.
That's why I think that registration code should check it.
What do you think?
Thanks,
Michal
___
U-Boot mailing list
If name is longer than allocated space NAMESIZE
mac address is rewritten which show error
message like:
Error message:
Warning: Xlltemac.8700 MAC addresses don't match:
Address in SROM is 30:00:00:00:00:00
Address in environment is 00:0a:35:00:6a:04
Signed-off-by: Michal Simek mon
Mike Frysinger wrote:
On Friday, August 26, 2011 08:47:16 Michal Simek wrote:
-sprintf(dev-name, Xilinx_Emaclite);
+sprintf(dev-name, Xelite.%x, base_addr);
you calculated this down to the byte huh ;). i see it uses the full 16.
Yes, I had to because eth_device has 16 chars array
Mike Frysinger wrote:
On Friday, August 26, 2011 08:47:22 Michal Simek wrote:
--- a/drivers/net/xilinx_emaclite.c
+++ b/drivers/net/xilinx_emaclite.c
@@ -356,8 +356,10 @@ int xilinx_emaclite_initialize (bd_t *bis, int
base_addr) return -1;
emaclite = calloc(1, sizeof(struct xemaclite
Mike Frysinger wrote:
On Friday, August 26, 2011 08:52:40 Michal Simek wrote:
If name is longer than allocated space NAMESIZE
mac address is rewritten which show error
message like:
since you overflowed the buffer, who knows what could happen ...
+if (strlen(dev-name) NAMESIZE
LL Temac driver can be used by microblaze, xilinx ppc405/440
in sdma and fifo mode. DCR or XPS bus can be used.
The driver uses and requires PHYLIB.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/Makefile |1 +
drivers/net/xilinx_ll_temac.c | 686
+ zero terminated character.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Apply Mike Frysinger version
---
net/eth.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/net/eth.c b/net/eth.c
index a34fe59..c9b7e85 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -224,6
Add the first axi_ethernet driver for little-endian Microblaze.
Signed-off-by: Michal Simek mon...@monstr.eu
---
drivers/net/Makefile |1 +
drivers/net/xilinx_axi_emac.c | 622 +
include/netdev.h |1 +
3 files changed, 624
LL Temac driver can be used by microblaze, xilinx ppc405/440
in sdma and fifo mode. DCR or XPS bus can be used.
The driver uses and requires PHYLIB.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2: Remove helper function for access to temac
Remove SDMA/FIFO/DCR macros and configure
Mike Frysinger wrote:
On Monday, August 29, 2011 07:34:12 Michal Simek wrote:
--- /dev/null
+++ b/drivers/net/xilinx_ll_temac.c
+#include asm/processor.h
what do you need from this header ?
dcr for ppc.
+#ifdef SDMA_MODE
+static unsigned char tx_buffer[PKTSIZE_ALIGN ] __attribute
Add support for SERIAL MULTI for Microblaze.
It can be used by other archs too.
Signed-off-by: Michal Simek mon...@monstr.eu
---
arch/microblaze/lib/board.c |4 +
common/serial.c | 14
drivers/serial/serial_xuartlite.c| 138
501 - 600 of 7592 matches
Mail list logo