Re: [U-Boot] Secure update of uboot devices?

2012-01-02 Thread Wolfgang Denk
Dear Andreas, please always keep the mailing list on Cc: In message you wrote: > > Actually what i think I am after is authentication of uboot that have > somewhat been discussed before in > http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg04707.html > > But I can't find if it

[U-Boot] [PATCH] ppc4xx: Setup HICB on Io64

2012-01-02 Thread Dirk Eibach
The FPGA High-Speed Interconnect Bus (HICB) is now setup by u-boot. Signed-off-by: Dirk Eibach --- board/gdsys/405ex/io64.c | 16 include/gdsys_fpga.h |5 - 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/board/gdsys/405ex/io64.c b/board/gdsys/405ex

[U-Boot] [PATCH v4 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2012-01-02 Thread Thierry Reding
This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() function instead or mmc_getcd() needs to be called at some later time after mmc_init(), w

[U-Boot] [PATCH v4 0/4] mmc: Implement central card-detection.

2012-01-02 Thread Thierry Reding
This series of patches implements central card-detection within the MMC framework. Before this patch series, many boards actually did implement the board_mmc_getcd() function, but it wasn't used except by one driver (fsl_esdhc). Unfortunately, implementations interpreted the meaning of the cd param

[U-Boot] [PATCH v4 4/4] mmc: tegra2: Implement card-detect hook.

2012-01-02 Thread Thierry Reding
On Tegra2, card-detection is implemented by passing the card-detection GPIOs to the MMC driver at initialization time. Instead of implementing the board_mmc_getcd() function, use the card-detect hook and allow boards to override it by providing their own board_mmc_getcd() implementation. Signed-of

[U-Boot] [PATCH v4 2/4] mmc: Implement card detection.

2012-01-02 Thread Thierry Reding
Check for card detect each time an MMC/SD device is initialized. If card detection is not implemented, this code behaves as before and continues assuming a card is present. If no card is detected, has_init is reset for the MMC/SD device (to force initialization next time) and an error is returned.

[U-Boot] [PATCH v4 1/4] mmc: Change board_mmc_getcd() function prototype.

2012-01-02 Thread Thierry Reding
The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no card-detection mechanism is implemented; 0 indicates that no card is present and

Re: [U-Boot] [PATCH v3 0/4] mmc: Implement central card-detection.

2012-01-02 Thread Thierry Reding
* Andy Fleming wrote: > Could you rebase these patches on the top of the mmc tree? They don't > apply cleanly anymore, and I don't want to mangle them in my attempts > at hand-application. Hi Andy, I just sent out v4, which is rebased on the latest MMC tree (branch master). The conflict resolutio

Re: [U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it

2012-01-02 Thread Graeme Russ
Hi Simon, In case you haven't noticed (I did not Cc you or Wolfgang, sorry 'bout that) I've posted the cleaned up version of my x86 init refactoring... On 02/01/12 10:48, Simon Glass wrote: > Hi Graeme, > > On Sat, Dec 31, 2011 at 3:52 AM, Graeme Russ wrote: >> Hi Simon, >> >> On 31/12/11 13:02

[U-Boot] initcall revisited - A new idea to discuss

2012-01-02 Thread Graeme Russ
Hi All, I've been thinking about the renaissance of the arch-independent initialisation sequence that has been generating a somewhat 'warm' discussion lately and had a thought based on a comment passed on by Wolfgang from Detlev: "basicly what we are trying to solve is a dependency issue: each in

Re: [U-Boot] [PATCH] Change kernel address in dataflash to match u-boot's size

2012-01-02 Thread Alexandre Belloni
On Mon, Jan 02, 2012 at 06:18:05AM +0100, Marek Vasut wrote : > > On at91sam platforms, u-boot grew larger than the allocated size in > > dataflash, the layout was: > > bootstrap 0x > > ubootenv 0x4200 > > uboot 0x8400 > > kernel 0x00042000 > > > > u-boot with the defco

[U-Boot] CONFIG_ENV_SIZE_REDUND

2012-01-02 Thread Frans Meulenbroeks
Hi all, Let me first start off to wish all of you a prosperous 2012. While browsing through the sources I noticed CONFIG_ENV_SIZE_REDUND and I am wondering if it carries any use at all. Why would the redundant env be any different in size than the original one? Seems odd to me. A quick grep thro

[U-Boot] [PATCH] fw_env.h: added a few missing defines

2012-01-02 Thread Frans Meulenbroeks
The README file lists 4 defined that were not actually present in the .h file but that were needed to get things working with settings compiled in. They are Added these to the .h file (the values above are the ones from the README file) Signed-off-by: Frans Meulenbroeks --- Noticed this was not a

[U-Boot] tools/env/fw_env.h comment/code mismatch

2012-01-02 Thread Frans Meulenbroeks
tools/env/fw_env.h states: /* * To build the utility with the run-time configuration * uncomment the next line. * See included "fw_env.config" sample file * for notes on configuration. */ #define CONFIG_FILE "/etc/fw_env.config" However the define is already uncommented. I see two possib

[U-Boot] [PATCH] fw_env: use vars from the board config

2012-01-02 Thread Frans Meulenbroeks
it is quite odd that fw_printenv/fw_setenv does not use the settings from include/configs but instead redefines things. This patch uses the variables from the config file The edit in fw_env.c is only needed to resolve a name clash Signed-off-by: Frans Meulenbroeks --- Note: this is more intend

[U-Boot] [PATCH 0/6] Cleanups and updates for cm-t35/3730

2012-01-02 Thread Igor Grinberg
This patch series some what clean up cm-t35 board files, add separate EEPROM handling file, fixes the incorrect board revision passed to Linux. Nikita Kiryanov (6): cm-t35: cleanup the config file cm-t35: various cleanups cm-t35: add EEPROM module and pass Linux a serial number omap3: make

[U-Boot] [PATCH 1/6] cm-t35: cleanup the config file

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Remove values from boolean defines, fix indentation, etc.. No functional changes. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- include/configs/cm_t35.h | 78 +++--- 1 files changed, 39 insertions(+), 39 deletio

[U-Boot] [PATCH 2/6] cm-t35: various cleanups

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Move #ifdef CONFIG_SMC911X out of board_eth_init() function, simplify the board_mmc_init() function, and enclose handle_mac_address() in the CONFIG_SMC911X. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/cm_t35/cm_t35.c | 10 -- 1 files c

[U-Boot] [PATCH 3/6] cm-t35: add EEPROM module and pass Linux a serial number

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/cm_t35/Makefile|4 ++- board/cm_t35/eeprom.c| 79 ++

[U-Boot] [PATCH 4/6] omap3: make get_board_rev() function weak

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- arch/arm/cpu/armv7/omap3/sys_info.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/omap3/sys_info.c b/arch/arm/cpu/armv7/omap3/sys_info.c index 22887ae..cde4093

[U-Boot] [PATCH 5/6] cm-t35: pass correct revision information to Linux

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Read revision from EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/cm_t35/eeprom.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/board/cm_t35/eeprom.c b/board/cm_t35

[U-Boot] [PATCH 6/6] cm-t35: use the new EEPROM module to read the MAC address

2012-01-02 Thread Igor Grinberg
From: Nikita Kiryanov Switch to the new EEPROM module and fix the problem of MAC address being read from the wrong offset due to lack of distinction between EEPROM layouts. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/cm_t35/cm_t35.c |6 +++--- board/cm_t35/eeprom

Re: [U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it

2012-01-02 Thread Wolfgang Denk
Dear Graeme Russ, In message <4f019473.8000...@gmail.com> you wrote: > > The problem is not one of how sparsely the test/fix cycles are spread over > time, it is one of spreading the breakage over multiple patches - If you > are replacing functionality then add the new functionality, add the hook

Re: [U-Boot] initcall revisited - A new idea to discuss

2012-01-02 Thread Wolfgang Denk
Dear Graeme Russ, In message <4f019abb.9010...@gmail.com> you wrote: > > Which got me to thinking, what if we had an initcall macro which included > the dependency information. Imagine this rough example: ... > INITCALL(display_banner, "banner", "dram,board_early") > > Which says that the displa

[U-Boot] stuck after redirecting stdout to nc

2012-01-02 Thread ran shalit
Hello, On uboot loading, I checking a specific environement (called consoleddev), to decide to rediect console to nc or staying in serial. I then see some strange behaviour: if the environment tell uboot to redirect to net console, everything works well, but only if the ethernet cable is connecte

Re: [U-Boot] [PATCH] fw_env: use vars from the board config

2012-01-02 Thread Marek Vasut
> it is quite odd that fw_printenv/fw_setenv does not > use the settings from include/configs but instead > redefines things. > > This patch uses the variables from the config file > The edit in fw_env.c is only needed to resolve a name clash > > Signed-off-by: Frans Meulenbroeks > > --- > > N

Re: [U-Boot] [PATCH] fw_env: use vars from the board config

2012-01-02 Thread Marek Vasut
Cc u-boot ML please. > 2012/1/2 Marek Vasut > > > > it is quite odd that fw_printenv/fw_setenv does not > > > use the settings from include/configs but instead > > > redefines things. > > > > > > This patch uses the variables from the config file > > > The edit in fw_env.c is only needed to res

Re: [U-Boot] [PATCH v3 0/4] mmc: Implement central card-detection.

2012-01-02 Thread Andy Fleming
On Monday, January 2, 2012, Thierry Reding wrote: > Btw, what's your take on Mike's comment: > >http://lists.denx.de/pipermail/u-boot/2011-December/114002.html > > I'm not sure how useful it would be to add this now. Tegra2 has an > implementation that pretty much implements what Mike prop

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

2012-01-02 Thread Michael Walle
Am Mittwoch 21 Dezember 2011, 00:35:46 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. Ping :) -- Michael ___ U-Boot mailing list U-Boot@li

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

2012-01-02 Thread Michael Walle
Am Sonntag 18 Dezember 2011, 02:57:01 schrieb Prafulla Wadaskar: > > -Original Message- > > From: Michael Walle [mailto:mich...@walle.cc] > > Sent: 17 December 2011 09:31 > > To: u-boot@lists.denx.de > > Cc: Albert ARIBAUD; Prafulla Wadaskar; Wolfgang Denk > > Subject: Re: [PATCH] kirkwood_

Re: [U-Boot] [PATCH v3] Input: keyboard - add device tree bindings for simple key matrixes

2012-01-02 Thread Simon Glass
Hi Olof, On Sun, Jan 1, 2012 at 10:09 PM, Olof Johansson wrote: > This adds a simple device tree binding for simple key matrix data and > a helper to fill in the platform data. > > The implementation is in a shared file outside if drivers/input/keyboard > since some drivers in drivers/input/misc

[U-Boot] [PATCH] fat: reset VFAT short alias checksum on first match

2012-01-02 Thread Sergei Shtylyov
The VFAT short alias checksum read from a long file name is only overwritten when another long file name appears in a directory list. Until then it renders short file names invisible that have the same checksum. Reset the checksum on first match. Signed-off-by: Sergei Shtylyov Signed-off-by: Mart

[U-Boot] [PATCH resend] OMAP3: Remove unused define CONFIG_OMAP3_*_DDR

2012-01-02 Thread Thomas Weber
This patch removes the unused definitions: CONFIG_OMAP3_MICRON_DDR CONFIG_OMAP3_NUMONYX_DDR CONFIG_OMAP3_INFINEON_DDR Acked-by: Igor Grinberg Acked-by: Luca Ceresoli Signed-off-by: Thomas Weber --- Changes: Added received acked-by's include/configs/cm_t35.h|3 --- include/configs/

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

2012-01-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 Cc: Prafulla Wadaskar --- MAINTAINERS |4 + board/Marvell/lsxl/Makefile | 50 +++ board/Marvell/lsxl/config.mk

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

2012-01-02 Thread Wolfgang Denk
Dear Michael Walle, In message <1325545909-17678-1-git-send-email-mich...@walle.cc> you wrote: > This patchset adds support for both the Linkstation Live (LS-CHLv2) and > Linkstation Pro (LS-XHL) by Buffalo. If Buffalo is the vendor, then why do you add this to the Marvell vendor directory? > +

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

2012-01-02 Thread Michael Walle
Hi Wolfgang, quick answer ;) > In message <1325545909-17678-1-git-send-email-mich...@walle.cc> you wrote: > > This patchset adds support for both the Linkstation Live (LS-CHLv2) and > > Linkstation Pro (LS-XHL) by Buffalo. > > If Buffalo is the vendor, then why do you add this to the Marvell >

Re: [U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it

2012-01-02 Thread Simon Glass
Hi Graham, On Mon, Jan 2, 2012 at 3:26 AM, Graeme Russ wrote: > Hi Simon, > > In case you haven't noticed (I did not Cc you or Wolfgang, sorry 'bout > that) I've posted the cleaned up version of my x86 init refactoring... Yes I see it - thats great thanks. I will go through it and compare. [big

Re: [U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it

2012-01-02 Thread Simon Glass
Hi Wolfgang, On Mon, Jan 2, 2012 at 6:46 AM, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <4f019473.8000...@gmail.com> you wrote: >> >> The problem is not one of how sparsely the test/fix cycles are spread over >> time, it is one of spreading the breakage over multiple patches - If you

Re: [U-Boot] [PATCH 1/6] cm-t35: cleanup the config file

2012-01-02 Thread Igor Grinberg
On 01/02/12 16:01, Igor Grinberg wrote: > From: Nikita Kiryanov > > Remove values from boolean defines, fix indentation, etc.. > No functional changes. > > Signed-off-by: Nikita Kiryanov > Signed-off-by: Igor Grinberg > --- Forgot to mention that this patch depends on Thomas' clean up patch,

[U-Boot] [PATCH v3 1/3] ARM:AM33XX: Fix ddr and timer register offset

2012-01-02 Thread Chandan Nath
This patch is added to update incorrect ddr, pll and timer register offset along with some additional cleanup like removing unused code. Also, generic CONFIG_AM33XX symbol is added for AM33XX platform. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v2: - No change Change

[U-Boot] [PATCH v3 2/3] ARM:AM33XX: Add mmc/sd support

2012-01-02 Thread Chandan Nath
This patch add supports for mmc/sd driver on AM335X platform. PLL and pinmux configurations for mmc/sd are configured in this patch. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v2: - No change Changes since v1: - Removed unwanted code from omap_hsmmc.c file - Rebase

[U-Boot] [PATCH v3 0/3] Added SPL support

2012-01-02 Thread Chandan Nath
This patch series is submitted to add support for MMC/SD along with SPL support. Also, fixed incorrect register offset of ddr and timer registers. The patches have been compile tested and run on AM335X EVM. The patches depends on previous patch series which was submitted for supporting AM33xx pla

[U-Boot] [PATCH v3 3/3] ARM:AM33XX: Add SPL support for AM335X EVM

2012-01-02 Thread Chandan Nath
This patch is added to support SPL feature on AM335X platform. In this patch, MMC1 is configured as boot device for SPL and support for other devices will be added in the next patch series. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v2: - Added missing omap.h file Ch

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

2012-01-02 Thread Michael Walle
On Tue, January 3, 2012 00:55, Wolfgang Denk wrote: >> +#define CONFIG_ETHADDR 02:00:01:00:00:00 > ... >> +#define CONFIG_IPADDR 192.168.11.150 >> +#define CONFIG_SERVERIP 192.168.11.1 >> +#define CONFIG_NETMASK 255.255.255.0 > > NAK. We do not allow such st