Re: [U-Boot] [PATCH 6/8] microblaze: Add faked LL_TEMAC driver configuration

2012-02-23 Thread Michal Simek
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

Re: [U-Boot] [PATCH 8/8] microblaze: ll_temac: export xilinx_ll_temac_eth_init() for evaluation

2012-02-23 Thread Michal Simek
#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

Re: [U-Boot] [PATCH 1/8] net: ll_temac: Add LL TEMAC driver to u-boot

2012-02-23 Thread Michal Simek
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

Re: [U-Boot] [PREVIEW] LL TEMAC v10 refactored -- for evaluation only

2012-02-23 Thread Michal Simek
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

Re: [U-Boot] [PATCH] microblaze: Enable phylib and mii support

2012-03-27 Thread Michal Simek
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

[U-Boot] Pull request - microblaze

2012-03-27 Thread Michal Simek
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

Re: [U-Boot] [PATCH 1/4] net: ll_temac: Add LL TEMAC driver to u-boot

2012-03-27 Thread Michal Simek
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

Re: [U-Boot] [PATCH 1/4] net: ll_temac: Add LL TEMAC driver to u-boot

2012-03-28 Thread Michal Simek
, 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

[U-Boot] [PATCH 02/26] net: emaclite: Remove deviceid property

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 01/26] net: emaclite: Change driver name and add address

2011-09-13 Thread Michal Simek
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

[U-Boot] Microblaze/Xilinx drivers changes

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 03/26] net: emaclite: Use calloc instead of malloc

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 05/26] net: emaclite: Use dynamic allocation

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 07/26] net: emaclite: Use unsigned long for baseaddr

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 06/26] net: emaclite: Setup RX/TX ping pong for every instance

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 09/26] net: emaclite: Use PKTSIZE directly

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 04/26] net: emaclite: Remove baseaddress from xemaclite

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 08/26] net: emaclite: Move RX/TX ping pong initialization to board

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 11/26] microblaze: Support CTRL+C when tftp is running

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 10/26] net: emaclite: Fix coding style

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 12/26] microblaze: Support flashes on lower addresses

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 13/26] microblaze: Initialize jumptable and console

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 14/26] microblaze: Fix unaligned.h for endians

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 15/26] microblaze: Copy bootfile from variables

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 16/26] microblaze: Remove debug saving value

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 17/26] microblaze: Setup MB vectors if feature is enable for u-boot

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 18/26] microblaze: Save and restore first unused vector

2011-09-13 Thread Michal Simek
-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

[U-Boot] [PATCH 19/26] microblaze: Clean up reset asm code

2011-09-13 Thread Michal Simek
- 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

[U-Boot] [PATCH 20/26] microblaze: Do not select NFS for platforms without ethernet

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 22/26] microblaze: Enable FDT/FIT support

2011-09-13 Thread Michal Simek
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] [PATCH 21/26] microblaze: Remove address offset for uart16550

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 23/26] serial: uartlite: Support for SERIAL_MULTI

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 24/26] microblaze: Enable SERIAL_MULTI

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 25/26] net: axi_ethernet: Add driver to u-boot

2011-09-13 Thread Michal Simek
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

[U-Boot] [PATCH 26/26] microblaze: Wire up axi_ethernet driver initialization

2011-09-13 Thread Michal Simek
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

Re: [U-Boot] Microblaze/Xilinx drivers changes

2011-09-13 Thread Michal Simek
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

Re: [U-Boot] Microblaze/Xilinx drivers changes

2011-09-13 Thread Michal Simek
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

Re: [U-Boot] [PATCH v2] serial: uartlite: Support for SERIAL_MULTI

2011-09-13 Thread Michal Simek
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

Re: [U-Boot] Microblaze/Xilinx drivers changes

2011-09-13 Thread Michal Simek
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

Re: [U-Boot] [PATCH 12/26] microblaze: Support flashes on lower addresses

2011-09-14 Thread Michal Simek
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

Re: [U-Boot] [PATCH 11/26] microblaze: Support CTRL+C when tftp is running

2011-09-14 Thread Michal Simek
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

[U-Boot] [PATCH v4] serial: uartlite: Support for SERIAL_MULTI

2011-09-15 Thread Michal Simek
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

[U-Boot] [PATCH v3] net: axi_ethernet: Add driver to u-boot

2011-09-15 Thread Michal Simek
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

Re: [U-Boot] [PATCH v4] serial: uartlite: Support for SERIAL_MULTI

2011-09-20 Thread Michal Simek
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

Re: [U-Boot] [PATCH v4] serial: uartlite: Support for SERIAL_MULTI

2011-09-21 Thread Michal Simek
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

Re: [U-Boot] [PATCH v4] serial: uartlite: Support for SERIAL_MULTI

2011-09-21 Thread Michal Simek
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

[U-Boot] [PATCH v5] serial: uartlite: Support for SERIAL_MULTI

2011-09-26 Thread Michal Simek
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

Re: [U-Boot] [PATCH v3] net: axi_ethernet: Add driver to u-boot

2011-09-26 Thread Michal Simek
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

[U-Boot] [PATCH v2] net: emaclite: Use dynamic allocation

2011-09-27 Thread Michal Simek
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

Re: [U-Boot] [PATCH v2] net: emaclite: Use dynamic allocation

2011-09-29 Thread Michal Simek
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

[U-Boot] Pull request - microblaze

2011-10-03 Thread Michal Simek
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

[U-Boot] Pull request - emaclite

2011-10-03 Thread Michal Simek
-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

Re: [U-Boot] Pull request - microblaze

2011-10-03 Thread Michal Simek
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

[U-Boot] Pull request v2 - microblaze

2011-10-03 Thread Michal Simek
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

Re: [U-Boot] [PATCH v5] serial: uartlite: Support for SERIAL_MULTI

2011-10-04 Thread Michal Simek
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

Re: [U-Boot] [PATCH v3] net: axi_ethernet: Add driver to u-boot

2011-10-04 Thread Michal Simek
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

[U-Boot] [PATCH v4] net: axi_ethernet: Add driver to u-boot

2011-10-07 Thread Michal Simek
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

Re: [U-Boot] [PATCH v3] net: axi_ethernet: Add driver to u-boot

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 1/5 v2] microblaze: Call common console_init_f initialization function

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 2/5 v4] microblaze: Support flashes on lower addresses

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 3/5 v3] microblaze: Initialize jumptable and console

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 4/5 v2] microblaze: Fix unaligned.h for endians

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 5/5 v2] microblaze: Copy bootfile from variables

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 1/3 v2] net: emaclite: Setup RX/TX ping pong for every instance

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 2/3] net: emaclite: Use PKTSIZE directly

2011-10-07 Thread Michal Simek
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

[U-Boot] [PATCH 3/3] net: emaclite: Fix coding style

2011-10-07 Thread Michal Simek
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

Re: [U-Boot] [PATCH 1/3 v2] net: emaclite: Setup RX/TX ping pong for every instance

2011-10-10 Thread Michal Simek
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

[U-Boot] Pull request - microblaze

2011-10-10 Thread Michal Simek
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

[U-Boot] microblaze - serial multi

2011-10-10 Thread Michal Simek
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

[U-Boot] [PATCH] microblaze: Enable SERIAL_MULTI

2011-10-10 Thread Michal Simek
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

Re: [U-Boot] [PATCH 4/5 v2] microblaze: Fix unaligned.h for endians

2011-10-10 Thread Michal Simek
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

Re: [U-Boot] [PATCH] microblaze: Enable SERIAL_MULTI

2011-10-10 Thread Michal Simek
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

Re: [U-Boot] [PATCH v4] net: axi_ethernet: Add driver to u-boot

2011-10-13 Thread Michal Simek
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

[U-Boot] Pull request - emaclite and axi ethernet driver

2011-10-13 Thread Michal Simek
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

[U-Boot] [PATCH 0/3] Microblaze/Xilinx network driver changes

2011-10-13 Thread Michal Simek
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

[U-Boot] [PATCH 1/3 v2] net: emaclite: Use unsigned long for baseaddr

2011-10-13 Thread Michal Simek
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

[U-Boot] [PATCH 2/3 v2] net: emaclite: Move RX/TX ping pong initialization to

2011-10-13 Thread Michal Simek
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

[U-Boot] [PATCH 3/3] microblaze: Wire up axi_ethernet driver initialization

2011-10-13 Thread Michal Simek
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

[U-Boot] mii_phy.h

2011-08-25 Thread Michal Simek
-- 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

[U-Boot] phylib + mii + phy_parse_status

2011-08-25 Thread Michal Simek
/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

Re: [U-Boot] [PATCH] xilinx_emaclite.c ping-pong macro names

2011-08-25 Thread Michal Simek
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

Re: [U-Boot] mii_phy.h

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 1/8] net: emaclite: Change driver name and add address

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 2/8] net: emaclite: Remove deviceid property

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 3/8] net: emaclite: Use calloc instead of malloc

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 4/8] net: emaclite: Remove baseaddress from xemaclite

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 6/8] net: emaclite: Setup RX/TX ping pong for every instance

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 7/8] net: emaclite: Free allocated space for device

2011-08-26 Thread Michal Simek
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

[U-Boot] [PATCH 8/8] net: emaclite: Move RX/TX ping pong initialization to board

2011-08-26 Thread Michal Simek
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

[U-Boot] Device driver name - NET_MULTI

2011-08-26 Thread Michal Simek
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

[U-Boot] [RFC PATCH] net: Check network device driver name

2011-08-26 Thread Michal Simek
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

Re: [U-Boot] [PATCH 1/8] net: emaclite: Change driver name and add address

2011-08-28 Thread Michal Simek
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

Re: [U-Boot] [PATCH 7/8] net: emaclite: Free allocated space for device

2011-08-28 Thread Michal Simek
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

Re: [U-Boot] [RFC PATCH] net: Check network device driver name

2011-08-29 Thread Michal Simek
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

[U-Boot] [PATCH] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-29 Thread Michal Simek
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

[U-Boot] [PATCH v2] net: Check network device driver name

2011-08-30 Thread Michal Simek
+ 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

[U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-08-30 Thread Michal Simek
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

[U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-30 Thread Michal Simek
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

Re: [U-Boot] [PATCH] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-31 Thread Michal Simek
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

[U-Boot] [PATCH] serial: uartlite: Support for SERIAL_MULTI

2011-08-31 Thread Michal Simek
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

<    1   2   3   4   5   6   7   8   9   10   >