[U-Boot] [PATCH 5/5] board/BuR/common: rename "usbupdate" environment to "usbscript"

2015-04-24 Thread Hannes Petermaier
usbupdate in real does allways load some script from usb-storage and execute it, on all B&R targets. So we do following 2 things: - rename it to what it really does - move it from boards to common environment Signed-off-by: Hannes Petermaier --- board/BuR/kwb/board.c |4 ++--

[U-Boot] [PATCH 4/5] board/BuR/common: remove BMP_DISPLAY from tseries board

2015-04-24 Thread Hannes Petermaier
Since we display in future the splash screen out of linux-os, we don't need this support anymore within the common section. But kwb-target is still using BMP_DISPLAY feature, so we move the related from the common section into the target-specific. Also the default environment of tseries will be a

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-24 Thread Hans de Goede
Hi, On 24-04-15 14:42, Simon Glass wrote: Hi Hans, On 23 April 2015 at 10:15, Simon Glass wrote: Hi Hans, On 23 April 2015 at 00:55, Hans de Goede wrote: Hi, On 22-04-15 19:20, Simon Glass wrote: Hi Hans, On 20 April 2015 at 12:10, Hans de Goede wrote: Hi, On 20-04-15 17:39, Simon

[U-Boot] How to access GP partitions from uboot (2015.04)

2015-04-24 Thread harsha kiran
Hi! I have created 4 hw GP partitions on the eMMC (GP1,2,3,4) and formatted with ext4 fs. I have to read the contents of these partitions from the uboot but i am not finding them in the mmc part command. I can see them in the mmc info... U-Boot# mmc info Device: OMAP SD/MMC Manufacturer ID: fe OE

Re: [U-Boot] [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-24 Thread Gabriel Huau
Hi Bin, On 04/23/2015 08:20 PM, Bin Meng wrote: Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau wrote: The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau --- include/configs/minnowmax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[U-Boot] Please pull u-boot-fdt

2015-04-24 Thread Simon Glass
Hi Tom, The following changes since commit d8c1d5d5fb6eafbc532982125f006e49f2c40e71: Merge branch 'buildman' of git://git.denx.de/u-boot-x86 (2015-04-23 14:56:47 -0400) are available in the git repository at: http://git.denx.de/u-boot-fdt.git for you to fetch changes up to 77d7fff8cec2652b

[U-Boot] [PATCH v2 1/4] x86: Add a function to assign IRQ numbers to PCI device

2015-04-24 Thread Bin Meng
Add a function to assign an IRQ number to PCI device's interrupt line register in its configuration space, so that the PCI device can have its interrupt working under PIC mode after OS boots up. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/pci.c |

[U-Boot] [PATCH 13/21] sunxi: emac: port to phylib

2015-04-24 Thread Hans de Goede
This is a preparation-patch for adding device-model support to the emac driver. Signed-off-by: Hans de Goede --- drivers/net/sunxi_emac.c | 111 + include/configs/sunxi-common.h | 2 + 2 files changed, 71 insertions(+), 42 deletions(-) diff --git

[U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

2015-04-24 Thread Hans de Goede
netdev.h should not be included in device-model enabled builds (doing so causes compiler warnings about struct eth_device not being declared), but we do use sunxi_gmac_initialize in the device-model case, so move it out of netdev.h . Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sun

[U-Boot] [PATCH 05/21] sunxi: soft-i2c: Fix gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
i2c_init_board() gets called before the device-model (gpio) code is initialized, so move the setup of the soft-i2c pins out of i2c_init_board() and into board_init(), at which time the device-model setup has been done. Also add proper error checking and properly request the gpios as that is mandat

[U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-24 Thread Hans de Goede
This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: Hans de Goede --- include/configs/sunxi-common.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/confi

[U-Boot] [PATCH 06/21] sunxi: gpio: Rename GPIOs to include a 'P' prefix

2015-04-24 Thread Hans de Goede
From: Simon Glass By convention, sunxi GPIOs are named PA1, PA2 instead of A1, A2. Change the driver model GPIO driver for sunxi to use these names. Signed-off-by: Simon Glass Acked-by: Hans de Goede Signed-off-by: Hans de Goede --- drivers/gpio/sunxi_gpio.c | 7 --- 1 file changed, 4 in

Re: [U-Boot] [U-Boot, 1/2] drivers:usb: Add device-tree fixup to identify socs having dual phy

2015-04-24 Thread York Sun
On 03/11/2015 03:14 AM, Nikhil Badola wrote: > Identify soc(s) having dual phy so as to add "utmi_dual" as phy_mode > for all these socs. This is required for supporting deel-sleep feature > in linux for usb driver > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Nikhil Badola > --- Applie

[U-Boot] [PATCH 14/21] sunxi: emac: Prepare for device-model support

2015-04-24 Thread Hans de Goede
Split all the core functionality out into functions taking a struct emac_eth_dev *priv argument as preparation for adding device-model support. Signed-off-by: Hans de Goede --- drivers/net/sunxi_emac.c | 115 +-- 1 file changed, 71 insertions(+), 44 de

Re: [U-Boot] [PATCH 1/8] armv8/fsl-lsch3: Add Freescale Debug Server driver

2015-04-24 Thread York Sun
On 03/19/2015 09:20 AM, York Sun wrote: > From: Bhupesh Sharma > > The Debug Server driver is responsible for loading the Debug > server FW on the Service Processor (Cortex-A5 core) on LS2085A like > SoCs and then polling for the successful initialization of the same. > TOP MEM HIDE is adjusted t

Re: [U-Boot] [PATCH 05/11] env: Simplify the reverse_strstr() interface

2015-04-24 Thread Simon Glass
Hi Joe, On 21 April 2015 at 16:02, Joe Hershberger wrote: > The logic to find the whole matching name was split needlessly between > the reverse_strstr function and its caller. Fully contain it to make the > interface for calling it more consistent. > > Signed-off-by: Joe Hershberger > --- > >

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-04-24 Thread York Sun
On 03/10/2015 01:38 AM, Gaurav Rana wrote: > 1. Default environment will be used for secure boot flow > which can't be edited or saved. > 2. Command for secure boot is predefined in the default > environment which will run on autoboot (and autoboot is > the only option allowed in case of secur

Re: [U-Boot] [PATCH 1/2][v2] pci/layerscape: remove unnecessary pcie_layerscape.h

2015-04-24 Thread York Sun
On 03/11/2015 07:58 PM, Minghuan Lian wrote: > The patch uses the common function name ft_pci_setup to replace > ft_pcie_setup, then removes unnecessary pcie_layerscape.h because > all the functions have been declared in common.h. > > Signed-off-by: Minghuan Lian > --- > change log: > v1-v2: re

[U-Boot] Please pull u-boot-fsl-qoriq master

2015-04-24 Thread York Sun
Tom, I am having trouble cloning git repositories. I hope this pull request was generated correctly. I saw "fatal: read error: Connection reset by peer" when creating this pull request. The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06: serial: pl01x: fix PL010 regres

Re: [U-Boot] [PATCH 10/11] net: Use env callbacks for net variables

2015-04-24 Thread Simon Glass
Hi Joe, On 21 April 2015 at 16:02, Joe Hershberger wrote: > Instead of checking for changes to the env each time we enter the > net_loop, use the env callbacks to update the values of the variables. > Don't update the variables when the source was programmatic, since the > variables were the sour

Re: [U-Boot] [PATCH 06/11] env: Allow env_attr_walk to pass a priv * to callback

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:20, Joe Hershberger wrote: > Hi All, > > On Tue, Apr 21, 2015 at 5:02 PM, Joe Hershberger > wrote: >> In some cases it can be helpful to have context in the callback about >> the calling situation. This is needed for following patches. >> >> Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH 11/11] net: Add default flags for common net env vars

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger wrote: > Check that the common network stack's env vars conform to the proper > format for IP addresses. > > Signed-off-by: Joe Hershberger > --- > > include/env_flags.h | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) Reviewed-by:

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Simon Glass
Hi, On 23 April 2015 at 10:16, Gabriel Huau wrote: > A set of properties has been defined for the device tree to select for > each pin the pull/func/default output configuration. > > The offset for the PAD needs to be provided and if a GPIO needs to be > configured, his offset needs to be provide

Re: [U-Boot] [PATCH 2/2] x86: crownbay: Update dts for SST SPI flash

2015-04-24 Thread Simon Glass
On 23 April 2015 at 03:00, Bin Meng wrote: > Use SST SPI flash compatible string "spi-flash-sst" so that the > write op is really working. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/crownbay.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass > > diff

Re: [U-Boot] arm: am437x: mux: Update mux names

2015-04-24 Thread Tom Rini
On Thu, Apr 02, 2015 at 10:57:07AM +0200, Bryan De Faria wrote: > Correct and complete the mux names following AM437x Technical Reference > Manual. > > Signed-off-by: Bryan De Faria Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] m68k: add architecture-specific u-boot.lds

2015-04-24 Thread Tom Rini
On Sun, Mar 29, 2015 at 10:54:16PM +0200, ang...@sysam.it wrote: > Add architecture-specific u-boot.lds and remove all board-specific > u-boot.lds. > > All the .text customization that was board-specific have been > moved inside the related include/configs, inside a > LDS_BOARD_TEXT define. > >

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-04-24 Thread York Sun
On 03/19/2015 10:16 AM, Joe Hershberger wrote: > On Thu, Mar 19, 2015 at 11:43 AM, York Sun > wrote: >> >> From: Minghuan Lian > >> >> The patch removes unnecessary whitespace to fix checkpatch's >> warning: unnecessary whitespac

Re: [U-Boot] [PATCH] ls102xa: ddr4: Use LPUART as console output to verify DCU driver

2015-04-24 Thread York Sun
On 03/09/2015 02:23 AM, Alison Wang wrote: > On QDS board with DDR4 DIMM, LPUART is used as console > output to verify DCU driver. This patch adds > ls1021aqds_ddr4_nor_lpuart_defconfig for this support. > > Signed-off-by: Alison Wang > --- Applied to fsl-qoriq master, awaiting upstream. York

Re: [U-Boot] [U-Boot, v4, 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-04-24 Thread Tom Rini
On Fri, Mar 27, 2015 at 11:06:57PM +0530, Dileep Katta wrote: > Implemented fb_set_reboot_flag() for OMAP5 to set > an environment variable 'dofastboot' when reboot-bootloader called. > > This environment variable will be checked in boot command and fastboot > will be called if the variable is se

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread York Sun
Shaohui, Thanks for confirmation. Please reply with your Test-by or Acked-by signature. The signature will be capture when the patch is applied. York On 04/23/2015 08:01 PM, Xie Shaohui-B21989 wrote: > Tested on T4240QDS_NAND and T4240QDS_SDCARD, the hang issue fixed. > Thanks! > > Best Regards

Re: [U-Boot] [PATCH] QE/DeepSleep: add QE deepsleep support for arm

2015-04-24 Thread York Sun
On 04/07/2015 12:09 AM, Zhao Qiang wrote: > Muram will power off during deepsleep, and the microcode of qe > in muram will be lost, it should be reload when resume. > > Signed-off-by: Zhao Qiang > --- Applied to fsl-qoriq master, awaiting upstream. York ___

Re: [U-Boot] [PATCH 2/2][v2] pci/layerscape: fix link and class issues to support ls2085a

2015-04-24 Thread York Sun
On 03/11/2015 07:58 PM, Minghuan Lian wrote: > 1. LS2085a provides PCIE_LUT_DBG register rather than PCIE_LDBG >to show the link status, so the patch fixes it. > 2. Increase the delay time to make sure that link training >has finished. > 3. Return invalid value when accessing multi-functi

Re: [U-Boot] [PATCH v2 1/2] arm/ls102xa:Add support of conditional workaround implementation as per SoC ver

2015-04-24 Thread York Sun
On 03/11/2015 08:31 PM, Alison Wang wrote: > For LS102xA, some workarounds are only used in VER1.0, so silicon > version detection are added for QDS and TWR boards. > > Signed-off-by: Alison Wang > --- > Changes in v2: > - Modify the subject to describe accurately > - Change SOC_VER_1_0 and SOC

Re: [U-Boot] [PATCH] ls1021atwr: add hwconfig setting to do pin mux

2015-04-24 Thread York Sun
On 03/03/2015 12:35 AM, Yuan Yao wrote: > The Freescale LS1021ATWR share some pins, so Add the hwconfig option > that allows the user to choose which the function he wants. > > Signed-off-by: Yuan Yao > --- Applied to fsl-qoriq master, awaiting upstream. York _

Re: [U-Boot] [PATCH 4/4] x86: queensbay: Implement PIRQ routing

2015-04-24 Thread Simon Glass
Hi Bin, On 23 April 2015 at 21:36, Bin Meng wrote: > Hi Simon, > > On Fri, Apr 24, 2015 at 11:02 AM, Simon Glass wrote: >> Hi Bin, >> >> On 21 April 2015 at 19:56, Bin Meng wrote: >>> Implement Intel Queensbay platform-specific PIRQ routing support. >>> The chipset PIRQ routing setup is called

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread Shaohui Xie
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, April 24, 2015 9:02 AM > To: u-boot@lists.denx.de; Sun York-R58495 > Cc: Wood Scott-B07421; Alexander Graf; Xie Shaohui-B21989 > Subject: [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post- > relocation > > Commit 96d2bb9

Re: [U-Boot] [PATCH 2/4] x86: Write configuration tables in last_stage_init()

2015-04-24 Thread Simon Glass
On 21 April 2015 at 19:56, Bin Meng wrote: > We can write the configuration table in last_stage_init() for all x86 > boards, but not with coreboot since coreboot already has them. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/cpu.c| 10 + > arch/x86/include/asm/tables.h

Re: [U-Boot] [U-Boot,v3,4/7] ARM: vf610: Enable caches

2015-04-24 Thread Tom Rini
On Wed, Apr 15, 2015 at 04:24:25PM +0530, Sanchayan Maity wrote: > From: Stefan Agner > > Enables caches which provides a rather huge speedup of the boot loader. > Also mark the on-chip RAM as cachable since this is the area U-Boot runs > from. > > Signed-off-by: Sanchayan Maity Applied to u-

Re: [U-Boot] rtc: Set valid date after reset

2015-04-24 Thread Tom Rini
On Fri, Apr 10, 2015 at 01:11:54AM +0200, Marek Vasut wrote: > Some RTC chips tend to set garbage date after reset. > This patch sets the date to 2000-01-01 00:00 immediatelly > after the RTC chip reset is issued using the "date reset" > command. > > Signed-off-by: Marek Vasut > Cc: Heiko Schoch

[U-Boot] [PATCH 1/3] pci: Option rom class is a 24-bit number

2015-04-24 Thread Bin Meng
We should pass a u32 class number to pci_rom_probe() instead of a u16. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 48c0a77..49c118d 100644 --- a/dr

[U-Boot] [PATCH 2/3] pci: Remove parameter 'class' of pci_rom_load()

2015-04-24 Thread Bin Meng
pci_rom_load() does not use its parameter 'class', so remove it. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 49c118d..37450c8 100644 --- a/drivers/pci/pci_rom.c +++

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-24 Thread Simon Glass
Hi Hans, On 23 April 2015 at 10:15, Simon Glass wrote: > Hi Hans, > > On 23 April 2015 at 00:55, Hans de Goede wrote: >> Hi, >> >> >> On 22-04-15 19:20, Simon Glass wrote: >>> >>> Hi Hans, >>> >>> On 20 April 2015 at 12:10, Hans de Goede wrote: Hi, On 20-04-15 17:39, Simon G

[U-Boot] [PATCH 3/3] biosemu: Do not free vga_info->BIOSImage when it is 0xc0000

2015-04-24 Thread Bin Meng
For x86, vga_info->BIOSImage points to 0xc which cannot be freed. Signed-off-by: Bin Meng --- drivers/bios_emulator/atibios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index 7ea5fa6..dec6230 100644

Re: [U-Boot] [PATCH 1/2] dm: sf: Make SST flash write op work again

2015-04-24 Thread Jagan Teki
Hi Bin, On 23 April 2015 at 14:30, Bin Meng wrote: > With SPI flash moving to driver model, commit fbb0991 "dm: Convert > spi_flash_probe() and 'sf probe' to use driver model" ignored the > SST flash-specific write op (byte program & word program), which > actually broke the SST flash from wrokin

[U-Boot] [PATCH] gpio: stm32_gpio: Use clrsetbits_le32() at appropriate places

2015-04-24 Thread Axel Lin
Use clrsetbits_le32() to replace clrbits_le32() + setbits_le32(). Signed-off-by: Axel Lin --- drivers/gpio/stm32_gpio.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index d3497e9..76f7b1b 100644 --- a/d

Re: [U-Boot] [PATCH v2] spi: omap3: Fix timeout handling

2015-04-24 Thread Jagan Teki
On 7 April 2015 at 05:55, Tom Rini wrote: > On Wed, Apr 01, 2015 at 04:21:50PM +0100, Andy Pont wrote: >> Hi David, >> >> >> >> > for (i = 0; i < len; i++) { >> > /* wait till TX register is empty (TXS == 1) */ >> > + start = get_timer(0); >> > while (!(readl

[U-Boot] [PATCH v2 3/4] x86: Support platform PIRQ routing

2015-04-24 Thread Bin Meng
On x86 boards, platform chipset receives up to four different interrupt signals from PCI devices (INTA/B/C/D), which in turn will be routed to chipset internal PIRQ lines then routed to 8259 PIC finally if configuring the whole system to work under the so-called PIC mode (in contrast to symmetric I

[U-Boot] [PATCH 08/21] sunxi: gpio: Add compatible strings for all supported SoCs

2015-04-24 Thread Hans de Goede
We want to use device-model/fdt with other model SoCs too, so add compatible strings for the other SoCs to the dm sunxi gpio code. Signed-off-by: Hans de Goede --- drivers/gpio/sunxi_gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_

[U-Boot] [PATCH 03/21] sunxi: usbc: Fix vbus gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
The device-model gpio functions may return another value then -1 as error, make the sunxi usbc properly handle this. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/usbc.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/

[U-Boot] [PATCH 21/21] sunxi: emac: Remove non device-model code

2015-04-24 Thread Hans de Goede
All sunxi boards now use the device-model, so remove the non device-model code. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c | 12 --- drivers/net/sunxi_emac.c | 69 include/netdev.h | 1 - 3 files changed

Re: [U-Boot] [PATCH 11/21] sunxi: gpio: Add support for AXP gpios to the dm gpio code

2015-04-24 Thread Hans de Goede
Hi, On 24-04-15 15:48, Hans de Goede wrote: > @@ -222,7 +266,7 @@ static int sunxi_gpio_set_value(struct udevice *dev, unsigned offset, struct sunxi_gpio_platdata *plat = dev_get_platdata(dev); u32 num = GPIO_NUM(offset); - clrsetbits_le32(&plat->regs->dat, 1 << num, v

[U-Boot] [PATCH v2 1/2] dm: sf: Save flash flags to struct spi_flash

2015-04-24 Thread Bin Meng
Add a new member 'flags' in struct spi_flash to store the flash flags during spi_flash_validate_params(). Signed-off-by: Bin Meng --- Changes in v2: - New patch to save flash flags to struct spi_flash drivers/mtd/spi/sf_probe.c | 3 +++ include/spi_flash.h| 1 + 2 files changed, 4 ins

Re: [U-Boot] [PATCH] dm: core: drop device removal error path correctly

2015-04-24 Thread Simon Glass
On 24 April 2015 at 02:28, Masahiro Yamada wrote: > Trivial bug fix for commit 5a87c4174d18 (dm: core: Drop device > removal error path when not supported). > > Signed-off-by: Masahiro Yamada > --- > > drivers/core/device.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Thanks Ma

[U-Boot] Patchwork flaky?

2015-04-24 Thread Simon Glass
Hi, I don't see the latest patches in patchwork. It seems to be suffering problems of late. Does anyone know the cause? Also perhaps unrelated last night I noticed I could not access git.denx.de using 'git fetch'. Regards, Simon ___ U-Boot mailing list

[U-Boot] [PATCH v2 2/2] dm: sf: Make SST flash write op work again

2015-04-24 Thread Bin Meng
With SPI flash moving to driver model, commit fbb0991 "dm: Convert spi_flash_probe() and 'sf probe' to use driver model" ignored the SST flash-specific write op (byte program & word program), which actually broke the SST flash from wroking. This commit makes SST flash work again under driver model

Re: [U-Boot] [RESEND PATCH] usb: gadget: f_thor: Allocate request up to THOR_PACKET_SIZE

2015-04-24 Thread Lukasz Majewski
Hi Michal, > From: Siva Durga Prasad Paladugu > > Allocate request up to THOR_PACKET_SIZE not the ep0->maxpacket > as the descriptors data depend on the number of descriptors > and this 64 bytes were not enough and the buffer might overflow > which results in memalign failures later. > > Signed

[U-Boot] [PATCH v2 2/4] x86: Write configuration tables in last_stage_init()

2015-04-24 Thread Bin Meng
We can write the configuration table in last_stage_init() for all x86 boards, but not with coreboot since coreboot already has them. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/cpu.c| 10 + arch/x86/include/asm/tables.h | 49 +

[U-Boot] [PATCH 04/21] sunxi: display: Fix gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
The device-model gpio functions may return another value then -1 as error, make the sunxi display code properly handle this. Signed-off-by: Hans de Goede --- drivers/video/sunxi_display.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/video/sunxi_dis

[U-Boot] [PATCH 10/21] sunxi: gpio: Change axp_gpio_foo prototype to match gpio uclass ops

2015-04-24 Thread Hans de Goede
Change the axp_gpio_foo function prototypes to match the gpio uclass op prototypes, so that they can be used directly when adding device-model support for the axp gpios. Signed-off-by: Hans de Goede --- drivers/gpio/sunxi_gpio.c | 8 drivers/power/axp209.c| 10 +- drivers/p

Re: [U-Boot] [U-Boot PATCH v2] sf: Fix to compute proper sector_size

2015-04-24 Thread Jagan Teki
Hi Bin, On 24 April 2015 at 15:13, Jagannadha Sutradharudu Teki wrote: > Upto now flash sector_size is assigned from params which isn't > necessarily a sector size from vendor, so based on the SECT_* > flags from flash_params the erase_size will compute and it will > become the sector_size finall

Re: [U-Boot] [PATCH v3 3/5] mx6cuboxi: Introduce multi-SoC support

2015-04-24 Thread Stefano Babic
Hi Fabio, Rabeeh, On 24/04/2015 13:46, Fabio Estevam wrote: > From: Fabio Estevam > > Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, > mx6dual and mx6quad. Add support for the different SoC/memory sizes > combinations. > > DDR initialization values were extracted fro

[U-Boot] [PATCH 02/21] sunxi: mmc: Fix card-detect gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
The device-model gpio functions may return another value then -1 as error, make the sunxi mmc code properly handle this. Signed-off-by: Hans de Goede --- drivers/mmc/sunxi_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread Shaohui Xie
Tested on T4240QDS_NAND and T4240QDS_SDCARD, the hang issue fixed. Thanks! Best Regards, Shaohui Xie > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, April 24, 2015 9:02 AM > To: u-boot@lists.denx.de; Sun York-R58495 > Cc: Wood Scott-B07421; Alexander Graf; Xie Shaohui-B219

[U-Boot] [PATCH v3 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-24 Thread Fabio Estevam
From: Fabio Estevam Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Based on a patch from Rabeeh Khoury. Signed-off-by: Rabeeh Khoury Signed-off-by: Fabio Estevam --- Changes since v2: - Add Rabeeh

[U-Boot] [PATCH 19/21] sunxi: dts: Add a CONFIG_DEFAULT_DEVICE_TREE setting to all sunxi boards

2015-04-24 Thread Hans de Goede
This is a preparation patch for switching all sunxi boards over to using the device model. Note that rather then defining both CONFIG_DEFAULT_DEVICE_TREE (for u-boot) and CONFIG_FDTFILE (for the kernel), this commit simply replaces all CONFIG_FDTFILE defconfig settings with CONFIG_DEFAULT_DEVICE_T

[U-Boot] [PATCH v2 4/4] x86: queensbay: Implement PIRQ routing

2015-04-24 Thread Bin Meng
Implement Intel Queensbay platform-specific PIRQ routing support. The chipset PIRQ routing setup is called in the arch_misc_init(). Signed-off-by: Bin Meng --- Changes in v2: - Correct a typo in the commit message - Use a local variable in fill_irq_info() - Print a debug message if creating pir

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Gabriel Huau
Hi Simon, On 04/23/2015 08:35 PM, Simon Glass wrote: Hi, On 23 April 2015 at 10:16, Gabriel Huau wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs

Re: [U-Boot] [PATCH v5 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-24 Thread Heiko Schocher
Hello Scott, Am 23.04.2015 19:48, schrieb Scott Wood: On Thu, 2015-04-23 at 13:12 +0200, Heiko Schocher wrote: Hello Scott, Am 23.04.2015 08:55, schrieb Scott Wood: On Thu, 2015-04-23 at 07:57 +0200, Heiko Schocher wrote: Hello Scott, Am 23.04.2015 00:47, schrieb Scott Wood: On Mon, 2015-0

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Gabriel Huau
On 04/23/2015 08:14 PM, Bin Meng wrote: Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs

Re: [U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-24 Thread Gabriel Huau
Hi Bin, On 04/23/2015 08:23 PM, Bin Meng wrote: Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau wrote: This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The

Re: [U-Boot] [PATCH v2 4/4] x86: queensbay: Implement PIRQ routing

2015-04-24 Thread Simon Glass
On 24 April 2015 at 04:10, Bin Meng wrote: > Implement Intel Queensbay platform-specific PIRQ routing support. > The chipset PIRQ routing setup is called in the arch_misc_init(). > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Correct a typo in the commit message > - Use a local variab

[U-Boot] unassigned-patches/151: Re: [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-24 Thread u-boot
Hi Bin, On 04/23/2015 08:23 PM, Bin Meng wrote: > Hi Gabriel, > > On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau > wrote: >> This serie of patches adds the support of pin-muxing from the device tree >> through >> different properties. I have put two example to enable the USB Host on the >> minn

[U-Boot] [GIT PULL] u-boot-mips/master

2015-04-24 Thread Daniel Schwierzeck
The following changes since commit d8c1d5d5fb6eafbc532982125f006e49f2c40e71: Merge branch 'buildman' of git://git.denx.de/u-boot-x86 (2015-04-23 14:56:47 -0400) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to 90b1c9fad7bde21e3

Re: [U-Boot] [PATCH 2/3] pci: Remove parameter 'class' of pci_rom_load()

2015-04-24 Thread Simon Glass
On 24 April 2015 at 01:48, Bin Meng wrote: > pci_rom_load() does not use its parameter 'class', so remove it. > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_rom.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass __

[U-Boot] unassigned-patches/150: Re: [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread u-boot
Hi Simon, On 04/23/2015 08:35 PM, Simon Glass wrote: > Hi, > > On 23 April 2015 at 10:16, Gabriel Huau wrote: >> A set of properties has been defined for the device tree to select for >> each pin the pull/func/default output configuration. >> >> The offset for the PAD needs to be provided and if

Re: [U-Boot] [PATCH 00/11] Improve env var handling for net stack

2015-04-24 Thread Simon Glass
Hi Joe, On 21 April 2015 at 16:02, Joe Hershberger wrote: > This includes moving CONFIG_REGEX to Kconfig and adding support for > regex to the env_attr lists (when CONFIG_REGEX is enabled). > > This allows ethaddrs to all be checked for access and format by default. > Also use callbacks to keep n

Re: [U-Boot] [PATCH 02/11] kconfig: Move REGEX to Kconfig

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger wrote: > Having this as a Kconfig allows it to be a dependent feature. > > Signed-off-by: Joe Hershberger > --- > > configs/acadia_defconfig | 1 + > configs/bamboo_defconfig | 1 + > configs/bubinga_defconfig | 1 + > confi

[U-Boot] installing u-boot on a virtual x86 machine

2015-04-24 Thread Francesco Lucconi
I'm Francesco Lucconi from Italy, and I'm involved into a x86 project where my issue is to compile a u-boot (I'm currently using uboot-2015.01) and to install it into a VID (virtual image disk) of virtualbox. I've already tuned the MBR, registering two FAT16 partitions, one for u-boot and the oth

[U-Boot] eMMC 4.41 boot partition booting issue

2015-04-24 Thread Matthew Starr
All, I have been using u-boot 2013.07 on an i.MX53 custom board with u-boot installed in an eMMC boot partition and the u-boot environment and Linux zImage on a GPT partition in the eMMC user area formatted with ext2. This has worked great for booting a u-boot environment and kernel in the eMM

[U-Boot] [PATCH] stm32f4: fix serial output

2015-04-24 Thread kunhuahuang
Signed-off-by: kunhuahuang --- drivers/serial/serial_stm32.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index 3c80096..693a7fa 100644 --- a/drivers/serial/serial_stm32.c +++ b/drivers/serial/serial_stm32.c @@ -81,6 +81,10

Re: [U-Boot] [PATCH 03/21] sunxi: usbc: Fix vbus gpio handling to work with the device-model

2015-04-24 Thread Fabio Estevam
On Fri, Apr 24, 2015 at 10:48 AM, Hans de Goede wrote: > sunxi_usbc->gpio_vbus = get_vbus_gpio(index); > - if (sunxi_usbc->gpio_vbus != -1) { > + if (sunxi_usbc->gpio_vbus >= 0) { What about using dm_gpio_is_valid() instead? Regards, Fabio Estevam __

Re: [U-Boot] [PATCH 03/21] sunxi: usbc: Fix vbus gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
Hi, On 24-04-15 20:10, Fabio Estevam wrote: On Fri, Apr 24, 2015 at 10:48 AM, Hans de Goede wrote: sunxi_usbc->gpio_vbus = get_vbus_gpio(index); - if (sunxi_usbc->gpio_vbus != -1) { + if (sunxi_usbc->gpio_vbus >= 0) { What about using dm_gpio_is_valid() instead? dm_gp

Re: [U-Boot] [PATCH 1/2] dm: sf: Make SST flash write op work again

2015-04-24 Thread Jagan Teki
On 24 April 2015 at 14:12, Bin Meng wrote: > Hi Jagan, > > On Fri, Apr 24, 2015 at 4:07 PM, Jagan Teki wrote: >> Hi Bin, >> >> On 23 April 2015 at 14:30, Bin Meng wrote: >>> With SPI flash moving to driver model, commit fbb0991 "dm: Convert >>> spi_flash_probe() and 'sf probe' to use driver mode

Re: [U-Boot] [PATCH v4 07/16] dm: regulator: add regulator command

2015-04-24 Thread Przemyslaw Marczak
Hello Simon, On 04/24/2015 06:51 AM, Simon Glass wrote: Hi Przemyslaw, On 23 April 2015 at 05:33, Przemyslaw Marczak wrote: Hello Simon, On 04/22/2015 06:30 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: This command is based on driver model

Re: [U-Boot] [PATCH v4 00/16] Power(full) framework based on Driver Model

2015-04-24 Thread Przemyslaw Marczak
Hello Simon, On 04/24/2015 06:48 AM, Simon Glass wrote: Hi Przemyslaw, On 23 April 2015 at 05:33, Przemyslaw Marczak wrote: Hello Simon, On 04/22/2015 06:29 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: Hello, Again the next version. The ch

Re: [U-Boot] [PATCH 07/10] sunxi: Fix end of kernel memory alignment for A33

2015-04-24 Thread Hans de Goede
Hi Mark, On 17-04-15 12:20, Mark Rutland wrote: On Thu, Apr 16, 2015 at 08:12:31PM +0100, Hans de Goede wrote: Hi, On 16-04-15 19:35, Mark Rutland wrote: On Thu, Apr 16, 2015 at 08:32:03AM +0100, Hans de Goede wrote: Hi, On 15-04-15 21:57, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0

[U-Boot] [PATCH 18/21] sunxi: dts: Add minimal dts files for board which lack a dts sofar

2015-04-24 Thread Hans de Goede
u-boot has support for a number of boards for which a dts file still needs to be written, add minimal dts files for these boards so that we can switch them over to device-model / fdt. Signed-off-by: Hans de Goede --- arch/arm/dts/Makefile | 20 +++- arch/arm/dts/

[U-Boot] [PATCH] sunxi: display: Align end of memory to work around a linux-4.0 bug

2015-04-24 Thread Hans de Goede
Linux-4.0 as shipped has a bug causing it to not boot if the end of memory is not aligned to a multiple of 2 MiB. For details see the linux-arm mailing list post titled: "Memory size unaligned to section boundary" http://www.spinics.net/lists/arm-kernel/msg413811.html This is something which speci

Re: [U-Boot] [PATCH] socfpga: implement socdk SPI flash config in dts

2015-04-24 Thread Marek Vasut
On Friday, April 24, 2015 at 03:16:35 PM, Pavel Machek wrote: > On Fri 2015-04-24 05:22:55, Marek Vasut wrote: > > On Thursday, April 23, 2015 at 09:14:01 AM, Pavel Machek wrote: > > > SocDK has same QSPI and SPI flash configuration as Socrates. Add > > > support for it. > > > > > > Signed-off-by:

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-24 Thread Scott Wood
On Thu, 2015-04-23 at 11:37 -0600, Simon Glass wrote: > Hi Tom, > > On 22 April 2015 at 08:14, Tom Rini wrote: > > On Tue, Apr 21, 2015 at 12:37:18PM +0900, Masahiro Yamada wrote: > >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined > >> to build under lib/ directory for SPL. > >> > >> T

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-24 Thread Tom Rini
On Fri, Apr 24, 2015 at 01:34:49PM -0500, Scott Wood wrote: > On Thu, 2015-04-23 at 11:37 -0600, Simon Glass wrote: > > Hi Tom, > > > > On 22 April 2015 at 08:14, Tom Rini wrote: > > > On Tue, Apr 21, 2015 at 12:37:18PM +0900, Masahiro Yamada wrote: > > >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT

Re: [U-Boot] installing u-boot on a virtual x86 machine

2015-04-24 Thread Simon Glass
Hi Francesco, On 24 April 2015 at 01:20, Francesco Lucconi wrote: > > I'm Francesco Lucconi from Italy, and I'm involved into a x86 project where > my issue is to compile a u-boot (I'm currently using uboot-2015.01) and to > install it into a VID (virtual image disk) of virtualbox. > > > I've alr

Re: [U-Boot] How to access GP partitions from uboot (2015.04)

2015-04-24 Thread harsha kiran
I think i figured out how to access the GP partitions on the new new uboot. Solution: 1)We can only have access to one partition at a time from uboot. 2) GP partitions have to be partitioned again to be from kernel (/dev/mmcblk0gp0p1,/dev/mmcblk0gp1p1,/dev/mmcblk0gp2p1,/dev/mmcblk0gp3p1) 3) in ub

Re: [U-Boot] eMMC 4.41 boot partition booting issue

2015-04-24 Thread harsha kiran
Hi Starr, I think i figured out how to access the GP partitions on the new new uboot. Solution: 1)We can only have access to one partition at a time from uboot. 2) GP partitions have to be partitioned again to be from kernel (/dev/mmcblk0gp0p1,/dev/mmcblk0gp1p1,/dev/mmcblk0gp2p1,/dev/mmcblk0gp3p1

[U-Boot] [PATCH v2] common/lcd_simplefb: Add support for 32bit organized framebuffers

2015-04-24 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- Changes in v2: - correct mistake in color order common/lcd_simplefb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c index 8db2add..2ba00f6 100644 --- a/common/lcd_simplefb.c +++ b/com

Re: [U-Boot] [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-24 Thread Bin Meng
Hi Gabriel, On Fri, Apr 24, 2015 at 10:42 PM, Gabriel Huau wrote: > Hi Bin, > > > On 04/23/2015 08:20 PM, Bin Meng wrote: >> >> Hi Gabriel, >> >> On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau >> wrote: >>> >>> The SPI NOR on the minnowboard max is a MICRON N25Q064A >>> >>> Signed-off-by: Gabrie

Re: [U-Boot] installing u-boot on a virtual x86 machine

2015-04-24 Thread Bin Meng
Hi Francesco, On Fri, Apr 24, 2015 at 3:20 PM, Francesco Lucconi wrote: > I'm Francesco Lucconi from Italy, and I'm involved into a x86 project where > my issue is to compile a u-boot (I'm currently using uboot-2015.01) and to > install it into a VID (virtual image disk) of virtualbox. > > > I've

Re: [U-Boot] Patchwork flaky?

2015-04-24 Thread Bin Meng
On Fri, Apr 24, 2015 at 9:00 PM, Tom Rini wrote: > On Fri, Apr 24, 2015 at 8:50 AM, Simon Glass wrote: >> Hi, >> >> I don't see the latest patches in patchwork. It seems to be suffering >> problems of late. Does anyone know the cause? >> >> Also perhaps unrelated last night I noticed I could not

Re: [U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-24 Thread Simon Glass
Hi Hans, On 24 April 2015 at 07:48, Hans de Goede wrote: > This fixes the following errors being printed during boot: > > Error, wrong i2c adapter 0 max 0 possible > Error, wrong i2c adapter 0 max 0 possible > > Signed-off-by: Hans de Goede Where does the error come from? Reviewed-by: Simon Gl

Re: [U-Boot] [PATCH 00/21] sunxi: Move ALL boards to the device-model

2015-04-24 Thread Simon Glass
Hi Hans, On 24 April 2015 at 07:48, Hans de Goede wrote: > Hi Simon, Ian, > > As promised here is my patch-set to move all sunxi boards to the device-model, > it was slightly more work then I expected, and as such the patch-set is also > somewhat larger then expected, but it is done :) > > Please

<    1   2   3   >