Re: [U-Boot] Raspberry pi

2013-01-23 Thread Anatolij Gustschin
Hi, On Thu, 24 Jan 2013 00:58:55 +0800 (SGT) Haneef Mohamed wrote: ... > Does u-boot support raspberry pi. (armv6) a basic support for Raspberry Pi model B is there, see include/configs/rpi_b.h file, rpi_b configuration. Thanks, Anatolij ___ U-Boot m

[U-Boot] how to create patches for mailing

2013-01-23 Thread Maxim Podbereznyy
Hi! I want to add a new board support to u-boot. So I did the following: 1) git clone git://git.denx.de/u-boot.git u-boot-dev 2) modified existing files, added new 3) built the tree for my board, beagle and overo - OK 4) git format-patch - nothing happens are there any step by step instructions

[U-Boot] [PATCH] powerpc/t4240: Adding workaround errata A-005871

2013-01-23 Thread Shengzhou Liu
When CoreNet Fabric (CCF) internal resources are consumed by the cores, inbound SRIO messaging traffic through RMan can put the device into a deadlock condition. This errata workaround forces internal resources to be reserved for upstream transactions. This ensures resources exist on the device fo

[U-Boot] Raspberry pi

2013-01-23 Thread Haneef Mohamed
Hi, Does u-boot support raspberry pi. (armv6) thanks, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Tegra: Move common clock code to arch/arm/cpu/tegra-common/clock.c

2013-01-23 Thread Stephen Warren
On 01/23/2013 03:33 PM, Tom Warren wrote: > This 'commonizes' much of the clock/pll code. SoC-dependent code > and tables are left in arch/cpu/tegraXXX-common/clock.c I think this looks OK, although the changes to the clk ID -> periph ID mapping and validation functions and whitespace threw me ini

[U-Boot] [PATCH][v3] powerpc/mpc85xx: Add BSC9132/BSC9232 processor support

2013-01-23 Thread Prabhakar Kushwaha
The BSC9132 is a highly integrated device that targets the evolving Microcell, Picocell, and Enterprise-Femto base station market subsegments. The BSC9132 device combines Power Architecture e500 and DSP StarCore SC3850 core technologies with MAPLE-B2P baseband acceleration processing elements

[U-Boot] [PATCH][v2] board/common: Add support for QIXIS read/write using i2c

2013-01-23 Thread Prabhakar Kushwaha
QIXIS FPGA is accessable via both i2c and flash controller. Only flash controller access is supported. Add support of i2c based access. It is quite useful in the scenario where either flash controller path is broken or not present. Signed-off-by: Ruchika Gupta Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH][v2] powerpc/mpc85xx: Add BSC9132/BSC9232 processor support

2013-01-23 Thread Prabhakar Kushwaha
On 01/24/2013 02:11 AM, Andy Fleming wrote: On Monday, January 14, 2013, Prabhakar Kushwaha wrote: The BSC9132 is a highly integrated device that targets the evolving Microcell, Picocell, and Enterprise-Femto base station market subsegments. The BSC9132 device combines Powe

Re: [U-Boot] [PATCH] board/common: Add support for QIXIS read/write using i2c

2013-01-23 Thread Prabhakar Kushwaha
On 01/24/2013 03:36 AM, Andy Fleming wrote: +u8 qixis_read_i2c(unsigned int reg) +{ + return i2c_reg_read(CONFIG_SYS_I2C_FPGA_ADDR, reg); +} + +void qixis_write_i2c(unsigned int reg, u8 value) +{ + u8 val = value; + i2c_reg_write(CONFIG_SYS_

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

2013-01-23 Thread Xie Shaohui-B21989
> Hello, > > On Wed, 23 Jan 2013 10:17:44 + > Xie Shaohui-B21989 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, bu

Re: [U-Boot] [PATCHv1] powerpc/mpc85xx: Add property 'fsl, sec-era' in device tree node 'crypto'.

2013-01-23 Thread Andy Fleming
> > > diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c > b/arch/powerpc/cpu/mpc85xx/fdt.c > index 5af2661..e7b5dfd 100644 > --- a/arch/powerpc/cpu/mpc85xx/fdt.c > +++ b/arch/powerpc/cpu/mpc85xx/fdt.c > @@ -591,6 +591,14 @@ void ft_cpu_setup(void *blob, bd_t *bd) > /* delete crypto node if not on

Re: [U-Boot] [PATCH 4/5] cm-t35: add support for user defined lcd parameters

2013-01-23 Thread Jeroen Hofstee
Hi Nikita, On 01/21/2013 09:25 AM, Nikita Kiryanov wrote: Hi Jeroen, On 01/20/2013 11:08 PM, Jeroen Hofstee wrote: On 12/23/2012 08:03 AM, Nikita Kiryanov wrote: [...] + * Returns -1 on failure, 0 on success. + */ +static int parse_customlcd(char *custom_lcd_params) +{ +char params_cpy[1

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: I have also a general question : it seems to me that the interface for PHY is set always to RMII - what about boards using MII ? Best regards, Stefano Babic This was

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread York Sun
On 01/23/2013 02:02 PM, Scott Wood wrote: > On 01/23/2013 04:01:49 PM, York Sun wrote: >> On 01/23/2013 01:52 PM, Scott Wood wrote: >> > On 01/23/2013 03:46:04 PM, York Sun wrote: >> >> On 01/23/2013 01:41 PM, York Sun wrote: >> >> I should put RFC in the subject as I am not able to compile all ARC

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

2013-01-23 Thread Jeroen Hofstee
Hello Nikita, On 01/23/2013 09:31 AM, Nikita Kiryanov wrote: 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..4a

Re: [U-Boot] [PATCH] board/common: Add support for QIXIS read/write using i2c

2013-01-23 Thread Andy Fleming
> > +u8 qixis_read_i2c(unsigned int reg) > +{ > + return i2c_reg_read(CONFIG_SYS_I2C_FPGA_ADDR, reg); > +} > + > +void qixis_write_i2c(unsigned int reg, u8 value) > +{ > + u8 val = value; > + i2c_reg_write(CONFIG_SYS_I2C_FPGA_ADDR, reg, val); > +} > + This breaks ALL other boar

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread Allen Martin
On Wed, Jan 23, 2013 at 02:05:26PM -0800, York Sun wrote: > On 01/23/2013 02:02 PM, Scott Wood wrote: > > On 01/23/2013 04:01:49 PM, York Sun wrote: > >> On 01/23/2013 01:52 PM, Scott Wood wrote: > >> > On 01/23/2013 03:46:04 PM, York Sun wrote: > >> >> On 01/23/2013 01:41 PM, York Sun wrote: > >>

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread York Sun
On 01/23/2013 01:53 PM, Scott Wood wrote: > On 01/23/2013 03:41:47 PM, York Sun wrote: >> diff --git a/drivers/net/npe/include/IxOsalTypes.h >> b/drivers/net/npe/include/IxOsalTypes.h >> index a190a70..0168902 100644 >> --- a/drivers/net/npe/include/IxOsalTypes.h >> +++ b/drivers/net/npe/include/Ix

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread Scott Wood
On 01/23/2013 04:01:49 PM, York Sun wrote: On 01/23/2013 01:52 PM, Scott Wood wrote: > On 01/23/2013 03:46:04 PM, York Sun wrote: >> On 01/23/2013 01:41 PM, York Sun wrote: >> I should put RFC in the subject as I am not able to compile all ARCH >> myself. > > So how do you see this patch becom

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread York Sun
On 01/23/2013 01:52 PM, Scott Wood wrote: > On 01/23/2013 03:46:04 PM, York Sun wrote: >> On 01/23/2013 01:41 PM, York Sun wrote: >> > 'bool' is defined in random places. This patch consolidates them into a >> > single header file include/linux/types.h, using stdbool.h. >> > >> > All other #define,

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread York Sun
On 01/23/2013 01:41 PM, York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single header file include/linux/types.h, using stdbool.h. > > All other #define, typedef and enum are removed. They are all consistent with > true = 1, false = 0. > > Signed-off-by

[U-Boot] [RFC Patch v4] Consolidate bool type

2013-01-23 Thread York Sun
'bool' is defined in random places. This patch consolidates them into a single header file include/linux/types.h, using stdbool.h introduced in C99. All other #define, typedef and enum are removed. They are all consistent with true = 1, false = 0. Signed-off-by: York Sun --- Change since v1: Mo

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

2013-01-23 Thread Mats Kärrman
Dear Wolfgang Denk, >> Found that it was looping endlessly in >> arch/powerpc/lib/ticks.S::wait_ticks(). Reverting commit "ppc: Create a >> stack frame for wait_ticks()" made everything work again. > > This makes no sense to me - especially as it works on all other > systems. If you say it wo

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread Scott Wood
On 01/23/2013 03:41:47 PM, York Sun wrote: diff --git a/drivers/net/npe/include/IxOsalTypes.h b/drivers/net/npe/include/IxOsalTypes.h index a190a70..0168902 100644 --- a/drivers/net/npe/include/IxOsalTypes.h +++ b/drivers/net/npe/include/IxOsalTypes.h @@ -107,18 +107,10 @@ typedef volatile INT3

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread Scott Wood
On 01/23/2013 03:46:04 PM, York Sun wrote: On 01/23/2013 01:41 PM, York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single header file include/linux/types.h, using stdbool.h. > > All other #define, typedef and enum are removed. They are all consiste

[U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread York Sun
'bool' is defined in random places. This patch consolidates them into a single header file include/linux/types.h, using stdbool.h. All other #define, typedef and enum are removed. They are all consistent with true = 1, false = 0. Signed-off-by: York Sun --- Change since v1: Move 'false' and 'tr

Re: [U-Boot] [PATCH 3/5] cm-t35: add support for dvi displays

2013-01-23 Thread Jeroen Hofstee
On 01/21/2013 09:12 AM, Nikita Kiryanov wrote: +else if (!strncmp(displaytype, "dvi800x600", 10)) +return set_dvi_preset(preset_dvi_800X600, 800, 600); +else if (!strncmp(displaytype, "dvi1024x768", 11)) +return set_dvi_preset(preset_dvi_1024X768, 1024, 768); +else i

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

2013-01-23 Thread Wolfgang Denk
Dear Mats Kärrman, In message you wrote: > > > Found that it was looping endlessly in > arch/powerpc/lib/ticks.S::wait_ticks(). Reverting commit "ppc: Create a stack > frame for wait_ticks()" made everything work again. This makes no sense to me - especially as it works on all other systems.

Re: [U-Boot] [PATCH][v2] powerpc/mpc85xx: Add BSC9132/BSC9232 processor support

2013-01-23 Thread Andy Fleming
On Monday, January 14, 2013, Prabhakar Kushwaha wrote: > The BSC9132 is a highly integrated device that targets the evolving > Microcell, Picocell, and Enterprise-Femto base station market subsegments. > > The BSC9132 device combines Power Architecture e500 and DSP StarCore > SC3850 > core tec

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

2013-01-23 Thread Marek Vasut
Dear Otavio Salvador, > On Wed, Jan 23, 2013 at 5:12 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> This adds a default environment with support for MMC booting. > >> > >> Signed-off-by: Otavio Salvador > >> --- > >> Changes in v5: > >> - Remove duplicate environment setting > >> -

Re: [U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-23 Thread Allen Martin
On Tue, Jan 22, 2013 at 10:46:03PM -0800, Albert ARIBAUD wrote: > Hi Allen, > > On Tue, 22 Jan 2013 15:11:21 -0800, Allen Martin > wrote: > > > Add back return statement to fix compiler warning about control flow > > reaching end of non void function that was introduced with: > > > > e05e5d

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

2013-01-23 Thread Wolfgang Denk
Dear Mats, In message 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 is working on the MPC5121ADS board: U-Boot 2013.01 (

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 wrote: > The following features are supported: > * 128 MB DDR1 SDRAM > * DUART > * SD/MMC Card Socket > > Signed-off-by: Otavio Salvador Tested-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.

[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 --- Changes in v6: - Remove 'saveenv' command as it is not need - Move environment settings to environment section - Use 1s boot delay Changes in v5: - Use 4bit bus for mmc C

[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 --- 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 commit log Changes in v

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 wrote: > Dear Otavio Salvador, > >> This adds a default environment with support for MMC booting. >> >> Signed-off-by: Otavio Salvador >> --- >> Changes in v5: >> - Remove duplicate environment setting >> - Improve commit log >> >> Changes in v4: None

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 wrote: > Signed-off-by: Roy Zang > --- > arch/powerpc/include/asm/immap_85xx.h | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/powerpc/include/asm/immap_85xx.h > b/arch/powerpc/include/asm/immap_85xx.h > index

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 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 > --- > Changes in v5: > - Remove duplicate environment setting > - Improve commit log > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > include/confi

[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 --- 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 Changes in v2: - Add DUART

[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 --- 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

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 i

[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 --- 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 - Remove AUART MUX setup

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

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- 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 b/include/configs/mx23_ol

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 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, > + MX23_PAD_SSP1_DATA3__

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 > --- > 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/con

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 wrote: > The following features are supported: > * 128 MB DDR1 SDRAM > * DUART > * SD/MMC Card Socket > > Signed-off-by: Otavio Salvador "./MAKEALL mx23evk" gives me: mx23evk.c: In function 'dram_init': mx23evk.c:49: warning: implicit declara

[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

[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 Cc: Daniel Schwierzeck --- Changes since RFC: --- --- arch/mips/lib/bootm.c | 60 +++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index a36154a..747d790 100

[U-Boot] [PATCH 03/10] MIPS: qemu-malta: enable flash support

2013-01-23 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- Changes since RFC: --- --- arch/mips/include/asm/malta.h |2 ++ include/configs/qemu-malta.h | 13 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malt

[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 su

[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 Cc: Daniel Schwierzeck --- Changes since RFC: - use a C struct to define the r

[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 Cc: Daniel Schwierzeck --- 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 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 Cc: Daniel Schwierzeck --- Changes since RFC: --- --- arch/mips/include/asm/gt64120.h | 550 +

[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 Cc: Daniel Schwierzeck --- Changes since RFC: --- --- arch/mips/include/asm/malta.h|4 ++- board/qemu-m

[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 Cc: Daniel Schwierzeck --- Changes since RFC: --- --- arch/mips/include/asm/malta.h |3 +++ board/qemu-malt

[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 Cc: Daniel Schwierzeck --- Changes since RFC: --- --- Screenshot:

[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 arch/

[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 --- Changes since v5: - New patch. arch/arm/cpu/armv7/exynos/power.c| 10 ++ arch/arm/include/asm/arch-exynos/powe

[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 --- Changes since v5: - New patch. board/samsung/dts/exynos5250-smdk5250.dts |1 + doc/device-tree-bindings/exynos/tmu.txt |5 - 2 files changed, 5 ins

[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 --- Changes since v5: - Changed 'pirntf' to 'puts'. - Added 'return -1' in case of erroneous tmu_state.

[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 Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. board/samsung/smdk5250/smdk5250.c | 35 +++ 1 file changed, 3

[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 Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. include/configs/exynos5250-dt.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ex

[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 Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. include/configs/exynos5250-dt.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-

[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 Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. - Changed size from 0x to 0x1. - Rem

[U-Boot] [PATCH 2/9 v6] EXYNOS5: Implement board_poweroff for Thermal Management Unit

2013-01-23 Thread Akshay Saraswat
Adding API in power for system shutdown when tripping value is reached in Exynos Thermal Management Unit. Signed-off-by: Akshay Saraswat Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. arch/arm/cpu/armv7/exynos/power.c| 15 +++ arch/arm/include/asm/a

[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 Acked-by: Simon Glass --- Changes since v5: - Added Acked-by. - Changed position of config in makefile. - Added {} brace

[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 'Acke

[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 Cc: Jason Jin --- Changes for v2: - None Changes for v3: - Fix code format issues Changes for v4: - Added MAINTAINERS file entry - Removed all unnecessary blank lines - Added get_ram_size in sdram init

[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 --- 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 unused - Remove wrong commen

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

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- 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 b/include/configs/mx23_olinuxino.h index bc63

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 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 anywhere, so it can be

[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 --- 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 comments in mx23evk.h bo

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

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- 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 bc63481..a97598c 100644

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, Ange

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 [ma

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 wrote: > From: Jagannadha Sutradharudu Teki < > jagannadha.sutradharudu-t...@xilinx.com> > > Add support for Numonyx N25Q064 SPI flash. > > Signed-off-by: Jagannadha Sutradharudu Teki > Signed-off-by: Michal Simek > --- > drivers/mtd/spi/stmicro.c |

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 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, > + MX23_PAD_AUART1_TX__AUART1_TX | MXS_P

[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 see

[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 --- .../xilinx/microblaze-generic/microblaze-generic.c | 20 include/configs/microblaze-generic.h |4

[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 --- common/cmd_b

[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 --- 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 100644 board/xilinx/xili

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

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki Add support for Numonyx N25Q64A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- drivers/mtd/spi/stmicro.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers

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

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki Add support for Numonyx N25Q064 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- drivers/mtd/spi/stmicro.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers

[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 --- MAINTAINERS| 4 + board/freescale/mx23evk/Makefile | 47 +++ board/freescale/mx23evk/mx23evk.c | 81 board/freescale/mx23evk/spl_boo

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

2013-01-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- 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 100644 --- a/include/configs

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

2013-01-23 Thread Michal Simek
From: Jason Wu to make sure it is in the clear state. Signed-off-by: Jason Wu --- 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 b/drivers/spi/xilinx_spi.c index 52a4134..db01cc2 1

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

2013-01-23 Thread Michal Simek
From: Michal Simek This phy is used on zedboard (xilinx zynq platform). Signed-off-by: Michal Simek --- drivers/net/phy/marvell.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 4b27198..46801c7 100

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 wrote: > On Wed, Jan 23, 2013 at 1:33 AM, Marek Vasut 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 has asked. -- Otavio Sal

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

2013-01-23 Thread Michal Simek
From: Jagannadha Sutradharudu Teki This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- drivers/mtd/spi/spansion.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/m

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 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 m

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, beca

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, >>> a

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

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 wrote: > > On 22/01/2013 02:56, Otavio Salvador wrote: > >> On Mon, Jan 21, 2013 at 11:50 PM, Marek Vasut wrote: > >>> Dear Otavio Salvador, > >>> > >>> NAK. DMA works on MX28 and works in Linux on MX23, therefore the DMA is

[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 --- 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 48cdd16..65a5e08 100644 ---

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

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 wrote: > On 22/01/2013 02:56, Otavio Salvador wrote: >> On Mon, Jan 21, 2013 at 11:50 PM, Marek Vasut wrote: >>> Dear Otavio Salvador, >>> >>> NAK. DMA works on MX28 and works in Linux on MX23, therefore the DMA is not >>> broken on either. Thus ther

[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 --- arch/powerpc/cpu/mpc85xx/speed.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mp

  1   2   >