[U-Boot] [PATCH v9 2/4] net: use common rand()/srand() functions

2012-06-05 Thread Michael Walle
Replace rand() with the functions from lib/. The link-local network code stores its own seed, derived from the MAC address. Thus making it independent from calls to srand() in other modules. Signed-off-by: Michael Walle mich...@walle.cc Acked-by: Joe Hershberger joe.hershber...@ni.com

[U-Boot] [PATCH v9 1/4] lib: add rand() function

2012-06-05 Thread Michael Walle
It's a PRNG using the simple and fast xorshift method. Signed-off-by: Michael Walle mich...@walle.cc Cc: Wolfgang Denk w...@denx.de --- include/common.h |8 lib/Makefile |1 + lib/rand.c | 48 3 files changed, 57

[U-Boot] [PATCH v9 3/4] net: add helper to generate random mac address

2012-06-05 Thread Michael Walle
Add new function eth_random_enetaddr() to generate a locally administered ethernet address. Signed-off-by: Michael Walle mich...@walle.cc Acked-by: Joe Hershberger joe.hershber...@gmail.com --- include/net.h | 17 + net/eth.c | 22 ++ 2 files changed

[U-Boot] [PATCH v9 4/4] Kirkwood: add lschlv2 and lsxhl board support

2012-06-05 Thread Michael Walle
This patch adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com --- MAINTAINERS |5 + board/buffalo/lsxl/Makefile | 44

Re: [U-Boot] [PATCH v9 0/4] Kirkwood: add lschlv2 and lsxhl board support

2012-06-05 Thread Michael Walle
Hi Prafulla, Am Dienstag 05 Juni 2012, 23:33:13 schrieb Michael Walle: Changes: v9: - rebase to marvell custodian tree, merged with wolfgangs master [..snip..] I had to merge your tree with wolfgangs master, because my second net patch depends on the latest net patches by Joe. So please

Re: [U-Boot] [PATCH v9 0/4] Kirkwood: add lschlv2 and lsxhl board support

2012-06-06 Thread Michael Walle
Joe Hershberger joe.hershber...@gmail.com schrieb: Hi Prafulla, On Tue, Jun 5, 2012 at 4:36 PM, Michael Walle mich...@walle.cc wrote: Hi Prafulla, Am Dienstag 05 Juni 2012, 23:33:13 schrieb Michael Walle: Changes: v9:  - rebase to marvell custodian tree, merged with wolfgangs master

Re: [U-Boot] [PATCH v9 0/4] Kirkwood: add lschlv2 and lsxhl board support

2012-06-11 Thread Michael Walle
Hi Albert, On Wed, June 6, 2012 13:26, Prafulla Wadaskar wrote: -Original Message- From: Michael Walle [mailto:mich...@walle.cc] Sent: 06 June 2012 12:39 To: Joe Hershberger Cc: Prafulla Wadaskar; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v9 0/4] Kirkwood: add lschlv2

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-16 Thread Michael Walle
Hi Wolfgang, Am Donnerstag 10 November 2011, 12:44:26 schrieb Wolfgang Denk: Dear Prafulla, In message 48935aa530a6457b76b9915a1fe7faf9.squir...@ssl.serverraum.org Michael Walle wrote: So was there any conclusion, now? Never touch mvgbe.c anymore? Let's remove this broken code

[U-Boot] [PATCH v2] mvgbe: remove setting of ethaddr within the driver

2011-11-17 Thread Michael Walle
A network driver should not touch the environment at all. This patch fixes this behaviour by removing the code for setting a default/randomized MAC address. Signed-off-by: Michael Walle mich...@walle.cc Acked-by: Mike Frysinger vap...@gentoo.org Acked-by: Prafulla Wadaskar prafu...@marvell.com Cc

[U-Boot] yet another arm mach-types.h thread

2011-11-24 Thread Michael Walle
Hi, As there was no real conclusion on my previous arm mach-types.h thread, i have to reemphasize that the current mach types handling is broken. 1. u-boot follows linux mach-types.h 2. linux only includes ids a, they have (non DT!) board support for or b, id which are not older

[U-Boot] [PATCH] kirkwood_spi: fix setting of irq mask

2011-12-17 Thread Michael Walle
Since the data alignment fault was enabled recently in commit arm, arm926ejs: always do cpu critical inits the driver won't work anymore and all boards which use an environment in an SPI flash will fail booting. Signed-off-by: Michael Walle mich...@walle.cc Cc: Albert ARIBAUD albert.u.b

Re: [U-Boot] [PATCH] kirkwood_spi: fix setting of irq mask

2011-12-17 Thread Michael Walle
Am Samstag 17 Dezember 2011, 18:28:05 schrieb Michael Walle: Since the data alignment fault was enabled recently in commit arm, arm926ejs: always do cpu critical inits the driver won't work anymore and all boards which use an environment in an SPI flash will fail booting. Sorry i don't know

[U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2011-12-18 Thread Michael Walle
The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. Signed-off-by: Michael Walle mich...@walle.cc Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Prafulla Wadaskar prafu...@marvell.com --- arch/arm/cpu/arm926ejs

Re: [U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2011-12-18 Thread Michael Walle
Am Sonntag 18 Dezember 2011, 23:09:51 schrieb Michael Walle: The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. You should consider applying this patch to the RC, too. CONFIG_ARM_PATCH_PHYS_VIRT is enabled

Re: [U-Boot] [STATUS] next branch started

2011-12-18 Thread Michael Walle
Please feel free to send pull-requests for next, or to point me to patches that should go into next (or even into the upcoming release). http://patchwork.ozlabs.org/patch/126328/ http://patchwork.ozlabs.org/patch/122253/ -- Michael ___ U-Boot mailing

Re: [U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2011-12-18 Thread Michael Walle
Am Montag 19 Dezember 2011, 00:04:18 schrieb Marek Vasut: [..snip..] Please use #define name to define the magic value above (1 22) and then use it. M The bit was taken from arch/arm/cpu/arm926ejs/kirkwood/cpu.c. Unfortunately there is no documentation publicly available, so i can only

[U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2011-12-20 Thread Michael Walle
The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. Signed-off-by: Michael Walle mich...@walle.cc Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Prafulla Wadaskar prafu...@marvell.com --- arch/arm/cpu/arm926ejs

Re: [U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2011-12-20 Thread Michael Walle
Am Dienstag 20 Dezember 2011, 08:04:23 schrieb Albert ARIBAUD: I assume the patch was tested against a 3.2-rc1 kernel and also a pre-3.2-rc1 kernel to avoid regression? Tested with 3.0, 3.1 and 3.2-rc both with CONFIG_ARM_PATCH_PHYS_VIRT enabled and disabled. -- Michael

[U-Boot] [PATCH] kirkwood_spi: small fixes

2011-12-21 Thread Michael Walle
- use proper defines for the control register - deactivate CS properly - instead of polling the IRQ status bit use SPI status bit directly - add comments Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com --- drivers/spi/kirkwood_spi.c | 14

Re: [U-Boot] [PATCH v2] mvsata: issue hard reset on initialization

2011-05-19 Thread Michael Walle
Am Donnerstag 12 Mai 2011, 00:22:46 schrieb Michael Walle: Before the actual initialization do a hard reset of the SATA port and the connected device. changes v1-v2: - add comment for udelay ping? :) -- Michael ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH] mvsata: issue hard reset on initialization

2011-05-01 Thread Michael Walle
Before the actual initialization do a hard reset of the SATA port and the connected device. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com --- drivers/block/mvsata_ide.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git

[U-Boot] LED Status APIs

2011-05-02 Thread Michael Walle
Hi, i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and stumble across the two LED APIs. Is there any particular reason to have two different APIs? I guess an ARM BSP has to support both? Eg. the 'classic status API' is used in cmd_ide.c for example and the ARM one is used

Re: [U-Boot] LED Status APIs

2011-05-02 Thread Michael Walle
Hi Wolfgang, Am Montag 02 Mai 2011, 22:36:22 schrieb Wolfgang Denk: Dear Michael Walle, In message 201105022219.58458.mich...@walle.cc you wrote: i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and stumble across the two LED APIs. Is there any particular reason

Re: [U-Boot] [PATCH V2 1/2] GPIO: Tegra2: add GPIO driver for Tegra2

2011-05-03 Thread Michael Walle
Am Di, 3.05.2011, 00:45, schrieb Tom Warren: Signed-off-by: Tom Warren twar...@nvidia.com --- Changes in V2: - use 'gpio_pin' enum in gpio.h (Simon Glass review request) - change 'GPIO_PORT8' to 'GPIO_FULLPORT' (Simon Glass request) - change 'offset' to 'pin' globally

Re: [U-Boot] [PATCH] mvsata: issue hard reset on initialization

2011-05-09 Thread Michael Walle
Am Montag 02 Mai 2011, 10:37:41 schrieb Prafulla Wadaskar: -Original Message- From: Michael Walle [mailto:mich...@walle.cc] Sent: Monday, May 02, 2011 3:35 AM To: u-boot@lists.denx.de Cc: Michael Walle; Prafulla Wadaskar Subject: [PATCH] mvsata: issue hard reset

Re: [U-Boot] [PATCH] mvsata: issue hard reset on initialization

2011-05-10 Thread Michael Walle
Hi Albert, Am Dienstag 10 Mai 2011, 23:47:04 schrieben Sie: Hi Michael, Sorry for the delay. Busy period for me I'm afraid. no problem ;) Le 09/05/2011 19:49, Michael Walle a écrit : Am Montag 02 Mai 2011, 10:37:41 schrieb Prafulla Wadaskar: -Original Message- From: Michael

[U-Boot] [PATCH v2] mvsata: issue hard reset on initialization

2011-05-11 Thread Michael Walle
Before the actual initialization do a hard reset of the SATA port and the connected device. changes v1-v2: - add comment for udelay Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Albert Aribaud albert.u.b...@aribaud.net --- drivers/block

Re: [U-Boot] [PATCH] lsxl: add support for lschlv2 and lsxhl

2012-02-20 Thread Michael Walle
Hi Wolfgang, Am Dienstag 03 Januar 2012, 15:46:09 schrieb Wolfgang Denk: The linkstations don't have a (populated) serial port. There is no way to access an unmodified board other than using the netconsole. If you want to recover from a bad environment setting or an empty environment, you

[U-Boot] exports.h and the GPL

2012-02-24 Thread Michael Walle
Hi, As far as i know applications can use functions defined in exports.h without being licensed under the GPL. Who is responsible to define which functions are exported? Are the currently exported functions the only ones available to closed source applications or is it possible to add

Re: [U-Boot] exports.h and the GPL

2012-02-24 Thread Michael Walle
Am Freitag 24 Februar 2012, 20:17:19 schrieb Mike Frysinger: On Friday 24 February 2012 13:10:36 Michael Walle wrote: As far as i know applications can use functions defined in exports.h without being licensed under the GPL. correct, that is what the COPYING file states Who

[U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-02 Thread Michael Walle
This patchset adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Wolfgang Denk w...@denx.de --- v2: - add to buffalo vendor directory instead of Marvell

Re: [U-Boot] [PATCH v2] main: unify command parsing functions

2012-03-06 Thread Michael Walle
Hi Wolfgang, Am Dienstag 06 März 2012, 21:39:16 schrieb Wolfgang Denk: In message 1326499314-8121-1-git-send-email-mich...@walle.cc you wrote: Introduce source_commands() which incorporates run_command2() and parts of source(). All command script are now treated the same, that is

[U-Boot] legacy images with DTB only / DTB integrity

2012-03-07 Thread Michael Walle
Hi all, is there a way to create an uImage containing only a DTB (linux device tree). From the uboot source (cmd_bootm.c) i can see that there is support for it but mkimage doesn't handle it correctly. uboot itself distinguishes between a FIT image and a raw DTB image (see boot_get_dtb()). But

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-26 Thread Michael Walle
On Fri, March 2, 2012 17:02, Michael Walle wrote: This patchset adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Wolfgang Denk w...@denx.de --- v2

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-27 Thread Michael Walle
Hi Prafulla, thanks for the review. +++ b/board/buffalo/lsxl/kwbimage-lsxhl.cfg BTW: What is difference between them? if it is very small you can manage it through c file. mh? arent these the values which end up in the head of an SPI image, the SoC bootstrap rom will execute? how can these

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-27 Thread Michael Walle
Am Dienstag 27 März 2012, 09:27:49 schrieb Prafulla Wadaskar: Is the chip 6281/6282 or 6192? It' a 88F6281-A1. -- Michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-27 Thread Michael Walle
Hi, Am Dienstag 27 März 2012, 13:05:05 schrieb Prafulla Wadaskar: I removed the hardcoded values from the environment and put it into a special rescue mode, so it won't show up until the user is explicitly choosing that mode. I can understand, that hardcoded values are bad but in this

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-29 Thread Michael Walle
Hi Wolfgang, I still fail to understand why you would need fixed network settings. Evenin emergency cases, the only parameter you really need is a MAC address, all others can be fetched for example from a DHCP server. bootp/dhcp should work for getting the ip address. My initial thought was

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-29 Thread Michael Walle
Am Dienstag 27 März 2012, 09:27:49 schrieb Prafulla Wadaskar: # diff --git a/board/buffalo/lsxl/config.mk b/board/buffalo/lsxl/config.mk new file mode 100644 index 000..062554b --- /dev/null +++ b/board/buffalo/lsxl/config.mk @@ -0,0 +1 @@ +ALL-y += $(obj)u-boot.kwb Pls remove

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-29 Thread Michael Walle
Am Donnerstag 29 März 2012, 16:24:23 schrieb Prafulla Wadaskar: -Original Message- From: Michael Walle [mailto:mich...@walle.cc] Sent: 29 March 2012 18:08 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de Subject: Re: [PATCH v2] lsxl: add support for lschlv2 and lsxhl Am

Re: [U-Boot] [PATCH v2] lsxl: add support for lschlv2 and lsxhl

2012-03-30 Thread Michael Walle
Hi Prafulla, [ I'm CCing Wolfgang on this, because i don't know who's responsible for the build/make infrastructure. ] AFAIK, you need to pass only u-boot.kwb to the make (no $(okj) needed) Sorry you're wrong here, that won't work for out-of-tree builds, see below. [mw@thanatos b-u-boot]$

[U-Boot] [PATCH 0/5 v3] Kirkwood: add lschlv2 and lsxhl board support

2012-03-31 Thread Michael Walle
: - add to buffalo vendor directory instead of Marvell - add both boards to MAINTAINERS - don't define values for feature macros - use tab for vertical alignment - remove static network configuration, instead introduce a rescue mode - add some convenience scripts - small cleanups Michael Walle

[U-Boot] [PATCH 1/5] lib: add rand() function

2012-03-31 Thread Michael Walle
It's a PRNG using the simple and fast xorshift method. Signed-off-by: Michael Walle mich...@walle.cc --- include/common.h |4 lib/Makefile |1 + lib/rand.c | 43 +++ 3 files changed, 48 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH 5/5] Kirkwood: automatically build kwb image for lsxl

2012-03-31 Thread Michael Walle
To ease building the required u-boot image add the kwb image to the build targets for the LS-CHLv2 and LS-XHL board. Signed-off-by: Michael Walle mich...@walle.cc --- board/buffalo/lsxl/config.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 board/buffalo/lsxl

[U-Boot] [PATCH 2/5] net: add helper to generate random mac address

2012-03-31 Thread Michael Walle
Add new function eth_random_enetaddr() to generate a locally administered ethernet address. Signed-off-by: Michael Walle mich...@walle.cc --- include/net.h | 15 +++ net/eth.c | 15 +++ 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a/include/net.h

[U-Boot] [PATCH 3/5] net: add eth_setenv_enetaddr_by_index()

2012-03-31 Thread Michael Walle
Signed-off-by: Michael Walle mich...@walle.cc --- include/net.h | 12 net/eth.c |8 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/include/net.h b/include/net.h index 1fceb99..c57c6d8 100644 --- a/include/net.h +++ b/include/net.h @@ -118,6 +118,18

[U-Boot] [PATCH 4/5] Kirkwood: add lschlv2 and lsxhl board support

2012-03-31 Thread Michael Walle
This patch adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Wolfgang Denk w...@denx.de --- MAINTAINERS |5 + board/buffalo/lsxl

Re: [U-Boot] [PATCH 2/5] net: add helper to generate random mac address

2012-04-01 Thread Michael Walle
Hi Mike, Am Sonntag 01 April 2012, 21:34:26 schrieb Mike Frysinger: On Saturday 31 March 2012 08:38:33 Michael Walle wrote: --- a/include/net.h +++ b/include/net.h in emergency cases, where you need a working network connection to seti seti - set + *Eg. you wan't a rescue

[U-Boot] [PATCH] netconsole: support packets longer than 512 bytes

2011-10-06 Thread Michael Walle
Esp. while printing the environment the output is usually longer than 512 bytes. Instead of cutting the message, send multiple 512 bytes packets. Signed-off-by: Michael Walle mich...@walle.cc --- drivers/net/netconsole.c | 15 +++ 1 files changed, 11 insertions(+), 4 deletions

[U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()

2011-10-06 Thread Michael Walle
The spi_init() function is missing. Add it. Signed-off-by: Michael Walle mich...@walle.cc --- drivers/spi/kirkwood_spi.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index a1c3070..8c35d5e 100644 --- a/drivers

[U-Boot] [PATCH] arm: add ide initialization

2011-10-06 Thread Michael Walle
Call ide_init() in the board initialization if IDE support is compiled in. Signed-off-by: Michael Walle mich...@walle.cc --- arch/arm/lib/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 705d4d2..9addab8 100644

[U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-06 Thread Michael Walle
Don't assume that the MAC address of egiga0 rsp. egiga1 is ethaddr rsp. eth1addr. If there is only a egiga1 device, u-boot will enumerate it as device 0 and therefore the MAC address is set with the environmen varibale ethaddr. Signed-off-by: Michael Walle mich...@walle.cc --- drivers/net

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-07 Thread Michael Walle
Am Fr, 7.10.2011, 10:26 schrieb Prafulla Wadaskar: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Michael Walle Sent: Friday, October 07, 2011 3:53 AM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] mvgbe: fix network

Re: [U-Boot] [PATCH] arm: add ide initialization

2011-10-07 Thread Michael Walle
Am Freitag 07 Oktober 2011, 19:27:11 schrieb Mike Frysinger: On Thursday 06 October 2011 18:23:06 Michael Walle wrote: --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c +#if defined(CONFIG_CMD_IDE) + puts (IDE: ); + ide_init (); +#endif NAK: no space before that open

[U-Boot] [PATCH v2] netconsole: support packets longer than 512 bytes

2011-10-07 Thread Michael Walle
Esp. while printing the environment the output is usually longer than 512 bytes. Instead of cutting the message, send multiple 512 bytes packets. Signed-off-by: Michael Walle mich...@walle.cc --- drivers/net/netconsole.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff

Re: [U-Boot] [PATCH v2] netconsole: support packets longer than 512 bytes

2011-10-07 Thread Michael Walle
Am Samstag 08 Oktober 2011, 00:53:13 schrieb Mike Frysinger: On Friday 07 October 2011 18:27:50 Michael Walle wrote: Esp. while printing the environment the output is usually longer than 512 bytes. Instead of cutting the message, send multiple 512 bytes packets. sorry, i probably should

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-16 Thread Michael Walle
Am Freitag 07 Oktober 2011, 12:48:40 schrieb Michael Walle: Am Fr, 7.10.2011, 10:26 schrieb Prafulla Wadaskar: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Michael Walle Sent: Friday, October 07, 2011 3:53 AM To: u-boot

Re: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()

2011-10-16 Thread Michael Walle
Am Freitag 07 Oktober 2011, 00:23:54 schrieb Michael Walle: The spi_init() function is missing. Add it. Signed-off-by: Michael Walle mich...@walle.cc --- drivers/spi/kirkwood_spi.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/spi/kirkwood_spi.c b

[U-Boot] [PATCH v2] arm: add ide initialization

2011-10-16 Thread Michael Walle
Call ide_init() in the board initialization if IDE support is compiled in. Signed-off-by: Michael Walle mich...@walle.cc --- changes in v2: - style fix: remove whitespace before parenthesis --- arch/arm/lib/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()

2011-10-16 Thread Michael Walle
Hi Wolfgang, Am Sonntag 16 Oktober 2011, 22:25:11 schrieb Wolfgang Denk: In message 201110162032.02236.mich...@walle.cc you wrote: The spi_init() function is missing. Add it. Signed-off-by: Michael Walle mich...@walle.cc ... could you commit this small patch? (acked by mike

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-25 Thread Michael Walle
Am Freitag 21 Oktober 2011, 10:09:15 schrieben Sie: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Michael Walle Sent: Friday, October 07, 2011 3:53 AM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] mvgbe: fix

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-27 Thread Michael Walle
Am Do, 27.10.2011, 11:12 schrieb Prafulla Wadaskar: If I understood it correctly, In current implementation, if only egiga1 device is enabled on the board, then it will assign MAC address associated with environment variable ethaddr. yes but the current mvgbe driver will check eth1addr

[U-Boot] [PATCH] kirkwood: define CONFIG_SYS_CACHELINE_SIZE

2011-10-27 Thread Michael Walle
Signed-off-by: Michael Walle mich...@walle.cc Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Prafulla Wadaskar prafu...@marvell.com --- arch/arm/include/asm/arch-kirkwood/config.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-kirkwood

[U-Boot] [PATCH 0/2] improve ethernet device index handling

2011-10-27 Thread Michael Walle
This patchset introduces a new element index within the eth_device structure, which is populated by eth_register(). The second patch uses this element to get the right name of the environment variable for the ethernet hardware address. ___ U-Boot

[U-Boot] [PATCH 2/2] mvgbe: fix network device indices

2011-10-27 Thread Michael Walle
Don't assume that the MAC address of egiga0 rsp. egiga1 is ethaddr rsp. eth1addr. If there is only a egiga1 device, u-boot will enumerate it as device 0. Instead use the correct index number stored within the eth_device structure. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla

[U-Boot] [PATCH 1/2] net: introduce per device index

2011-10-27 Thread Michael Walle
the correct environment ethaddr name. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Mike Frysinger vap...@gentoo.com Cc: Wolfgang Denk w...@denx.de --- include/net.h |1 + net/eth.c | 41 - 2 files

Re: [U-Boot] [PATCH 1/2] net: introduce per device index

2011-10-27 Thread Michael Walle
Am Donnerstag 27 Oktober 2011, 23:31:35 schrieb Michael Walle: Instead of counting the device index everytime a functions needs it, store it in the eth_device struct. eth_register() keeps track of the indices and updates the device's index number. This simplifies some functions in net/eth.c

Re: [U-Boot] [PATCH 1/2] net: introduce per device index

2011-11-03 Thread Michael Walle
Am Do, 27.10.2011, 22:31 schrieb Michael Walle: Instead of counting the device index everytime a functions needs it, store it in the eth_device struct. eth_register() keeps track of the indices and updates the device's index number. This simplifies some functions in net/eth.c. Additionally

Re: [U-Boot] [PATCH 2/2] mvgbe: fix network device indices

2011-11-03 Thread Michael Walle
Am Donnerstag 03 November 2011, 19:10:57 schrieb Mike Frysinger: On Thursday 27 October 2011 17:31:36 Michael Walle wrote: --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c + /* Extract the MAC address from the environment */ + while (!eth_getenv_enetaddr_by_index

[U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-07 Thread Michael Walle
. if randomization is needed. All boards which have CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION set (actually its only one board, edminiv2) are converted to use CONFIG_ETHADDR. Please check your boards whether you really need randomization support or the CONFIG_ETHADDR macro is enough. Signed-off-by: Michael Walle mich

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-08 Thread Michael Walle
Am Di, 8.11.2011, 14:57 schrieb Mike Frysinger: On Monday 07 November 2011 17:08:09 Michael Walle wrote: drivers/net/mvgbe.c| 23 --- ACK to the changes to this file --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h +#define CONFIG_ETH_ADDR 02

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-08 Thread Michael Walle
Hi Wolfgang, Hi Mike, Am Di, 8.11.2011, 16:17 schrieb Wolfgang Denk: Dear Michael Walle, In message 89e599b8867346f857ae2f132e9717a3.squir...@ssl.serverraum.org you wrote: +#define CONFIG_ETH_ADDR 02:50:43:00:00:01 NAK to this. board configs are not allow to hardcode MACs. mh, so why

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-08 Thread Michael Walle
Am Dienstag 08 November 2011, 20:28:19 schrieb Wolfgang Denk: Dear Michael Walle, In message 45fd92b472c944e2cb9ebb409488ccfc.squir...@ssl.serverraum.org you wrote: If someone will mess up the environment, it is possible to clear it by holding a button upon powerup. Atm i have

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-08 Thread Michael Walle
Am Dienstag 08 November 2011, 21:49:49 schrieb Mike Frysinger: On Tuesday 08 November 2011 12:34:17 Michael Walle wrote: Am Di, 8.11.2011, 16:17 schrieb Wolfgang Denk: Michael Walle wrote: +#define CONFIG_ETH_ADDR 02:50:43:00:00:01 NAK to this. board configs are not allow

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-08 Thread Michael Walle
Am Dienstag 08 November 2011, 23:52:56 schrieb Wolfgang Denk: thanks for the hint, but there is only 512kb flash on this board (with 64k sectors). I don't think there is enough room for a second copy of the environment. You don't need a separate sector. How bis is your environment/ I

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-09 Thread Michael Walle
Am Mi, 9.11.2011, 00:26 schrieb Michael Walle: atm there is the mvgbe driver: - which has a hardcoded mac address (or if enabled, a randomized mac address) and - touches the environment oh and i've forgot to mention, that the driver is broken for boards with #define CONFIG_MVGBE_PORTS

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-09 Thread Michael Walle
atm there is the mvgbe driver: - which has a hardcoded mac address (or if enabled, a randomized mac address) and - touches the environment oh and i've forgot to mention, that the driver is broken for boards with #define CONFIG_MVGBE_PORTS {0,1} which is the reason why i initially

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-10 Thread Michael Walle
Hi Wolfgang, So was there any conclusion, now? Never touch mvgbe.c anymore? Let's remove this broken code. This is exactly part of this patch ([PATCH] mvgbe: remove setting of ethaddr within the driver). This part, while ACK'ed by Mike, was NAK'ed by Prafulla. -- Michael

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-10 Thread Michael Walle
Am Donnerstag 10 November 2011, 15:21:53 schrieb Simon Guinot: For this boards a random MAC address is used and the computation is performed by the driver mvgbe. If this code is simply removed, the network initialization for this boards will break. Moving this feature into some common code was

[U-Boot] arm mach-types.h

2011-11-12 Thread Michael Walle
Hi, Does u-boot always follow the mach-types.h from upstream linux? Is there any policy? If thats true, it means, that - every supported board in u-boot has to be supported in mainline linux, too. because that is the basic requirement for an entry to stay in this file. - a device with

Re: [U-Boot] arm mach-types.h

2011-11-13 Thread Michael Walle
Am Sonntag 13 November 2011, 01:32:03 schrieb Marek Vasut: - every supported board in u-boot has to be supported in mainline linux, too. because that is the basic requirement for an entry to stay in this file. No, you can define CONFIG_MACH_TYPE MACH_TYPE_SOMETHING and

Re: [U-Boot] arm mach-types.h

2011-11-13 Thread Michael Walle
Am Sonntag 13 November 2011, 17:18:27 schrieb Marek Vasut: Am Sonntag 13 November 2011, 01:32:03 schrieb Marek Vasut: - every supported board in u-boot has to be supported in mainline linux, too. because that is the basic requirement for an entry to stay in this

Re: [U-Boot] arm mach-types.h

2011-11-13 Thread Michael Walle
Am Sonntag 13 November 2011, 18:14:16 schrieb Marek Vasut: Am Sonntag 13 November 2011, 17:18:27 schrieb Marek Vasut: Am Sonntag 13 November 2011, 01:32:03 schrieb Marek Vasut: - every supported board in u-boot has to be supported in mainline linux, too.

Re: [U-Boot] [PATCH 2/3] lib: rand: add call to hw_rand() - hardware random number generator

2014-02-28 Thread Michael Walle
Am Freitag, 28. Februar 2014, 17:30:54 schrieb Przemyslaw Marczak: Changes: - lib/rand.c: add call to hw_rand() (depends on CONFIG_RAND_HW_ACCEL) - include/common.h: add hw_rand() declaration. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com cc: Michael Walle mich...@walle.cc cc

Re: [U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-05-24 Thread Michael Walle
Am Samstag, 19. April 2014, 23:52:19 schrieb Michael Walle: Am 2014-04-01 20:09, schrieb Michael Walle: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot

[U-Boot] [PATCH] lsxl: convert to generic board and fix typo

2014-09-27 Thread Michael Walle
Besides converting the LS-XHL and LS-CHLv2 to generic board, fix a typo which accidentally reverted the bootsource to 'hdd' although the default bootsource should be 'legacy'. Cc: Tom Rini tr...@ti.com Cc: Prafulla Wadaskar prafu...@marvell.com Signed-off-by: Michael Walle mich...@walle.cc

Re: [U-Boot] [PATCH] lsxl: convert to generic board and fix typo

2014-10-05 Thread Michael Walle
Am Sonntag, 28. September 2014, 00:05:23 schrieb Michael Walle: Besides converting the LS-XHL and LS-CHLv2 to generic board, fix a typo which accidentally reverted the bootsource to 'hdd' although the default bootsource should be 'legacy'. Cc: Tom Rini tr...@ti.com Cc: Prafulla Wadaskar

[U-Boot] [PATCH 1/2] lsxl: use 64bit for LBA48 to support 4 TB drives

2014-03-12 Thread Michael Walle
Cc: Prafulla Wadaskar prafu...@marvell.com Signed-off-by: Michael Walle mich...@walle.cc --- include/configs/lsxl.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 92865df..cc7a6ab 100644 --- a/include/configs/lsxl.h +++ b/include

[U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Michael Walle
restore the behaviour of the original bootloader. Cc: Prafulla Wadaskar prafu...@marvell.com Signed-off-by: Michael Walle mich...@walle.cc --- include/configs/lsxl.h | 43 +-- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/include/configs

Re: [U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Michael Walle
Hi Tom, Am 2014-03-12 22:32, schrieb Tom Rini: On Wed, Mar 12, 2014 at 07:42:54PM +0100, Michael Walle wrote: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot

Re: [U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-14 Thread Michael Walle
Am Donnerstag, 13. März 2014, 00:42:49 schrieb Tom Rini: How much memory do these platforms have? LS-CHLv2 has 64MB and LS-XHL has 256MB. The kernel_addr and ramdisk_addr are the value which was also used in the original bootloader. OK, so we don't have to worry about relocation to

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-14 Thread Michael Walle
Am Freitag, 14. März 2014, 10:46:26 schrieb Joakim Tjernlund: The fsl_espi.c is wreck w.r.t large TX data. Below is what I had to hack to load a FPGA over SPI and what is the malloc hack good for? This does not work well for TXing several MB data. The driver needs to be rewritten and I do

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-17 Thread Michael Walle
Am 2014-03-15 12:33, schrieb Joakim Tjernlund: Have you tried the kernel driver for eSPI? I haven't gotten there yet but I pray it is better. yeah kernel driver is better. -michael ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 1/4] lib: rand: introduce new configs: CONFIG_LIB_RAND CONFIG_LIB_HW_RAND

2014-03-20 Thread Michael Walle
) - unsigned int rand(void) - unsigned int rand_r(unsigned int *seedp) Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Michael Walle mich...@walle.cc Cc: Tom Rini tr...@ti.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Please look at third version of changes for introduce

[U-Boot] [PATCH v2 1/2] lsxl: use 64bit for LBA48 to support 4 TB drives

2014-04-01 Thread Michael Walle
Cc: Prafulla Wadaskar prafu...@marvell.com Signed-off-by: Michael Walle mich...@walle.cc --- Changes v2: - none --- include/configs/lsxl.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 2ae8a27..4ad5eb8 100644 --- a/include/configs

[U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-04-01 Thread Michael Walle
restore the behaviour of the original bootloader. Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Tom Rini tr...@ti.com Signed-off-by: Michael Walle mich...@walle.cc --- Changes v2: - use CONFIG_CMD_FS_GENERIC and load commands (suggested by Tom Rini) - use loadaddresses at offsets 8MB and 16MB

Re: [U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-04-14 Thread Michael Walle
Am 2014-04-01 20:09, schrieb Michael Walle: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads a kernel and a ramdisk. Make

Re: [U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-04-19 Thread Michael Walle
Am 2014-04-01 20:09, schrieb Michael Walle: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads a kernel and a ramdisk. Make

[U-Boot] [PATCH for-rc] lsxl: also turn off fan in power down mode

2012-09-30 Thread Michael Walle
If while booting the power switch is in OFF position, turn off the fan, too. Signed-off-by: Michael Walle mich...@walle.cc Cc: Prafulla Wadaskar prafu...@marvell.com --- Hi Tom, Hi Prafulla, while testing, i noticed i've forgot to turn off the fan in power down mode which was introduced

Re: [U-Boot] v2012.10-rc2 is now released

2012-10-01 Thread Michael Walle
Hi Tom, Am Montag 01 Oktober 2012, 18:59:18 schrieb Tom Rini: - Other pull requests of either fixes or things posted by the original merge window closure that hadn't been picked up yet AND are obviously correct or important bug fixes. Otherwise we can hold them off for the next

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