Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Ramesh K Khokhani
Hi Angelo, Thanks a lot for helping me. Now Its working fine and I can save perfectly. I have just replace my cfi_flash.c with latest released cfi_flach.c and related #define parameters. Thanks Regards, Ramesh Khokhani -Original Message- From: Angelo Dureghello

Re: [U-Boot] [PATCH 1/5] omap3: add useful dss defines

2013-01-23 Thread Nikita Kiryanov
On 01/21/2013 08:38 PM, Jeroen Hofstee wrote: Hello Nikita, +#define GFXFORMAT_ARGB320xC +#define GFXFORMAT_RGBA320xD +#define GFXFORMAT_RGBx320xE + +/* GFX burst size */ +#define GFXBURSTSIZE40 +#define GFXBURSTSIZE81 +#define GFXBURSTSIZE162 + /* Panel

[U-Boot] [PATCH] powerpc/p2041: fix serdes reference clock frequency for PC board

2013-01-23 Thread Shaohui Xie
PC board has different serdes clock setting with PB board, it uses same serdes frequency setting on bank2 as on bank1. PC board can be distingushed from PB board by checking CPLD version, if running on PC board, then fix the serdes reference clock frequency of bank2. Signed-off-by: Shaohui Xie

Re: [U-Boot] [PATCH] powerpc/p2041: fix serdes reference clock frequency for PC board

2013-01-23 Thread Xie Shaohui-B21989
Hi, Andy, This patch is based on following patch sent at 2012-12-04, http://patchwork.ozlabs.org/patch/203583/ will there be any update for this patch? Best Regards, Shaohui Xie -Original Message- From: Xie Shaohui-B21989 Sent: Wednesday, January 23, 2013 3:14 PM To:

Re: [U-Boot] [PATCH 2/5] lcd: add option for board specific splash screen preparation

2013-01-23 Thread Nikita Kiryanov
On 01/21/2013 09:14 PM, Jeroen Hofstee wrote: Hello Nikita, On 01/21/2013 08:51 AM, Nikita Kiryanov wrote: Hi Jeroen, On 01/20/2013 10:34 PM, Jeroen Hofstee wrote: [...] diff --git a/include/lcd.h b/include/lcd.h index c24164a..4ac4ddd 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -47,6

Re: [U-Boot] [PATCH 1/1] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Wolfgang Denk
Dear Jim Lin, In message 1358923034-2727-1-git-send-email-ji...@nvidia.com you wrote: Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes

[U-Boot] [PATCH 0/4] usb:gadget: USB Mass Storage Gadget

2013-01-23 Thread Piotr Wilczek
This patch series add support for the USB Mass Storage (UMS) New ums command provide access to on-device persistent memory. The storage_common.c and f_mass_storage.c source files are ported from v2.6.36 Linux kernel Lukasz Majewski (3): usb:composite: USB Mass Storage - storage_common.c from

[U-Boot] [PATCH 1/4] usb:composite: USB Mass Storage - storage_common.c from Linux kernel

2013-01-23 Thread Piotr Wilczek
From: Lukasz Majewski l.majew...@samsung.com The storage_common.c source file from v2.6.36 Linux kernel. commit d26a6aa08b9f12b44fb1ee65625e7480d3d5bb81 Author: Michal Nazarewicz m.nazarew...@samsung.com Date: Mon Nov 9 14:15:23 2009 +0100 USB: g_mass_storage: code cleaned up and comments

[U-Boot] [PATCH 3/4] usb:gadget: USB Mass Storage Gadget support

2013-01-23 Thread Piotr Wilczek
From: Lukasz Majewski l.majew...@samsung.com This patch adds the USB Mass Storage Gadget to u-boot New command called ums is implemented to provide access to on-device embedded persistent memory. USB Mass Storage is supposed to work on top of the USB Gadget framework Signed-off-by: Lukasz

[U-Boot] [PATCH 4/4] arm:trats: Use new ums command

2013-01-23 Thread Piotr Wilczek
From: Lukasz Majewski l.majew...@samsung.com This patch enables new ums command on Trats board Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH] powerpc/p2041: skip waiting for SERDES bank 3 reset done

2013-01-23 Thread Anatolij Gustschin
Bank 3 is not present on P2041, do not try to wait for RSTDONE for this bank. This fixes the bank 3 reset wait timeout and thus speeds up booting on P2041RDB. Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Shaohui Xie shaohui@freescale.com Cc: Andy Fleming aflem...@freescale.com ---

Re: [U-Boot] [PATCH V3 0/9] separate miiphy from ethernet

2013-01-23 Thread Stefano Babic
On 23/01/2013 00:48, Troy Kisky wrote: On 11/10/2012 12:28 AM, Stefano Babic wrote: On 23/10/2012 04:40, Troy Kisky wrote: This series tries to separate the mii regsisters from the ethernet registers as suggested by Andy Fleming. Then, mx6qsabrelite is changed to find the phy address from

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Stefano Babic
On 22/01/2013 02:56, Otavio Salvador wrote: On Mon, Jan 21, 2013 at 11:50 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, NAK. DMA works on MX28 and works in Linux on MX23, therefore the DMA is not broken on either. Thus there's no reason to introduce such force_pio stuff. Lack

Re: [U-Boot] [PATCH] at91sam9x5: mmc: save environment as a file in FAT partition.

2013-01-23 Thread Bo Shen
Hi Josh, On 01/22/2013 04:36 PM, Josh Wu wrote: This patch will save U-Boot environment as a file: uboot.env, in FAT partition instead of saving it in raw sector of SD card. Since saving environment in raw sector has risk of corrupting the SD card and only can use very small size. Save as a FAT

Re: [U-Boot] [PATCH 1/1] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Jim Lin
On Wed, 2013-01-23 at 16:38 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1358923034-2727-1-git-send-email-ji...@nvidia.com you wrote: Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in

[U-Boot] serial: CONFIG_ARM_DCC_MULTI failures

2013-01-23 Thread Michal Simek
Hi Marek and others, I have found that in uboot is arm-dcc driver (drivers/serial/arm_dcc.c) which is 1. not compiled by any configuration 2. when it is enabled is causing compilation failures because of SERIAL_MULTI removal The problem is with this code. #ifndef CONFIG_ARM_DCC_MULTI #define

[U-Boot] [PATCH 1/2] serial: arm_dcc: Remove CONFIG_ARM_DCC_MULTI option

2013-01-23 Thread Michal Simek
CONFIG_ARM_DCC_MULTI should be also removed in the patch serial: Remove CONFIG_SERIAL_MULTI from serial drivers (sha1: a3827250606895ec2dd4b8d867342b7cabf3692f) Because the driver defines serial_* functions which cause conflict with serial.c (multiple definition of serial_*) Removing

[U-Boot] [PATCH 2/2] serial: arm_dcc: Fix compilation warning and remove unneeded initialization

2013-01-23 Thread Michal Simek
- arm_dcc_dev is already initialized. - Remove unused rc variable Warning log: arm_dcc.c: In function 'drv_arm_dcc_init': arm_dcc.c:145:6: warning: unused variable 'rc' [-Wunused-variable] Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/serial/arm_dcc.c |5 - 1 files

[U-Boot] [PATCH 0/2 V2] SMDK5250: Set Initial PMIC Values

2013-01-23 Thread Rajeshwari Shinde
This patch set seperates setting PMIC values form previous Convert lowlevel_init.S to .c patch set. These patches add PMIC MAX77686 voltage settings for SMDK5250. Changes in V2: - Corrected the multi line comment style Rajeshwari Shinde (2): EXYNOS5: Add function to setup set ps hold

[U-Boot] [PATCH 1/2 V2] EXYNOS5: Add function to setup set ps hold

2013-01-23 Thread Rajeshwari Shinde
This patch adds a function to set ps_hold data driving value high. This enables the machine to stay powered on after the initial power-on condition goes away(e.g. power button). Acked-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2:

[U-Boot] [PATCH 2/2 V2] SMDK5250: Add PMIC voltage settings

2013-01-23 Thread Rajeshwari Shinde
This patch adds required pmic voltage settings for SMDK5250. Acked-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Corrected the multi line comment style board/samsung/smdk5250/smdk5250.c | 113

[U-Boot] [PATCH] microblaze: Add muldi3.c which contains routines for _muldi3

2013-01-23 Thread Michal Simek
From: David Holsgrove david.holsgr...@xilinx.com Referenced arch/blackfin/lib/muldi3.c and the linux kernel. Resolves issue seen when building u-boot for HW_MUL=0; PLATFORM_CPPFLAGS += -mxl-soft-mul PLATFORM_CPPFLAGS += -mno-xl-multiply-high which resulted in error while linking to libgcc.a

Re: [U-Boot] [PATCH 1/2] serial: arm_dcc: Remove CONFIG_ARM_DCC_MULTI option

2013-01-23 Thread Wolfgang Denk
Dear Michal Simek, In message 1358934007-14928-2-git-send-email-michal.si...@xilinx.com you wrote: CONFIG_ARM_DCC_MULTI should be also removed in the patch serial: Remove CONFIG_SERIAL_MULTI from serial drivers (sha1: a3827250606895ec2dd4b8d867342b7cabf3692f) Because the driver defines

Re: [U-Boot] [PATCH 4/7] EXYNOS5: GPIO to enable MAX98095

2013-01-23 Thread Rajeshwari Birje
Hi Simon, Thank you for comments. On Tue, Jan 22, 2013 at 8:25 PM, Simon Glass s...@chromium.org wrote: Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch sets high a GPIO to enable the codec MAX98095 Signed-off-by: Rajeshwari

Re: [U-Boot] [PATCH V3 1/1] imximage.cfg: run files through C preprocessor

2013-01-23 Thread Stefano Babic
On 19/01/2013 03:14, Troy Kisky wrote: The '#' used as comments in the files cause the preprocessor trouble, so change to /* */. The mkimage command which uses this preprocessor output was moved to arch/arm/imx-common/Makefile .gitignore was updated to ignore .cfgtmp files.

Re: [U-Boot] [PATCH 7/7] EXYNOS5: Snow: Add a configuration file

2013-01-23 Thread Rajeshwari Birje
Hi Simon, Thank you for comments. On Tue, Jan 22, 2013 at 8:28 PM, Simon Glass s...@chromium.org wrote: Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds the configuration file for Snow Board and defines the same in

Re: [U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver

2013-01-23 Thread Vipin Kumar
On 1/23/2013 12:25 PM, Albert ARIBAUD wrote: Hi Vipin, My first feeling is that the descriptors are allocated as Normal Cachabale memory and it would not help to access them using readl/writel Should the desciptors be allocated as non-cachable memory. If yes then how to do that in u-boot I

Re: [U-Boot] [PATCH] powerpc/p2041: skip waiting for SERDES bank 3 reset done

2013-01-23 Thread Xie Shaohui-B21989
Hello, Anatolij Gustschin, Could you please post the bank 3 reset wait timeout dumped by U-boot, I don't see this, and also the RCW dump? Best Regards, Shaohui Xie -Original Message- From: Anatolij Gustschin [mailto:ag...@denx.de] Sent: Wednesday, January 23, 2013 4:49 PM To:

Re: [U-Boot] [PATCH 1/2] serial: arm_dcc: Remove CONFIG_ARM_DCC_MULTI option

2013-01-23 Thread Michal Simek
Dear Wolfgang Denk, 2013/1/23 Wolfgang Denk w...@denx.de: Dear Michal Simek, In message 1358934007-14928-2-git-send-email-michal.si...@xilinx.com you wrote: CONFIG_ARM_DCC_MULTI should be also removed in the patch serial: Remove CONFIG_SERIAL_MULTI from serial drivers (sha1:

Re: [U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver

2013-01-23 Thread Albert ARIBAUD
Hi Vipin, On Wed, 23 Jan 2013 15:46:31 +0530, Vipin Kumar vipin.ku...@st.com wrote: On 1/23/2013 12:25 PM, Albert ARIBAUD wrote: Hi Vipin, My first feeling is that the descriptors are allocated as Normal Cachabale memory and it would not help to access them using readl/writel Should

Re: [U-Boot] [PATCH] powerpc/p2041: skip waiting for SERDES bank 3 reset done

2013-01-23 Thread Anatolij Gustschin
Hello, On Wed, 23 Jan 2013 10:17:44 + Xie Shaohui-B21989 b21...@freescale.com wrote: Hello, Anatolij Gustschin, Could you please post the bank 3 reset wait timeout dumped by U-boot, I don't see this, and also the RCW dump? currently I do not have access to the p2041rdb board, but here

[U-Boot] [PATCH 1/1 v2] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Jim Lin
Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes longer time than 10 ms (e.g., 50 ms) to finish. Signed-off-by: Jim Lin ji...@nvidia.com

Re: [U-Boot] [PATCH 5/5] cm-t35: add support for loading splash image from NAND

2013-01-23 Thread Nikita Kiryanov
Hi Albert, On 01/22/2013 09:37 AM, Albert ARIBAUD wrote: Hi Nikita, [...] Barring that, we should at least protect lcd.c from this issue by making some sort of check for affected targets, or maybe limit the possible values for splashimage... This issue makes it way too easy to accidentally

[U-Boot] [PATCH] powerpc/85xx: add missing QMAN frequency calculation

2013-01-23 Thread Shaohui Xie
When CONFIG_SYS_FSL_QORIQ_CHASSIS2 is not defined, QMAN frequency will not be initialized, and QMAN will have a wrong frequency display. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/speed.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Otavio Salvador
On Wed, Jan 23, 2013 at 7:04 AM, Stefano Babic sba...@denx.de wrote: On 22/01/2013 02:56, Otavio Salvador wrote: On Mon, Jan 21, 2013 at 11:50 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, NAK. DMA works on MX28 and works in Linux on MX23, therefore the DMA is not broken on

Re: [U-Boot] [PATCH 5/5] cm-t35: add support for loading splash image from NAND

2013-01-23 Thread Nikita Kiryanov
On 01/23/2013 12:47 PM, Nikita Kiryanov wrote: Hi Albert, On 01/22/2013 09:37 AM, Albert ARIBAUD wrote: Hi Nikita, [...] Note that if the user address is constrained to be 4-byte-aligned, then only the 2 x 'B' 'M' case would apply. I think a simpler way to implement something like this

[U-Boot] [PATCH] common: cmd_bdinfo: Fix bdinfo to show all MACs for Microblaze and ARM

2013-01-23 Thread Michal Simek
- Show all ethernet MACs in the system. - Show current ethernet device Signed-off-by: Michal Simek michal.si...@xilinx.com --- common/cmd_bdinfo.c | 25 + 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Marek Vasut
Dear Otavio Salvador, On Wed, Jan 23, 2013 at 7:04 AM, Stefano Babic sba...@denx.de wrote: On 22/01/2013 02:56, Otavio Salvador wrote: On Mon, Jan 21, 2013 at 11:50 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, NAK. DMA works on MX28 and works in Linux on MX23, therefore

Re: [U-Boot] [PATCH] MAKEALL: fix kill_children for BSD hosts

2013-01-23 Thread Andreas Bießmann
On 23.01.2013 00:51, Andreas Bießmann wrote: ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Make the call for ps portable and filter the relevant line from output (including the header) with sed. Also switch from pgrep to ps to

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Stefano Babic
On 23/01/2013 12:26, Marek Vasut wrote: Hi Otavio, hi Marek, let me say some words about this discussion. I agree that if there is no support for DMA for MX23, we could add support with PIO mode. However, there should be a very good reason, because as far as I understand, added support for

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Marek Vasut
Dear Stefano Babic, On 23/01/2013 12:26, Marek Vasut wrote: Hi Otavio, hi Marek, let me say some words about this discussion. I agree that if there is no support for DMA for MX23, we could add support with PIO mode. However, there should be a very good reason, because as far as I

Re: [U-Boot] [PATCH 9/9] mx23: Use PIO mode support for MMC

2013-01-23 Thread Otavio Salvador
On Wed, Jan 23, 2013 at 9:48 AM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 23/01/2013 12:26, Marek Vasut wrote: Hi Otavio, hi Marek, let me say some words about this discussion. I agree that if there is no support for DMA for MX23, we could add support with PIO mode.

[U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/mtd/spi/spansion.c |2 +- 1 files

Re: [U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-23 Thread Otavio Salvador
On Wed, Jan 23, 2013 at 1:51 AM, Fabio Estevam feste...@gmail.com wrote: On Wed, Jan 23, 2013 at 1:33 AM, Marek Vasut ma...@denx.de wrote: Fabio, do you feel like rolling out the env patch? Sure, I can send it after it reaches Stefano's tree. I have it done; will send it with the fixes Marek

[U-Boot] [PATCH] net: phy: Define Marvell 88e1518 phy

2013-01-23 Thread Michal Simek
From: Michal Simek mon...@monstr.eu This phy is used on zedboard (xilinx zynq platform). Signed-off-by: Michal Simek mon...@monstr.eu --- drivers/net/phy/marvell.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/marvell.c

[U-Boot] [PATCH] spi: xilinx_spi: Perform software reset during slave setup

2013-01-23 Thread Michal Simek
From: Jason Wu jason...@petalogix.com to make sure it is in the clear state. Signed-off-by: Jason Wu hua...@xilinx.com --- drivers/spi/xilinx_spi.c |2 ++ drivers/spi/xilinx_spi.h |3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/spi/xilinx_spi.c

[U-Boot] [PATCH 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/mx23_olinuxino.h | 75 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h index bc63481..a97598c

[U-Boot] [PATCH 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- MAINTAINERS| 4 + board/freescale/mx23evk/Makefile | 47 +++ board/freescale/mx23evk/mx23evk.c | 81

[U-Boot] [PATCH 1/2] sf: stmicro: Add support for N25Q64

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com Add support for Numonyx N25Q064 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/mtd/spi/stmicro.c |6 ++ 1 files changed,

[U-Boot] [PATCH 2/2] sf: stmicro: Add support for N25Q64A

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com Add support for Numonyx N25Q64A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/mtd/spi/stmicro.c |6 ++ 1 files changed,

[U-Boot] [PATCH 1/4] board: xilinx: Remove unused ancient i2c driver

2013-01-23 Thread Michal Simek
There is new driver in the driver folder. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/xilinx/xilinx_iic/xiic_l.c | 484 -- board/xilinx/xilinx_iic/xiic_l.h | 150 2 files changed, 0 insertions(+), 634 deletions(-) delete mode

[U-Boot] [PATCH 3/4] common: cmd_bdinfo: Fix compilation warning for microblaze

2013-01-23 Thread Michal Simek
Fix one printf compilation warning in microblaze bdinfo part. Warning log: cmd_bdinfo.c: In function 'do_bdinfo': cmd_bdinfo.c:219:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] Signed-off-by: Michal Simek

[U-Boot] [PATCH 4/4] microblaze: Remove FSL support from generic board

2013-01-23 Thread Michal Simek
This code was targetting one specific Microblaze platform configuration which is obsolete and fsl bus isn't used in this way. Signed-off-by: Michal Simek michal.si...@xilinx.com --- .../xilinx/microblaze-generic/microblaze-generic.c | 20

[U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-23 Thread Mats Kärrman
Hi! I have a system using a MPC5125 processor working fine using U-Boot 2012.07. I have based my board adaption etc on the mpc5121ads board and also patched the necessary parts of the serial port driver. Now when I'm trying to migrate to U-Boot 2013.01 I face problems with a sudden hang. I

Re: [U-Boot] [PATCH 2/2] mx23evk: Add initial board support

2013-01-23 Thread Fabio Estevam
Hi Otavio, On Wed, Jan 23, 2013 at 10:53 AM, Otavio Salvador ota...@ossystems.com.br wrote: The following features are supported: * 128 MB DDR1 SDRAM * SD/MMC Card Socket DUART as well. + /* AUART */ + MX23_PAD_AUART1_RX__AUART1_RX | MXS_PAD_CTRL, +

Re: [U-Boot] [PATCH 1/2] sf: stmicro: Add support for N25Q64

2013-01-23 Thread Andrew Dyer
On Wed, Jan 23, 2013 at 6:58 AM, Michal Simek michal.si...@xilinx.comwrote: From: Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com Add support for Numonyx N25Q064 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH 1/2] sf: stmicro: Add support for N25Q64

2013-01-23 Thread Jagannadha Sutradharudu Teki
Hi Andrew, For Stmicro and Numonyx have same manufacture Id (0x20). Recently they is support added to identify both the flashes in same file stmicro.c http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commitdiff;h=63ff6a66aef4d838fa6e3737d3e242697c0a591d Thanks, Jagan. From: Andrew Dyer

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Angelo Dureghello
Dear Ramesh, you're welcome, happy to help. Anyway, i suggest you to update to ALL the last master git tree, since overwriting a single file can bring you to some other misalignment/malfunction. You can find eventually instructions here: http://www.denx.de/en/Software/GIT Best Regards,

[U-Boot] [PATCH v2 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: None include/configs/mx23_olinuxino.h | 75 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h index

[U-Boot] [PATCH v2 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - Add DUART in commitlog - Remove AUART MUX setup as it is unused - Remove wrong comment in mx23evk.h board config - Use single line

Re: [U-Boot] [PATCH v2 2/2] mx23evk: Add initial board support

2013-01-23 Thread Fabio Estevam
On Wed, Jan 23, 2013 at 12:40 PM, Otavio Salvador ota...@ossystems.com.br wrote: +#defineMUX_CONFIG_SSP1 (MXS_PAD_3V3 | MXS_PAD_8MA | MXS_PAD_PULLUP) +#defineMUX_CONFIG_GPMI (MXS_PAD_3V3 | MXS_PAD_4MA | MXS_PAD_NOPULL) Looks good now. Minor detail: MUX_CONFIG_GPM is not used

[U-Boot] [PATCH v3 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/mx23_olinuxino.h | 75 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/include/configs/mx23_olinuxino.h

[U-Boot] [PATCH v3 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - Removed unused macro for GPMI setting in spl_boot.c Changes in v2: - Add DUART in commitlog - Remove AUART MUX setup as it is

[U-Boot] [PATCH v4 2/2] board: add support for amcore board

2013-01-23 Thread Angelo Dureghello
Add support for Sysam AMCORE mcf5307 (coldfire) based board. Signed-off-by: Angelo Dureghello sysa...@gmail.com Cc: Jason Jin jason@freescale.com --- Changes for v2: - None Changes for v3: - Fix code format issues Changes for v4: - Added MAINTAINERS file entry - Removed all unnecessary blank

[U-Boot] [PATCH 0/9 v6] Add TMU support for Exynos5250 based SMDK5250

2013-01-23 Thread Akshay Saraswat
This patch series adds support for TMU driver using device tree for Exynos5250 based SMDK5250 board. Changes since v5: - Patch-1: Added 'Acked-by' and fixed few nits. - Patch-2: Added 'Acked-by'. - Patch-3: Added 'Acked-by' and fixed few nits. - Patch-4: Added

[U-Boot] [PATCH 1/9 v6] EXYNOS5: TMU: Add driver for Thermal Management Unit

2013-01-23 Thread Akshay Saraswat
Adding Exynos Thermal Management Unit driver to monitor SOC temperature and take actions corresponding to states of TMU. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v5: - Added Acked-by. - Changed position of config

[U-Boot] [PATCH 3/9 v6] EXYNOS5: FDT: Add TMU device node values

2013-01-23 Thread Akshay Saraswat
Fdt entry for Exynos TMU driver specific pre-defined values used for calibration of current temperature and defining threshold values. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v5: - Added Acked-by. - Changed size

[U-Boot] [PATCH 5/9 v6] EXYNOS5: Config: Enable support for Exynos TMU driver

2013-01-23 Thread Akshay Saraswat
Enables TMU driver support for exynos5250 Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v5: - Added Acked-by. include/configs/exynos5250-dt.h |3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 7/9 v6] EXYNOS5: Config: Enable dtt command for TMU

2013-01-23 Thread Akshay Saraswat
This enables the dtt command to read the current SOC temperature with the help of TMU Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v5: - Added Acked-by. include/configs/exynos5250-dt.h |2 ++ 1 file changed, 2

[U-Boot] [PATCH 4/9 v6] EXYNOS5: TMU: Add TMU init and status check

2013-01-23 Thread Akshay Saraswat
This adds call to tmu_init() and TMU boot time analysis for the SoC temperature threshold breach. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v5: - Added Acked-by. board/samsung/smdk5250/smdk5250.c | 35

[U-Boot] [PATCH 6/9 v6] TMU: Add TMU support in dtt command

2013-01-23 Thread Akshay Saraswat
Add generic TMU support alongwith i2c sensors in dtt command to enable temperature reading in cases where TMU is present instead of i2c sensors. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v5: - Changed 'pirntf' to 'puts'. - Added 'return -1' in case of

[U-Boot] [PATCH 9/9 v6] EXYNOS5: FDT: Add a H/W-trip member to TMU node

2013-01-23 Thread Akshay Saraswat
This adds a member to TMU FDT node for providing hardware tripping temperature threshold. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v5: - New patch. board/samsung/dts/exynos5250-smdk5250.dts |1 + doc/device-tree-bindings/exynos/tmu.txt |5 - 2

[U-Boot] [PATCH 8/9 v6] EXYNOS5: TMU: Add hardware tripping

2013-01-23 Thread Akshay Saraswat
This adds hardware tripping at 110 degrees celsius which must enable forced system shutdown in case TMU fails to poweroff. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v5: - New patch. arch/arm/cpu/armv7/exynos/power.c| 10 ++

[U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-23 Thread Mats Kärrman
Now when I'm trying to migrate to U-Boot 2013.01 I face problems with a sudden hang. I see console output until the Flash: from arch/powerpc/lib/board.c::board_init_r() but nothing more until the board reboots on a watchdog reset after 30s. Found that it was looping endlessly in

[U-Boot] [PATCH 01/10] MIPS: qemu-malta: add support for emulated MIPS Malta board

2013-01-23 Thread Gabor Juhos
Add minimal support for the MIPS Malta CoreLV board emulated by Qemu. The only supported peripherial is the UART. This is enough to boot U-Boot to the command prompt both in little and big endian mode. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck

[U-Boot] [PATCH 02/10] MIPS: qemu-malta: add reset support

2013-01-23 Thread Gabor Juhos
The MIPS Malta board has a SOFTRES register. Writing a magic value into that register initiates a board reset. Use this feature to implement reset support. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com --- Changes since RFC: --- ---

[U-Boot] [PATCH 05/10] MIPS: qemu-malta: setup GT64120 registers as done by YAMON

2013-01-23 Thread Gabor Juhos
Move the GT64120 register base to 0x1be0 and setup PCI BAR registers as done by the original YAMON bootloader. This is needed for running Linux kernel. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com --- Changes since RFC: --- ---

[U-Boot] [PATCH 04/10] MIPS: import gt64120.h header from Linux 3.8-rc3

2013-01-23 Thread Gabor Juhos
The Linux specific register access macros, the extern function declarations and the UL suffixes has been removed. The header file will be used for the qemu-malta board. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com --- Changes since RFC:

[U-Boot] [PATCH 07/10] net: pcnet: use pci_virt_to_mem to obtain buffer addresses

2013-01-23 Thread Gabor Juhos
The pcnet driver uses the pci_phys_to_mem function to get the memory address of the DMA buffers. This This assumes an 1:1 mapping between the PCI and physical memory which is not true on all platforms. On MIPS platform U-Boot is running within a mapped memory region, and the pci_phys_to_mem macro

[U-Boot] [PATCH 08/10] MIPS: qemu-malta: bring up ethernet

2013-01-23 Thread Gabor Juhos
Qemu emulates a PCNET PCI card for the Malta CoreLV board. Enable the pcnet driver and add board specific ethernet initialization function to bring it up. Also enable the CONFIG_CMD_NET and CONFIG_CMD_PING options. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck

[U-Boot] [PATCH 06/10] MIPS: qemu-malta: add PCI support

2013-01-23 Thread Gabor Juhos
Qemu emulates the Galileo GT64120 System Controller which provides a CPU bus to PCI bus bridge. The patch adds driver for this bridge and enables PCI support for the emulated Malta board. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com ---

[U-Boot] [PATCH 00/10] MIPS: initial support for emulated Malta board

2013-01-23 Thread Gabor Juhos
This patch set adds initial support for the MIPS Malta CoreLV board emulated under Qemu. The patches are against the master branch of the MIPS custodian tree. The changes since the previous version of the series are described in the individual patches. Gabor Juhos (10): MIPS: qemu-malta: add

[U-Boot] [PATCH 09/10] MIPS: bootm.c: add YAMON style Linux preparation/jump code

2013-01-23 Thread Gabor Juhos
Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com --- Changes since RFC: --- --- arch/mips/lib/bootm.c | 60 +++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 10/10] MIPS: start.S: emulate REVISION register for qemu-malta

2013-01-23 Thread Gabor Juhos
On the origial Malta boards the REVISION register is accessible at the 0x1fc00010 address. The contents of this register gives information about the revision of the Malta and Core Boards. This register is used by the Linux kernel to identify the actual board it is running on. However the register

Re: [U-Boot] [PATCH v3 2/2] mx23evk: Add initial board support

2013-01-23 Thread Fabio Estevam
On Wed, Jan 23, 2013 at 12:54 PM, Otavio Salvador ota...@ossystems.com.br wrote: The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br ./MAKEALL mx23evk gives me: mx23evk.c: In function 'dram_init':

Re: [U-Boot] [PATCH v3 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Marek Vasut
Dear Otavio Salvador, Missing commit message. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/mx23_olinuxino.h | 75 1 file changed, 68 insertions(+), 7 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 2/2] mx23evk: Add initial board support

2013-01-23 Thread Fabio Estevam
On Wed, Jan 23, 2013 at 12:54 PM, Otavio Salvador ota...@ossystems.com.br wrote: + + /* MMC 0 */ + MX23_PAD_SSP1_DATA0__SSP1_DATA0 | MUX_CONFIG_SSP1, + MX23_PAD_SSP1_DATA1__SSP1_DATA1 | MUX_CONFIG_SSP1, + MX23_PAD_SSP1_DATA2__SSP1_DATA2 | MUX_CONFIG_SSP1, +

[U-Boot] [PATCH v4 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/mx23_olinuxino.h | 75 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/include/configs/mx23_olinuxino.h

[U-Boot] [PATCH v4 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v4: - Fix build warnings Changes in v3: - Removed unused macro for GPMI setting in spl_boot.c Changes in v2: - Add DUART in commitlog -

Re: [U-Boot] [PATCH V3 0/9] separate miiphy from ethernet

2013-01-23 Thread Troy Kisky
On 1/23/2013 1:48 AM, Stefano Babic wrote: On 23/01/2013 00:48, Troy Kisky wrote: On 11/10/2012 12:28 AM, Stefano Babic wrote: On 23/10/2012 04:40, Troy Kisky wrote: This series tries to separate the mii regsisters from the ethernet registers as suggested by Andy Fleming. Then, mx6qsabrelite

[U-Boot] [PATCH v5 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
This adds a default environment with support for MMC booting. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v5: - Remove duplicate environment setting - Improve commit log Changes in v4: None Changes in v3: None Changes in v2: None include/configs/mx23_olinuxino.h | 74

[U-Boot] [PATCH v5 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v5: - Use 4bit bus for mmc Changes in v4: - Fix build warnings Changes in v3: - Removed unused macro for GPMI setting in spl_boot.c

Re: [U-Boot] [PATCH v5 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Marek Vasut
Dear Otavio Salvador, This adds a default environment with support for MMC booting. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v5: - Remove duplicate environment setting - Improve commit log Changes in v4: None Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH 1/1 v2] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Wolfgang Denk
Dear Jim Lin, In message 1358937511-32664-1-git-send-email-ji...@nvidia.com you wrote: Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed

Re: [U-Boot] [PATCH] powerpc/p5040: add serdes2 memory map register define

2013-01-23 Thread Andy Fleming
On Thu, Jan 17, 2013 at 9:26 AM, Roy Zang tie-fei.z...@freescale.comwrote: Signed-off-by: Roy Zang tie-fei.z...@freescale.com --- arch/powerpc/include/asm/immap_85xx.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/powerpc/include/asm/immap_85xx.h

Re: [U-Boot] [PATCH v5 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
On Wed, Jan 23, 2013 at 5:12 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, This adds a default environment with support for MMC booting. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v5: - Remove duplicate environment setting - Improve commit log

[U-Boot] [PATCH v6 1/2] mx23_olinuxino: Add default environment

2013-01-23 Thread Otavio Salvador
This adds a default environment with support for MMC booting. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v6: - Remove 'saveenv' command as it is not need - Move environment settings to environment section Changes in v5: - Remove duplicate environment setting - Improve

[U-Boot] [PATCH v6 2/2] mx23evk: Add initial board support

2013-01-23 Thread Otavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v6: - Remove 'saveenv' command as it is not need - Move environment settings to environment section - Use 1s boot delay Changes in v5: -

Re: [U-Boot] [PATCH v6 2/2] mx23evk: Add initial board support

2013-01-23 Thread Fabio Estevam
On Wed, Jan 23, 2013 at 6:30 PM, Otavio Salvador ota...@ossystems.com.br wrote: The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador ota...@ossystems.com.br Tested-by: Fabio Estevam fabio.este...@freescale.com

Re: [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-23 Thread Wolfgang Denk
Dear Mats, In message ed3e0bcacd909541ba94a34c4a164d4c427b3...@post.tritech.se you wrote: Question: To help me decide where to look I would like to know if anyone has built the mpc5121ads board configuration using U-Boot 2013.01 and actually tested that it is still working? Yes, v2012.01

  1   2   >