Re: [U-Boot] [PATCH v2 36/47] x86: Add an enum for some commonly-used GDT bits

2015-08-03 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > Rather than add these as open-coded values, create an enum with the commonly > used flags. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add descriptor bits for the base and limit > - Rename GDT_4GB to GDT_4KB > > arch/x86/incl

Re: [U-Boot] [PATCH v2 35/47] x86: Support building the EFI stub

2015-08-03 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > Add support for building a 32/64-bit EFI stub for x86. This involves > building the startup and relocation code for either i386 or x86_64. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add a comment as to why the AFLA

Re: [U-Boot] [PATCH v3 2/4] ARM: cache: add an empty stub function for invalidate/flush dcache

2015-08-03 Thread Josh Wu
Hi, York On 7/28/2015 1:21 PM, York Sun wrote: Josh, No you didn't miss. I think you are right on this file. Thanks for the review, Could I have your reviewed-by tag for this patch? Best Regards, Josh Wu York Sent from my cellphone Original message From: Josh Wu Date:0

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 00:36 +0200, Marek Vasut wrote: > Maybe you should've split it into separate patches, that way this > could > be picked by various subsystem maintainers separately ;-) OK, I will send a v5 split up into separate patches to be picked up by the various subsystem maintainers.

Re: [U-Boot] [PATCH v2 34/47] efi: Add support for loading U-Boot through an EFI stub

2015-08-03 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > It is useful to be able to load U-Boot onto a board even it is it already Nits: even it is > running EFI. This can allow access to the U-Boot command interface, flexible > booting options and easier development. > > The easiest wa

Re: [U-Boot] [PATCH v2 33/47] x86: Add relocation and link script for a 64-bit EFI application

2015-08-03 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > Add a linker script and relocation code for building 64-bit EFI > applications. This can be used for the EFI stub. > > Signed-off-by: Simon Glass > Improvements to how the payload is built: > Signed-off-by: Bin Meng > --- > > Changes in v2:

[U-Boot] [PATCH V2 4/6] power: pmic: pfuze100 support driver model

2015-08-03 Thread Peng Fan
1. Support driver model for pfuze100. 2. Introduce a new Kconfig entry DM_PMIC_PFUZE100 for pfuze100 3. This driver intends to support PF100, PF200 and PF3000, so add the device id into the udevice_id array. 4. Rename PMIC_NUM_OF_REGS macro to PFUZE100_NUM_OF_REGS. 5. Rename file name from pmic_

[U-Boot] [PATCH V2 6/6] fsl: common: pfuze: no use original pfuze code if DM_PMIC

2015-08-03 Thread Peng Fan
If enable DM PMIC and REGULATOR, we should not use original power framework. So need to comment out the pfuze code for original power framework, when CONFIG_DM_PMIC_PFUZE100 defined. Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Simon Glass Cc: Stefano Babic Reviewed-by: Simon Glass ---

[U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-03 Thread Peng Fan
1. Add new regulator driver pfuze100. * Introduce struct pfuze100_regulator_desc for mataining info for regulator. 2. Add new Kconfig entry DM_REGULATOR_PFUZE100 for pfuze100. 3. This driver intends to support PF100, PF200 and PF3000. 4. Add related macro definition in pfuze header file. Signed

[U-Boot] [PATCH V2 2/6] power: regulator use node name when no regulator-name

2015-08-03 Thread Peng Fan
If there is no property named 'regulator-name' for regulators, choose node name instead, but not directly return failure value. Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Simon Glass --- Changes v2: none. The comments update patch, see 3/6. drivers/power/regulator/regulator-uclass.c

[U-Boot] [PATCH V2 3/6] power: regulator: update comments for regulator-name

2015-08-03 Thread Peng Fan
We do not need that "regulator-name" property must be provided in dts. If "regulator-name" property is not provided in dts, node name will chosen for settings '.name' field of uc_pdata. Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Simon Glass --- Changes v2: New patch. Update comments f

[U-Boot] [PATCH V2 1/6] power: pfuze100 correct SWBST macro definition

2015-08-03 Thread Peng Fan
According to datasheet, SWBST_MODE starts from bit 2 and it occupies 2 bits. So SWBST_MODE_MASK should be 0xC, and SWBST_MODE_xx should be ([mode] << 2). Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Stefano Babic Reviewed-by: Simon Glass --- Changes v2: None include/power/pfuze100_pm

[U-Boot] [PATCH V2 0/6] power: pfuze100: support driver model and regulator

2015-08-03 Thread Peng Fan
This patch set is to support driver model for pfuze100 and implement regulator driver for pfuze100. Patches has been tested on i.MX7D validation board. Here registeres for standby mode are not touched, all operation read/write register are for NORMAL state. For example, to pfuze100, sw1volt is for

Re: [U-Boot] [PATCH v2 32/47] x86: Add definitions for the x86-efi board and plumb it in

2015-08-03 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > From: Ben Stoltz > > Add configuration and Kconfig changes for this board. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng But please see comments/nits below. > Changes in v2: > - Rem

Re: [U-Boot] [PATCH v2 30/47] x86: dts: Add a device tree file for EFI

2015-08-03 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > This contains just enough to bring up the serial UART. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Remove extraneous '+' in comment > - Use "efi,app" instead of "efi,payload" for the compatible string > > arch/x86/dts/Makefil

Re: [U-Boot] [PATCH v2 29/47] x86: Add EFI board code

2015-08-03 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > From: Ben Stoltz > > Add support for the efi-x86 board, which supports running U-Boot as an > EFI 32-bit application. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop unnecessary SYS_CAR_ADDR/SIZE

Re: [U-Boot] [PATCH v2 28/47] x86: Add support for U-Boot as an EFI application

2015-08-03 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > From: Ben Stoltz > > Add the required x86 glue code. This includes the initial start-up, > relocation and jumping to efi_main(). We also need to avoid fiddling with > interrupts. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simo

Re: [U-Boot] [PATCH v2 26/47] x86: Support skipping relocation for EFI

2015-08-03 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: > When running as an EFI application we must skip relocation. Add support for > this in the x86 relocation code. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Return early in copy_uboot_to_ram() and clear_bbs() when relocation dis

Re: [U-Boot] [PATCH 4/5] power: regulator: add pfuze100 support

2015-08-03 Thread Peng Fan
On Mon, Aug 03, 2015 at 08:38:49AM +0800, Peng Fan wrote: >Hi Simon, >On Sun, Aug 02, 2015 at 04:30:52PM -0600, Simon Glass wrote: >>Hi Peng, >> >>On 28 July 2015 at 08:48, Peng Fan wrote: >>> 1. Add new regulator driver pfuze100. >>>* Introduce struct pfuze100_regulator_desc for mataining inf

Re: [U-Boot] [PATCH 01/12] power: twl4030: Power off support

2015-08-03 Thread Fabio Estevam
On Mon, Jul 20, 2015 at 10:17 AM, Paul Kocialkowski wrote: > This adds support for powering off (the omap3 SoC) from the twl4030. This is > especially useful when the kernel does not actually power off the device using > this method but reboots and leaves it up to the bootloader to actually turn

Re: [U-Boot] [PATCH 05/12] LG Optimus Black (P970) codename sniper support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:11PM +0200, Paul Kocialkowski wrote: > The LG Optimus Black (P970) codename sniper is a smartphone that was designed > and manufactured by LG Electronics (LGE) and released back in 2011. > > It is using an OMAP3630 SoC GP version, which allows running U-Boot and the

Re: [U-Boot] [PATCH 11/12] sniper: Power off when the power on reason is not a valid one

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:17PM +0200, Paul Kocialkowski wrote: > In most cases, userspace will attempt to power off the device with HALT > instead > of POWER_OFF, which triggers a reset instead of a proper power off from the > TWL4030. Hence, it is up to the bootloader to actually turn the de

Re: [U-Boot] [PATCH 12/12] sniper: Keypad support, with recovery and fastboot key combinations

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:18PM +0200, Paul Kocialkowski wrote: > Using the twl4030 keypad allows booting directly into some special boot modes, > such as recovery or fastboot. the VOL+ key will trigger a boot to recovery > while > the VOL- key will trigger a boot to fastboot. > > The G (gest

Re: [U-Boot] [PATCH 08/12] sniper: Pass serial number through ATAG

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:14PM +0200, Paul Kocialkowski wrote: > Now that the serial number is correctly defined, we can pass it to the kernel > using the (legacy) ATAG method. It will be automatically passed via > device-tree > when enabled. > > Signed-off-by: Paul Kocialkowski Reviewed-b

Re: [U-Boot] [PATCH 10/12] sniper: Power button reset support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:16PM +0200, Paul Kocialkowski wrote: > This adds support for resetting the device on a long press on the power > button. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 09/12] sniper: Fastboot support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:15PM +0200, Paul Kocialkowski wrote: > This adds support for the fastboot USB gadget, including flashing to the > internal MMC and reboot to bootloader or not. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 04/12] omap3: Reboot mode support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:10PM +0200, Paul Kocialkowski wrote: > Reboot mode is written in scratchpad memory before reboot in the form of a > single char, that is the first letter of the reboot mode string as passed to > the > reboot function. > > This mechanism is supported on OMAP3 both my

Re: [U-Boot] [PATCH 06/12] sniper: OMAP3 reboot mode support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:12PM +0200, Paul Kocialkowski wrote: > This adds support for the omap3 reboot mode mechanism and exports the reboot > mode via an environment variable, that is used in the boot command to make it > possible to boot from the recovery partition. > > Signed-off-by: Paul

Re: [U-Boot] [PATCH 07/12] sniper: Serial number support, obtained from die ID

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:13PM +0200, Paul Kocialkowski wrote: > The OMAP3 has some die-specific ID bits that we can use to give the device a > (more or less) unique serial number. This is particularly useful for e.g. USB. > > Signed-off-by: Paul Kocialkowski > --- > board/lge/sniper/sniper

Re: [U-Boot] [PATCH 03/12] input: twl4030: Keypad scan and input

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:09PM +0200, Paul Kocialkowski wrote: > This allows scanning the twl4030 keypad, storing the result in a 64-byte long > matrix with the twl4030_keypad_scan function. > > Detecting a key at a given column and row is made easier with the > twl4030_keypad_key function. >

Re: [U-Boot] [PATCH 02/12] input: TWL4030 input support for power button, USB and charger

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:08PM +0200, Paul Kocialkowski wrote: > This adds support for detecting a few inputs exported by the TWL4030. > Currently-supported inputs are the power button, USB and charger presence. Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 01/12] power: twl4030: Power off support

2015-08-03 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:07PM +0200, Paul Kocialkowski wrote: > This adds support for powering off (the omap3 SoC) from the twl4030. This is > especially useful when the kernel does not actually power off the device using > this method but reboots and leaves it up to the bootloader to actuall

Re: [U-Boot] [PATCH v2] armv8: fsl-lsch3: Rewrite MMU translation table entries

2015-08-03 Thread York Sun
OK. I will change the commit message. You don't need to send an update. York Original message From: Wang Huan-B18965 Date:08/03/2015 19:03 (GMT-08:00) To: Sun York-R58495 , u-boot@lists.denx.de Subject: RE: [PATCH v2] armv8: fsl-lsch3: Rewrite MMU translation table entries Yor

Re: [U-Boot] [PATCH v2] armv8: fsl-lsch3: Rewrite MMU translation table entries

2015-08-03 Thread Huan Wang
York, > On 08/02/2015 07:48 PM, Alison Wang wrote: > > This patch rewrites MMU translation table entries to achieve: > > a) Start with all table entries as "invalid". > > b) Rewrite the table entries as "device-ngnrne" for cache-inhibit > > access. > > c) Rewrite the table entries as "normal" for

[U-Boot] [PATCH] arm: ls1021a: Ensure Generic Timer disabled before jumping into the OS

2015-08-03 Thread Alison Wang
This patch addresses a problem mentioned recently on this mailing list: [1]. In that posting a LS1021 based system was locking up at about 5 minutes after boot,but the problem was mysteriously related to the toolchain used for building u-boot.Debugging the problem reveals a stuck interrupt 29 on t

Re: [U-Boot] [PATCH 3/5] power: pmic: pfuze100 support driver model

2015-08-03 Thread Peng Fan
Hello Przemyslaw, On Mon, Aug 03, 2015 at 05:01:12PM +0200, Przemyslaw Marczak wrote: >Hello Peng, > >I have few comments. > >On 07/28/2015 04:48 PM, Peng Fan wrote: >>1. Support driver model for pfuze100. >>2. Introduce a new Kconfig entry DM_PMIC_PFUZE100 for pfuze100 >>3. This driver intends to

Re: [U-Boot] [PATCH 2/5] power: regulator use node name when no regulator-name

2015-08-03 Thread Peng Fan
Hello Przemyslaw, On Mon, Aug 03, 2015 at 05:00:50PM +0200, Przemyslaw Marczak wrote: >Hello, > >On 08/03/2015 02:23 AM, Peng Fan wrote: >>Hi Simon, >> >>On Sun, Aug 02, 2015 at 04:31:06PM -0600, Simon Glass wrote: >>>Hi Peng, >>> >>>On 28 July 2015 at 08:48, Peng Fan wrote: If there is no pro

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-08-03 Thread Marek Vasut
On Tuesday, August 04, 2015 at 02:07:41 AM, Simon Glass wrote: > Hi Marek, Hi! > On 3 August 2015 at 17:45, Marek Vasut wrote: > > On Wednesday, July 08, 2015 at 04:53:32 AM, Simon Glass wrote: > > > Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet > > > adaptor. Neither of these

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-08-03 Thread Marek Vasut
On Wednesday, July 08, 2015 at 04:53:32 AM, Simon Glass wrote: > Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet adaptor. > Neither of these currently support driver model. > > This series does the following: > - Move Raspberry Pi to use device tree control (u-boot-dtb.bin instead

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-08-03 Thread Simon Glass
Hi Marek, On 3 August 2015 at 17:45, Marek Vasut wrote: > > On Wednesday, July 08, 2015 at 04:53:32 AM, Simon Glass wrote: > > Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet adaptor. > > Neither of these currently support driver model. > > > > This series does the following: > >

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 10:29:40 PM, Marcel Ziswiler wrote: > On Mon, 2015-08-03 at 20:48 +0200, Marek Vasut wrote: > > This stuff looks more like a breakage in the EHCI controller, no ? > > Well, but that same EHCI controller works just fine as long as > CONFIG_DM_ETH is not defined. This

Re: [U-Boot] Booting a second stage Bootloader in FIT image

2015-08-03 Thread KJ H. Kiran
Hi Simon, I am implementing the secure u-boot for our custom board and have a question with the current implementation of secure framework with u-boot loading the "loadables" images. I got the latest 2015.07 mainline branch and am trying to load a bootloader( FIT format) from already loaded b

[U-Boot] [PATCH v4 4/8] logos: add Toradex logo

2015-08-03 Thread Marcel Ziswiler
From: Stefan Agner Use the boot loader splash screen from WinCE which matches our wallpapers position wise. Although the logo is an 8-bit indexed BMP as well colours looked odd at first in U-Boot. After converting to full RGB palette and converting back to an indexed BMP using imagemagick the Log

[U-Boot] [PATCH v4 6/8] image-fdt.c: store returned error value

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut Ac

[U-Boot] [PATCH v4 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned -

[U-Boot] [PATCH v4 5/8] colibri_vf: remove spurious new line

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- include/configs/colibri_vf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h in

[U-Boot] [PATCH v4 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher http://lists.denx.de/pipermail/u-boot/2012-September/134347.html allows for reading files in chunks from the shell. When this feature is used to read past the end of a file an error was returned instead of returning the bytes read up to the end of file. Thus the following

[U-Boot] [PATCH v4 3/8] generic-board: allow showing custom board info

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by: Marcel Ziswiler Reviewed-by: S

[U-Boot] [PATCH v4 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut --

[U-Boot] [PATCH v4 8/8] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher CONFIG_TFTP_TSIZE should limit a tftp downloads progress to 50 '#' chars. Make this work also for small files. If the file size is small, i.e. smaller than 2 tftp block sizes the number of '#' can get much larger. i.e. with a 1 byte file 65000 characters are printed, with

[U-Boot] [PATCH v4 0/8] assortment of fixes/enhancements

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (4): net: asix: fix operation without eeprom generic-board: allow showing custom board info colibri_vf: remove spurious new line mtd/nand/u

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marek Vasut
On Tuesday, August 04, 2015 at 12:33:44 AM, Marcel Ziswiler wrote: > On Mon, 2015-08-03 at 23:31 +0200, Marek Vasut wrote: > > Acked-by: Marek Vasut > > > > Joe should pick it, but if you want this through USB tree, just let > > me know. > > Whatever makes most sense. I still hope somebody could

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 23:31 +0200, Marek Vasut wrote: > Acked-by: Marek Vasut > > Joe should pick it, but if you want this through USB tree, just let > me know. Whatever makes most sense. I still hope somebody could pull in the whole series as it has been cooking for a while now. Will send out

[U-Boot] [PATCH 4/5] sunxi: display: Add support for interlaced modes

2015-08-03 Thread Hans de Goede
Add support for interlaced modes, this is a preparation patch for adding composite out support. Signed-off-by: Hans de Goede --- drivers/video/sunxi_display.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/drivers/video/sunxi_display.c b/

[U-Boot] [PATCH 3/5] sunxi: display: Add a few extra register and constant defines

2015-08-03 Thread Hans de Goede
Add a few extra sunxi display registers and constant defines. This is a preparation patch for adding composite video out support. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 2 +- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 + arch/arm/include/asm/arc

[U-Boot] [PATCH 2/5] sunxi: display: Correct clk_delay calculations for lcd displays

2015-08-03 Thread Hans de Goede
We should only substract 2 from the vblank time when using tcon1. Signed-off-by: Hans de Goede --- drivers/video/sunxi_display.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c index 3942d2f..fa4241e 10

[U-Boot] [PATCH 5/5] sunxi: display: Add composite video out support

2015-08-03 Thread Hans de Goede
Add composite video out support. This only gets enabled on the Mele M3 for now, since that is were it was tested. It will be enabled on more boards after testing. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 7 ++ configs/Mele_M3_defconfig | 1 + doc/README.video

[U-Boot] [PATCH 1/5] sunxi: display: Replace #ifdef-ery with helper functions

2015-08-03 Thread Hans de Goede
All the #ifdef-ery in selecting the default and fallback monitor type is becoming unyielding and makes the code hard to read, replace it with a few helper functions. This will also be useful with the upcoming CHIP board which has display adapter daughterboards which should be runtime detectable.

Re: [U-Boot] [PATCH v3 5/8] colibri_vf: remove spurious new line

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 11:15:47 PM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Remove spurious new line in configuration file. > > Signed-off-by: Marcel Ziswiler > Tested-by: Marek Vasut > Acked-by: Marek Vasut Yup :-) Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 11:15:44 PM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This patch fixes operation of our on-board AX88772B chip without EEPROM > but with a ethaddr coming from the regular U-Boot environment. This is > a forward port of some remaining parts initially impleme

Re: [U-Boot] [PATCH v3 5/5] usb: lpc32xx: add host USB driver

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 09:47:49 PM, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Incorporate USB driver from legacy LPCLinux NXP BSP. > The files taken from the legacy patch are: > - lpc32xx USB driver > - lpc3250 header file USB registers definition. > > The legacy driver w

[U-Boot] [PATCH v3 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher http://lists.denx.de/pipermail/u-boot/2012-September/134347.html allows for reading files in chunks from the shell. When this feature is used to read past the end of a file an error was returned instead of returning the bytes read up to the end of file. Thus the following

Re: [U-Boot] [PATCH v3 1/5] dma: lpc32xx: add DMA driver

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 09:47:45 PM, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Incorporate DMA driver from legacy LPCLinux NXP BSP. > The files taken from the legacy patch are: > - lpc32xx DMA driver > - lpc3250 header file DMA registers definition. > > The legacy driver w

Re: [U-Boot] [PATCH v3 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-08-03 Thread Scott Wood
On Mon, 2015-08-03 at 23:15 +0200, Marcel Ziswiler wrote: > diff --git a/include/malloc.h b/include/malloc.h > index f4da9e6..5933a94 100644 > --- a/include/malloc.h > +++ b/include/malloc.h > @@ -955,6 +955,14 @@ extern ulong mem_malloc_brk; > > void mem_malloc_init(ulong start, ulong size); >

[U-Boot] [PATCH v3 3/8] generic-board: allow showing custom board info

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by: Marcel Ziswiler Reviewed-by: S

[U-Boot] [PATCH v3 6/8] image-fdt.c: store returned error value

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut Ac

[U-Boot] [PATCH v3 5/8] colibri_vf: remove spurious new line

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- include/configs/colibri_vf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h in

[U-Boot] [PATCH v3 4/8] logos: add Toradex logo

2015-08-03 Thread Marcel Ziswiler
From: Stefan Agner Use the boot loader splash screen from WinCE which matches our wallpapers position wise. Although the logo is an 8-bit indexed BMP as well colours looked odd at first in U-Boot. After converting to full RGB palette and converting back to an indexed BMP using imagemagick the Log

[U-Boot] [PATCH v3 8/8] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-03 Thread Marcel Ziswiler
From: Max Krummenacher CONFIG_TFTP_TSIZE should limit a tftp downloads progress to 50 '#' chars. Make this work also for small files. If the file size is small, i.e. smaller than 2 tftp block sizes the number of '#' can get much larger. i.e. with a 1 byte file 65000 characters are printed, with

[U-Boot] [PATCH v3 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned -

[U-Boot] [PATCH v3 0/8] assortment of fixes/enhancements

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (4): net: asix: fix operation without eeprom generic-board: allow showing custom board info colibri_vf: remove spurious new line mtd/nand/u

[U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-03 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel Ziswiler --- Changes in v3 as sugg

Re: [U-Boot] [PATCH 06/13][v4] imx: system counter driver for imx7d and mx6ul

2015-08-03 Thread Alonso Adrian
Hi Nikolay, > -Original Message- > From: Nikolay Dimitrov [mailto:picmas...@mail.bg] > Sent: Friday, July 31, 2015 7:41 AM > To: Alonso Lazcano Adrian-B38018 > Cc: u-boot > Subject: Re: [U-Boot] [PATCH 06/13][v4] imx: system counter driver for imx7d > and mx6ul > > Hi Adrian, > > On 07/3

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 20:48 +0200, Marek Vasut wrote: > This stuff looks more like a breakage in the EHCI controller, no ? Well, but that same EHCI controller works just fine as long as CONFIG_DM_ETH is not defined. ___ U-Boot mailing list U-Boot@lists.

[U-Boot] [PATCH v3 5/5] usb: lpc32xx: add host USB driver

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest u-boot. Signed-off-by:

[U-Boot] [PATCH v3 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver: https://git.kernel.org/cgit/linux/kernel/git/s

[U-Boot] [PATCH v3 4/5] i2c: lpc32xx: add support for OTG I2C

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module. Signed-off-by: Sylvain Lemieux --- Changes from v2 to v3: * New patch added in v3. drivers/i2c/lpc32xx_i2c.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-)

[U-Boot] [PATCH v3 2/5] nand: lpc32xx: add hardware ECC support

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was updated to integrate with

[U-Boot] [PATCH v3 1/5] dma: lpc32xx: add DMA driver

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest u-boot. Signed-off-by

[U-Boot] [PATCH v3 0/5] lpc32xx: add legacy NXP BSP drivers

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux This series of patches bring the legacy NXP LPC32xx BSP drivers SLC NAND (hardware ECC), DMA & USB into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP patch (u-boot-2009.03_l

Re: [U-Boot] [PATCH] dm: usb: fix missing errno include regression

2015-08-03 Thread Marcel Ziswiler
On Mon, 2015-08-03 at 09:38 -0600, Simon Glass wrote: > Can I please check if you have based this on dm/master? I applied > some > of the patches there and hope to get the rest in over the next week. I doubled checked the mailing list but could not find any relevant stuff. But admittedly I haven

[U-Boot] [PATCH] configs: ti_armv7_keystone2: replace addr_uboot with loadaddr

2015-08-03 Thread Vitaly Andrianov
This patch replaces not existing addr_uboot environment variable by loadaddr at get_uboot_net and burn_uboot_xxx commands. Otherwise these commands are broken. Signed-off-by: Vitaly Andrianov Acked-by: Nishanth Menon --- include/configs/ti_armv7_keystone2.h | 6 +++--- 1 file changed, 3 inserti

Re: [U-Boot] MinnowBoard Max uboot

2015-08-03 Thread Beaman, Thomas
-Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Monday, August 03, 2015 2:52 PM To: Beaman, Thomas Cc: Bin Meng; u-boot@lists.denx.de Subject: Re: [U-Boot] MinnowBoard Max uboot Hi, On 19 June 2015 at 09:21, Simon Glass wrote: > Hi Thomas

Re: [U-Boot] driver model is not smp safe

2015-08-03 Thread Simon Glass
Hi Tom, On 3 August 2015 at 13:06, Tom Rini wrote: > On Mon, Aug 03, 2015 at 12:52:19PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 31 July 2015 at 08:31, Tom Rini wrote: >> > On Thu, Jul 30, 2015 at 12:12:03PM +0800, Bin Meng wrote: >> > >> >> Hi Simon, >> >> >> >> When adding x86 multi-cpu i

Re: [U-Boot] driver model is not smp safe

2015-08-03 Thread Tom Rini
On Mon, Aug 03, 2015 at 12:52:19PM -0600, Simon Glass wrote: > Hi Tom, > > On 31 July 2015 at 08:31, Tom Rini wrote: > > On Thu, Jul 30, 2015 at 12:12:03PM +0800, Bin Meng wrote: > > > >> Hi Simon, > >> > >> When adding x86 multi-cpu initialization on a board with 4 cores, I found: > >> > >> => c

[U-Boot] [Patch v3 1/2] lib/fdtdec: Fix fdt_addr_t and fdt_size_t typedef

2015-08-03 Thread York Sun
fdt_addr_t is a physical address. It can be either 64-bit or 32-bit, depending on the architecture. It should be phys_addr_t instead of u64 or u32. Similarly, fdt_size_t is changed to phys_size_t. Signed-off-by: York Sun CC: Simon Glass --- Change log v3: Rebase code to latest master, split int

[U-Boot] [Patch v3 2/2] lib/fdtdec: Fix compiling warning caused by changing fdt_addr_t type

2015-08-03 Thread York Sun
fdt_addr_t is changed to phys_addr_t. The format in debug should be updated to %pa to match the type. Signed-off-by: York Sun CC: Simon Glass --- Change log: v3: split into a separated patch drivers/pci/pci_tegra.c | 10 +- drivers/spi/fsl_dspi.c |4 ++-- drivers/video/tegra.c

Re: [U-Boot] driver model is not smp safe

2015-08-03 Thread Simon Glass
Hi Tom, On 31 July 2015 at 08:31, Tom Rini wrote: > On Thu, Jul 30, 2015 at 12:12:03PM +0800, Bin Meng wrote: > >> Hi Simon, >> >> When adding x86 multi-cpu initialization on a board with 4 cores, I found: >> >> => cpu list >> 0: cpu@0 Genuine Intel(R) CPU @ 1.58GHz >> 1

Re: [U-Boot] MinnowBoard Max uboot

2015-08-03 Thread Simon Glass
Hi, On 19 June 2015 at 09:21, Simon Glass wrote: > Hi Thomas, > > On 19 June 2015 at 09:17, Beaman, Thomas wrote: >> Hi Bin, >> >> I have tried both suggestions and the kernel boot still hangs in the same >> place. I have enclosed a snipit from boot that shows the command line. >> >> Thanks, >>

Re: [U-Boot] [PATCH] dm: usb: fix missing errno include regression

2015-08-03 Thread Simon Glass
+Stephen Hi Marcel, On 3 August 2015 at 09:53, Marcel Ziswiler wrote: > On Mon, 2015-08-03 at 09:38 -0600, Simon Glass wrote: > >> Can I please check if you have based this on dm/master? I applied >> some >> of the patches there and hope to get the rest in over the next week. > > I doubled check

Re: [U-Boot] board_pci_pre_scan() and board_pci_post_scan()

2015-08-03 Thread Simon Glass
Hi Bin, On 2 August 2015 at 20:03, Bin Meng wrote: > Hi Simon, > > On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >> Hi Bin, >> >> On 27 July 2015 at 01:45, Bin Meng wrote: >>> Hi Simon, >>> >>> With driver model pci conversion on x86 boards, we now missed the call >>> to board_pci_pre_scan

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Simon Glass
Hi Marcel, On 3 August 2015 at 09:45, Marcel Ziswiler wrote: > Hi there > > Trying to update one of my patch sets of late made me notice that the > ASIX USB to Ethernet stuff if CONFIG_DM_ETH is enabled seems to be > rather broken. I already sent two patches to even get that far but even > with t

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 05:45:34 PM, Marcel Ziswiler wrote: > Hi there > > Trying to update one of my patch sets of late made me notice that the > ASIX USB to Ethernet stuff if CONFIG_DM_ETH is enabled seems to be > rather broken. I already sent two patches to even get that far but even > wi

Re: [U-Boot] [PATCH 1/2] ARM: exynos: move SoC sources to mach-exynos

2015-08-03 Thread Masahiro Yamada
2015-08-03 21:28 GMT+09:00 Thomas Abraham : > Move arch/arm/cpu/armv7/exynos/* to arch/arm/mach-exynos/* to allow > reuse of existing code for ARMv8 based Exynos platforms. > > Cc: Minkyu Kang > Cc: Albert Aribaud > Cc: Masahiro Yamada > Signed-off-by: Thomas Abraham Very nice! Reviewed-by: M

Re: [U-Boot] [PATCH] ARM: zynq: drop "optional" from board select in favor of Zedboard

2015-08-03 Thread Masahiro Yamada
Hi Michal, 2015-08-03 23:01 GMT+09:00 Michal Simek : > Hi, > > On 08/01/2015 09:39 AM, Masahiro Yamada wrote: >> One disadvantage of commit a26cd04920dc (arch: Make board selection >> choices optional) is that Kconfig could create such an insane >> .config file that no board is selected. >> >> Rip

Re: [U-Boot] [PATCH v2 3/3] x86: Show the un-relocated IP address in exceptions

2015-08-03 Thread Tom Rini
On Sun, Aug 02, 2015 at 06:15:43PM -0600, Simon Glass wrote: > When trying to figure out where an exception has occured, the relocated > address is not a lot of help. Its value depends on various factors. Show > the un-relocated IP as well. This can be looked up in System.map directly. > > Signed

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-03 Thread Stephen Warren
On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 09:12, Stephen Warren wrote: On 08/02/2015 06:13 PM, Simon Glass wrote: This reverts commit 5b34436035fc862b5e8d0d2c3eab74ba36f1a7f4. This function has a few problems. It calls fdt_parent_offset() which as mentioned

Re: [U-Boot] [PATCH 00/28] socfpga: sdram.c cleanups

2015-08-03 Thread Marek Vasut
On Saturday, August 01, 2015 at 11:34:29 PM, Marek Vasut wrote: > This entire series focuses solely on cleaning up the > drivers/ddr/altera/sdram.c file. After this series, this one file is > totally checkpatch clean and does not pull in any weird qts-generated > macros ; all that is wrapped in the

Re: [U-Boot] [PATCH 2/2] net: designware: Rename the driver var name to eth_designware

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 07:30:54 PM, Joe Hershberger wrote: > Hi Marek, > > On Mon, Jul 27, 2015 at 3:33 PM, Marek Vasut wrote: > > The driver variable name is eth_sandbox, which is probably a copy-paste > > mistake. Fix it. > > > > Signed-off-by: Marek Vasut > > Cc: Dinh Nguyen > > Cc:

Re: [U-Boot] [PATCH 1/2] net: designware: Add SoCFPGA GMAC DT compatible string

2015-08-03 Thread Marek Vasut
On Monday, August 03, 2015 at 07:31:55 PM, Joe Hershberger wrote: > Hi Marek, > > On Mon, Jul 27, 2015 at 3:33 PM, Marek Vasut wrote: > > Add the OF compatible property to match the SoCFPGA GMAC. > > > > Signed-off-by: Marek Vasut > > Cc: Dinh Nguyen > > Cc: Joe Hershberger > > --- > > Acked

  1   2   3   >