[U-Boot] which toolchain version for Microblaze

2012-10-12 Thread Stephan Linz
Hi Michal, Hi David which version of binutils and gcc you are currently using for embedded Linux development? Just now I've played a little bit with the new one I've found in the Xilinx git repository on: git://git.xilinx.com/microblaze-gnu.git Unfortunately both the binaries and the sources see

Re: [U-Boot] [PATCH 2/4] microblaze: Fix byteorder for microblaze

2012-10-11 Thread Stephan Linz
p; 0x00FFU) << 8) | ((half_word & 0xFF00U) >> 8); > - > - return (__u16) temp; > -} > - > -#define __arch__swab16(x) ___arch__swab16(x) > - > -/* Microblaze has no arch-specific endian conversion insns */ > - Acked-by:

Re: [U-Boot] [PATCH 1/4] microblaze: Fix compilation warning in ext2_find_next_zero_bit

2012-10-11 Thread Stephan Linz
e) \ > ext2_find_next_zero_bit((addr), (size), 0) > > -extern __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned > long size, unsigned long offset) > +static inline unsigned long ext2_find_next_zero_bit(void *addr, > +

Re: [U-Boot] [PATCH] microblaze: Call spi_init function

2012-08-10 Thread Stephan Linz
Am Freitag, den 10.08.2012, 09:09 +0200 schrieb Michal Simek: > Initialization spi. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz > --- > arch/microblaze/lib/board.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/

Re: [U-Boot] [PATCH v2 3/7] microblaze: intc: Registering interrupt should return value

2012-08-08 Thread Stephan Linz
Am Mittwoch, den 08.08.2012, 10:27 +0200 schrieb Michal Simek: > On 08/07/2012 10:10 PM, Stephan Linz wrote: > > Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > >> Return value to find out if un/registration was succesful. > >> >

[U-Boot] [PATCH] spi: xilinx: Remove unused variable

2012-08-07 Thread Stephan Linz
Warning is: xilinx_spi.c: In function 'spi_setup_slave': xilinx_spi.c:81: warning: unused variable 'regs' Signed-off-by: Stephan Linz CC: Michal Simek --- drivers/spi/xilinx_spi.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/spi/xilinx

Re: [U-Boot] [PATCH 2/2] serial: uartlite: Init all uartlites for serial multi

2012-08-07 Thread Stephan Linz
Am Dienstag, den 07.08.2012, 14:20 +0200 schrieb Michal Simek: > Initialize all possible uartlites and return the first > initialized port. For static configuration is initialization > done in userial_ports array. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz Tested

Re: [U-Boot] [PATCH 1/2] serial: Support serial multi for Microblaze

2012-08-07 Thread Stephan Linz
Am Dienstag, den 07.08.2012, 14:20 +0200 schrieb Michal Simek: > enable serial multi for Microblaze. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz > --- > include/serial.h |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/in

Re: [U-Boot] [PATCH v2 7/7] microblaze: board: Use bi_flashstart instead of CONFIG_SYS_FLASH_BASE

2012-08-07 Thread Stephan Linz
Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > Prepare for device-tree driven configuration. > > Signed-off-by: Michal Simek > Acked-by: Stephan Linz Tested with AXI systems on Avnet S6LX150T and S6LX9 micro-evaluation. > --- > v2: Move bi_flashsize and b

Re: [U-Boot] [PATCH v2 6/7] microblaze: Clean microblaze initialization

2012-08-07 Thread Stephan Linz
Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > Move board specific function to board_init function in board/ folder > Remove externs from generic board.c > Use board_init_f function in board.c file. > > Signed-off-by: Michal Simek > Acked-by: Stephan Linz

Re: [U-Boot] [PATCH v2 5/7] microblaze: timer: Prepare for device-tree initialization

2012-08-07 Thread Stephan Linz
Hi Michal, looks fine, but ... (see below) Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > microblaze: Fix CONFIG_SYS_HZ usage in board config > > Do not use hardcoded value. Use CONFIG_SYS_HZ instead. > Separate static configuration to single block. > > Signed-off-by: Michal Si

Re: [U-Boot] [PATCH v2 4/7] microblaze: intc: Coding style cleanup

2012-08-07 Thread Stephan Linz
Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > Just coding style cleanup. > Remove unneeded externs. > > Signed-off-by: Michal Simek > Acked-by: Simon Glass > Acked-by: Stephan Linz > -- > v2: Rebase - depends on previous intc patch > --- > ar

Re: [U-Boot] [PATCH v2 3/7] microblaze: intc: Registering interrupt should return value

2012-08-07 Thread Stephan Linz
Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > Return value to find out if un/registration was succesful. > > Signed-off-by: Michal Simek > > --- > v2: Add comment to header file to describe parameters and return codes > --- > arch/microblaze/cpu/interrupts.c | 1

Re: [U-Boot] [PATCH v2 2/7] microblaze: board: Remove compilation warning

2012-08-07 Thread Stephan Linz
Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used. > > Warning log: > board.c: In function 'board_init': > board.c:101: warning: unused variable 's' > > Signed-off-by: Michal Simek >

Re: [U-Boot] [PATCH v2 1/7] microblaze: Add support for device tree driven board configuration

2012-08-07 Thread Stephan Linz
ONFIG_OF_EMBED and CONFIG_OF_SEPARATE. > > Signed-off-by: Michal Simek > CC: Simon Glass > Acked-by: Stephan Linz Tested with AXI systems on Avnet S6LX150T and S6LX9 micro-evaluation. > --- > v2: Show message about DTB address in bootlog > --- > arch/microblaze/c

[U-Boot] [PATCH] input: key_matrix: fix header inclusion

2012-08-02 Thread Stephan Linz
h:364: error: conflicting types for 'memset' include/linux/string.h:71: error: previous declaration of 'memset' was here include/malloc.h:365: error: conflicting types for 'memcpy' include/linux/string.h:74: error: previous declaration of 'memcpy' was here Signed-

[U-Boot] [PATCH v2 2/2] sf: stmicro: add support N25Q128 parts

2012-08-02 Thread Stephan Linz
Adds support for Numonyx's N25Q128 SPI flash. These devices are used on (among others) Avnet Spartan-6 LX9 micro-evaluation boards. Tested with "sf" commands and CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Stephan Linz --- v2: rebase to master sha1:56249fe --- drivers/mtd/spi/s

[U-Boot] [PATCH v2 1/2] sf: stmicro: support JEDEC standard two-byte signature

2012-08-02 Thread Stephan Linz
stmicro driver have to decode the full two-byte signature. Signed-off-by: Stephan Linz --- v2: rebase to master sha1:56249fe add local u16 variable to store idcode[1..2] for computation and debug print out --- drivers/mtd/spi/stmicro.c | 27 +++ 1 files changed, 15

Re: [U-Boot] [PATCH 2/2] sf: stmicro: add support N25Q128 parts

2012-08-01 Thread Stephan Linz
Am Mittwoch, den 01.08.2012, 13:53 -0400 schrieb Mike Frysinger: > On Friday 13 July 2012 14:07:19 Stephan Linz wrote: > > Adds support for Numonyx's N25Q128 SPI flash. These devices > > are used on (among others) Avnet Spartan-6 LX9 micro-evaluation > > boards. Tes

[U-Boot] [PATCH 1/2] spi: microblaze: Adds driver for Xilinx SPI controller

2012-07-28 Thread Stephan Linz
/ timeouts - support SPI mode flags: LSB_FIRST, CPHA, CPOL, LOOP Come from: http://patchwork.ozlabs.org/patch/71797/ Signed-off-by: Stephan Linz --- v2: Remove useles information from commit message Add newline and split variable declaration from code --- drivers/spi/Makefile

[U-Boot] [PATCH 2/2] microblaze: Wire up SPI driver

2012-07-28 Thread Stephan Linz
Depending on XILINX_SPI_FLASH_BASEADDR enable SPI flash and environment in SPI flash. Expected values from xparameters.h are: - XILINX_SPI_FLASH_BASEADDR - XILINX_SPI_FLASH_MAX_FREQ - XILINX_SPI_FLASH_CS Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 55

Re: [U-Boot] [PATCH 1/2] spi: microblaze: Adds driver for Xilinx SPI controller

2012-07-28 Thread Stephan Linz
Hi Michal, I'll resubmit a new patch which fixes your notes. br, Stephan Am Dienstag, den 24.07.2012, 12:56 +0200 schrieb Michal Simek: > On 07/14/2012 12:30 AM, Stephan Linz wrote: > > This is an improved version of the driver patch original > > submitted by Graeme

[U-Boot] [PATCH 1/2] spi: microblaze: Adds driver for Xilinx SPI controller

2012-07-13 Thread Stephan Linz
-off-by: Stephan Linz --- drivers/spi/Makefile |1 + drivers/spi/xilinx_spi.c | 210 ++ drivers/spi/xilinx_spi.h | 135 + 3 files changed, 346 insertions(+), 0 deletions(-) create mode 100644 drivers/spi/xilinx_spi.c

[U-Boot] [PATCH 2/2] microblaze: Wire up SPI driver

2012-07-13 Thread Stephan Linz
Depending on XILINX_SPI_FLASH_BASEADDR enable SPI flash and environment in SPI flash. Expected values from xparameters.h are: - XILINX_SPI_FLASH_BASEADDR - XILINX_SPI_FLASH_MAX_FREQ - XILINX_SPI_FLASH_CS Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 55

[U-Boot] [PATCH 2/2] sf: stmicro: add support N25Q128 parts

2012-07-13 Thread Stephan Linz
Adds support for Numonyx's N25Q128 SPI flash. These devices are used on (among others) Avnet Spartan-6 LX9 micro-evaluation boards. Tested with "sf" commands and CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Stephan Linz --- drivers/mtd/spi/stmicro.c |7 +++ 1 files change

[U-Boot] [PATCH 1/2] sf: stmicro: support JEDEC standard two-byte signature

2012-07-13 Thread Stephan Linz
stmicro driver have to decode the full two-byte signature. Signed-off-by: Stephan Linz --- drivers/mtd/spi/stmicro.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index a9b33cf..4bee9ce 100644

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-10 Thread Stephan Linz
Am Dienstag, den 10.07.2012, 10:16 +0200 schrieb Michal Simek: > On 07/09/2012 09:06 PM, Stephan Linz wrote: > > Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > >> microblaze: Fix CONFIG_SYS_HZ usage in board config > >> > >> Do not use hardco

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
usec / 1000)) > - ; > + if (tmr) { > + i = get_timer(0); > + while ((get_timer(0) - i) < (usec / 1000)) > + ; Hi Michal, > + } else { > + for (i = 0; i < (usec * XILINX_CLOCK_FREQ / 1000); i++) > +

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > microblaze: Fix CONFIG_SYS_HZ usage in board config > > Do not use hardcoded value. Use CONFIG_SYS_HZ instead. > Separate static configuration to single block. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > Read configuration from DTB. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/timer.c | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/cpu

Re: [U-Boot] [PATCH 2/2] [v2] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Stephan Linz
= dev->priv; > + int ret; > > printf("%s: Xilinx XPS LocalLink Tri-Mode Ether MAC #%d at 0x%08X.\n", > dev->name, dev->index, dev->iobase); > @@ -240,7 +241,12 @@ static int ll_temac_init(struct eth_device *dev, bd_t > *bis) >

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-04 Thread Stephan Linz
Am Mittwoch, den 04.07.2012, 08:24 +0200 schrieb Michal Simek: > On 07/03/2012 10:22 PM, Stephan Linz wrote: > > Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > >> Hi, > >> > >> On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > >

[U-Boot] [PATCH 3/3] microblaze: Wire up OF support for emaclite

2012-07-04 Thread Stephan Linz
- expand the condition with CONFIG_OF_CONTROL Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 386189f..01e3421

[U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion

2012-07-04 Thread Stephan Linz
d/dts subdir with the file name of CONFIG_DEFAULT_DEVICE_TREE. The common dts file in vendor/dts subdir (defined by CONFIG_DEFAULT_DEVICE_TREE) contain a single include line that can processed by CPP: /include/ BOARD_DTS Signed-off-by: Stephan Linz --- dts/Makefile |3 ++- 1 files chang

[U-Boot] [PATCH 2/3] microblaze: Wire up dts configuration

2012-07-04 Thread Stephan Linz
- enable OF control and embedded OF - set default device tree file name to 'microblaze' - add CPP to dtc proxy: board/xilinx/dts/microblaze.dts - add an empty but processable dts for microblaze-generic Signed-off-by: Stephan Linz --- board/xilinx/dts/micr

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Stephan Linz
Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > Hi, > > On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > > > 2012/6/29 Stephan Linz : > > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > > >> On 06/29/2012 0

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Stephan Linz
Hi, Am Montag, den 02.07.2012, 07:43 +0200 schrieb Michal Simek: > 2012/6/29 Stephan Linz : > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > >> On 06/29/2012 04:32 AM, Simon Glass wrote: > >> > Hi, > >> > > >> > --snip-- &

Re: [U-Boot] [PATCH 2/2] microblaze: move ENV onto top of flash

2012-07-02 Thread Stephan Linz
Am Montag, den 02.07.2012, 07:52 +0200 schrieb Michal Simek: > 2012/7/1 Stephan Linz : > > On Microblaze systems with BPI configuration from CFI flash > > the first 1-10 MB will occupied by the FPGA configuration > > data (BIN file). So we can not use this area for the U

[U-Boot] [PATCH 1/2] microblaze: expand and correct configuration comments

2012-07-01 Thread Stephan Linz
_LEN definitions - add a "CFI flash memory layout - Example" comment Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 36 +++-- 1 files changed, 29 insertions(+), 7 deletions(-) diff --git a/include/configs/microblaze-generic.h

[U-Boot] [PATCH 2/2] microblaze: move ENV onto top of flash

2012-07-01 Thread Stephan Linz
usage. Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index e20eb08..818435d 100644 --- a/include/configs/microblaze

[U-Boot] [PATCH] microblaze: add missing undefs for UBI and UBIFS

2012-06-29 Thread Stephan Linz
In the case of missing flash usage disaple (undef) all the UBI support in the same way as for JFFS2. Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-06-29 Thread Stephan Linz
Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > On 06/29/2012 04:32 AM, Simon Glass wrote: > > Hi, > > > > --snip-- > > I have sent support for Microblaze. Currently without dts because I want to > clear this part a little bit. Hi Michal, looks good, I've been waiting a long ti

Re: [U-Boot] [PATCH 5/5] microblaze: Wire up fdt emaclite initialization

2012-06-29 Thread Stephan Linz
Am Freitag, den 29.06.2012, 09:37 +0200 schrieb Michal Simek: > Call emaclite FDT registration when CONFIG_OF_CONTROL is used. > > Signed-off-by: Michal Simek > --- > .../xilinx/microblaze-generic/microblaze-generic.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --

[U-Boot] [PATCH 1/3] microblaze: remove wrong define CONFIG_SYS_FLASH_PROTECTION

2012-06-26 Thread Stephan Linz
CONFIG_SYS_FLASH_PROTECTION will defined twice. The second one is outside the flash configuration context and we can remove it safely. Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 2/3] microblaze: avoid compile error on systems without cfi flash

2012-06-26 Thread Stephan Linz
for each function it appears in.) Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 5f16820..2ef7d62 100644 -

[U-Boot] [PATCH 3/3] microblaze: Enable ubi support

2012-06-26 Thread Stephan Linz
Increase malloc area for UBI to >= 512k -- foreseeing of UBIFS set to 768k. To save memory in flash (CONFIG_SYS_MONITOR_LEN) the UBIFS is disabled by default. Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 20 ++-- 1 files changed, 18 insertions(+)

Re: [U-Boot] [PATCH 1/2] microblaze: avoid compile error on systems without cfi flash

2012-06-26 Thread Stephan Linz
Am Dienstag, den 26.06.2012, 10:56 +0200 schrieb Michal Simek: > 2012/6/25 Stephan Linz : > > Am Montag, den 25.06.2012, 06:55 +0200 schrieb Michal Simek: > >> On 06/21/2012 09:42 PM, Stephan Linz wrote: > >> > Use XILINX_FLASH_START to set/unset FLASH and R

Re: [U-Boot] [PATCH 2/2] microblaze: Enable ubi support

2012-06-26 Thread Stephan Linz
Am Dienstag, den 26.06.2012, 10:52 +0200 schrieb Michal Simek: > 2012/6/25 Stephan Linz : > > Am Montag, den 25.06.2012, 09:22 +0200 schrieb Wolfgang Denk: > >> Dear Michal Simek, > >> > >> In message <4fe7f154.80...@monstr.eu> you wrote: > &g

Re: [U-Boot] [PATCH 1/2] microblaze: avoid compile error on systems without cfi flash

2012-06-25 Thread Stephan Linz
Am Montag, den 25.06.2012, 06:55 +0200 schrieb Michal Simek: > On 06/21/2012 09:42 PM, Stephan Linz wrote: > > Use XILINX_FLASH_START to set/unset FLASH and RAMENV. > > > > Error was: > > board.c: In function 'board_init': > > board.c:134: error: 'X

Re: [U-Boot] [PATCH 2/2] microblaze: Enable ubi support

2012-06-25 Thread Stephan Linz
Am Montag, den 25.06.2012, 09:22 +0200 schrieb Wolfgang Denk: > Dear Michal Simek, > > In message <4fe7f154.80...@monstr.eu> you wrote: > > On 06/21/2012 09:42 PM, Stephan Linz wrote: > > > To save memory the UBIFS is disabled by default. > > > > > &g

[U-Boot] [PATCH 1/2] microblaze: avoid compile error on systems without cfi flash

2012-06-21 Thread Stephan Linz
for each function it appears in.) Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 295d123..2ef7d62 100644 -

[U-Boot] [PATCH 2/2] microblaze: Enable ubi support

2012-06-21 Thread Stephan Linz
To save memory the UBIFS is disabled by default. The original patch was introdused with commit: 0114da7b06bd47b7f5c3f20a152dd11903b38fba Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 23 +++ 1 files changed, 19 insertions(+), 4 deletions(-) diff

Re: [U-Boot] undefined reference to `net_set_upd_handler'

2012-05-23 Thread Stephan Linz
Hi Joe, thanks, now it compiles without error, tftpput works too. br, Stephan Am Mittwoch, den 23.05.2012, 17:54 -0500 schrieb Joe Hershberger: > Hi Stephan, > > On Wed, May 23, 2012 at 5:50 PM, Joe Hershberger > wrote: > > Hi Stephan, > > > > On Wed, May 23,

[U-Boot] undefined reference to `net_set_upd_handler'

2012-05-23 Thread Stephan Linz
Hello Joe, just I've tried out your custodian network tree at a99acb7 and run in the link error below: net/libnet.o: In function `NetLoop': net/net.c:539: undefined reference to `net_set_upd_handler' I think it is a typo in commit 6476b33, or not? The patch snipped below would fix it. It works

[U-Boot] [PATCH] drivers/net/xilinx_ll_temac.c: Fix compile warning

2012-05-22 Thread Stephan Linz
Fix this: xilinx_ll_temac.c: In function 'xilinx_ll_temac_initialize': xilinx_ll_temac.c:332: warning: assignment from incompatible pointer type xilinx_ll_temac.c:340: warning: assignment from incompatible pointer type Signed-off-by: Stephan Linz --- drivers/net/xilinx_ll_temac_fif

[U-Boot] [PATCH] drivers/net/xilinx_axi_emac.c: Fix compile warning

2012-05-22 Thread Stephan Linz
Fix this: xilinx_axi_emac.c: In function 'xilinx_axiemac_initialize': xilinx_axi_emac.c:646: warning: assignment from incompatible pointer type Signed-off-by: Stephan Linz --- drivers/net/xilinx_axi_emac.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/d

[U-Boot] [PATCH] drivers/net/xilinx_emaclite.c: Fix compile warning

2012-05-22 Thread Stephan Linz
Fix this: xilinx_emaclite.c: In function 'xilinx_emaclite_initialize': xilinx_emaclite.c:371: warning: assignment from incompatible pointer type Signed-off-by: Stephan Linz --- drivers/net/xilinx_emaclite.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [STATUS] v2012.04-rc2 and -rc3 are out

2012-04-20 Thread Stephan Linz
Am Mittwoch, den 18.04.2012, 23:10 +0200 schrieb Wolfgang Denk: > Hi everybody, > > sorry, I forgot to announce the 2012.04-rc2 pre-release two days ago, > so I will atleast announce that we have > > v2012.04-rc3 fine ... > > now. > > Please help testing, so we can fix the remaining is

[U-Boot] [PATCH] net: ll_temac: drop obsolete "NAMESIZE" define

2012-04-10 Thread Stephan Linz
#x27; undeclared (first use in this function) xilinx_ll_temac.c:301: error: (Each undeclared identifier is reported only once xilinx_ll_temac.c:301: error: for each function it appears in.) Signed-off-by: Stephan Linz --- drivers/net/xilinx_ll_temac.c |4 ++-- 1 files changed, 2 insertions(+)

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

2012-03-30 Thread Stephan Linz
Hello Joe and Michal, Am Mittwoch, den 28.03.2012, 09:53 +0200 schrieb Michal Simek: > Hi Joe, > > >> Stephan Linz wrote: > >>> Xilinx LocalLink Tri-Mode Ether MAC driver can be > >>> used by Xilinx Microblaze or Xilinx ppc405/440 in > >>

Re: [U-Boot] [PATCH 2/4] microblaze: Enable several ethernet driver compilation

2012-02-25 Thread Stephan Linz
Note: this patch depends on commit "microblaze: Enable phylib and mii support" (http://patchwork.ozlabs.org/patch/142957/) br- Stephan Am Samstag, den 25.02.2012, 11:48 +0100 schrieb Stephan Linz: > U-Boot's multipple network supports enables to use > several ethernet d

[U-Boot] [PATCH 4/4] microblaze: Wire up LL_TEMAC driver initialization

2012-02-25 Thread Stephan Linz
Initialize ll_temac driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- .../xilinx/microblaze-generic/microblaze-generic.c | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board

[U-Boot] [PATCH 3/4] microblaze: Add faked LL_TEMAC driver configuration

2012-02-25 Thread Stephan Linz
xparameters.h as a faked board configuration to force the compilation of all potential driver code for Microblaze systems. Signed-off-by: Stephan Linz --- board/xilinx/microblaze-generic/config.mk |6 -- board/xilinx/microblaze-generic/xparameters.h | 12 ++-- 2 files changed, 14

[U-Boot] [PATCH 2/4] microblaze: Enable several ethernet driver compilation

2012-02-25 Thread Stephan Linz
U-Boot's multipple network supports enables to use several ethernet drivers but microblaze-generic platform config file select only one driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 11 ++- 1 files changed, 6 insertions(

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

2012-02-24 Thread Stephan Linz
Enable phylib and mii support for AXI EMAC ethernet drivers on Microblaze systems. Signed-off-by: Stephan Linz Reported-by: Michal Simek --- include/configs/microblaze-generic.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/include/configs

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

2012-02-23 Thread Stephan Linz
Am Donnerstag, den 23.02.2012, 13:22 +0100 schrieb Michal Simek: > Hi Stephan, Hi Michal, I will take your comments seriously and ar working on a solution without a complex conversion matrix and a ll_temac standard initialization. Give me some time to do so ... Stephan > > Stephan L

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

2012-02-23 Thread Stephan Linz
Am Donnerstag, den 23.02.2012, 12:56 +0100 schrieb Michal Simek: > Stephan Linz wrote: > > Signed-off-by: Stephan Linz > > --- > > .../xilinx/microblaze-generic/microblaze-generic.c | 57 > > > > drivers/net/xilinx_ll_temac.c

[U-Boot] [PATCH] microblaze: fix build failure due to undefined reference to `get_ticks'

2012-02-22 Thread Stephan Linz
u-boot/common/main.c:717: undefined reference to `get_tbclk' /devel/u-boot/common/main.c:720: undefined reference to `get_ticks' Signed-off-by: Stephan Linz Acked-by: Michal Simek --- arch/microblaze/cpu/timer.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-)

[U-Boot] state of LL TEMAC evaluation

2012-02-22 Thread Stephan Linz
xilinx_ll_temac_standard_init() -- we can easily expand in the future -- Best regards, Stephan Linz __ MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start OpenDCC: http://www.li-pro.net/opendcc.phtml PC/M: http://www.li-pro.net/pcm.phtml Sourceforge

[U-Boot] [PATCH] microblaze: fix build failure due to undefined reference to `get_ticks'

2012-02-22 Thread Stephan Linz
t/common/main.c:720: undefined reference to `get_ticks' Signed-off-by: Stephan Linz Acked-by: Michal Simek --- arch/microblaze/cpu/timer.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c in

[U-Boot] [PATCH] microblaze: avoid interrupt race conditions

2012-02-22 Thread Stephan Linz
-- for example the new axi_timer v1.02.a introduced in ISE 13.2. Signed-off-by: Stephan Linz Acked-by: Michal Simek --- arch/microblaze/cpu/interrupts.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c

Re: [U-Boot] [PATCH] microblaze: fix build failure due to undefined reference to `get_ticks'

2012-02-22 Thread Stephan Linz
Am Mittwoch, den 22.02.2012, 10:52 +0100 schrieb Michal Simek: > Stephan Linz wrote: > > after http://patchwork.ozlabs.org/patch/136415/ was applied. > > The Microblaze generic build fails with below error > > Please sure patch subject + sha1 sum instead of link to system &g

[U-Boot] [PATCH] microblaze: fix build failure due to undefined reference to `get_ticks'

2012-02-18 Thread Stephan Linz
`get_tbclk' /devel/u-boot/common/main.c:720: undefined reference to `get_ticks' Signed-off-by: Stephan Linz --- arch/microblaze/cpu/timer.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c in

Re: [U-Boot] [PATCH] microblaze: fix build failure due to undefined reference to `get_ticks'

2012-02-18 Thread Stephan Linz
Oops, I've given a wrong sender. Please drop the patch. I'll resend ... br, Stephan Am Samstag, den 18.02.2012, 11:41 +0100 schrieb y: > From: Stephan Linz > > after http://patchwork.ozlabs.org/patch/136415/ was applied. > The Microblaze generic build fails with b

[U-Boot] [PATCH] microblaze: avoid interrupt race conditions

2012-02-17 Thread Stephan Linz
example the new axi_timer v1.02.a introduced in ISE 13.2 Signed-off-by: Stephan Linz --- arch/microblaze/cpu/interrupts.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c index 5a13211..e7ca859 100644

Re: [U-Boot] [PATCH 1/3 v2] common: add possibility for readline_into_buffer timeout

2012-02-17 Thread Stephan Linz
Hello Heiko, it seems there is a problem with this patch for some architectures. On Microblaze I run into linker errors: common/libcommon.o: In function `cread_line': u-boot-bref/common/main.c:717: undefined reference to `get_ticks' u-boot-mbref/common/main.c:717: undefined reference to `get_tbcl

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

2012-01-31 Thread Stephan Linz
Am Dienstag, den 31.01.2012, 10:01 +0100 schrieb Michal Simek: > Stephan Linz wrote: > > Expand the specific configuration for the microblaze-generic > > board in xparameters.h with a faked setup to enable the > > LL_TEMAC driver. > > > > Note: From now the micr

Re: [U-Boot] [PATCH 2/8] microblaze: Enable several ethernet driver compilation

2012-01-31 Thread Stephan Linz
Am Dienstag, den 31.01.2012, 10:00 +0100 schrieb Michal Simek: > Stephan Linz wrote: > > U-Boot's multipple network supports enables to use > > several ethernet drivers but microblaze-generic > > platform config file select only one driver. > > > > Report

[U-Boot] [PATCH 3/8] microblaze: Enable phylib and mii support

2012-01-29 Thread Stephan Linz
From: Michal Simek Enable phylib and mii support for LLTEMAC or AXI EMAC ethernet drivers on Microblaze systems. Signed-off-by: Michal Simek Acked-by: Stephan Linz --- include/configs/microblaze-generic.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 4/8] microblaze: Enable TFTP put command

2012-01-29 Thread Stephan Linz
Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 69fcdb6..71d4767 100644 --- a/include/configs/microblaze-generic.h

[U-Boot] [PATCH 5/8] microblaze: Xilinx BSP to U-Boot conversion matrix

2012-01-29 Thread Stephan Linz
This matrix converts values from the automaticaly generated header xparameters.h to U-Boot configuration values as needed. Signed-off-by: Stephan Linz --- board/xilinx/microblaze-generic/xconversions.h | 167 include/configs/microblaze-generic.h |1 + 2

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

2012-01-29 Thread Stephan Linz
Signed-off-by: Stephan Linz --- .../xilinx/microblaze-generic/microblaze-generic.c | 57 drivers/net/xilinx_ll_temac.c |2 +- include/xilinx_ll_temac.h |3 + 3 files changed, 61 insertions(+), 1 deletions(-) diff --git

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

2012-01-29 Thread Stephan Linz
xparameters.h as a faked board configuration to force the compilation of all potential driver code for Microblaze systems. Signed-off-by: Stephan Linz --- board/xilinx/microblaze-generic/config.mk |6 -- board/xilinx/microblaze-generic/xparameters.h | 24 ++-- 2 files

[U-Boot] [PATCH 7/8] microblaze: Wire up LL_TEMAC driver initialization

2012-01-29 Thread Stephan Linz
Initialize ll_temac driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- .../xilinx/microblaze-generic/microblaze-generic.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze

[U-Boot] [PATCH 2/8] microblaze: Enable several ethernet driver compilation

2012-01-29 Thread Stephan Linz
U-Boot's multipple network supports enables to use several ethernet drivers but microblaze-generic platform config file select only one driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 12 1 files changed, 8 inser

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

2012-01-29 Thread Stephan Linz
simple call to the driver? My preferences is to call the driver from platform and let him run all the necessary steps, that I do not want knowing on platform side. -- Best regards, Stephan Linz __ MB-Ref: http://www.l

Re: [U-Boot] [PATCH 2/6] microblaze: Enable several ethernet driver compilation

2012-01-28 Thread Stephan Linz
Hi Mike, Am Donnerstag, den 26.01.2012, 22:58 -0500 schrieb Mike Frysinger: > On Saturday 21 January 2012 16:02:54 Stephan Linz wrote: > > NET_MULTI enables to use several ethernet drivers but > > microblaze-generic platform config file select only > > one driver. > >

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

2012-01-26 Thread Stephan Linz
Am Donnerstag, den 26.01.2012, 16:07 +0100 schrieb Michal Simek: > Hi Stephan, Hi Michal, > > Stephan Linz wrote: > > Xilinx LocalLink Tri-Mode Ether MAC driver can be > > used by Xilinx Microblaze or Xilinx ppc405/440 in > > SDMA and FIFO mode. DCR or XPS bus c

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

2012-01-21 Thread Stephan Linz
Initialize ll_temac driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- .../xilinx/microblaze-generic/microblaze-generic.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze

[U-Boot] [PATCH 5/6] microblaze: Enable TFTP put command

2012-01-21 Thread Stephan Linz
Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index ec2e49e..a4cdcd8 100644 --- a/include/configs/microblaze-generic.h

[U-Boot] [PATCH 2/6] microblaze: Enable several ethernet driver compilation

2012-01-21 Thread Stephan Linz
NET_MULTI enables to use several ethernet drivers but microblaze-generic platform config file select only one driver. Reported-by: Michal Simek Signed-off-by: Stephan Linz --- include/configs/microblaze-generic.h | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 4/6] microblaze: Enable phylib and mii support

2012-01-21 Thread Stephan Linz
From: Michal Simek Enable phylib and mii support for LLTEMAC or AXI EMAC ethernet drivers on Microblaze systems. Signed-off-by: Michal Simek Acked-by: Stephan Linz --- include/configs/microblaze-generic.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff

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

2012-01-21 Thread Stephan Linz
xparameters.h as a faked board configuration to force the compilation of all potential driver code for Microblaze systems. Signed-off-by: Stephan Linz --- board/xilinx/microblaze-generic/config.mk |6 -- board/xilinx/microblaze-generic/xparameters.h | 12 ++-- 2 files changed, 14

[U-Boot] LL TEMAC v9 refactored

2012-01-21 Thread Stephan Linz
://patchwork.ozlabs.org/bundle/rexut/net-ll_temac/ @Michal: Please merge the patches into the custodian git tree for final testing. @Ricardo: Please could you test again the new v9 patch on your PPC440 platform. -- Best regards, Stephan Linz

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

2012-01-17 Thread Stephan Linz
Am Sonntag, den 15.01.2012, 13:47 -0500 schrieb Mike Frysinger: > On Sunday 15 January 2012 13:29:26 Stephan Linz wrote: > > Am Sonntag, den 15.01.2012, 12:28 -0500 schrieb Mike Frysinger: > > > On Sunday 15 January 2012 10:46:02 Stephan Linz wrote: > > > > +/* Data

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

2012-01-16 Thread Stephan Linz
Am Montag, den 16.01.2012, 09:14 +0100 schrieb Wolfgang Denk: > Dear Stephan Linz, Hi Wolfgang, you are right in all points. I'll go into the next round and handle all new request. br, Stephan > > In message <1326652166.18981.213.camel@keto> you wrote: > > > &

Re: [U-Boot] [PATCH] net: ll_temac: Remove useless memory erasing

2012-01-16 Thread Stephan Linz
Am Sonntag, den 15.01.2012, 18:44 -0500 schrieb Mike Frysinger: > On Sunday 15 January 2012 14:46:07 Stephan Linz wrote: > > In xilinx_ll_temac_initialize() the memory is already zero-ed > > by the call to calloc, so this loop is useless. > > has this driver already been

[U-Boot] [PATCH] net: ll_temac: Remove useless memory erasing

2012-01-15 Thread Stephan Linz
In xilinx_ll_temac_initialize() the memory is already zero-ed by the call to calloc, so this loop is useless. Signed-off-by: Stephan Linz --- drivers/net/xilinx_ll_temac.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/net/xilinx_ll_temac.c b/drivers/net

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

2012-01-15 Thread Stephan Linz
Am Sonntag, den 15.01.2012, 13:47 -0500 schrieb Mike Frysinger: > On Sunday 15 January 2012 13:29:26 Stephan Linz wrote: > > Am Sonntag, den 15.01.2012, 12:28 -0500 schrieb Mike Frysinger: > > > On Sunday 15 January 2012 10:46:02 Stephan Linz wrote: > > > > +/* Data

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

2012-01-15 Thread Stephan Linz
Am Sonntag, den 15.01.2012, 12:28 -0500 schrieb Mike Frysinger: > On Sunday 15 January 2012 10:46:02 Stephan Linz wrote: > > +/* Data buffer for LL TEMAC Rx and Tx direction */ > > +static unsigned char rx_buffer[PKTSIZE_ALIGN] > > __attribute((aligned(DMAALIGN))); >

  1   2   >