Re: [U-Boot] Pull request - microblaze

2011-10-24 Thread Michal Simek
Dear Wolfgang Denk, please pull these two patches to your tree. Thanks, Michal The following changes since commit 4962e38e9a4a053792722918bb11c5408549aebd: Stefano Babic (1): mkimage: adding support for Davinci AIS image are available in the git repository at:

Re: [U-Boot] [PATCH] powerpc/fm: remove the TBIPA setting on platform code

2011-10-24 Thread Zang Roy-R61911
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Monday, October 24, 2011 13:24 PM To: Zang Roy-R61911 Cc: u-boot@lists.denx.de; Fleming Andy-AFLEMING; Kumar Gala Subject: Re: [U-Boot] [PATCH] powerpc/fm: remove the TBIPA setting on platform code Dear Zang

[U-Boot] Dear Webmail Subscriber,

2011-10-24 Thread cablemas
Dear Webmail Subscriber, Due to spam complaints of email users in our webmail system,our investigation shows that your email address is compromised and is used to send out spam message in our webmail system. As a result, our network engineer will be conducting a maintenance in our webmail

Re: [U-Boot] [PATCH] arch/powerpc/lib/board.c: fix build warning

2011-10-24 Thread Heiko Schocher
Hello Simon, Wolfgang, Simon Glass wrote: Hi Wolfgang, On Sun, Oct 23, 2011 at 2:58 PM, Wolfgang Denk w...@denx.de wrote: Commit 1272592 powerpc: Use getenv_ulong() in place of getenv(), strtoul instroduced a build warning for some PPC systems: board.c: In function 'board_init_r':

Re: [U-Boot] [PATCH] arch/arm/lib/board.c: fix build error

2011-10-24 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: Commit dc8bbea arm: Use getenv_ulong() in place of getenv(), strtoul introduced a build error for all ARM boards with network support: board.c: In function 'board_init_r': board.c:569: error: 's' undeclared (first use in this function) board.c:569:

[U-Boot] [PATCH 1/7 v2] integrator: pass configs for core modules

2011-10-24 Thread Linus Walleij
Alter the board.cfg to pass core module configuration flags so we can make compile-time switches for different core modules. These are already in use for some low-level code, they just got lost in the conversion to the new build system. Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

[U-Boot] [PATCH 2/7 v2] integrator: move text offset to config

2011-10-24 Thread Linus Walleij
Do away with the config.mk file and move the text offset to the config files to make things easier. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v1-v2: - Rebased to U-Boot ARM HEAD at Alberts request, see message 4ea1c8e7.7090...@aribaud.net ---

[U-Boot] [PATCH 3/7 v2] integrator: do not test first part of the memory

2011-10-24 Thread Linus Walleij
When booting from Flash, the Integrator remaps its flash memory from 0x2400 to 0x, and starts executing it at 0x. This ROM thus hides the RAM underneath and first 0x4 bytes of the memory cannot be tested by get_ram_size(). So let's test from 0x4 to the end of detected

[U-Boot] [PATCH 4/7 v2] integrator: use io-accessors for board init

2011-10-24 Thread Linus Walleij
Casting around to *(volatile ulong *) doesn't look good, so include the asm/io.h macros and use good old readl() instead. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v1-v2: - Rebased to U-Boot ARM HEAD at Alberts request, see message 4ea1c8e7.7090...@aribaud.net ---

[U-Boot] [PATCH 5/7 v3] integrator: make flash writeable on boot

2011-10-24 Thread Linus Walleij
This reconfigures the EBI (External Bus Interface) on the integrator so that chip select 1, handling the flash memory, is set to writeable. Without this it is not possible for U-Boot to access flash memory and it crashes on startup since CFI won't work properly. Since this is the first time we

[U-Boot] [PATCH 6/7 v2] integrator: add system controller header

2011-10-24 Thread Linus Walleij
Break out the AP system controller and CP CP controller registers into a header file, it gives better overview than hardcoding its values and other disturbing practices. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v1-v2: - Rebased to U-Boot ARM HEAD at Alberts request, see

[U-Boot] [PATCH 7/7 v2] integrator: enable Vpp and disable flash protection

2011-10-24 Thread Linus Walleij
This enables Vpp and disables the flash protection on the Integrator when starting U-Boot. The integrator/AP has double protection mechanisms: this one and the EBI protection bit (patch earlier), the Integrator/CP has only one line of protection in these registers. Signed-off-by: Linus Walleij

Re: [U-Boot] [PATCH v3 8/8] km_arm: enable POST for these boards

2011-10-24 Thread Holger Brunck
Hi Wolfgang, On 10/22/2011 12:15 AM, Wolfgang Denk wrote: Dear Valentin Longchamp, In message 1314975550-15766-9-git-send-email-valentin.longch...@keymile.com you wrote: The current km_arm boards have a Power-On test jumper. When this jumper is set, this triggers some Power-On tests on

Re: [U-Boot] [PATCH v3 10/10] arm, davinci: add cam_enc_4xx support

2011-10-24 Thread Heiko Schocher
Hello Igor, Igor Grinberg wrote: On 10/21/2011 08:32 AM, Heiko Schocher wrote: - DM368 SOC - booting with spl not with UBL from TI - before loading u-boot from NAND into RAM, test the RAM with the post memory test. If error is found, switch all LEDs on and halt system. - SPI Flash

Re: [U-Boot] watchdog reset fails on kirkwood/dreamplug

2011-10-24 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jason Sent: Friday, October 21, 2011 7:54 PM To: u-boot@lists.denx.de Subject: [U-Boot] watchdog reset fails on kirkwood/dreamplug All, I have a bad problem. I'm using

[U-Boot] Failed to apply patch

2011-10-24 Thread Sadashiva
Hi Sir, I downloaded the latest version of u-boot source code of version number u-boot-2011.03.tar.bz2. from ftp://ftp.denx.de/pub/u-boot/ website and the MPL patches for this from the website http://www.mpl.ch/t2722.html Latest MPL supported version. Patches are

[U-Boot] [PATCH v4 02/11] arm, usb, davinci: make USBPHY_CTL register configurable

2011-10-24 Thread Heiko Schocher
Define CONFIG_DV_USBPHY_CTL for setting the USB PHY control register. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Remy Bohmer li...@bohmer.net cc: Sandeep Paulraj s-paul...@ti.com cc: Remy Bohmer li...@bohmer.net --- drivers/usb/musb/davinci.c |6 +- 1 files changed, 5

[U-Boot] [PATCH v4 01/11] usb, davinci: add enable_vbus() weak function

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Remy Bohmer li...@bohmer.net Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Igor Grinberg grinb...@compulab.co.il --- changes for v4: - patch is new since v4, as Igor Grinberg suggested. drivers/usb/musb/davinci.c | 12 1 files

[U-Boot] [PATCH v4 05/11] arm, davinci: add support for new spl framework

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com --- Makefile |8 +++- arch/arm/cpu/arm926ejs/davinci/Makefile |8 arch/arm/cpu/arm926ejs/davinci/spl.c | 63

[U-Boot] [PATCH v4 07/11] arm, davinci: add header files for dm365

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com --- changes for v2: - rebase to TOT - add defines for timer 3 and 4 - delete struct dv_timer_regs as it is now davinci_timer

[U-Boot] [PATCH v4 00/11] arm, davinci: add support for dm368 based cam_enc_4xx board

2011-10-24 Thread Heiko Schocher
This is a repost of the cam_enc_4xx board support patches from http://lists.denx.de/pipermail/u-boot/2011-October/106336.html changes for v4: - add comment from Sergei Shtylyov: - remove Leftmost open parent in dox/README.SPL - add comments from Igor Grinberg - remove in

[U-Boot] [PATCH v4 03/11] net, davinci_emac: make clock divider in MDIO control register configurable

2011-10-24 Thread Heiko Schocher
Define CONFIG_SYS_EMAC_TI_CLKDIV for setting the clkdiv value in the MDIO control register. Signed-off-by: Heiko Schocher h...@denx.de cc: Sandeep Paulraj s-paul...@ti.com cc: Wolfgang Denk w...@denx.de --- drivers/net/davinci_emac.c |9 +++-- 1 files changed, 7 insertions(+), 2

[U-Boot] [PATCH v4 10/11] arm926ejs, davinci: add missing spi defines for dm365

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com --- arch/arm/include/asm/arch-davinci/hardware.h |2 ++ arch/arm/include/asm/arch-davinci/pll_defs.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH v4 08/11] arm, davinci: add lowlevel function for dm365 soc

2011-10-24 Thread Heiko Schocher
used for booting (for example) from NAND using spl code. Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com --- changes for v2: - fix bug for dm365 if setup A2CR register - rebase to TOT: - rename DM36x_DDR_* to DV_DDR_*

[U-Boot] [PATCH v4 11/11] arm, davinci: add cam_enc_4xx support

2011-10-24 Thread Heiko Schocher
- DM368 SOC - booting with spl not with UBL from TI - before loading u-boot from NAND into RAM, test the RAM with the post memory test. If error is found, switch all LEDs on and halt system. - SPI Flash Dataflash Typ: M25PE80 - Ethernet DM9161BI - MMC - USB Signed-off-by: Heiko Schocher

[U-Boot] [PATCH v4 09/11] arm926ejs, davinci: add cpuinfo for dm365

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com --- Changes for v2: - rebase to TOT arch/arm/cpu/arm926ejs/davinci/cpu.c | 27 - arch/arm/include/asm/arch-davinci/pll_defs.h |4 +++

[U-Boot] [PATCH v4 04/11] spl: add option for adding post memory test to the SPL framework

2011-10-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com Cc: Sergei Shtylyov sshtyl...@mvista.com --- changes for v4: - add comment from Sergei Shtylyov: - remove Leftmost open parent in dox/README.SPL doc/README.SPL |1 +

[U-Boot] [PATCH v4 06/11] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-24 Thread Heiko Schocher
similiar to commit dc7cd8e59ba077f3b4c1a4557c9cd86a31b9ab1f, only adapted for the new spl framework. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Tom Rini tr...@ti.com Cc: Scott Wood scottw...@freescale.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Sandeep Paulraj s-paul...@ti.com

Re: [U-Boot] Failed to apply patch

2011-10-24 Thread Stefan Roese
On Monday 24 October 2011 09:33:55 Sadashiva wrote: I downloaded the latest version of u-boot source code of version number u-boot-2011.03.tar.bz2. from ftp://ftp.denx.de/pub/u-boot/ website and the MPL patches for this from the website http://www.mpl.ch/t2722.html

Re: [U-Boot] [Resend PATCH V2] misc: pmic: fix regression in pmic_fsl.c (SPI)

2011-10-24 Thread Stefano Babic
On 10/20/2011 08:34 AM, Helmut Raiger wrote: This fixes write access to PMIC registers, the bug was introduced partly in commit 64aac65099 and in commit c9fe76dd91. It was tested on an i.mx31 with a mc13783. Signed-off-by: Helmut Raiger helmut.rai...@hale.at --- V2: threw in the wrong

Re: [U-Boot] [PATCH 3/3] qong: remove unneeded IOMUX settings

2011-10-24 Thread Stefano Babic
On 10/21/2011 04:01 AM, Fabio Estevam wrote: On qong board some of the USBH2 pins are set via GPR register, so don need to setup the IOMUX for each pin individually. Other than that, these pins should not be configured as primary function because the primary function selects SSI

Re: [U-Boot] error

2011-10-24 Thread mailrepl
-- ### ## This is an automated response ## ### ## Replies sent to the sender of ## ## this response will *NOT* be ## ## read by

Re: [U-Boot] [PATCH 01/39] DEBUG: Fix debug macros

2011-10-24 Thread Marek Vasut
On Monday, October 24, 2011 06:31:19 AM Simon Glass wrote: Hi Marek, On Fri, Oct 21, 2011 at 5:16 PM, Marek Vasut marek.va...@gmail.com wrote: The current implementation of debug doesn't play well with GCC4.6. This implementation also fixes GCC4.6 complaints about unused variables while

Re: [U-Boot] [PATCH] qong: remove unneeded 1 from qong.h

2011-10-24 Thread Stefano Babic
On 10/21/2011 07:03 PM, Fabio Estevam wrote: Remove unneeded 1 from qong.h. Hi Fabio, thanks for your cleanup work, it is high appreciated ! /* * Filesystem @@ -311,6 +311,6 @@ extern int qong_nand_rdy(void *chip); #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE -

[U-Boot] DUTS without hardware

2011-10-24 Thread Mike Frysinger
so u-boot has DUTS for testing: http://www.denx.de/wiki/DUTS/ it seems to have a lot of assumptions like connecting to u-boot over the serial port. i'd like to extend this to support the new sandbox target so we can do automated testing of common code without needing any external hardware at

[U-Boot] [PATCH] Fix compile issue in arch/arm/lib/board.c

2011-10-24 Thread Marek Vasut
The commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 breaks the build of U-Boot if CONFIG_CMD_NET is enabled. arm: Use getenv_ulong() in place of getenv(), strtoul This changes the board code to use the new getenv_ulong() function. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Simon Glass

Re: [U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage

2011-10-24 Thread Marek Vasut
On Monday, October 24, 2011 07:42:32 AM Heiko Schocher wrote: since commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 building arch/arm/lib/board.c breaks if CONFIG_CMD_NET is defined. Fix this. Signed-off-by: Heiko Schocher h...@denx.de Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Simon

Re: [U-Boot] DUTS without hardware

2011-10-24 Thread Detlev Zundel
Hi Mike, so u-boot has DUTS for testing: http://www.denx.de/wiki/DUTS/ it seems to have a lot of assumptions like connecting to u-boot over the serial port. i'd like to extend this to support the new sandbox target so we can do automated testing of common code without needing any

[U-Boot] [PATCH] sh: Add ashrsi3 libgcc function

2011-10-24 Thread Phil Edworthy
The ashrsi3 function is used by some commands that aren't in SH2A default configs (e.g. JFFS2). The ashrsi3.S file has been copied from Linux. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Nobuhiro Iwamatsu iwama...@nigauri.org --- arch/sh/lib/Makefile |1 +

Re: [U-Boot] [PATCH] Fix compile issue in arch/arm/lib/board.c

2011-10-24 Thread Heiko Schocher
Hello Marek, Marek Vasut wrote: The commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 breaks the build of U-Boot if CONFIG_CMD_NET is enabled. arm: Use getenv_ulong() in place of getenv(), strtoul This changes the board code to use the new getenv_ulong() function. Signed-off-by: Marek

Re: [U-Boot] [PATCH] Fix compile issue in arch/arm/lib/board.c

2011-10-24 Thread Marek Vasut
On Monday, October 24, 2011 11:25:32 AM Heiko Schocher wrote: Hello Marek, Marek Vasut wrote: The commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 breaks the build of U-Boot if CONFIG_CMD_NET is enabled. arm: Use getenv_ulong() in place of getenv(), strtoul This changes the board

Re: [U-Boot] [PATCH 0/2] api: extend accessible set of block device attributes

2011-10-24 Thread Detlev Zundel
Hi Che-liang, I am working on an open source secure bootloader based on U-Boot. Mostly I wrote boot logic (by boot logic I mean prompting user and listing available devices sort of things). If you see U-Boot as a platform, you can think of my project as an application running on top of

[U-Boot] [PATCH 1/3] nds32: Use getenv_ulong() in place of getenv(), strtoul

2011-10-24 Thread Macpaul Lin
This changes the board code to use the new getenv_ulong() function. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/lib/board.c | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c index

[U-Boot] [PATCH 2/3] nds32: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-24 Thread Macpaul Lin
Add ARCH_DMA_MINALIGN definition to asm/cache.h Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/include/asm/cache.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/nds32/include/asm/cache.h b/arch/nds32/include/asm/cache.h index

[U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-24 Thread Macpaul Lin
This patch add required __iormb and __iowmb to io.h. This also fix some misbehavior to periphal drivers. This io.h has been fixed with referencing arm/include/asm/io.h. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/include/asm/io.h | 20 ++-- 1 files changed,

[U-Boot] [PATCH V6] MX35: add support for flea3 board

2011-10-24 Thread Stefano Babic
The flea3 board is a custom board by CarMediaLab used in automotive. Network (FEC), NOR, NAND and SPI are supported. Signed-off-by: Stefano Babic sba...@denx.de --- Changes since V5: - drop sdelay after discussion on ML (W. Denk, A. Aribaud) - modify dram initialization to work

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-24 Thread Detlev Zundel
Hi Marek, [...] So because noone actually bothered to compile u-boot with DEBUG enabled, we (me ?) now have literally piles of places to fix. Hm :-( So it seems. This is a very good reminder of the fact that with ifdef we actually hide source code from the compiler under certain

[U-Boot] [PATCH 2/2 V2] SPL: Allow ARM926EJS to avoid compiling in the CPU support code

2011-10-24 Thread Marek Vasut
This allows the SPL to avoid compiling in the CPU support code. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Scott Wood scottw...@freescale.com --- arch/arm/cpu/arm926ejs/Makefile |6 ++

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-24 Thread Marek Vasut
On Monday, October 24, 2011 12:10:02 PM Detlev Zundel wrote: Hi Marek, [...] So because noone actually bothered to compile u-boot with DEBUG enabled, we (me ?) now have literally piles of places to fix. Hm :-( So it seems. This is a very good reminder of the fact that with ifdef we

[U-Boot] [PATCH V3] Ethernut 5 board support

2011-10-24 Thread Tim Schendekehl
Add support for the Ethernut 5 open hardware design, based on Atmel's AT91SAM9XE512 SoC. V3 - Fix issues with latest git. Signed-off-by: Tim Schendekehl tim.schendek...@egnite.de --- MAINTAINERS |4 + board/egnite/ethernut5/Makefile | 54 +

Re: [U-Boot] [PATCH 1/2] Flatten and solidify block_dev_desc layout

2011-10-24 Thread Detlev Zundel
Hi Che-liang, I guess I have to put this patchset on hold. I will get you back if we could proceed with this patchset. Please don't top-post. The mails really are more difficult to read in context. Regards, Che-Liang On Sat, Oct 22, 2011 at 3:09 AM, Wolfgang Denk w...@denx.de wrote:

[U-Boot] ====Attn: business assistance is needed in Asia very urgent====

2011-10-24 Thread TINA SAMSON
-- Firstly,i will like to introduce my self to you.I am Mrs.Tina Samson,I'm from United Kingdom (England). I'm current working as the procurement manager to OAK VET LTD, I need the correspondence of a reliable Business partner. A trust worthy person that can handle business for me in Asia.

[U-Boot] [PATCH 0/3] M28 USB Support

2011-10-24 Thread Marek Vasut
This set of patches enables the EHCI USB host support in the iMX28 CPU and enables the port on the M28EVK board. Marek Vasut (3): iMX28: Add USB and USB PHY register definitions iMX28: Add USB HOST driver M28EVK: Enable USB HOST support arch/arm/include/asm/arch-mx28/regs-usb.h| 178

[U-Boot] [PATCH 3/3] M28EVK: Enable USB HOST support

2011-10-24 Thread Marek Vasut
This enables the second port, aka. the port with the USB connector on the M28EVK. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Remy Bohmer li...@bohmer.net --- board/denx/m28evk/m28evk.c |7

[U-Boot] [PATCH 2/3] iMX28: Add USB HOST driver

2011-10-24 Thread Marek Vasut
This driver supports both EHCI ports on the i.MX28 CPU. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Remy Bohmer li...@bohmer.net --- drivers/usb/host/Makefile |1 +

[U-Boot] [PATCH 1/3] iMX28: Add USB and USB PHY register definitions

2011-10-24 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Remy Bohmer li...@bohmer.net --- arch/arm/include/asm/arch-mx28/regs-usb.h| 178 ++

Re: [U-Boot] [PATCH] Update s3c24x0 timer implementation

2011-10-24 Thread Mark Norman
Dear Wolfgang Denk, Thank you for your response.  Since the .rel.text section is required by the relocation code, I assume that .bss global variables cannot be used until after relocation? Why do you have to make such assumptions?  That's documented behaviour.  Didn't you RTFM? I thought

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-24 Thread Detlev Zundel
Hi Marek, [...] I certainly see your point. Btw. do you feel like help reviewing the PPC portion of the patches? That'd be greatly appreciated as I'm not a PPC expert. I wanted to avoid resubmission, so I only pushed the new set to git://git.denx.de/u-boot- marex.git / debug branch.

Re: [U-Boot] [PATCH 02/39] GCC4.6: Squash warnings in common/usb.c

2011-10-24 Thread Stefano Babic
On 10/22/2011 02:16 AM, Marek Vasut wrote: usb.c: In function ‘usb_parse_config’: usb.c:331:17: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable] usb.c: In function ‘usb_hub_port_connect_change’: usb.c:1123:29: warning: variable ‘portchange’ set but not used

Re: [U-Boot] [PATCH 02/39] GCC4.6: Squash warnings in common/usb.c

2011-10-24 Thread Marek Vasut
Hi Stefano, actually the value is checked by debug_cond(). Cheers ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-24 Thread Marek Vasut
Hi Marek, Hi Detlev, [...] I certainly see your point. Btw. do you feel like help reviewing the PPC portion of the patches? That'd be greatly appreciated as I'm not a PPC expert. I wanted to avoid resubmission, so I only pushed the new set to git://git.denx.de/u-boot- marex.git /

Re: [U-Boot] [PATCH V3] Ethernut 5 board support

2011-10-24 Thread Igor Grinberg
On 10/24/2011 12:33 PM, Tim Schendekehl wrote: Add support for the Ethernut 5 open hardware design, based on Atmel's AT91SAM9XE512 SoC. V3 - Fix issues with latest git. Signed-off-by: Tim Schendekehl tim.schendek...@egnite.de --- [...] diff --git a/board/egnite/ethernut5/Makefile

[U-Boot] Accessing MC13783 RTC registers

2011-10-24 Thread Fabio Estevam
Hi, Running U-boot from top of tree imx git I get the following when trying to access the MC13783 RTC registers via 'date' command: MX31PDK U-Boot date reg num = 22 is invalid. Should be less than 0 ## Get date failed Does anyone else see this same problem on other boards? Regards, Fabio

Re: [U-Boot] Accessing MC13783 RTC registers

2011-10-24 Thread Marek Vasut
Hi, Running U-boot from top of tree imx git I get the following when trying to access the MC13783 RTC registers via 'date' command: MX31PDK U-Boot date reg num = 22 is invalid. Should be less than 0 ## Get date failed Fabio, is it possibly connected via i2c? Cheers

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-24 Thread Marek Vasut
This patch add required __iormb and __iowmb to io.h. This also fix some misbehavior to periphal drivers. This io.h has been fixed with referencing arm/include/asm/io.h. Signed-off-by: Macpaul Lin macp...@andestech.com Hi, can you possibly implement those as inline functions ? It'd be

Re: [U-Boot] Accessing MC13783 RTC registers

2011-10-24 Thread Stefano Babic
On 10/24/2011 03:18 PM, Fabio Estevam wrote: Hi, Running U-boot from top of tree imx git I get the following when trying to access the MC13783 RTC registers via 'date' command: MX31PDK U-Boot date reg num = 22 is invalid. Should be less than 0 ## Get date failed Does anyone else see

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-24 Thread 馬克泡
Hi Marek, 2011/10/24 Marek Vasut marek.va...@gmail.com Hi, can you possibly implement those as inline functions ? It'd be also great if you could convert the other macros to inline functions. Thanks! Thanks for your comment. I'll try to do it tomorrow (GMT +0800). -- Best regards,

Re: [U-Boot] [PATCH] Update s3c24x0 timer implementation

2011-10-24 Thread Marek Vasut
Dear Wolfgang Denk, Thank you for your response. Since the .rel.text section is required by the relocation code, I assume that .bss global variables cannot be used until after relocation? Why do you have to make such assumptions? That's documented behaviour. Didn't you RTFM?

[U-Boot] [PATCH] image: Allow images to indicate they're loadable at any address

2011-10-24 Thread Stephen Warren
The legacy uImage format includes an absolute load and entry- point address. When presented with a uImage in memory that isn't loaded at the address in the image's load address, U-Boot will relocate the image to its address in the header. Some payloads can actually be loaded and used at any

Re: [U-Boot] Accessing MC13783 RTC registers

2011-10-24 Thread Fabio Estevam
Hi Stefano, On Mon, Oct 24, 2011 at 11:48 AM, Stefano Babic sba...@denx.de wrote: I did the same on the qong board to check this issue. On the qong board it works: Thanks for testing it. I managed to get it working on MX31PDK too. Will submit a patch soon. Thanks, Fabio Estevam

[U-Boot] [PATCH] mx31pdk: Add MC13783 PMIC support

2011-10-24 Thread Fabio Estevam
Add MC13783 PMIC support. Tested by using the 'date' command, which reads the MC13783 RTC registers: MX31PDK U-Boot date Date: 1970-01-01 (Thursday)Time: 2:22:35 Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage

2011-10-24 Thread Albert ARIBAUD
Hi Heiko, Le 24/10/2011 07:42, Heiko Schocher a écrit : since commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 building arch/arm/lib/board.c breaks if CONFIG_CMD_NET is defined. Fix this. Signed-off-by: Heiko Schocherh...@denx.de Cc: Albert ARIBAUDalbert.u.b...@aribaud.net Cc: Simon

[U-Boot] [PATCH 1/2] rtc: Make mc13783-rtc driver generic

2011-10-24 Thread Fabio Estevam
Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs. efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as: #define CONFIG_RTC_MC13783 ,which is not very obvious. Let the MC13783 and MC13892 RTC be selected by: #define

[U-Boot] [PATCH 2/2] mx51evk: Add RTC support

2011-10-24 Thread Fabio Estevam
MX51EVK has a MC13892 PMIC. Add RTC support. Tested via 'date' command that reads the PMIC RTC registers: MX51EVK U-Boot date Date: 1970-01-01 (Thursday)Time: 0:40:35 Signed-off-by: Fabio Estevam

[U-Boot] [PATCH v2 2/2] mx51evk: Add RTC support

2011-10-24 Thread Fabio Estevam
MX51EVK has a MC13892 PMIC. Add RTC support. Tested via 'date' command that reads the PMIC RTC registers: MX51EVK U-Boot date Date: 1970-01-01 (Thursday)Time: 0:40:35 Signed-off-by: Fabio Estevam

[U-Boot] [PATCH v2 1/2] rtc: Make mc13783-rtc driver generic

2011-10-24 Thread Fabio Estevam
Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs. efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as: #define CONFIG_RTC_MC13783 ,which is not very obvious. Let the MC13783 and MC13892 RTC be selected by: #define

[U-Boot] [PATCH] mmc: access mxcmmc from mx31 boards

2011-10-24 Thread Helmut Raiger
This patch modifies mxcmmc.c to be used not only by i.MX27 but also by i.MX31 boards. Both use the same SD controller, but have different clock set-ups. The clock access was renamed to imx_get_mmcclk() to allow both architectures to provide their respective clock. Pins, base address and prototypes

Re: [U-Boot] [PATCH 4/5] serial: reduce include platform file for marvell chip

2011-10-24 Thread Albert ARIBAUD
Hi all, Le 02/10/2011 16:16, Lei Wen a écrit : Build pass with following config: dkb_config aspenite_config edminiv2_config openrd_ultimate_config sheevaplug_config mv88f6281gtw_ge_config rd6281a_config guruplug_config km_kirkwood_config Signed-off-by: Lei Wenlei...@marvell.com ---

Re: [U-Boot] [PATCH 2/3] nds32: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-24 Thread Anton Staaf
On Mon, Oct 24, 2011 at 2:46 AM, Macpaul Lin macp...@andestech.com wrote: Add ARCH_DMA_MINALIGN definition to asm/cache.h Signed-off-by: Macpaul Lin macp...@andestech.com Acked-by: Anton Staaf robot...@chromium.org ---  arch/nds32/include/asm/cache.h |   11 +++  1 files changed, 11

Re: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform

2011-10-24 Thread Albert ARIBAUD
Hi Lei Wen, Le 04/10/2011 08:33, Lei Wen a écrit : This patch seris add the mmc support for the pantheon platform. Also give platform like dkb and aspenite a workaround when enabling the 8bit mode for accessing the mmc. Changelog: V2: remove magic number, and replace it by macro definition

Re: [U-Boot] [PATCH 1/2] fdt: Add new fdt_set_node_status fdt_set_status_by_alias helpers

2011-10-24 Thread Kumar Gala
On Oct 23, 2011, at 3:49 AM, Wolfgang Denk wrote: Dear Kumar Gala, In message 1318619444-2059-1-git-send-email-ga...@kernel.crashing.org you wrote: From: Shengzhou Liu shengzhou@freescale.com Add common function fdt_set_node_status() to assist in various locations that we set a

Re: [U-Boot] [Patch v2 6/7] powerpc/mpc8349emds: Migrate from spd_sdram to unified DDR driver

2011-10-24 Thread Kumar Gala
On Oct 23, 2011, at 4:53 AM, Wolfgang Denk wrote: Dear Kumar Gala, In message 2a6300e8-a874-49ac-84cb-be681af1b...@freescale.com you wrote: On Aug 26, 2011, at 1:32 PM, York Sun wrote: Update MPC8349EMDS to use unified DDR driver instead of spd_sdram.c. The unified driver can

[U-Boot] [PATCH] mx53: Turn off child clocks before reconfigure perclk_root

2011-10-24 Thread Fabio Estevam
In addition to ensuring that PERCLK remains at least 2.5 times slower than the AHB clock, certain steps need to be followed to ensure robust operation of PERCLK when reconfiguring the PERCLK clock source. To properly configure the PERCLK clock source, the following steps are required: 1.In the

[U-Boot] [PATCH] mx51evk: Remove unneeded '1' from mx51evk.h

2011-10-24 Thread Fabio Estevam
Remove unneeded '1' from mx51evk.h. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx51evk.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 2c449b8..af9f983 100644 ---

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-24 Thread Wolfgang Denk
Dear Graeme Russ, In message CALButCKD2ucJ0ZUQJpLCP2ABYcCzO-mACa=fpwczctveheo...@mail.gmail.com you wrote: If so, could it not be possible that a Kermit/ymodem command followed by a time consuming command on the same line cause lost input? I don't think so. All serial transfers use a

Re: [U-Boot] [PATCH 2/2] bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()

2011-10-24 Thread Wolfgang Denk
Dear Simon Glass, In message CAPnjgZ3q-E9vDwZD1bri36emTWoDFUDDk5is_qoLcw=v3kd...@mail.gmail.com you wrote: IMHO we would be better off with a function call like        show_boot_error(BOOTSTAGE_ID_RUN_OS); even if this is a macro. It is more explicit about the fact that we are reporting

Re: [U-Boot] [PATCH v4 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-10-24 Thread Wolfgang Denk
Dear Simon Glass, In message CAPnjgZ22OPHxn5DDuOLoRwaeCDeWV11FdqeqpD4e=ba9zyf...@mail.gmail.com you wrote: There was a request to move the check_fdt function into the fdtdec library, and I think it makes sense. So I will do that and send an That was my unerstanding, too. update. I don't

[U-Boot] [PATCH v7] ARM: Add Calxeda Highbank platform

2011-10-24 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add basic support for Calxeda Highbank platform. Only minimal support with serial and SATA are included. Signed-off-by: Jason Hobbs jason.ho...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH v2 00/11] Define ARCH_DMA_MINALIGN for all architectures

2011-10-24 Thread Anton Staaf
On Mon, Oct 17, 2011 at 4:46 PM, Anton Staaf robot...@chromium.org wrote: ARCH_DMA_MINALIGN is a new define borrowed from the Linux kernel.  It is used to define the minimum alignement requirement for a DMA buffer.  This series of patches ensures that it will always be defined in the arch

Re: [U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage

2011-10-24 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4ea59236.4000...@aribaud.net you wrote: Le 24/10/2011 07:42, Heiko Schocher a écrit : since commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 building arch/arm/lib/board.c breaks if CONFIG_CMD_NET is defined. Fix this. Signed-off-by: Heiko

Re: [U-Boot] [PATCH] powerpc: Correct build warning introduced by getenv_ulong() patch

2011-10-24 Thread Wolfgang Denk
Dear Simon Glass, In message 1319427714-29479-1-git-send-email-...@chromium.org you wrote: Commit 1272592 introduced a warning since the variable 's' is no longer always used, depending on the CONFIG options. Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/lib/board.c | 10

Re: [U-Boot] [PATCH v2] arm: Correct build error introduced by getenv_ulong() patch

2011-10-24 Thread Wolfgang Denk
Dear Simon Glass, In message 1319427875-29965-1-git-send-email-...@chromium.org you wrote: Commit dc8bbea removed a local variable that is used in most ARM boards. Since we want to avoid an 'unused variable' warning with later compilers, and the #ifdef logic of whether this variable is

Re: [U-Boot] [PATCH v3 8/8] km_arm: enable POST for these boards

2011-10-24 Thread Wolfgang Denk
Dear Holger Brunck, In message 4ea50ff4.5030...@keymile.com you wrote: you already committed a v4 of this patch together with the patch serie. See: http://lists.denx.de/pipermail/u-boot/2011-October/104061.html Oops. Sorry... So could you please revert this one? Because this breaks the

Re: [U-Boot] [PATCH 01/39] DEBUG: Fix debug macros

2011-10-24 Thread Wolfgang Denk
Dear Marek Vasut, In message 201110241021.15442.marek.va...@gmail.com you wrote: ... Done, I pushed new patchset right now to git://git.denx.de/u-boot-marex.git , debug branch. It's around 50 patches now. Keep in mind that nobody cares about patches anywhere in any repository. What has not

Re: [U-Boot] [PATCH] Fix compile issue in arch/arm/lib/board.c

2011-10-24 Thread Wolfgang Denk
Dear Marek Vasut, In message 1319447521-6020-1-git-send-email-marek.va...@gmail.com you wrote: The commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 breaks the build of U-Boot if CONFIG_CMD_NET is enabled. arm: Use getenv_ulong() in place of getenv(), strtoul This changes the board code to

Re: [U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage

2011-10-24 Thread Wolfgang Denk
Dear Marek Vasut, In message 201110241115.45602.marek.va...@gmail.com you wrote: I just sent something similar, but please use this one. It's really interesting to see how many people wake up if they are affected - and then hack away and send patches without even checing how many similar

Re: [U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage

2011-10-24 Thread Albert ARIBAUD
Hi Wolfgang, Le 24/10/2011 21:12, Wolfgang Denk a écrit : Dear Albert ARIBAUD, In message4ea59236.4000...@aribaud.net you wrote: Le 24/10/2011 07:42, Heiko Schocher a écrit : since commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 building arch/arm/lib/board.c breaks if CONFIG_CMD_NET is

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-24 Thread Graeme Russ
Hi Wolfgang, On 25/10/11 05:46, Wolfgang Denk wrote: Dear Graeme Russ, In message CALButCKD2ucJ0ZUQJpLCP2ABYcCzO-mACa=fpwczctveheo...@mail.gmail.com you wrote: If so, could it not be possible that a Kermit/ymodem command followed by a time consuming command on the same line cause lost

Re: [U-Boot] [PATCH] Update s3c24x0 timer implementation

2011-10-24 Thread Wolfgang Denk
Dear Mark Norman, In message cajtrzlnz3tbbrhonthkugci4yjz9plrjfvgar_xdvbrdcpr...@mail.gmail.com you wrote: Dear Wolfgang Denk, Thank you for your response. =A0Since the .rel.text section is required by the relocation code, I assume that .bss global variables cannot be used until after

Re: [U-Boot] [PATCH 02/39] GCC4.6: Squash warnings in common/usb.c

2011-10-24 Thread Wolfgang Denk
Dear Marek Vasut, In message 201110241422.30837.marek.va...@gmail.com you wrote: actually the value is checked by debug_cond(). Consider prefixing these names with a double underscore to make more visibale that these are internally used and not for plain mortal users to mess with. Best

  1   2   >